Documentation ¶
Index ¶
- type Client
- func (a *Client) SecretCreate(params *SecretCreateParams, opts ...ClientOption) (*SecretCreateCreated, error)
- func (a *Client) SecretDelete(params *SecretDeleteParams, opts ...ClientOption) (*SecretDeleteNoContent, error)
- func (a *Client) SecretInspect(params *SecretInspectParams, opts ...ClientOption) (*SecretInspectOK, error)
- func (a *Client) SecretList(params *SecretListParams, opts ...ClientOption) (*SecretListOK, error)
- func (a *Client) SecretUpdate(params *SecretUpdateParams, opts ...ClientOption) (*SecretUpdateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type SecretCreateBody
- func (o *SecretCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *SecretCreateBody) MarshalBinary() ([]byte, error)
- func (o SecretCreateBody) MarshalJSON() ([]byte, error)
- func (o *SecretCreateBody) UnmarshalBinary(b []byte) error
- func (o *SecretCreateBody) UnmarshalJSON(raw []byte) error
- func (o *SecretCreateBody) Validate(formats strfmt.Registry) error
- type SecretCreateConflict
- func (o *SecretCreateConflict) Error() string
- func (o *SecretCreateConflict) GetPayload() *models.ErrorResponse
- func (o *SecretCreateConflict) IsClientError() bool
- func (o *SecretCreateConflict) IsCode(code int) bool
- func (o *SecretCreateConflict) IsRedirect() bool
- func (o *SecretCreateConflict) IsServerError() bool
- func (o *SecretCreateConflict) IsSuccess() bool
- func (o *SecretCreateConflict) String() string
- type SecretCreateCreated
- func (o *SecretCreateCreated) Error() string
- func (o *SecretCreateCreated) GetPayload() *models.IDResponse
- func (o *SecretCreateCreated) IsClientError() bool
- func (o *SecretCreateCreated) IsCode(code int) bool
- func (o *SecretCreateCreated) IsRedirect() bool
- func (o *SecretCreateCreated) IsServerError() bool
- func (o *SecretCreateCreated) IsSuccess() bool
- func (o *SecretCreateCreated) String() string
- type SecretCreateInternalServerError
- func (o *SecretCreateInternalServerError) Error() string
- func (o *SecretCreateInternalServerError) GetPayload() *models.ErrorResponse
- func (o *SecretCreateInternalServerError) IsClientError() bool
- func (o *SecretCreateInternalServerError) IsCode(code int) bool
- func (o *SecretCreateInternalServerError) IsRedirect() bool
- func (o *SecretCreateInternalServerError) IsServerError() bool
- func (o *SecretCreateInternalServerError) IsSuccess() bool
- func (o *SecretCreateInternalServerError) String() string
- type SecretCreateParams
- func (o *SecretCreateParams) SetBody(body SecretCreateBody)
- func (o *SecretCreateParams) SetContext(ctx context.Context)
- func (o *SecretCreateParams) SetDefaults()
- func (o *SecretCreateParams) SetHTTPClient(client *http.Client)
- func (o *SecretCreateParams) SetTimeout(timeout time.Duration)
- func (o *SecretCreateParams) WithBody(body SecretCreateBody) *SecretCreateParams
- func (o *SecretCreateParams) WithContext(ctx context.Context) *SecretCreateParams
- func (o *SecretCreateParams) WithDefaults() *SecretCreateParams
- func (o *SecretCreateParams) WithHTTPClient(client *http.Client) *SecretCreateParams
- func (o *SecretCreateParams) WithTimeout(timeout time.Duration) *SecretCreateParams
- func (o *SecretCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SecretCreateParamsBodyAllOf1
- type SecretCreateReader
- type SecretCreateServiceUnavailable
- func (o *SecretCreateServiceUnavailable) Error() string
- func (o *SecretCreateServiceUnavailable) GetPayload() *models.ErrorResponse
- func (o *SecretCreateServiceUnavailable) IsClientError() bool
- func (o *SecretCreateServiceUnavailable) IsCode(code int) bool
- func (o *SecretCreateServiceUnavailable) IsRedirect() bool
- func (o *SecretCreateServiceUnavailable) IsServerError() bool
- func (o *SecretCreateServiceUnavailable) IsSuccess() bool
- func (o *SecretCreateServiceUnavailable) String() string
- type SecretDeleteInternalServerError
- func (o *SecretDeleteInternalServerError) Error() string
- func (o *SecretDeleteInternalServerError) GetPayload() *models.ErrorResponse
- func (o *SecretDeleteInternalServerError) IsClientError() bool
- func (o *SecretDeleteInternalServerError) IsCode(code int) bool
- func (o *SecretDeleteInternalServerError) IsRedirect() bool
- func (o *SecretDeleteInternalServerError) IsServerError() bool
- func (o *SecretDeleteInternalServerError) IsSuccess() bool
- func (o *SecretDeleteInternalServerError) String() string
- type SecretDeleteNoContent
- func (o *SecretDeleteNoContent) Error() string
- func (o *SecretDeleteNoContent) IsClientError() bool
- func (o *SecretDeleteNoContent) IsCode(code int) bool
- func (o *SecretDeleteNoContent) IsRedirect() bool
- func (o *SecretDeleteNoContent) IsServerError() bool
- func (o *SecretDeleteNoContent) IsSuccess() bool
- func (o *SecretDeleteNoContent) String() string
- type SecretDeleteNotFound
- func (o *SecretDeleteNotFound) Error() string
- func (o *SecretDeleteNotFound) GetPayload() *models.ErrorResponse
- func (o *SecretDeleteNotFound) IsClientError() bool
- func (o *SecretDeleteNotFound) IsCode(code int) bool
- func (o *SecretDeleteNotFound) IsRedirect() bool
- func (o *SecretDeleteNotFound) IsServerError() bool
- func (o *SecretDeleteNotFound) IsSuccess() bool
- func (o *SecretDeleteNotFound) String() string
- type SecretDeleteParams
- func (o *SecretDeleteParams) SetContext(ctx context.Context)
- func (o *SecretDeleteParams) SetDefaults()
- func (o *SecretDeleteParams) SetHTTPClient(client *http.Client)
- func (o *SecretDeleteParams) SetID(id string)
- func (o *SecretDeleteParams) SetTimeout(timeout time.Duration)
- func (o *SecretDeleteParams) WithContext(ctx context.Context) *SecretDeleteParams
- func (o *SecretDeleteParams) WithDefaults() *SecretDeleteParams
- func (o *SecretDeleteParams) WithHTTPClient(client *http.Client) *SecretDeleteParams
- func (o *SecretDeleteParams) WithID(id string) *SecretDeleteParams
- func (o *SecretDeleteParams) WithTimeout(timeout time.Duration) *SecretDeleteParams
- func (o *SecretDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SecretDeleteReader
- type SecretDeleteServiceUnavailable
- func (o *SecretDeleteServiceUnavailable) Error() string
- func (o *SecretDeleteServiceUnavailable) GetPayload() *models.ErrorResponse
- func (o *SecretDeleteServiceUnavailable) IsClientError() bool
- func (o *SecretDeleteServiceUnavailable) IsCode(code int) bool
- func (o *SecretDeleteServiceUnavailable) IsRedirect() bool
- func (o *SecretDeleteServiceUnavailable) IsServerError() bool
- func (o *SecretDeleteServiceUnavailable) IsSuccess() bool
- func (o *SecretDeleteServiceUnavailable) String() string
- type SecretInspectInternalServerError
- func (o *SecretInspectInternalServerError) Error() string
- func (o *SecretInspectInternalServerError) GetPayload() *models.ErrorResponse
- func (o *SecretInspectInternalServerError) IsClientError() bool
- func (o *SecretInspectInternalServerError) IsCode(code int) bool
- func (o *SecretInspectInternalServerError) IsRedirect() bool
- func (o *SecretInspectInternalServerError) IsServerError() bool
- func (o *SecretInspectInternalServerError) IsSuccess() bool
- func (o *SecretInspectInternalServerError) String() string
- type SecretInspectNotFound
- func (o *SecretInspectNotFound) Error() string
- func (o *SecretInspectNotFound) GetPayload() *models.ErrorResponse
- func (o *SecretInspectNotFound) IsClientError() bool
- func (o *SecretInspectNotFound) IsCode(code int) bool
- func (o *SecretInspectNotFound) IsRedirect() bool
- func (o *SecretInspectNotFound) IsServerError() bool
- func (o *SecretInspectNotFound) IsSuccess() bool
- func (o *SecretInspectNotFound) String() string
- type SecretInspectOK
- func (o *SecretInspectOK) Error() string
- func (o *SecretInspectOK) GetPayload() *models.Secret
- func (o *SecretInspectOK) IsClientError() bool
- func (o *SecretInspectOK) IsCode(code int) bool
- func (o *SecretInspectOK) IsRedirect() bool
- func (o *SecretInspectOK) IsServerError() bool
- func (o *SecretInspectOK) IsSuccess() bool
- func (o *SecretInspectOK) String() string
- type SecretInspectParams
- func (o *SecretInspectParams) SetContext(ctx context.Context)
- func (o *SecretInspectParams) SetDefaults()
- func (o *SecretInspectParams) SetHTTPClient(client *http.Client)
- func (o *SecretInspectParams) SetID(id string)
- func (o *SecretInspectParams) SetTimeout(timeout time.Duration)
- func (o *SecretInspectParams) WithContext(ctx context.Context) *SecretInspectParams
- func (o *SecretInspectParams) WithDefaults() *SecretInspectParams
- func (o *SecretInspectParams) WithHTTPClient(client *http.Client) *SecretInspectParams
- func (o *SecretInspectParams) WithID(id string) *SecretInspectParams
- func (o *SecretInspectParams) WithTimeout(timeout time.Duration) *SecretInspectParams
- func (o *SecretInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SecretInspectReader
- type SecretInspectServiceUnavailable
- func (o *SecretInspectServiceUnavailable) Error() string
- func (o *SecretInspectServiceUnavailable) GetPayload() *models.ErrorResponse
- func (o *SecretInspectServiceUnavailable) IsClientError() bool
- func (o *SecretInspectServiceUnavailable) IsCode(code int) bool
- func (o *SecretInspectServiceUnavailable) IsRedirect() bool
- func (o *SecretInspectServiceUnavailable) IsServerError() bool
- func (o *SecretInspectServiceUnavailable) IsSuccess() bool
- func (o *SecretInspectServiceUnavailable) String() string
- type SecretListInternalServerError
- func (o *SecretListInternalServerError) Error() string
- func (o *SecretListInternalServerError) GetPayload() *models.ErrorResponse
- func (o *SecretListInternalServerError) IsClientError() bool
- func (o *SecretListInternalServerError) IsCode(code int) bool
- func (o *SecretListInternalServerError) IsRedirect() bool
- func (o *SecretListInternalServerError) IsServerError() bool
- func (o *SecretListInternalServerError) IsSuccess() bool
- func (o *SecretListInternalServerError) String() string
- type SecretListOK
- func (o *SecretListOK) Error() string
- func (o *SecretListOK) GetPayload() []*models.Secret
- func (o *SecretListOK) IsClientError() bool
- func (o *SecretListOK) IsCode(code int) bool
- func (o *SecretListOK) IsRedirect() bool
- func (o *SecretListOK) IsServerError() bool
- func (o *SecretListOK) IsSuccess() bool
- func (o *SecretListOK) String() string
- type SecretListParams
- func (o *SecretListParams) SetContext(ctx context.Context)
- func (o *SecretListParams) SetDefaults()
- func (o *SecretListParams) SetFilters(filters *string)
- func (o *SecretListParams) SetHTTPClient(client *http.Client)
- func (o *SecretListParams) SetTimeout(timeout time.Duration)
- func (o *SecretListParams) WithContext(ctx context.Context) *SecretListParams
- func (o *SecretListParams) WithDefaults() *SecretListParams
- func (o *SecretListParams) WithFilters(filters *string) *SecretListParams
- func (o *SecretListParams) WithHTTPClient(client *http.Client) *SecretListParams
- func (o *SecretListParams) WithTimeout(timeout time.Duration) *SecretListParams
- func (o *SecretListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SecretListReader
- type SecretListServiceUnavailable
- func (o *SecretListServiceUnavailable) Error() string
- func (o *SecretListServiceUnavailable) GetPayload() *models.ErrorResponse
- func (o *SecretListServiceUnavailable) IsClientError() bool
- func (o *SecretListServiceUnavailable) IsCode(code int) bool
- func (o *SecretListServiceUnavailable) IsRedirect() bool
- func (o *SecretListServiceUnavailable) IsServerError() bool
- func (o *SecretListServiceUnavailable) IsSuccess() bool
- func (o *SecretListServiceUnavailable) String() string
- type SecretUpdateBadRequest
- func (o *SecretUpdateBadRequest) Error() string
- func (o *SecretUpdateBadRequest) GetPayload() *models.ErrorResponse
- func (o *SecretUpdateBadRequest) IsClientError() bool
- func (o *SecretUpdateBadRequest) IsCode(code int) bool
- func (o *SecretUpdateBadRequest) IsRedirect() bool
- func (o *SecretUpdateBadRequest) IsServerError() bool
- func (o *SecretUpdateBadRequest) IsSuccess() bool
- func (o *SecretUpdateBadRequest) String() string
- type SecretUpdateInternalServerError
- func (o *SecretUpdateInternalServerError) Error() string
- func (o *SecretUpdateInternalServerError) GetPayload() *models.ErrorResponse
- func (o *SecretUpdateInternalServerError) IsClientError() bool
- func (o *SecretUpdateInternalServerError) IsCode(code int) bool
- func (o *SecretUpdateInternalServerError) IsRedirect() bool
- func (o *SecretUpdateInternalServerError) IsServerError() bool
- func (o *SecretUpdateInternalServerError) IsSuccess() bool
- func (o *SecretUpdateInternalServerError) String() string
- type SecretUpdateNotFound
- func (o *SecretUpdateNotFound) Error() string
- func (o *SecretUpdateNotFound) GetPayload() *models.ErrorResponse
- func (o *SecretUpdateNotFound) IsClientError() bool
- func (o *SecretUpdateNotFound) IsCode(code int) bool
- func (o *SecretUpdateNotFound) IsRedirect() bool
- func (o *SecretUpdateNotFound) IsServerError() bool
- func (o *SecretUpdateNotFound) IsSuccess() bool
- func (o *SecretUpdateNotFound) String() string
- type SecretUpdateOK
- func (o *SecretUpdateOK) Error() string
- func (o *SecretUpdateOK) IsClientError() bool
- func (o *SecretUpdateOK) IsCode(code int) bool
- func (o *SecretUpdateOK) IsRedirect() bool
- func (o *SecretUpdateOK) IsServerError() bool
- func (o *SecretUpdateOK) IsSuccess() bool
- func (o *SecretUpdateOK) String() string
- type SecretUpdateParams
- func (o *SecretUpdateParams) SetBody(body *models.SecretSpec)
- func (o *SecretUpdateParams) SetContext(ctx context.Context)
- func (o *SecretUpdateParams) SetDefaults()
- func (o *SecretUpdateParams) SetHTTPClient(client *http.Client)
- func (o *SecretUpdateParams) SetID(id string)
- func (o *SecretUpdateParams) SetTimeout(timeout time.Duration)
- func (o *SecretUpdateParams) SetVersion(version int64)
- func (o *SecretUpdateParams) WithBody(body *models.SecretSpec) *SecretUpdateParams
- func (o *SecretUpdateParams) WithContext(ctx context.Context) *SecretUpdateParams
- func (o *SecretUpdateParams) WithDefaults() *SecretUpdateParams
- func (o *SecretUpdateParams) WithHTTPClient(client *http.Client) *SecretUpdateParams
- func (o *SecretUpdateParams) WithID(id string) *SecretUpdateParams
- func (o *SecretUpdateParams) WithTimeout(timeout time.Duration) *SecretUpdateParams
- func (o *SecretUpdateParams) WithVersion(version int64) *SecretUpdateParams
- func (o *SecretUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SecretUpdateReader
- type SecretUpdateServiceUnavailable
- func (o *SecretUpdateServiceUnavailable) Error() string
- func (o *SecretUpdateServiceUnavailable) GetPayload() *models.ErrorResponse
- func (o *SecretUpdateServiceUnavailable) IsClientError() bool
- func (o *SecretUpdateServiceUnavailable) IsCode(code int) bool
- func (o *SecretUpdateServiceUnavailable) IsRedirect() bool
- func (o *SecretUpdateServiceUnavailable) IsServerError() bool
- func (o *SecretUpdateServiceUnavailable) IsSuccess() bool
- func (o *SecretUpdateServiceUnavailable) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for secret API
func (*Client) SecretCreate ¶
func (a *Client) SecretCreate(params *SecretCreateParams, opts ...ClientOption) (*SecretCreateCreated, error)
SecretCreate creates a secret
func (*Client) SecretDelete ¶
func (a *Client) SecretDelete(params *SecretDeleteParams, opts ...ClientOption) (*SecretDeleteNoContent, error)
SecretDelete deletes a secret
func (*Client) SecretInspect ¶
func (a *Client) SecretInspect(params *SecretInspectParams, opts ...ClientOption) (*SecretInspectOK, error)
SecretInspect inspects a secret
func (*Client) SecretList ¶
func (a *Client) SecretList(params *SecretListParams, opts ...ClientOption) (*SecretListOK, error)
SecretList lists secrets
func (*Client) SecretUpdate ¶
func (a *Client) SecretUpdate(params *SecretUpdateParams, opts ...ClientOption) (*SecretUpdateOK, error)
SecretUpdate updates a secret
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { SecretCreate(params *SecretCreateParams, opts ...ClientOption) (*SecretCreateCreated, error) SecretDelete(params *SecretDeleteParams, opts ...ClientOption) (*SecretDeleteNoContent, error) SecretInspect(params *SecretInspectParams, opts ...ClientOption) (*SecretInspectOK, error) SecretList(params *SecretListParams, opts ...ClientOption) (*SecretListOK, error) SecretUpdate(params *SecretUpdateParams, opts ...ClientOption) (*SecretUpdateOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new secret API client.
type SecretCreateBody ¶
type SecretCreateBody struct { models.SecretSpec SecretCreateParamsBodyAllOf1 }
SecretCreateBody secret create body swagger:model SecretCreateBody
func (*SecretCreateBody) ContextValidate ¶
ContextValidate validate this secret create body based on the context it is used
func (*SecretCreateBody) MarshalBinary ¶
func (o *SecretCreateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (SecretCreateBody) MarshalJSON ¶
func (o SecretCreateBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*SecretCreateBody) UnmarshalBinary ¶
func (o *SecretCreateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*SecretCreateBody) UnmarshalJSON ¶
func (o *SecretCreateBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type SecretCreateConflict ¶
type SecretCreateConflict struct {
Payload *models.ErrorResponse
}
SecretCreateConflict describes a response with status code 409, with default header values.
name conflicts with an existing object
func NewSecretCreateConflict ¶
func NewSecretCreateConflict() *SecretCreateConflict
NewSecretCreateConflict creates a SecretCreateConflict with default headers values
func (*SecretCreateConflict) Error ¶
func (o *SecretCreateConflict) Error() string
func (*SecretCreateConflict) GetPayload ¶
func (o *SecretCreateConflict) GetPayload() *models.ErrorResponse
func (*SecretCreateConflict) IsClientError ¶
func (o *SecretCreateConflict) IsClientError() bool
IsClientError returns true when this secret create conflict response has a 4xx status code
func (*SecretCreateConflict) IsCode ¶
func (o *SecretCreateConflict) IsCode(code int) bool
IsCode returns true when this secret create conflict response a status code equal to that given
func (*SecretCreateConflict) IsRedirect ¶
func (o *SecretCreateConflict) IsRedirect() bool
IsRedirect returns true when this secret create conflict response has a 3xx status code
func (*SecretCreateConflict) IsServerError ¶
func (o *SecretCreateConflict) IsServerError() bool
IsServerError returns true when this secret create conflict response has a 5xx status code
func (*SecretCreateConflict) IsSuccess ¶
func (o *SecretCreateConflict) IsSuccess() bool
IsSuccess returns true when this secret create conflict response has a 2xx status code
func (*SecretCreateConflict) String ¶
func (o *SecretCreateConflict) String() string
type SecretCreateCreated ¶
type SecretCreateCreated struct {
Payload *models.IDResponse
}
SecretCreateCreated describes a response with status code 201, with default header values.
no error
func NewSecretCreateCreated ¶
func NewSecretCreateCreated() *SecretCreateCreated
NewSecretCreateCreated creates a SecretCreateCreated with default headers values
func (*SecretCreateCreated) Error ¶
func (o *SecretCreateCreated) Error() string
func (*SecretCreateCreated) GetPayload ¶
func (o *SecretCreateCreated) GetPayload() *models.IDResponse
func (*SecretCreateCreated) IsClientError ¶
func (o *SecretCreateCreated) IsClientError() bool
IsClientError returns true when this secret create created response has a 4xx status code
func (*SecretCreateCreated) IsCode ¶
func (o *SecretCreateCreated) IsCode(code int) bool
IsCode returns true when this secret create created response a status code equal to that given
func (*SecretCreateCreated) IsRedirect ¶
func (o *SecretCreateCreated) IsRedirect() bool
IsRedirect returns true when this secret create created response has a 3xx status code
func (*SecretCreateCreated) IsServerError ¶
func (o *SecretCreateCreated) IsServerError() bool
IsServerError returns true when this secret create created response has a 5xx status code
func (*SecretCreateCreated) IsSuccess ¶
func (o *SecretCreateCreated) IsSuccess() bool
IsSuccess returns true when this secret create created response has a 2xx status code
func (*SecretCreateCreated) String ¶
func (o *SecretCreateCreated) String() string
type SecretCreateInternalServerError ¶
type SecretCreateInternalServerError struct {
Payload *models.ErrorResponse
}
SecretCreateInternalServerError describes a response with status code 500, with default header values.
server error
func NewSecretCreateInternalServerError ¶
func NewSecretCreateInternalServerError() *SecretCreateInternalServerError
NewSecretCreateInternalServerError creates a SecretCreateInternalServerError with default headers values
func (*SecretCreateInternalServerError) Error ¶
func (o *SecretCreateInternalServerError) Error() string
func (*SecretCreateInternalServerError) GetPayload ¶
func (o *SecretCreateInternalServerError) GetPayload() *models.ErrorResponse
func (*SecretCreateInternalServerError) IsClientError ¶
func (o *SecretCreateInternalServerError) IsClientError() bool
IsClientError returns true when this secret create internal server error response has a 4xx status code
func (*SecretCreateInternalServerError) IsCode ¶
func (o *SecretCreateInternalServerError) IsCode(code int) bool
IsCode returns true when this secret create internal server error response a status code equal to that given
func (*SecretCreateInternalServerError) IsRedirect ¶
func (o *SecretCreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this secret create internal server error response has a 3xx status code
func (*SecretCreateInternalServerError) IsServerError ¶
func (o *SecretCreateInternalServerError) IsServerError() bool
IsServerError returns true when this secret create internal server error response has a 5xx status code
func (*SecretCreateInternalServerError) IsSuccess ¶
func (o *SecretCreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this secret create internal server error response has a 2xx status code
func (*SecretCreateInternalServerError) String ¶
func (o *SecretCreateInternalServerError) String() string
type SecretCreateParams ¶
type SecretCreateParams struct { // Body. Body SecretCreateBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SecretCreateParams contains all the parameters to send to the API endpoint
for the secret create operation. Typically these are written to a http.Request.
func NewSecretCreateParams ¶
func NewSecretCreateParams() *SecretCreateParams
NewSecretCreateParams creates a new SecretCreateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSecretCreateParamsWithContext ¶
func NewSecretCreateParamsWithContext(ctx context.Context) *SecretCreateParams
NewSecretCreateParamsWithContext creates a new SecretCreateParams object with the ability to set a context for a request.
func NewSecretCreateParamsWithHTTPClient ¶
func NewSecretCreateParamsWithHTTPClient(client *http.Client) *SecretCreateParams
NewSecretCreateParamsWithHTTPClient creates a new SecretCreateParams object with the ability to set a custom HTTPClient for a request.
func NewSecretCreateParamsWithTimeout ¶
func NewSecretCreateParamsWithTimeout(timeout time.Duration) *SecretCreateParams
NewSecretCreateParamsWithTimeout creates a new SecretCreateParams object with the ability to set a timeout on a request.
func (*SecretCreateParams) SetBody ¶
func (o *SecretCreateParams) SetBody(body SecretCreateBody)
SetBody adds the body to the secret create params
func (*SecretCreateParams) SetContext ¶
func (o *SecretCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the secret create params
func (*SecretCreateParams) SetDefaults ¶
func (o *SecretCreateParams) SetDefaults()
SetDefaults hydrates default values in the secret create params (not the query body).
All values with no default are reset to their zero value.
func (*SecretCreateParams) SetHTTPClient ¶
func (o *SecretCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the secret create params
func (*SecretCreateParams) SetTimeout ¶
func (o *SecretCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the secret create params
func (*SecretCreateParams) WithBody ¶
func (o *SecretCreateParams) WithBody(body SecretCreateBody) *SecretCreateParams
WithBody adds the body to the secret create params
func (*SecretCreateParams) WithContext ¶
func (o *SecretCreateParams) WithContext(ctx context.Context) *SecretCreateParams
WithContext adds the context to the secret create params
func (*SecretCreateParams) WithDefaults ¶
func (o *SecretCreateParams) WithDefaults() *SecretCreateParams
WithDefaults hydrates default values in the secret create params (not the query body).
All values with no default are reset to their zero value.
func (*SecretCreateParams) WithHTTPClient ¶
func (o *SecretCreateParams) WithHTTPClient(client *http.Client) *SecretCreateParams
WithHTTPClient adds the HTTPClient to the secret create params
func (*SecretCreateParams) WithTimeout ¶
func (o *SecretCreateParams) WithTimeout(timeout time.Duration) *SecretCreateParams
WithTimeout adds the timeout to the secret create params
func (*SecretCreateParams) WriteToRequest ¶
func (o *SecretCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SecretCreateParamsBodyAllOf1 ¶
type SecretCreateParamsBodyAllOf1 interface{}
SecretCreateParamsBodyAllOf1 secret create params body all of1 // Example: {"Data":"VEhJUyBJUyBOT1QgQSBSRUFMIENFUlRJRklDQVRFCg==","Driver":{"Name":"secret-bucket","Options":{"OptionA":"value for driver option A","OptionB":"value for driver option B"}},"Labels":{"foo":"bar"},"Name":"app-key.crt"} swagger:model SecretCreateParamsBodyAllOf1
type SecretCreateReader ¶
type SecretCreateReader struct {
// contains filtered or unexported fields
}
SecretCreateReader is a Reader for the SecretCreate structure.
func (*SecretCreateReader) ReadResponse ¶
func (o *SecretCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SecretCreateServiceUnavailable ¶
type SecretCreateServiceUnavailable struct {
}SecretCreateServiceUnavailable describes a response with status code 503, with default header values.
node is not part of a swarm
func NewSecretCreateServiceUnavailable ¶
func NewSecretCreateServiceUnavailable() *SecretCreateServiceUnavailable
NewSecretCreateServiceUnavailable creates a SecretCreateServiceUnavailable with default headers values
func (*SecretCreateServiceUnavailable) Error ¶
func (o *SecretCreateServiceUnavailable) Error() string
func (*SecretCreateServiceUnavailable) GetPayload ¶
func (o *SecretCreateServiceUnavailable) GetPayload() *models.ErrorResponse
func (*SecretCreateServiceUnavailable) IsClientError ¶
func (o *SecretCreateServiceUnavailable) IsClientError() bool
IsClientError returns true when this secret create service unavailable response has a 4xx status code
func (*SecretCreateServiceUnavailable) IsCode ¶
func (o *SecretCreateServiceUnavailable) IsCode(code int) bool
IsCode returns true when this secret create service unavailable response a status code equal to that given
func (*SecretCreateServiceUnavailable) IsRedirect ¶
func (o *SecretCreateServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this secret create service unavailable response has a 3xx status code
func (*SecretCreateServiceUnavailable) IsServerError ¶
func (o *SecretCreateServiceUnavailable) IsServerError() bool
IsServerError returns true when this secret create service unavailable response has a 5xx status code
func (*SecretCreateServiceUnavailable) IsSuccess ¶
func (o *SecretCreateServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this secret create service unavailable response has a 2xx status code
func (*SecretCreateServiceUnavailable) String ¶
func (o *SecretCreateServiceUnavailable) String() string
type SecretDeleteInternalServerError ¶
type SecretDeleteInternalServerError struct {
Payload *models.ErrorResponse
}
SecretDeleteInternalServerError describes a response with status code 500, with default header values.
server error
func NewSecretDeleteInternalServerError ¶
func NewSecretDeleteInternalServerError() *SecretDeleteInternalServerError
NewSecretDeleteInternalServerError creates a SecretDeleteInternalServerError with default headers values
func (*SecretDeleteInternalServerError) Error ¶
func (o *SecretDeleteInternalServerError) Error() string
func (*SecretDeleteInternalServerError) GetPayload ¶
func (o *SecretDeleteInternalServerError) GetPayload() *models.ErrorResponse
func (*SecretDeleteInternalServerError) IsClientError ¶
func (o *SecretDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this secret delete internal server error response has a 4xx status code
func (*SecretDeleteInternalServerError) IsCode ¶
func (o *SecretDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this secret delete internal server error response a status code equal to that given
func (*SecretDeleteInternalServerError) IsRedirect ¶
func (o *SecretDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this secret delete internal server error response has a 3xx status code
func (*SecretDeleteInternalServerError) IsServerError ¶
func (o *SecretDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this secret delete internal server error response has a 5xx status code
func (*SecretDeleteInternalServerError) IsSuccess ¶
func (o *SecretDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this secret delete internal server error response has a 2xx status code
func (*SecretDeleteInternalServerError) String ¶
func (o *SecretDeleteInternalServerError) String() string
type SecretDeleteNoContent ¶
type SecretDeleteNoContent struct { }
SecretDeleteNoContent describes a response with status code 204, with default header values.
no error
func NewSecretDeleteNoContent ¶
func NewSecretDeleteNoContent() *SecretDeleteNoContent
NewSecretDeleteNoContent creates a SecretDeleteNoContent with default headers values
func (*SecretDeleteNoContent) Error ¶
func (o *SecretDeleteNoContent) Error() string
func (*SecretDeleteNoContent) IsClientError ¶
func (o *SecretDeleteNoContent) IsClientError() bool
IsClientError returns true when this secret delete no content response has a 4xx status code
func (*SecretDeleteNoContent) IsCode ¶
func (o *SecretDeleteNoContent) IsCode(code int) bool
IsCode returns true when this secret delete no content response a status code equal to that given
func (*SecretDeleteNoContent) IsRedirect ¶
func (o *SecretDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this secret delete no content response has a 3xx status code
func (*SecretDeleteNoContent) IsServerError ¶
func (o *SecretDeleteNoContent) IsServerError() bool
IsServerError returns true when this secret delete no content response has a 5xx status code
func (*SecretDeleteNoContent) IsSuccess ¶
func (o *SecretDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this secret delete no content response has a 2xx status code
func (*SecretDeleteNoContent) String ¶
func (o *SecretDeleteNoContent) String() string
type SecretDeleteNotFound ¶
type SecretDeleteNotFound struct {
Payload *models.ErrorResponse
}
SecretDeleteNotFound describes a response with status code 404, with default header values.
secret not found
func NewSecretDeleteNotFound ¶
func NewSecretDeleteNotFound() *SecretDeleteNotFound
NewSecretDeleteNotFound creates a SecretDeleteNotFound with default headers values
func (*SecretDeleteNotFound) Error ¶
func (o *SecretDeleteNotFound) Error() string
func (*SecretDeleteNotFound) GetPayload ¶
func (o *SecretDeleteNotFound) GetPayload() *models.ErrorResponse
func (*SecretDeleteNotFound) IsClientError ¶
func (o *SecretDeleteNotFound) IsClientError() bool
IsClientError returns true when this secret delete not found response has a 4xx status code
func (*SecretDeleteNotFound) IsCode ¶
func (o *SecretDeleteNotFound) IsCode(code int) bool
IsCode returns true when this secret delete not found response a status code equal to that given
func (*SecretDeleteNotFound) IsRedirect ¶
func (o *SecretDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this secret delete not found response has a 3xx status code
func (*SecretDeleteNotFound) IsServerError ¶
func (o *SecretDeleteNotFound) IsServerError() bool
IsServerError returns true when this secret delete not found response has a 5xx status code
func (*SecretDeleteNotFound) IsSuccess ¶
func (o *SecretDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this secret delete not found response has a 2xx status code
func (*SecretDeleteNotFound) String ¶
func (o *SecretDeleteNotFound) String() string
type SecretDeleteParams ¶
type SecretDeleteParams struct { /* ID. ID of the secret */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SecretDeleteParams contains all the parameters to send to the API endpoint
for the secret delete operation. Typically these are written to a http.Request.
func NewSecretDeleteParams ¶
func NewSecretDeleteParams() *SecretDeleteParams
NewSecretDeleteParams creates a new SecretDeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSecretDeleteParamsWithContext ¶
func NewSecretDeleteParamsWithContext(ctx context.Context) *SecretDeleteParams
NewSecretDeleteParamsWithContext creates a new SecretDeleteParams object with the ability to set a context for a request.
func NewSecretDeleteParamsWithHTTPClient ¶
func NewSecretDeleteParamsWithHTTPClient(client *http.Client) *SecretDeleteParams
NewSecretDeleteParamsWithHTTPClient creates a new SecretDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewSecretDeleteParamsWithTimeout ¶
func NewSecretDeleteParamsWithTimeout(timeout time.Duration) *SecretDeleteParams
NewSecretDeleteParamsWithTimeout creates a new SecretDeleteParams object with the ability to set a timeout on a request.
func (*SecretDeleteParams) SetContext ¶
func (o *SecretDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the secret delete params
func (*SecretDeleteParams) SetDefaults ¶
func (o *SecretDeleteParams) SetDefaults()
SetDefaults hydrates default values in the secret delete params (not the query body).
All values with no default are reset to their zero value.
func (*SecretDeleteParams) SetHTTPClient ¶
func (o *SecretDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the secret delete params
func (*SecretDeleteParams) SetID ¶
func (o *SecretDeleteParams) SetID(id string)
SetID adds the id to the secret delete params
func (*SecretDeleteParams) SetTimeout ¶
func (o *SecretDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the secret delete params
func (*SecretDeleteParams) WithContext ¶
func (o *SecretDeleteParams) WithContext(ctx context.Context) *SecretDeleteParams
WithContext adds the context to the secret delete params
func (*SecretDeleteParams) WithDefaults ¶
func (o *SecretDeleteParams) WithDefaults() *SecretDeleteParams
WithDefaults hydrates default values in the secret delete params (not the query body).
All values with no default are reset to their zero value.
func (*SecretDeleteParams) WithHTTPClient ¶
func (o *SecretDeleteParams) WithHTTPClient(client *http.Client) *SecretDeleteParams
WithHTTPClient adds the HTTPClient to the secret delete params
func (*SecretDeleteParams) WithID ¶
func (o *SecretDeleteParams) WithID(id string) *SecretDeleteParams
WithID adds the id to the secret delete params
func (*SecretDeleteParams) WithTimeout ¶
func (o *SecretDeleteParams) WithTimeout(timeout time.Duration) *SecretDeleteParams
WithTimeout adds the timeout to the secret delete params
func (*SecretDeleteParams) WriteToRequest ¶
func (o *SecretDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SecretDeleteReader ¶
type SecretDeleteReader struct {
// contains filtered or unexported fields
}
SecretDeleteReader is a Reader for the SecretDelete structure.
func (*SecretDeleteReader) ReadResponse ¶
func (o *SecretDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SecretDeleteServiceUnavailable ¶
type SecretDeleteServiceUnavailable struct {
}SecretDeleteServiceUnavailable describes a response with status code 503, with default header values.
node is not part of a swarm
func NewSecretDeleteServiceUnavailable ¶
func NewSecretDeleteServiceUnavailable() *SecretDeleteServiceUnavailable
NewSecretDeleteServiceUnavailable creates a SecretDeleteServiceUnavailable with default headers values
func (*SecretDeleteServiceUnavailable) Error ¶
func (o *SecretDeleteServiceUnavailable) Error() string
func (*SecretDeleteServiceUnavailable) GetPayload ¶
func (o *SecretDeleteServiceUnavailable) GetPayload() *models.ErrorResponse
func (*SecretDeleteServiceUnavailable) IsClientError ¶
func (o *SecretDeleteServiceUnavailable) IsClientError() bool
IsClientError returns true when this secret delete service unavailable response has a 4xx status code
func (*SecretDeleteServiceUnavailable) IsCode ¶
func (o *SecretDeleteServiceUnavailable) IsCode(code int) bool
IsCode returns true when this secret delete service unavailable response a status code equal to that given
func (*SecretDeleteServiceUnavailable) IsRedirect ¶
func (o *SecretDeleteServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this secret delete service unavailable response has a 3xx status code
func (*SecretDeleteServiceUnavailable) IsServerError ¶
func (o *SecretDeleteServiceUnavailable) IsServerError() bool
IsServerError returns true when this secret delete service unavailable response has a 5xx status code
func (*SecretDeleteServiceUnavailable) IsSuccess ¶
func (o *SecretDeleteServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this secret delete service unavailable response has a 2xx status code
func (*SecretDeleteServiceUnavailable) String ¶
func (o *SecretDeleteServiceUnavailable) String() string
type SecretInspectInternalServerError ¶
type SecretInspectInternalServerError struct {
Payload *models.ErrorResponse
}
SecretInspectInternalServerError describes a response with status code 500, with default header values.
server error
func NewSecretInspectInternalServerError ¶
func NewSecretInspectInternalServerError() *SecretInspectInternalServerError
NewSecretInspectInternalServerError creates a SecretInspectInternalServerError with default headers values
func (*SecretInspectInternalServerError) Error ¶
func (o *SecretInspectInternalServerError) Error() string
func (*SecretInspectInternalServerError) GetPayload ¶
func (o *SecretInspectInternalServerError) GetPayload() *models.ErrorResponse
func (*SecretInspectInternalServerError) IsClientError ¶
func (o *SecretInspectInternalServerError) IsClientError() bool
IsClientError returns true when this secret inspect internal server error response has a 4xx status code
func (*SecretInspectInternalServerError) IsCode ¶
func (o *SecretInspectInternalServerError) IsCode(code int) bool
IsCode returns true when this secret inspect internal server error response a status code equal to that given
func (*SecretInspectInternalServerError) IsRedirect ¶
func (o *SecretInspectInternalServerError) IsRedirect() bool
IsRedirect returns true when this secret inspect internal server error response has a 3xx status code
func (*SecretInspectInternalServerError) IsServerError ¶
func (o *SecretInspectInternalServerError) IsServerError() bool
IsServerError returns true when this secret inspect internal server error response has a 5xx status code
func (*SecretInspectInternalServerError) IsSuccess ¶
func (o *SecretInspectInternalServerError) IsSuccess() bool
IsSuccess returns true when this secret inspect internal server error response has a 2xx status code
func (*SecretInspectInternalServerError) String ¶
func (o *SecretInspectInternalServerError) String() string
type SecretInspectNotFound ¶
type SecretInspectNotFound struct {
Payload *models.ErrorResponse
}
SecretInspectNotFound describes a response with status code 404, with default header values.
secret not found
func NewSecretInspectNotFound ¶
func NewSecretInspectNotFound() *SecretInspectNotFound
NewSecretInspectNotFound creates a SecretInspectNotFound with default headers values
func (*SecretInspectNotFound) Error ¶
func (o *SecretInspectNotFound) Error() string
func (*SecretInspectNotFound) GetPayload ¶
func (o *SecretInspectNotFound) GetPayload() *models.ErrorResponse
func (*SecretInspectNotFound) IsClientError ¶
func (o *SecretInspectNotFound) IsClientError() bool
IsClientError returns true when this secret inspect not found response has a 4xx status code
func (*SecretInspectNotFound) IsCode ¶
func (o *SecretInspectNotFound) IsCode(code int) bool
IsCode returns true when this secret inspect not found response a status code equal to that given
func (*SecretInspectNotFound) IsRedirect ¶
func (o *SecretInspectNotFound) IsRedirect() bool
IsRedirect returns true when this secret inspect not found response has a 3xx status code
func (*SecretInspectNotFound) IsServerError ¶
func (o *SecretInspectNotFound) IsServerError() bool
IsServerError returns true when this secret inspect not found response has a 5xx status code
func (*SecretInspectNotFound) IsSuccess ¶
func (o *SecretInspectNotFound) IsSuccess() bool
IsSuccess returns true when this secret inspect not found response has a 2xx status code
func (*SecretInspectNotFound) String ¶
func (o *SecretInspectNotFound) String() string
type SecretInspectOK ¶
SecretInspectOK describes a response with status code 200, with default header values.
no error
func NewSecretInspectOK ¶
func NewSecretInspectOK() *SecretInspectOK
NewSecretInspectOK creates a SecretInspectOK with default headers values
func (*SecretInspectOK) Error ¶
func (o *SecretInspectOK) Error() string
func (*SecretInspectOK) GetPayload ¶
func (o *SecretInspectOK) GetPayload() *models.Secret
func (*SecretInspectOK) IsClientError ¶
func (o *SecretInspectOK) IsClientError() bool
IsClientError returns true when this secret inspect o k response has a 4xx status code
func (*SecretInspectOK) IsCode ¶
func (o *SecretInspectOK) IsCode(code int) bool
IsCode returns true when this secret inspect o k response a status code equal to that given
func (*SecretInspectOK) IsRedirect ¶
func (o *SecretInspectOK) IsRedirect() bool
IsRedirect returns true when this secret inspect o k response has a 3xx status code
func (*SecretInspectOK) IsServerError ¶
func (o *SecretInspectOK) IsServerError() bool
IsServerError returns true when this secret inspect o k response has a 5xx status code
func (*SecretInspectOK) IsSuccess ¶
func (o *SecretInspectOK) IsSuccess() bool
IsSuccess returns true when this secret inspect o k response has a 2xx status code
func (*SecretInspectOK) String ¶
func (o *SecretInspectOK) String() string
type SecretInspectParams ¶
type SecretInspectParams struct { /* ID. ID of the secret */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SecretInspectParams contains all the parameters to send to the API endpoint
for the secret inspect operation. Typically these are written to a http.Request.
func NewSecretInspectParams ¶
func NewSecretInspectParams() *SecretInspectParams
NewSecretInspectParams creates a new SecretInspectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSecretInspectParamsWithContext ¶
func NewSecretInspectParamsWithContext(ctx context.Context) *SecretInspectParams
NewSecretInspectParamsWithContext creates a new SecretInspectParams object with the ability to set a context for a request.
func NewSecretInspectParamsWithHTTPClient ¶
func NewSecretInspectParamsWithHTTPClient(client *http.Client) *SecretInspectParams
NewSecretInspectParamsWithHTTPClient creates a new SecretInspectParams object with the ability to set a custom HTTPClient for a request.
func NewSecretInspectParamsWithTimeout ¶
func NewSecretInspectParamsWithTimeout(timeout time.Duration) *SecretInspectParams
NewSecretInspectParamsWithTimeout creates a new SecretInspectParams object with the ability to set a timeout on a request.
func (*SecretInspectParams) SetContext ¶
func (o *SecretInspectParams) SetContext(ctx context.Context)
SetContext adds the context to the secret inspect params
func (*SecretInspectParams) SetDefaults ¶
func (o *SecretInspectParams) SetDefaults()
SetDefaults hydrates default values in the secret inspect params (not the query body).
All values with no default are reset to their zero value.
func (*SecretInspectParams) SetHTTPClient ¶
func (o *SecretInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the secret inspect params
func (*SecretInspectParams) SetID ¶
func (o *SecretInspectParams) SetID(id string)
SetID adds the id to the secret inspect params
func (*SecretInspectParams) SetTimeout ¶
func (o *SecretInspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the secret inspect params
func (*SecretInspectParams) WithContext ¶
func (o *SecretInspectParams) WithContext(ctx context.Context) *SecretInspectParams
WithContext adds the context to the secret inspect params
func (*SecretInspectParams) WithDefaults ¶
func (o *SecretInspectParams) WithDefaults() *SecretInspectParams
WithDefaults hydrates default values in the secret inspect params (not the query body).
All values with no default are reset to their zero value.
func (*SecretInspectParams) WithHTTPClient ¶
func (o *SecretInspectParams) WithHTTPClient(client *http.Client) *SecretInspectParams
WithHTTPClient adds the HTTPClient to the secret inspect params
func (*SecretInspectParams) WithID ¶
func (o *SecretInspectParams) WithID(id string) *SecretInspectParams
WithID adds the id to the secret inspect params
func (*SecretInspectParams) WithTimeout ¶
func (o *SecretInspectParams) WithTimeout(timeout time.Duration) *SecretInspectParams
WithTimeout adds the timeout to the secret inspect params
func (*SecretInspectParams) WriteToRequest ¶
func (o *SecretInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SecretInspectReader ¶
type SecretInspectReader struct {
// contains filtered or unexported fields
}
SecretInspectReader is a Reader for the SecretInspect structure.
func (*SecretInspectReader) ReadResponse ¶
func (o *SecretInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SecretInspectServiceUnavailable ¶
type SecretInspectServiceUnavailable struct {
}SecretInspectServiceUnavailable describes a response with status code 503, with default header values.
node is not part of a swarm
func NewSecretInspectServiceUnavailable ¶
func NewSecretInspectServiceUnavailable() *SecretInspectServiceUnavailable
NewSecretInspectServiceUnavailable creates a SecretInspectServiceUnavailable with default headers values
func (*SecretInspectServiceUnavailable) Error ¶
func (o *SecretInspectServiceUnavailable) Error() string
func (*SecretInspectServiceUnavailable) GetPayload ¶
func (o *SecretInspectServiceUnavailable) GetPayload() *models.ErrorResponse
func (*SecretInspectServiceUnavailable) IsClientError ¶
func (o *SecretInspectServiceUnavailable) IsClientError() bool
IsClientError returns true when this secret inspect service unavailable response has a 4xx status code
func (*SecretInspectServiceUnavailable) IsCode ¶
func (o *SecretInspectServiceUnavailable) IsCode(code int) bool
IsCode returns true when this secret inspect service unavailable response a status code equal to that given
func (*SecretInspectServiceUnavailable) IsRedirect ¶
func (o *SecretInspectServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this secret inspect service unavailable response has a 3xx status code
func (*SecretInspectServiceUnavailable) IsServerError ¶
func (o *SecretInspectServiceUnavailable) IsServerError() bool
IsServerError returns true when this secret inspect service unavailable response has a 5xx status code
func (*SecretInspectServiceUnavailable) IsSuccess ¶
func (o *SecretInspectServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this secret inspect service unavailable response has a 2xx status code
func (*SecretInspectServiceUnavailable) String ¶
func (o *SecretInspectServiceUnavailable) String() string
type SecretListInternalServerError ¶
type SecretListInternalServerError struct {
Payload *models.ErrorResponse
}
SecretListInternalServerError describes a response with status code 500, with default header values.
server error
func NewSecretListInternalServerError ¶
func NewSecretListInternalServerError() *SecretListInternalServerError
NewSecretListInternalServerError creates a SecretListInternalServerError with default headers values
func (*SecretListInternalServerError) Error ¶
func (o *SecretListInternalServerError) Error() string
func (*SecretListInternalServerError) GetPayload ¶
func (o *SecretListInternalServerError) GetPayload() *models.ErrorResponse
func (*SecretListInternalServerError) IsClientError ¶
func (o *SecretListInternalServerError) IsClientError() bool
IsClientError returns true when this secret list internal server error response has a 4xx status code
func (*SecretListInternalServerError) IsCode ¶
func (o *SecretListInternalServerError) IsCode(code int) bool
IsCode returns true when this secret list internal server error response a status code equal to that given
func (*SecretListInternalServerError) IsRedirect ¶
func (o *SecretListInternalServerError) IsRedirect() bool
IsRedirect returns true when this secret list internal server error response has a 3xx status code
func (*SecretListInternalServerError) IsServerError ¶
func (o *SecretListInternalServerError) IsServerError() bool
IsServerError returns true when this secret list internal server error response has a 5xx status code
func (*SecretListInternalServerError) IsSuccess ¶
func (o *SecretListInternalServerError) IsSuccess() bool
IsSuccess returns true when this secret list internal server error response has a 2xx status code
func (*SecretListInternalServerError) String ¶
func (o *SecretListInternalServerError) String() string
type SecretListOK ¶
SecretListOK describes a response with status code 200, with default header values.
no error
func NewSecretListOK ¶
func NewSecretListOK() *SecretListOK
NewSecretListOK creates a SecretListOK with default headers values
func (*SecretListOK) Error ¶
func (o *SecretListOK) Error() string
func (*SecretListOK) GetPayload ¶
func (o *SecretListOK) GetPayload() []*models.Secret
func (*SecretListOK) IsClientError ¶
func (o *SecretListOK) IsClientError() bool
IsClientError returns true when this secret list o k response has a 4xx status code
func (*SecretListOK) IsCode ¶
func (o *SecretListOK) IsCode(code int) bool
IsCode returns true when this secret list o k response a status code equal to that given
func (*SecretListOK) IsRedirect ¶
func (o *SecretListOK) IsRedirect() bool
IsRedirect returns true when this secret list o k response has a 3xx status code
func (*SecretListOK) IsServerError ¶
func (o *SecretListOK) IsServerError() bool
IsServerError returns true when this secret list o k response has a 5xx status code
func (*SecretListOK) IsSuccess ¶
func (o *SecretListOK) IsSuccess() bool
IsSuccess returns true when this secret list o k response has a 2xx status code
func (*SecretListOK) String ¶
func (o *SecretListOK) String() string
type SecretListParams ¶
type SecretListParams struct { /* Filters. A JSON encoded value of the filters (a `map[string][]string`) to process on the secrets list. Available filters: - `id=<secret id>` - `label=<key> or label=<key>=value` - `name=<secret name>` - `names=<secret name>` */ Filters *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SecretListParams contains all the parameters to send to the API endpoint
for the secret list operation. Typically these are written to a http.Request.
func NewSecretListParams ¶
func NewSecretListParams() *SecretListParams
NewSecretListParams creates a new SecretListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSecretListParamsWithContext ¶
func NewSecretListParamsWithContext(ctx context.Context) *SecretListParams
NewSecretListParamsWithContext creates a new SecretListParams object with the ability to set a context for a request.
func NewSecretListParamsWithHTTPClient ¶
func NewSecretListParamsWithHTTPClient(client *http.Client) *SecretListParams
NewSecretListParamsWithHTTPClient creates a new SecretListParams object with the ability to set a custom HTTPClient for a request.
func NewSecretListParamsWithTimeout ¶
func NewSecretListParamsWithTimeout(timeout time.Duration) *SecretListParams
NewSecretListParamsWithTimeout creates a new SecretListParams object with the ability to set a timeout on a request.
func (*SecretListParams) SetContext ¶
func (o *SecretListParams) SetContext(ctx context.Context)
SetContext adds the context to the secret list params
func (*SecretListParams) SetDefaults ¶
func (o *SecretListParams) SetDefaults()
SetDefaults hydrates default values in the secret list params (not the query body).
All values with no default are reset to their zero value.
func (*SecretListParams) SetFilters ¶
func (o *SecretListParams) SetFilters(filters *string)
SetFilters adds the filters to the secret list params
func (*SecretListParams) SetHTTPClient ¶
func (o *SecretListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the secret list params
func (*SecretListParams) SetTimeout ¶
func (o *SecretListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the secret list params
func (*SecretListParams) WithContext ¶
func (o *SecretListParams) WithContext(ctx context.Context) *SecretListParams
WithContext adds the context to the secret list params
func (*SecretListParams) WithDefaults ¶
func (o *SecretListParams) WithDefaults() *SecretListParams
WithDefaults hydrates default values in the secret list params (not the query body).
All values with no default are reset to their zero value.
func (*SecretListParams) WithFilters ¶
func (o *SecretListParams) WithFilters(filters *string) *SecretListParams
WithFilters adds the filters to the secret list params
func (*SecretListParams) WithHTTPClient ¶
func (o *SecretListParams) WithHTTPClient(client *http.Client) *SecretListParams
WithHTTPClient adds the HTTPClient to the secret list params
func (*SecretListParams) WithTimeout ¶
func (o *SecretListParams) WithTimeout(timeout time.Duration) *SecretListParams
WithTimeout adds the timeout to the secret list params
func (*SecretListParams) WriteToRequest ¶
func (o *SecretListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SecretListReader ¶
type SecretListReader struct {
// contains filtered or unexported fields
}
SecretListReader is a Reader for the SecretList structure.
func (*SecretListReader) ReadResponse ¶
func (o *SecretListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SecretListServiceUnavailable ¶
type SecretListServiceUnavailable struct {
}SecretListServiceUnavailable describes a response with status code 503, with default header values.
node is not part of a swarm
func NewSecretListServiceUnavailable ¶
func NewSecretListServiceUnavailable() *SecretListServiceUnavailable
NewSecretListServiceUnavailable creates a SecretListServiceUnavailable with default headers values
func (*SecretListServiceUnavailable) Error ¶
func (o *SecretListServiceUnavailable) Error() string
func (*SecretListServiceUnavailable) GetPayload ¶
func (o *SecretListServiceUnavailable) GetPayload() *models.ErrorResponse
func (*SecretListServiceUnavailable) IsClientError ¶
func (o *SecretListServiceUnavailable) IsClientError() bool
IsClientError returns true when this secret list service unavailable response has a 4xx status code
func (*SecretListServiceUnavailable) IsCode ¶
func (o *SecretListServiceUnavailable) IsCode(code int) bool
IsCode returns true when this secret list service unavailable response a status code equal to that given
func (*SecretListServiceUnavailable) IsRedirect ¶
func (o *SecretListServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this secret list service unavailable response has a 3xx status code
func (*SecretListServiceUnavailable) IsServerError ¶
func (o *SecretListServiceUnavailable) IsServerError() bool
IsServerError returns true when this secret list service unavailable response has a 5xx status code
func (*SecretListServiceUnavailable) IsSuccess ¶
func (o *SecretListServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this secret list service unavailable response has a 2xx status code
func (*SecretListServiceUnavailable) String ¶
func (o *SecretListServiceUnavailable) String() string
type SecretUpdateBadRequest ¶
type SecretUpdateBadRequest struct {
Payload *models.ErrorResponse
}
SecretUpdateBadRequest describes a response with status code 400, with default header values.
bad parameter
func NewSecretUpdateBadRequest ¶
func NewSecretUpdateBadRequest() *SecretUpdateBadRequest
NewSecretUpdateBadRequest creates a SecretUpdateBadRequest with default headers values
func (*SecretUpdateBadRequest) Error ¶
func (o *SecretUpdateBadRequest) Error() string
func (*SecretUpdateBadRequest) GetPayload ¶
func (o *SecretUpdateBadRequest) GetPayload() *models.ErrorResponse
func (*SecretUpdateBadRequest) IsClientError ¶
func (o *SecretUpdateBadRequest) IsClientError() bool
IsClientError returns true when this secret update bad request response has a 4xx status code
func (*SecretUpdateBadRequest) IsCode ¶
func (o *SecretUpdateBadRequest) IsCode(code int) bool
IsCode returns true when this secret update bad request response a status code equal to that given
func (*SecretUpdateBadRequest) IsRedirect ¶
func (o *SecretUpdateBadRequest) IsRedirect() bool
IsRedirect returns true when this secret update bad request response has a 3xx status code
func (*SecretUpdateBadRequest) IsServerError ¶
func (o *SecretUpdateBadRequest) IsServerError() bool
IsServerError returns true when this secret update bad request response has a 5xx status code
func (*SecretUpdateBadRequest) IsSuccess ¶
func (o *SecretUpdateBadRequest) IsSuccess() bool
IsSuccess returns true when this secret update bad request response has a 2xx status code
func (*SecretUpdateBadRequest) String ¶
func (o *SecretUpdateBadRequest) String() string
type SecretUpdateInternalServerError ¶
type SecretUpdateInternalServerError struct {
Payload *models.ErrorResponse
}
SecretUpdateInternalServerError describes a response with status code 500, with default header values.
server error
func NewSecretUpdateInternalServerError ¶
func NewSecretUpdateInternalServerError() *SecretUpdateInternalServerError
NewSecretUpdateInternalServerError creates a SecretUpdateInternalServerError with default headers values
func (*SecretUpdateInternalServerError) Error ¶
func (o *SecretUpdateInternalServerError) Error() string
func (*SecretUpdateInternalServerError) GetPayload ¶
func (o *SecretUpdateInternalServerError) GetPayload() *models.ErrorResponse
func (*SecretUpdateInternalServerError) IsClientError ¶
func (o *SecretUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this secret update internal server error response has a 4xx status code
func (*SecretUpdateInternalServerError) IsCode ¶
func (o *SecretUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this secret update internal server error response a status code equal to that given
func (*SecretUpdateInternalServerError) IsRedirect ¶
func (o *SecretUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this secret update internal server error response has a 3xx status code
func (*SecretUpdateInternalServerError) IsServerError ¶
func (o *SecretUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this secret update internal server error response has a 5xx status code
func (*SecretUpdateInternalServerError) IsSuccess ¶
func (o *SecretUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this secret update internal server error response has a 2xx status code
func (*SecretUpdateInternalServerError) String ¶
func (o *SecretUpdateInternalServerError) String() string
type SecretUpdateNotFound ¶
type SecretUpdateNotFound struct {
Payload *models.ErrorResponse
}
SecretUpdateNotFound describes a response with status code 404, with default header values.
no such secret
func NewSecretUpdateNotFound ¶
func NewSecretUpdateNotFound() *SecretUpdateNotFound
NewSecretUpdateNotFound creates a SecretUpdateNotFound with default headers values
func (*SecretUpdateNotFound) Error ¶
func (o *SecretUpdateNotFound) Error() string
func (*SecretUpdateNotFound) GetPayload ¶
func (o *SecretUpdateNotFound) GetPayload() *models.ErrorResponse
func (*SecretUpdateNotFound) IsClientError ¶
func (o *SecretUpdateNotFound) IsClientError() bool
IsClientError returns true when this secret update not found response has a 4xx status code
func (*SecretUpdateNotFound) IsCode ¶
func (o *SecretUpdateNotFound) IsCode(code int) bool
IsCode returns true when this secret update not found response a status code equal to that given
func (*SecretUpdateNotFound) IsRedirect ¶
func (o *SecretUpdateNotFound) IsRedirect() bool
IsRedirect returns true when this secret update not found response has a 3xx status code
func (*SecretUpdateNotFound) IsServerError ¶
func (o *SecretUpdateNotFound) IsServerError() bool
IsServerError returns true when this secret update not found response has a 5xx status code
func (*SecretUpdateNotFound) IsSuccess ¶
func (o *SecretUpdateNotFound) IsSuccess() bool
IsSuccess returns true when this secret update not found response has a 2xx status code
func (*SecretUpdateNotFound) String ¶
func (o *SecretUpdateNotFound) String() string
type SecretUpdateOK ¶
type SecretUpdateOK struct { }
SecretUpdateOK describes a response with status code 200, with default header values.
no error
func NewSecretUpdateOK ¶
func NewSecretUpdateOK() *SecretUpdateOK
NewSecretUpdateOK creates a SecretUpdateOK with default headers values
func (*SecretUpdateOK) Error ¶
func (o *SecretUpdateOK) Error() string
func (*SecretUpdateOK) IsClientError ¶
func (o *SecretUpdateOK) IsClientError() bool
IsClientError returns true when this secret update o k response has a 4xx status code
func (*SecretUpdateOK) IsCode ¶
func (o *SecretUpdateOK) IsCode(code int) bool
IsCode returns true when this secret update o k response a status code equal to that given
func (*SecretUpdateOK) IsRedirect ¶
func (o *SecretUpdateOK) IsRedirect() bool
IsRedirect returns true when this secret update o k response has a 3xx status code
func (*SecretUpdateOK) IsServerError ¶
func (o *SecretUpdateOK) IsServerError() bool
IsServerError returns true when this secret update o k response has a 5xx status code
func (*SecretUpdateOK) IsSuccess ¶
func (o *SecretUpdateOK) IsSuccess() bool
IsSuccess returns true when this secret update o k response has a 2xx status code
func (*SecretUpdateOK) String ¶
func (o *SecretUpdateOK) String() string
type SecretUpdateParams ¶
type SecretUpdateParams struct { /* Body. The spec of the secret to update. Currently, only the Labels field can be updated. All other fields must remain unchanged from the [SecretInspect endpoint](#operation/SecretInspect) response values. */ Body *models.SecretSpec /* ID. The ID or name of the secret */ ID string /* Version. The version number of the secret object being updated. This is required to avoid conflicting writes. Format: int64 */ Version int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SecretUpdateParams contains all the parameters to send to the API endpoint
for the secret update operation. Typically these are written to a http.Request.
func NewSecretUpdateParams ¶
func NewSecretUpdateParams() *SecretUpdateParams
NewSecretUpdateParams creates a new SecretUpdateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSecretUpdateParamsWithContext ¶
func NewSecretUpdateParamsWithContext(ctx context.Context) *SecretUpdateParams
NewSecretUpdateParamsWithContext creates a new SecretUpdateParams object with the ability to set a context for a request.
func NewSecretUpdateParamsWithHTTPClient ¶
func NewSecretUpdateParamsWithHTTPClient(client *http.Client) *SecretUpdateParams
NewSecretUpdateParamsWithHTTPClient creates a new SecretUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewSecretUpdateParamsWithTimeout ¶
func NewSecretUpdateParamsWithTimeout(timeout time.Duration) *SecretUpdateParams
NewSecretUpdateParamsWithTimeout creates a new SecretUpdateParams object with the ability to set a timeout on a request.
func (*SecretUpdateParams) SetBody ¶
func (o *SecretUpdateParams) SetBody(body *models.SecretSpec)
SetBody adds the body to the secret update params
func (*SecretUpdateParams) SetContext ¶
func (o *SecretUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the secret update params
func (*SecretUpdateParams) SetDefaults ¶
func (o *SecretUpdateParams) SetDefaults()
SetDefaults hydrates default values in the secret update params (not the query body).
All values with no default are reset to their zero value.
func (*SecretUpdateParams) SetHTTPClient ¶
func (o *SecretUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the secret update params
func (*SecretUpdateParams) SetID ¶
func (o *SecretUpdateParams) SetID(id string)
SetID adds the id to the secret update params
func (*SecretUpdateParams) SetTimeout ¶
func (o *SecretUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the secret update params
func (*SecretUpdateParams) SetVersion ¶
func (o *SecretUpdateParams) SetVersion(version int64)
SetVersion adds the version to the secret update params
func (*SecretUpdateParams) WithBody ¶
func (o *SecretUpdateParams) WithBody(body *models.SecretSpec) *SecretUpdateParams
WithBody adds the body to the secret update params
func (*SecretUpdateParams) WithContext ¶
func (o *SecretUpdateParams) WithContext(ctx context.Context) *SecretUpdateParams
WithContext adds the context to the secret update params
func (*SecretUpdateParams) WithDefaults ¶
func (o *SecretUpdateParams) WithDefaults() *SecretUpdateParams
WithDefaults hydrates default values in the secret update params (not the query body).
All values with no default are reset to their zero value.
func (*SecretUpdateParams) WithHTTPClient ¶
func (o *SecretUpdateParams) WithHTTPClient(client *http.Client) *SecretUpdateParams
WithHTTPClient adds the HTTPClient to the secret update params
func (*SecretUpdateParams) WithID ¶
func (o *SecretUpdateParams) WithID(id string) *SecretUpdateParams
WithID adds the id to the secret update params
func (*SecretUpdateParams) WithTimeout ¶
func (o *SecretUpdateParams) WithTimeout(timeout time.Duration) *SecretUpdateParams
WithTimeout adds the timeout to the secret update params
func (*SecretUpdateParams) WithVersion ¶
func (o *SecretUpdateParams) WithVersion(version int64) *SecretUpdateParams
WithVersion adds the version to the secret update params
func (*SecretUpdateParams) WriteToRequest ¶
func (o *SecretUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SecretUpdateReader ¶
type SecretUpdateReader struct {
// contains filtered or unexported fields
}
SecretUpdateReader is a Reader for the SecretUpdate structure.
func (*SecretUpdateReader) ReadResponse ¶
func (o *SecretUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SecretUpdateServiceUnavailable ¶
type SecretUpdateServiceUnavailable struct {
}SecretUpdateServiceUnavailable describes a response with status code 503, with default header values.
node is not part of a swarm
func NewSecretUpdateServiceUnavailable ¶
func NewSecretUpdateServiceUnavailable() *SecretUpdateServiceUnavailable
NewSecretUpdateServiceUnavailable creates a SecretUpdateServiceUnavailable with default headers values
func (*SecretUpdateServiceUnavailable) Error ¶
func (o *SecretUpdateServiceUnavailable) Error() string
func (*SecretUpdateServiceUnavailable) GetPayload ¶
func (o *SecretUpdateServiceUnavailable) GetPayload() *models.ErrorResponse
func (*SecretUpdateServiceUnavailable) IsClientError ¶
func (o *SecretUpdateServiceUnavailable) IsClientError() bool
IsClientError returns true when this secret update service unavailable response has a 4xx status code
func (*SecretUpdateServiceUnavailable) IsCode ¶
func (o *SecretUpdateServiceUnavailable) IsCode(code int) bool
IsCode returns true when this secret update service unavailable response a status code equal to that given
func (*SecretUpdateServiceUnavailable) IsRedirect ¶
func (o *SecretUpdateServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this secret update service unavailable response has a 3xx status code
func (*SecretUpdateServiceUnavailable) IsServerError ¶
func (o *SecretUpdateServiceUnavailable) IsServerError() bool
IsServerError returns true when this secret update service unavailable response has a 5xx status code
func (*SecretUpdateServiceUnavailable) IsSuccess ¶
func (o *SecretUpdateServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this secret update service unavailable response has a 2xx status code
func (*SecretUpdateServiceUnavailable) String ¶
func (o *SecretUpdateServiceUnavailable) String() string