func (k *KeyringMembersClient) Post(ctx context.Context, member KeyringMember) error {
	keyringID := member.Member.Body.(*primitive.KeyringMember).KeyringID
	members := []KeyringMember{member}
	req, err := k.client.NewRequest("POST", "/keyrings/"+keyringID.String()+"/members", nil, members)
	if err != nil {
		log.Printf("Error creating POST /keyring/:id/members request: %s", err)
		return err
	}

	_, err = k.client.Do(ctx, req, nil)
	if err != nil {
		log.Printf("Error performing POST /keyring/:id/members request: %s", err)
		return err
	}

	return err
}
// Post sends a creation requests for a set of KeyringMember objects to the
// registry.
Post sends a creation requests for a set of KeyringMember objects to the
registry.
// Post sends a creation requests for a set of KeyringMember objects to the // registry .
func (k *KeyringMembersClient) Post(ctx context.Context, member KeyringMember) error {
	keyringID := member.Member.Body.(*primitive.KeyringMember).KeyringID
	members := []KeyringMember{member}
	req, err := k.client.NewRequest("POST", "/keyrings/"+keyringID.String()+"/members", nil, members)
	if err != nil {
		log.Printf("Error creating POST /keyring/:id/members request: %s", err)
		return err
	}
	_, err = k.client.Do(ctx, req, nil)
	if err != nil {
		log.Printf("Error performing POST /keyring/:id/members request: %s", err)
		return err
	}
	return err
}
func ( k * KeyringMembersClient ) Post ( ctx context . Context , member KeyringMember ) error { keyringID := member . Member . Body . ( * primitive . KeyringMember ) . KeyringID members := [ ] KeyringMember { member } req , err := k . client . NewRequest ( " " , " " + keyringID . String ( ) + " " , nil , members ) if err != nil { log . Printf ( " " , err ) return err } _ , err = k . client . Do ( ctx , req , nil ) if err != nil { log . Printf ( " " , err ) return err } return err }
Post sends a creation requests for a set of KeyringMember objects to the
registry.
Post sends a creation requests for a set of KeyringMember objects to the registry .