Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretsKeyValue ¶
type SecretsKeyValue struct { Key string `json:"key" validate:"required"` Value string `json:"value" validate:"required"` }
SecretsKeyValue is a secret key/value pair to be stored in the Secret Store See detail specified by the V2 API swagger in openapi/v2
type SecretsRequest ¶
type SecretsRequest struct { common.BaseRequest `json:",inline"` Path string `json:"path" validate:"required"` Secrets []SecretsKeyValue `json:"secrets" validate:"required,gt=0,dive"` }
SecretsRequest is the request DTO for storing supplied secrets at specified Path in the Secret Store See detail specified by the V2 API swagger in openapi/v2
func (*SecretsRequest) UnmarshalJSON ¶
func (sr *SecretsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements the Unmarshaler interface for the SecretsRequest type
func (SecretsRequest) Validate ¶
func (sr SecretsRequest) Validate() error
Validate satisfies the Validator interface
Click to show internal directories.
Click to hide internal directories.