Documentation ¶
Index ¶
Constants ¶
const ( // SecretDefinitionScopeUser captures enum value "user" SecretDefinitionScopeUser string = "user" // SecretDefinitionScopeProject captures enum value "project" SecretDefinitionScopeProject string = "project" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keypair ¶
type Keypair struct { // encrypted private key // Required: true EncryptedPrivateKey *string `json:"encrypted_private_key"` // public key // Required: true PublicKey *string `json:"public_key"` // user id // Required: true // Format: uuid UserID *strfmt.UUID `json:"user_id"` }
Keypair keypair swagger:model Keypair
func (*Keypair) MarshalBinary ¶
MarshalBinary interface implementation
func (*Keypair) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type KeypairChange ¶
type KeypairChange struct { // encrypted private key // Required: true EncryptedPrivateKey *string `json:"encrypted_private_key"` // public key // Required: true PublicKey *string `json:"public_key"` // Optional and ignored user-id value // Format: uuid UserID strfmt.UUID `json:"user_id,omitempty"` }
KeypairChange keypair change swagger:model KeypairChange
func (*KeypairChange) MarshalBinary ¶
func (m *KeypairChange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KeypairChange) UnmarshalBinary ¶
func (m *KeypairChange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Message ¶
type Message struct { // code // Required: true Code *int64 `json:"code"` // message // Required: true Message *string `json:"message"` }
Message message swagger:model Message
func (*Message) MarshalBinary ¶
MarshalBinary interface implementation
func (*Message) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PublicKey ¶
type PublicKey struct { // user id // Required: true // Format: uuid UserID *strfmt.UUID `json:"user_id"` // value // Required: true Value *string `json:"value"` }
PublicKey public key swagger:model PublicKey
func (*PublicKey) MarshalBinary ¶
MarshalBinary interface implementation
func (*PublicKey) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SecretDefinition ¶
type SecretDefinition struct { // def id // Format: uuid DefID strfmt.UUID `json:"def_id,omitempty"` // description Description string `json:"description,omitempty"` // name // Required: true Name *string `json:"name"` // project id // Required: true // Format: uuid ProjectID *strfmt.UUID `json:"project_id"` // scope // Required: true // Enum: [user project] Scope *string `json:"scope"` }
SecretDefinition secret definition swagger:model SecretDefinition
func (*SecretDefinition) MarshalBinary ¶
func (m *SecretDefinition) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecretDefinition) UnmarshalBinary ¶
func (m *SecretDefinition) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UID ¶
UID UID swagger:model UID
func (*UID) MarshalBinary ¶
MarshalBinary interface implementation
func (*UID) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserSecret ¶
type UserSecret struct { // is user // Required: true IsUser *bool `json:"is_user"` // name // Required: true Name *string `json:"name"` // organization id // Required: true // Format: uuid OrganizationID *strfmt.UUID `json:"organization_id"` // project id // Format: uuid ProjectID strfmt.UUID `json:"project_id,omitempty"` // secret id // Required: true // Format: uuid SecretID *strfmt.UUID `json:"secret_id"` // user id // Required: true // Format: uuid UserID *strfmt.UUID `json:"user_id"` // value // Required: true Value *string `json:"value"` }
UserSecret user secret swagger:model UserSecret
func (*UserSecret) MarshalBinary ¶
func (m *UserSecret) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserSecret) UnmarshalBinary ¶
func (m *UserSecret) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserSecretChange ¶
type UserSecretChange struct { // is user // Required: true IsUser *bool `json:"is_user"` // name // Required: true Name *string `json:"name"` // project id // Format: uuid ProjectID strfmt.UUID `json:"project_id,omitempty"` // value // Required: true Value *string `json:"value"` }
UserSecretChange user secret change swagger:model UserSecretChange
func (*UserSecretChange) MarshalBinary ¶
func (m *UserSecretChange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserSecretChange) UnmarshalBinary ¶
func (m *UserSecretChange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserSecretDiff ¶
type UserSecretDiff struct { // public key // Required: true PublicKey *string `json:"public_key"` Shares []*UserSecretShare `json:"shares"` // user id // Required: true // Format: uuid UserID *strfmt.UUID `json:"user_id"` }
UserSecretDiff user secret diff swagger:model UserSecretDiff
func (*UserSecretDiff) MarshalBinary ¶
func (m *UserSecretDiff) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserSecretDiff) UnmarshalBinary ¶
func (m *UserSecretDiff) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserSecretShare ¶
type UserSecretShare struct { // Required: true Name *string `json:"name"` // Format: uuid ProjectID strfmt.UUID `json:"project_id,omitempty"` // Required: true Value *string `json:"value"` }
UserSecretShare user secret share swagger:model UserSecretShare
func (*UserSecretShare) MarshalBinary ¶
func (m *UserSecretShare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserSecretShare) UnmarshalBinary ¶
func (m *UserSecretShare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation