Documentation ¶
Index ¶
- type Client
- func (a *Client) ConfigCreate(params *ConfigCreateParams, opts ...ClientOption) (*ConfigCreateCreated, error)
- func (a *Client) ConfigDelete(params *ConfigDeleteParams, opts ...ClientOption) (*ConfigDeleteNoContent, error)
- func (a *Client) ConfigInspect(params *ConfigInspectParams, opts ...ClientOption) (*ConfigInspectOK, error)
- func (a *Client) ConfigList(params *ConfigListParams, opts ...ClientOption) (*ConfigListOK, error)
- func (a *Client) ConfigUpdate(params *ConfigUpdateParams, opts ...ClientOption) (*ConfigUpdateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ConfigCreateBody
- func (o *ConfigCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ConfigCreateBody) MarshalBinary() ([]byte, error)
- func (o ConfigCreateBody) MarshalJSON() ([]byte, error)
- func (o *ConfigCreateBody) UnmarshalBinary(b []byte) error
- func (o *ConfigCreateBody) UnmarshalJSON(raw []byte) error
- func (o *ConfigCreateBody) Validate(formats strfmt.Registry) error
- type ConfigCreateConflict
- func (o *ConfigCreateConflict) Error() string
- func (o *ConfigCreateConflict) GetPayload() *models.ErrorResponse
- func (o *ConfigCreateConflict) IsClientError() bool
- func (o *ConfigCreateConflict) IsCode(code int) bool
- func (o *ConfigCreateConflict) IsRedirect() bool
- func (o *ConfigCreateConflict) IsServerError() bool
- func (o *ConfigCreateConflict) IsSuccess() bool
- func (o *ConfigCreateConflict) String() string
- type ConfigCreateCreated
- func (o *ConfigCreateCreated) Error() string
- func (o *ConfigCreateCreated) GetPayload() *models.IDResponse
- func (o *ConfigCreateCreated) IsClientError() bool
- func (o *ConfigCreateCreated) IsCode(code int) bool
- func (o *ConfigCreateCreated) IsRedirect() bool
- func (o *ConfigCreateCreated) IsServerError() bool
- func (o *ConfigCreateCreated) IsSuccess() bool
- func (o *ConfigCreateCreated) String() string
- type ConfigCreateInternalServerError
- func (o *ConfigCreateInternalServerError) Error() string
- func (o *ConfigCreateInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ConfigCreateInternalServerError) IsClientError() bool
- func (o *ConfigCreateInternalServerError) IsCode(code int) bool
- func (o *ConfigCreateInternalServerError) IsRedirect() bool
- func (o *ConfigCreateInternalServerError) IsServerError() bool
- func (o *ConfigCreateInternalServerError) IsSuccess() bool
- func (o *ConfigCreateInternalServerError) String() string
- type ConfigCreateParams
- func (o *ConfigCreateParams) SetBody(body ConfigCreateBody)
- func (o *ConfigCreateParams) SetContext(ctx context.Context)
- func (o *ConfigCreateParams) SetDefaults()
- func (o *ConfigCreateParams) SetHTTPClient(client *http.Client)
- func (o *ConfigCreateParams) SetTimeout(timeout time.Duration)
- func (o *ConfigCreateParams) WithBody(body ConfigCreateBody) *ConfigCreateParams
- func (o *ConfigCreateParams) WithContext(ctx context.Context) *ConfigCreateParams
- func (o *ConfigCreateParams) WithDefaults() *ConfigCreateParams
- func (o *ConfigCreateParams) WithHTTPClient(client *http.Client) *ConfigCreateParams
- func (o *ConfigCreateParams) WithTimeout(timeout time.Duration) *ConfigCreateParams
- func (o *ConfigCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConfigCreateParamsBodyAllOf1
- type ConfigCreateReader
- type ConfigCreateServiceUnavailable
- func (o *ConfigCreateServiceUnavailable) Error() string
- func (o *ConfigCreateServiceUnavailable) GetPayload() *models.ErrorResponse
- func (o *ConfigCreateServiceUnavailable) IsClientError() bool
- func (o *ConfigCreateServiceUnavailable) IsCode(code int) bool
- func (o *ConfigCreateServiceUnavailable) IsRedirect() bool
- func (o *ConfigCreateServiceUnavailable) IsServerError() bool
- func (o *ConfigCreateServiceUnavailable) IsSuccess() bool
- func (o *ConfigCreateServiceUnavailable) String() string
- type ConfigDeleteInternalServerError
- func (o *ConfigDeleteInternalServerError) Error() string
- func (o *ConfigDeleteInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ConfigDeleteInternalServerError) IsClientError() bool
- func (o *ConfigDeleteInternalServerError) IsCode(code int) bool
- func (o *ConfigDeleteInternalServerError) IsRedirect() bool
- func (o *ConfigDeleteInternalServerError) IsServerError() bool
- func (o *ConfigDeleteInternalServerError) IsSuccess() bool
- func (o *ConfigDeleteInternalServerError) String() string
- type ConfigDeleteNoContent
- func (o *ConfigDeleteNoContent) Error() string
- func (o *ConfigDeleteNoContent) IsClientError() bool
- func (o *ConfigDeleteNoContent) IsCode(code int) bool
- func (o *ConfigDeleteNoContent) IsRedirect() bool
- func (o *ConfigDeleteNoContent) IsServerError() bool
- func (o *ConfigDeleteNoContent) IsSuccess() bool
- func (o *ConfigDeleteNoContent) String() string
- type ConfigDeleteNotFound
- func (o *ConfigDeleteNotFound) Error() string
- func (o *ConfigDeleteNotFound) GetPayload() *models.ErrorResponse
- func (o *ConfigDeleteNotFound) IsClientError() bool
- func (o *ConfigDeleteNotFound) IsCode(code int) bool
- func (o *ConfigDeleteNotFound) IsRedirect() bool
- func (o *ConfigDeleteNotFound) IsServerError() bool
- func (o *ConfigDeleteNotFound) IsSuccess() bool
- func (o *ConfigDeleteNotFound) String() string
- type ConfigDeleteParams
- func (o *ConfigDeleteParams) SetContext(ctx context.Context)
- func (o *ConfigDeleteParams) SetDefaults()
- func (o *ConfigDeleteParams) SetHTTPClient(client *http.Client)
- func (o *ConfigDeleteParams) SetID(id string)
- func (o *ConfigDeleteParams) SetTimeout(timeout time.Duration)
- func (o *ConfigDeleteParams) WithContext(ctx context.Context) *ConfigDeleteParams
- func (o *ConfigDeleteParams) WithDefaults() *ConfigDeleteParams
- func (o *ConfigDeleteParams) WithHTTPClient(client *http.Client) *ConfigDeleteParams
- func (o *ConfigDeleteParams) WithID(id string) *ConfigDeleteParams
- func (o *ConfigDeleteParams) WithTimeout(timeout time.Duration) *ConfigDeleteParams
- func (o *ConfigDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConfigDeleteReader
- type ConfigDeleteServiceUnavailable
- func (o *ConfigDeleteServiceUnavailable) Error() string
- func (o *ConfigDeleteServiceUnavailable) GetPayload() *models.ErrorResponse
- func (o *ConfigDeleteServiceUnavailable) IsClientError() bool
- func (o *ConfigDeleteServiceUnavailable) IsCode(code int) bool
- func (o *ConfigDeleteServiceUnavailable) IsRedirect() bool
- func (o *ConfigDeleteServiceUnavailable) IsServerError() bool
- func (o *ConfigDeleteServiceUnavailable) IsSuccess() bool
- func (o *ConfigDeleteServiceUnavailable) String() string
- type ConfigInspectInternalServerError
- func (o *ConfigInspectInternalServerError) Error() string
- func (o *ConfigInspectInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ConfigInspectInternalServerError) IsClientError() bool
- func (o *ConfigInspectInternalServerError) IsCode(code int) bool
- func (o *ConfigInspectInternalServerError) IsRedirect() bool
- func (o *ConfigInspectInternalServerError) IsServerError() bool
- func (o *ConfigInspectInternalServerError) IsSuccess() bool
- func (o *ConfigInspectInternalServerError) String() string
- type ConfigInspectNotFound
- func (o *ConfigInspectNotFound) Error() string
- func (o *ConfigInspectNotFound) GetPayload() *models.ErrorResponse
- func (o *ConfigInspectNotFound) IsClientError() bool
- func (o *ConfigInspectNotFound) IsCode(code int) bool
- func (o *ConfigInspectNotFound) IsRedirect() bool
- func (o *ConfigInspectNotFound) IsServerError() bool
- func (o *ConfigInspectNotFound) IsSuccess() bool
- func (o *ConfigInspectNotFound) String() string
- type ConfigInspectOK
- func (o *ConfigInspectOK) Error() string
- func (o *ConfigInspectOK) GetPayload() *models.Config
- func (o *ConfigInspectOK) IsClientError() bool
- func (o *ConfigInspectOK) IsCode(code int) bool
- func (o *ConfigInspectOK) IsRedirect() bool
- func (o *ConfigInspectOK) IsServerError() bool
- func (o *ConfigInspectOK) IsSuccess() bool
- func (o *ConfigInspectOK) String() string
- type ConfigInspectParams
- func (o *ConfigInspectParams) SetContext(ctx context.Context)
- func (o *ConfigInspectParams) SetDefaults()
- func (o *ConfigInspectParams) SetHTTPClient(client *http.Client)
- func (o *ConfigInspectParams) SetID(id string)
- func (o *ConfigInspectParams) SetTimeout(timeout time.Duration)
- func (o *ConfigInspectParams) WithContext(ctx context.Context) *ConfigInspectParams
- func (o *ConfigInspectParams) WithDefaults() *ConfigInspectParams
- func (o *ConfigInspectParams) WithHTTPClient(client *http.Client) *ConfigInspectParams
- func (o *ConfigInspectParams) WithID(id string) *ConfigInspectParams
- func (o *ConfigInspectParams) WithTimeout(timeout time.Duration) *ConfigInspectParams
- func (o *ConfigInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConfigInspectReader
- type ConfigInspectServiceUnavailable
- func (o *ConfigInspectServiceUnavailable) Error() string
- func (o *ConfigInspectServiceUnavailable) GetPayload() *models.ErrorResponse
- func (o *ConfigInspectServiceUnavailable) IsClientError() bool
- func (o *ConfigInspectServiceUnavailable) IsCode(code int) bool
- func (o *ConfigInspectServiceUnavailable) IsRedirect() bool
- func (o *ConfigInspectServiceUnavailable) IsServerError() bool
- func (o *ConfigInspectServiceUnavailable) IsSuccess() bool
- func (o *ConfigInspectServiceUnavailable) String() string
- type ConfigListInternalServerError
- func (o *ConfigListInternalServerError) Error() string
- func (o *ConfigListInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ConfigListInternalServerError) IsClientError() bool
- func (o *ConfigListInternalServerError) IsCode(code int) bool
- func (o *ConfigListInternalServerError) IsRedirect() bool
- func (o *ConfigListInternalServerError) IsServerError() bool
- func (o *ConfigListInternalServerError) IsSuccess() bool
- func (o *ConfigListInternalServerError) String() string
- type ConfigListOK
- func (o *ConfigListOK) Error() string
- func (o *ConfigListOK) GetPayload() []*models.Config
- func (o *ConfigListOK) IsClientError() bool
- func (o *ConfigListOK) IsCode(code int) bool
- func (o *ConfigListOK) IsRedirect() bool
- func (o *ConfigListOK) IsServerError() bool
- func (o *ConfigListOK) IsSuccess() bool
- func (o *ConfigListOK) String() string
- type ConfigListParams
- func (o *ConfigListParams) SetContext(ctx context.Context)
- func (o *ConfigListParams) SetDefaults()
- func (o *ConfigListParams) SetFilters(filters *string)
- func (o *ConfigListParams) SetHTTPClient(client *http.Client)
- func (o *ConfigListParams) SetTimeout(timeout time.Duration)
- func (o *ConfigListParams) WithContext(ctx context.Context) *ConfigListParams
- func (o *ConfigListParams) WithDefaults() *ConfigListParams
- func (o *ConfigListParams) WithFilters(filters *string) *ConfigListParams
- func (o *ConfigListParams) WithHTTPClient(client *http.Client) *ConfigListParams
- func (o *ConfigListParams) WithTimeout(timeout time.Duration) *ConfigListParams
- func (o *ConfigListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConfigListReader
- type ConfigListServiceUnavailable
- func (o *ConfigListServiceUnavailable) Error() string
- func (o *ConfigListServiceUnavailable) GetPayload() *models.ErrorResponse
- func (o *ConfigListServiceUnavailable) IsClientError() bool
- func (o *ConfigListServiceUnavailable) IsCode(code int) bool
- func (o *ConfigListServiceUnavailable) IsRedirect() bool
- func (o *ConfigListServiceUnavailable) IsServerError() bool
- func (o *ConfigListServiceUnavailable) IsSuccess() bool
- func (o *ConfigListServiceUnavailable) String() string
- type ConfigUpdateBadRequest
- func (o *ConfigUpdateBadRequest) Error() string
- func (o *ConfigUpdateBadRequest) GetPayload() *models.ErrorResponse
- func (o *ConfigUpdateBadRequest) IsClientError() bool
- func (o *ConfigUpdateBadRequest) IsCode(code int) bool
- func (o *ConfigUpdateBadRequest) IsRedirect() bool
- func (o *ConfigUpdateBadRequest) IsServerError() bool
- func (o *ConfigUpdateBadRequest) IsSuccess() bool
- func (o *ConfigUpdateBadRequest) String() string
- type ConfigUpdateInternalServerError
- func (o *ConfigUpdateInternalServerError) Error() string
- func (o *ConfigUpdateInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ConfigUpdateInternalServerError) IsClientError() bool
- func (o *ConfigUpdateInternalServerError) IsCode(code int) bool
- func (o *ConfigUpdateInternalServerError) IsRedirect() bool
- func (o *ConfigUpdateInternalServerError) IsServerError() bool
- func (o *ConfigUpdateInternalServerError) IsSuccess() bool
- func (o *ConfigUpdateInternalServerError) String() string
- type ConfigUpdateNotFound
- func (o *ConfigUpdateNotFound) Error() string
- func (o *ConfigUpdateNotFound) GetPayload() *models.ErrorResponse
- func (o *ConfigUpdateNotFound) IsClientError() bool
- func (o *ConfigUpdateNotFound) IsCode(code int) bool
- func (o *ConfigUpdateNotFound) IsRedirect() bool
- func (o *ConfigUpdateNotFound) IsServerError() bool
- func (o *ConfigUpdateNotFound) IsSuccess() bool
- func (o *ConfigUpdateNotFound) String() string
- type ConfigUpdateOK
- func (o *ConfigUpdateOK) Error() string
- func (o *ConfigUpdateOK) IsClientError() bool
- func (o *ConfigUpdateOK) IsCode(code int) bool
- func (o *ConfigUpdateOK) IsRedirect() bool
- func (o *ConfigUpdateOK) IsServerError() bool
- func (o *ConfigUpdateOK) IsSuccess() bool
- func (o *ConfigUpdateOK) String() string
- type ConfigUpdateParams
- func (o *ConfigUpdateParams) SetBody(body *models.ConfigSpec)
- func (o *ConfigUpdateParams) SetContext(ctx context.Context)
- func (o *ConfigUpdateParams) SetDefaults()
- func (o *ConfigUpdateParams) SetHTTPClient(client *http.Client)
- func (o *ConfigUpdateParams) SetID(id string)
- func (o *ConfigUpdateParams) SetTimeout(timeout time.Duration)
- func (o *ConfigUpdateParams) SetVersion(version int64)
- func (o *ConfigUpdateParams) WithBody(body *models.ConfigSpec) *ConfigUpdateParams
- func (o *ConfigUpdateParams) WithContext(ctx context.Context) *ConfigUpdateParams
- func (o *ConfigUpdateParams) WithDefaults() *ConfigUpdateParams
- func (o *ConfigUpdateParams) WithHTTPClient(client *http.Client) *ConfigUpdateParams
- func (o *ConfigUpdateParams) WithID(id string) *ConfigUpdateParams
- func (o *ConfigUpdateParams) WithTimeout(timeout time.Duration) *ConfigUpdateParams
- func (o *ConfigUpdateParams) WithVersion(version int64) *ConfigUpdateParams
- func (o *ConfigUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConfigUpdateReader
- type ConfigUpdateServiceUnavailable
- func (o *ConfigUpdateServiceUnavailable) Error() string
- func (o *ConfigUpdateServiceUnavailable) GetPayload() *models.ErrorResponse
- func (o *ConfigUpdateServiceUnavailable) IsClientError() bool
- func (o *ConfigUpdateServiceUnavailable) IsCode(code int) bool
- func (o *ConfigUpdateServiceUnavailable) IsRedirect() bool
- func (o *ConfigUpdateServiceUnavailable) IsServerError() bool
- func (o *ConfigUpdateServiceUnavailable) IsSuccess() bool
- func (o *ConfigUpdateServiceUnavailable) 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 config API
func (*Client) ConfigCreate ¶
func (a *Client) ConfigCreate(params *ConfigCreateParams, opts ...ClientOption) (*ConfigCreateCreated, error)
ConfigCreate creates a config
func (*Client) ConfigDelete ¶
func (a *Client) ConfigDelete(params *ConfigDeleteParams, opts ...ClientOption) (*ConfigDeleteNoContent, error)
ConfigDelete deletes a config
func (*Client) ConfigInspect ¶
func (a *Client) ConfigInspect(params *ConfigInspectParams, opts ...ClientOption) (*ConfigInspectOK, error)
ConfigInspect inspects a config
func (*Client) ConfigList ¶
func (a *Client) ConfigList(params *ConfigListParams, opts ...ClientOption) (*ConfigListOK, error)
ConfigList lists configs
func (*Client) ConfigUpdate ¶
func (a *Client) ConfigUpdate(params *ConfigUpdateParams, opts ...ClientOption) (*ConfigUpdateOK, error)
ConfigUpdate updates a config
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 { ConfigCreate(params *ConfigCreateParams, opts ...ClientOption) (*ConfigCreateCreated, error) ConfigDelete(params *ConfigDeleteParams, opts ...ClientOption) (*ConfigDeleteNoContent, error) ConfigInspect(params *ConfigInspectParams, opts ...ClientOption) (*ConfigInspectOK, error) ConfigList(params *ConfigListParams, opts ...ClientOption) (*ConfigListOK, error) ConfigUpdate(params *ConfigUpdateParams, opts ...ClientOption) (*ConfigUpdateOK, 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 config API client.
type ConfigCreateBody ¶
type ConfigCreateBody struct { models.ConfigSpec ConfigCreateParamsBodyAllOf1 }
ConfigCreateBody config create body swagger:model ConfigCreateBody
func (*ConfigCreateBody) ContextValidate ¶
ContextValidate validate this config create body based on the context it is used
func (*ConfigCreateBody) MarshalBinary ¶
func (o *ConfigCreateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ConfigCreateBody) MarshalJSON ¶
func (o ConfigCreateBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ConfigCreateBody) UnmarshalBinary ¶
func (o *ConfigCreateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ConfigCreateBody) UnmarshalJSON ¶
func (o *ConfigCreateBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ConfigCreateConflict ¶
type ConfigCreateConflict struct {
Payload *models.ErrorResponse
}
ConfigCreateConflict describes a response with status code 409, with default header values.
name conflicts with an existing object
func NewConfigCreateConflict ¶
func NewConfigCreateConflict() *ConfigCreateConflict
NewConfigCreateConflict creates a ConfigCreateConflict with default headers values
func (*ConfigCreateConflict) Error ¶
func (o *ConfigCreateConflict) Error() string
func (*ConfigCreateConflict) GetPayload ¶
func (o *ConfigCreateConflict) GetPayload() *models.ErrorResponse
func (*ConfigCreateConflict) IsClientError ¶
func (o *ConfigCreateConflict) IsClientError() bool
IsClientError returns true when this config create conflict response has a 4xx status code
func (*ConfigCreateConflict) IsCode ¶
func (o *ConfigCreateConflict) IsCode(code int) bool
IsCode returns true when this config create conflict response a status code equal to that given
func (*ConfigCreateConflict) IsRedirect ¶
func (o *ConfigCreateConflict) IsRedirect() bool
IsRedirect returns true when this config create conflict response has a 3xx status code
func (*ConfigCreateConflict) IsServerError ¶
func (o *ConfigCreateConflict) IsServerError() bool
IsServerError returns true when this config create conflict response has a 5xx status code
func (*ConfigCreateConflict) IsSuccess ¶
func (o *ConfigCreateConflict) IsSuccess() bool
IsSuccess returns true when this config create conflict response has a 2xx status code
func (*ConfigCreateConflict) String ¶
func (o *ConfigCreateConflict) String() string
type ConfigCreateCreated ¶
type ConfigCreateCreated struct {
Payload *models.IDResponse
}
ConfigCreateCreated describes a response with status code 201, with default header values.
no error
func NewConfigCreateCreated ¶
func NewConfigCreateCreated() *ConfigCreateCreated
NewConfigCreateCreated creates a ConfigCreateCreated with default headers values
func (*ConfigCreateCreated) Error ¶
func (o *ConfigCreateCreated) Error() string
func (*ConfigCreateCreated) GetPayload ¶
func (o *ConfigCreateCreated) GetPayload() *models.IDResponse
func (*ConfigCreateCreated) IsClientError ¶
func (o *ConfigCreateCreated) IsClientError() bool
IsClientError returns true when this config create created response has a 4xx status code
func (*ConfigCreateCreated) IsCode ¶
func (o *ConfigCreateCreated) IsCode(code int) bool
IsCode returns true when this config create created response a status code equal to that given
func (*ConfigCreateCreated) IsRedirect ¶
func (o *ConfigCreateCreated) IsRedirect() bool
IsRedirect returns true when this config create created response has a 3xx status code
func (*ConfigCreateCreated) IsServerError ¶
func (o *ConfigCreateCreated) IsServerError() bool
IsServerError returns true when this config create created response has a 5xx status code
func (*ConfigCreateCreated) IsSuccess ¶
func (o *ConfigCreateCreated) IsSuccess() bool
IsSuccess returns true when this config create created response has a 2xx status code
func (*ConfigCreateCreated) String ¶
func (o *ConfigCreateCreated) String() string
type ConfigCreateInternalServerError ¶
type ConfigCreateInternalServerError struct {
Payload *models.ErrorResponse
}
ConfigCreateInternalServerError describes a response with status code 500, with default header values.
server error
func NewConfigCreateInternalServerError ¶
func NewConfigCreateInternalServerError() *ConfigCreateInternalServerError
NewConfigCreateInternalServerError creates a ConfigCreateInternalServerError with default headers values
func (*ConfigCreateInternalServerError) Error ¶
func (o *ConfigCreateInternalServerError) Error() string
func (*ConfigCreateInternalServerError) GetPayload ¶
func (o *ConfigCreateInternalServerError) GetPayload() *models.ErrorResponse
func (*ConfigCreateInternalServerError) IsClientError ¶
func (o *ConfigCreateInternalServerError) IsClientError() bool
IsClientError returns true when this config create internal server error response has a 4xx status code
func (*ConfigCreateInternalServerError) IsCode ¶
func (o *ConfigCreateInternalServerError) IsCode(code int) bool
IsCode returns true when this config create internal server error response a status code equal to that given
func (*ConfigCreateInternalServerError) IsRedirect ¶
func (o *ConfigCreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this config create internal server error response has a 3xx status code
func (*ConfigCreateInternalServerError) IsServerError ¶
func (o *ConfigCreateInternalServerError) IsServerError() bool
IsServerError returns true when this config create internal server error response has a 5xx status code
func (*ConfigCreateInternalServerError) IsSuccess ¶
func (o *ConfigCreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this config create internal server error response has a 2xx status code
func (*ConfigCreateInternalServerError) String ¶
func (o *ConfigCreateInternalServerError) String() string
type ConfigCreateParams ¶
type ConfigCreateParams struct { // Body. Body ConfigCreateBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConfigCreateParams contains all the parameters to send to the API endpoint
for the config create operation. Typically these are written to a http.Request.
func NewConfigCreateParams ¶
func NewConfigCreateParams() *ConfigCreateParams
NewConfigCreateParams creates a new ConfigCreateParams 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 NewConfigCreateParamsWithContext ¶
func NewConfigCreateParamsWithContext(ctx context.Context) *ConfigCreateParams
NewConfigCreateParamsWithContext creates a new ConfigCreateParams object with the ability to set a context for a request.
func NewConfigCreateParamsWithHTTPClient ¶
func NewConfigCreateParamsWithHTTPClient(client *http.Client) *ConfigCreateParams
NewConfigCreateParamsWithHTTPClient creates a new ConfigCreateParams object with the ability to set a custom HTTPClient for a request.
func NewConfigCreateParamsWithTimeout ¶
func NewConfigCreateParamsWithTimeout(timeout time.Duration) *ConfigCreateParams
NewConfigCreateParamsWithTimeout creates a new ConfigCreateParams object with the ability to set a timeout on a request.
func (*ConfigCreateParams) SetBody ¶
func (o *ConfigCreateParams) SetBody(body ConfigCreateBody)
SetBody adds the body to the config create params
func (*ConfigCreateParams) SetContext ¶
func (o *ConfigCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the config create params
func (*ConfigCreateParams) SetDefaults ¶
func (o *ConfigCreateParams) SetDefaults()
SetDefaults hydrates default values in the config create params (not the query body).
All values with no default are reset to their zero value.
func (*ConfigCreateParams) SetHTTPClient ¶
func (o *ConfigCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the config create params
func (*ConfigCreateParams) SetTimeout ¶
func (o *ConfigCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the config create params
func (*ConfigCreateParams) WithBody ¶
func (o *ConfigCreateParams) WithBody(body ConfigCreateBody) *ConfigCreateParams
WithBody adds the body to the config create params
func (*ConfigCreateParams) WithContext ¶
func (o *ConfigCreateParams) WithContext(ctx context.Context) *ConfigCreateParams
WithContext adds the context to the config create params
func (*ConfigCreateParams) WithDefaults ¶
func (o *ConfigCreateParams) WithDefaults() *ConfigCreateParams
WithDefaults hydrates default values in the config create params (not the query body).
All values with no default are reset to their zero value.
func (*ConfigCreateParams) WithHTTPClient ¶
func (o *ConfigCreateParams) WithHTTPClient(client *http.Client) *ConfigCreateParams
WithHTTPClient adds the HTTPClient to the config create params
func (*ConfigCreateParams) WithTimeout ¶
func (o *ConfigCreateParams) WithTimeout(timeout time.Duration) *ConfigCreateParams
WithTimeout adds the timeout to the config create params
func (*ConfigCreateParams) WriteToRequest ¶
func (o *ConfigCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConfigCreateParamsBodyAllOf1 ¶
type ConfigCreateParamsBodyAllOf1 interface{}
ConfigCreateParamsBodyAllOf1 config create params body all of1 // Example: {"Data":"VEhJUyBJUyBOT1QgQSBSRUFMIENFUlRJRklDQVRFCg==","Labels":{"foo":"bar"},"Name":"server.conf"} swagger:model ConfigCreateParamsBodyAllOf1
type ConfigCreateReader ¶
type ConfigCreateReader struct {
// contains filtered or unexported fields
}
ConfigCreateReader is a Reader for the ConfigCreate structure.
func (*ConfigCreateReader) ReadResponse ¶
func (o *ConfigCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ConfigCreateServiceUnavailable ¶
type ConfigCreateServiceUnavailable struct {
}ConfigCreateServiceUnavailable describes a response with status code 503, with default header values.
node is not part of a swarm
func NewConfigCreateServiceUnavailable ¶
func NewConfigCreateServiceUnavailable() *ConfigCreateServiceUnavailable
NewConfigCreateServiceUnavailable creates a ConfigCreateServiceUnavailable with default headers values
func (*ConfigCreateServiceUnavailable) Error ¶
func (o *ConfigCreateServiceUnavailable) Error() string
func (*ConfigCreateServiceUnavailable) GetPayload ¶
func (o *ConfigCreateServiceUnavailable) GetPayload() *models.ErrorResponse
func (*ConfigCreateServiceUnavailable) IsClientError ¶
func (o *ConfigCreateServiceUnavailable) IsClientError() bool
IsClientError returns true when this config create service unavailable response has a 4xx status code
func (*ConfigCreateServiceUnavailable) IsCode ¶
func (o *ConfigCreateServiceUnavailable) IsCode(code int) bool
IsCode returns true when this config create service unavailable response a status code equal to that given
func (*ConfigCreateServiceUnavailable) IsRedirect ¶
func (o *ConfigCreateServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this config create service unavailable response has a 3xx status code
func (*ConfigCreateServiceUnavailable) IsServerError ¶
func (o *ConfigCreateServiceUnavailable) IsServerError() bool
IsServerError returns true when this config create service unavailable response has a 5xx status code
func (*ConfigCreateServiceUnavailable) IsSuccess ¶
func (o *ConfigCreateServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this config create service unavailable response has a 2xx status code
func (*ConfigCreateServiceUnavailable) String ¶
func (o *ConfigCreateServiceUnavailable) String() string
type ConfigDeleteInternalServerError ¶
type ConfigDeleteInternalServerError struct {
Payload *models.ErrorResponse
}
ConfigDeleteInternalServerError describes a response with status code 500, with default header values.
server error
func NewConfigDeleteInternalServerError ¶
func NewConfigDeleteInternalServerError() *ConfigDeleteInternalServerError
NewConfigDeleteInternalServerError creates a ConfigDeleteInternalServerError with default headers values
func (*ConfigDeleteInternalServerError) Error ¶
func (o *ConfigDeleteInternalServerError) Error() string
func (*ConfigDeleteInternalServerError) GetPayload ¶
func (o *ConfigDeleteInternalServerError) GetPayload() *models.ErrorResponse
func (*ConfigDeleteInternalServerError) IsClientError ¶
func (o *ConfigDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this config delete internal server error response has a 4xx status code
func (*ConfigDeleteInternalServerError) IsCode ¶
func (o *ConfigDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this config delete internal server error response a status code equal to that given
func (*ConfigDeleteInternalServerError) IsRedirect ¶
func (o *ConfigDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this config delete internal server error response has a 3xx status code
func (*ConfigDeleteInternalServerError) IsServerError ¶
func (o *ConfigDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this config delete internal server error response has a 5xx status code
func (*ConfigDeleteInternalServerError) IsSuccess ¶
func (o *ConfigDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this config delete internal server error response has a 2xx status code
func (*ConfigDeleteInternalServerError) String ¶
func (o *ConfigDeleteInternalServerError) String() string
type ConfigDeleteNoContent ¶
type ConfigDeleteNoContent struct { }
ConfigDeleteNoContent describes a response with status code 204, with default header values.
no error
func NewConfigDeleteNoContent ¶
func NewConfigDeleteNoContent() *ConfigDeleteNoContent
NewConfigDeleteNoContent creates a ConfigDeleteNoContent with default headers values
func (*ConfigDeleteNoContent) Error ¶
func (o *ConfigDeleteNoContent) Error() string
func (*ConfigDeleteNoContent) IsClientError ¶
func (o *ConfigDeleteNoContent) IsClientError() bool
IsClientError returns true when this config delete no content response has a 4xx status code
func (*ConfigDeleteNoContent) IsCode ¶
func (o *ConfigDeleteNoContent) IsCode(code int) bool
IsCode returns true when this config delete no content response a status code equal to that given
func (*ConfigDeleteNoContent) IsRedirect ¶
func (o *ConfigDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this config delete no content response has a 3xx status code
func (*ConfigDeleteNoContent) IsServerError ¶
func (o *ConfigDeleteNoContent) IsServerError() bool
IsServerError returns true when this config delete no content response has a 5xx status code
func (*ConfigDeleteNoContent) IsSuccess ¶
func (o *ConfigDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this config delete no content response has a 2xx status code
func (*ConfigDeleteNoContent) String ¶
func (o *ConfigDeleteNoContent) String() string
type ConfigDeleteNotFound ¶
type ConfigDeleteNotFound struct {
Payload *models.ErrorResponse
}
ConfigDeleteNotFound describes a response with status code 404, with default header values.
config not found
func NewConfigDeleteNotFound ¶
func NewConfigDeleteNotFound() *ConfigDeleteNotFound
NewConfigDeleteNotFound creates a ConfigDeleteNotFound with default headers values
func (*ConfigDeleteNotFound) Error ¶
func (o *ConfigDeleteNotFound) Error() string
func (*ConfigDeleteNotFound) GetPayload ¶
func (o *ConfigDeleteNotFound) GetPayload() *models.ErrorResponse
func (*ConfigDeleteNotFound) IsClientError ¶
func (o *ConfigDeleteNotFound) IsClientError() bool
IsClientError returns true when this config delete not found response has a 4xx status code
func (*ConfigDeleteNotFound) IsCode ¶
func (o *ConfigDeleteNotFound) IsCode(code int) bool
IsCode returns true when this config delete not found response a status code equal to that given
func (*ConfigDeleteNotFound) IsRedirect ¶
func (o *ConfigDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this config delete not found response has a 3xx status code
func (*ConfigDeleteNotFound) IsServerError ¶
func (o *ConfigDeleteNotFound) IsServerError() bool
IsServerError returns true when this config delete not found response has a 5xx status code
func (*ConfigDeleteNotFound) IsSuccess ¶
func (o *ConfigDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this config delete not found response has a 2xx status code
func (*ConfigDeleteNotFound) String ¶
func (o *ConfigDeleteNotFound) String() string
type ConfigDeleteParams ¶
type ConfigDeleteParams struct { /* ID. ID of the config */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConfigDeleteParams contains all the parameters to send to the API endpoint
for the config delete operation. Typically these are written to a http.Request.
func NewConfigDeleteParams ¶
func NewConfigDeleteParams() *ConfigDeleteParams
NewConfigDeleteParams creates a new ConfigDeleteParams 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 NewConfigDeleteParamsWithContext ¶
func NewConfigDeleteParamsWithContext(ctx context.Context) *ConfigDeleteParams
NewConfigDeleteParamsWithContext creates a new ConfigDeleteParams object with the ability to set a context for a request.
func NewConfigDeleteParamsWithHTTPClient ¶
func NewConfigDeleteParamsWithHTTPClient(client *http.Client) *ConfigDeleteParams
NewConfigDeleteParamsWithHTTPClient creates a new ConfigDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewConfigDeleteParamsWithTimeout ¶
func NewConfigDeleteParamsWithTimeout(timeout time.Duration) *ConfigDeleteParams
NewConfigDeleteParamsWithTimeout creates a new ConfigDeleteParams object with the ability to set a timeout on a request.
func (*ConfigDeleteParams) SetContext ¶
func (o *ConfigDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the config delete params
func (*ConfigDeleteParams) SetDefaults ¶
func (o *ConfigDeleteParams) SetDefaults()
SetDefaults hydrates default values in the config delete params (not the query body).
All values with no default are reset to their zero value.
func (*ConfigDeleteParams) SetHTTPClient ¶
func (o *ConfigDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the config delete params
func (*ConfigDeleteParams) SetID ¶
func (o *ConfigDeleteParams) SetID(id string)
SetID adds the id to the config delete params
func (*ConfigDeleteParams) SetTimeout ¶
func (o *ConfigDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the config delete params
func (*ConfigDeleteParams) WithContext ¶
func (o *ConfigDeleteParams) WithContext(ctx context.Context) *ConfigDeleteParams
WithContext adds the context to the config delete params
func (*ConfigDeleteParams) WithDefaults ¶
func (o *ConfigDeleteParams) WithDefaults() *ConfigDeleteParams
WithDefaults hydrates default values in the config delete params (not the query body).
All values with no default are reset to their zero value.
func (*ConfigDeleteParams) WithHTTPClient ¶
func (o *ConfigDeleteParams) WithHTTPClient(client *http.Client) *ConfigDeleteParams
WithHTTPClient adds the HTTPClient to the config delete params
func (*ConfigDeleteParams) WithID ¶
func (o *ConfigDeleteParams) WithID(id string) *ConfigDeleteParams
WithID adds the id to the config delete params
func (*ConfigDeleteParams) WithTimeout ¶
func (o *ConfigDeleteParams) WithTimeout(timeout time.Duration) *ConfigDeleteParams
WithTimeout adds the timeout to the config delete params
func (*ConfigDeleteParams) WriteToRequest ¶
func (o *ConfigDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConfigDeleteReader ¶
type ConfigDeleteReader struct {
// contains filtered or unexported fields
}
ConfigDeleteReader is a Reader for the ConfigDelete structure.
func (*ConfigDeleteReader) ReadResponse ¶
func (o *ConfigDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ConfigDeleteServiceUnavailable ¶
type ConfigDeleteServiceUnavailable struct {
}ConfigDeleteServiceUnavailable describes a response with status code 503, with default header values.
node is not part of a swarm
func NewConfigDeleteServiceUnavailable ¶
func NewConfigDeleteServiceUnavailable() *ConfigDeleteServiceUnavailable
NewConfigDeleteServiceUnavailable creates a ConfigDeleteServiceUnavailable with default headers values
func (*ConfigDeleteServiceUnavailable) Error ¶
func (o *ConfigDeleteServiceUnavailable) Error() string
func (*ConfigDeleteServiceUnavailable) GetPayload ¶
func (o *ConfigDeleteServiceUnavailable) GetPayload() *models.ErrorResponse
func (*ConfigDeleteServiceUnavailable) IsClientError ¶
func (o *ConfigDeleteServiceUnavailable) IsClientError() bool
IsClientError returns true when this config delete service unavailable response has a 4xx status code
func (*ConfigDeleteServiceUnavailable) IsCode ¶
func (o *ConfigDeleteServiceUnavailable) IsCode(code int) bool
IsCode returns true when this config delete service unavailable response a status code equal to that given
func (*ConfigDeleteServiceUnavailable) IsRedirect ¶
func (o *ConfigDeleteServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this config delete service unavailable response has a 3xx status code
func (*ConfigDeleteServiceUnavailable) IsServerError ¶
func (o *ConfigDeleteServiceUnavailable) IsServerError() bool
IsServerError returns true when this config delete service unavailable response has a 5xx status code
func (*ConfigDeleteServiceUnavailable) IsSuccess ¶
func (o *ConfigDeleteServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this config delete service unavailable response has a 2xx status code
func (*ConfigDeleteServiceUnavailable) String ¶
func (o *ConfigDeleteServiceUnavailable) String() string
type ConfigInspectInternalServerError ¶
type ConfigInspectInternalServerError struct {
Payload *models.ErrorResponse
}
ConfigInspectInternalServerError describes a response with status code 500, with default header values.
server error
func NewConfigInspectInternalServerError ¶
func NewConfigInspectInternalServerError() *ConfigInspectInternalServerError
NewConfigInspectInternalServerError creates a ConfigInspectInternalServerError with default headers values
func (*ConfigInspectInternalServerError) Error ¶
func (o *ConfigInspectInternalServerError) Error() string
func (*ConfigInspectInternalServerError) GetPayload ¶
func (o *ConfigInspectInternalServerError) GetPayload() *models.ErrorResponse
func (*ConfigInspectInternalServerError) IsClientError ¶
func (o *ConfigInspectInternalServerError) IsClientError() bool
IsClientError returns true when this config inspect internal server error response has a 4xx status code
func (*ConfigInspectInternalServerError) IsCode ¶
func (o *ConfigInspectInternalServerError) IsCode(code int) bool
IsCode returns true when this config inspect internal server error response a status code equal to that given
func (*ConfigInspectInternalServerError) IsRedirect ¶
func (o *ConfigInspectInternalServerError) IsRedirect() bool
IsRedirect returns true when this config inspect internal server error response has a 3xx status code
func (*ConfigInspectInternalServerError) IsServerError ¶
func (o *ConfigInspectInternalServerError) IsServerError() bool
IsServerError returns true when this config inspect internal server error response has a 5xx status code
func (*ConfigInspectInternalServerError) IsSuccess ¶
func (o *ConfigInspectInternalServerError) IsSuccess() bool
IsSuccess returns true when this config inspect internal server error response has a 2xx status code
func (*ConfigInspectInternalServerError) String ¶
func (o *ConfigInspectInternalServerError) String() string
type ConfigInspectNotFound ¶
type ConfigInspectNotFound struct {
Payload *models.ErrorResponse
}
ConfigInspectNotFound describes a response with status code 404, with default header values.
config not found
func NewConfigInspectNotFound ¶
func NewConfigInspectNotFound() *ConfigInspectNotFound
NewConfigInspectNotFound creates a ConfigInspectNotFound with default headers values
func (*ConfigInspectNotFound) Error ¶
func (o *ConfigInspectNotFound) Error() string
func (*ConfigInspectNotFound) GetPayload ¶
func (o *ConfigInspectNotFound) GetPayload() *models.ErrorResponse
func (*ConfigInspectNotFound) IsClientError ¶
func (o *ConfigInspectNotFound) IsClientError() bool
IsClientError returns true when this config inspect not found response has a 4xx status code
func (*ConfigInspectNotFound) IsCode ¶
func (o *ConfigInspectNotFound) IsCode(code int) bool
IsCode returns true when this config inspect not found response a status code equal to that given
func (*ConfigInspectNotFound) IsRedirect ¶
func (o *ConfigInspectNotFound) IsRedirect() bool
IsRedirect returns true when this config inspect not found response has a 3xx status code
func (*ConfigInspectNotFound) IsServerError ¶
func (o *ConfigInspectNotFound) IsServerError() bool
IsServerError returns true when this config inspect not found response has a 5xx status code
func (*ConfigInspectNotFound) IsSuccess ¶
func (o *ConfigInspectNotFound) IsSuccess() bool
IsSuccess returns true when this config inspect not found response has a 2xx status code
func (*ConfigInspectNotFound) String ¶
func (o *ConfigInspectNotFound) String() string
type ConfigInspectOK ¶
ConfigInspectOK describes a response with status code 200, with default header values.
no error
func NewConfigInspectOK ¶
func NewConfigInspectOK() *ConfigInspectOK
NewConfigInspectOK creates a ConfigInspectOK with default headers values
func (*ConfigInspectOK) Error ¶
func (o *ConfigInspectOK) Error() string
func (*ConfigInspectOK) GetPayload ¶
func (o *ConfigInspectOK) GetPayload() *models.Config
func (*ConfigInspectOK) IsClientError ¶
func (o *ConfigInspectOK) IsClientError() bool
IsClientError returns true when this config inspect o k response has a 4xx status code
func (*ConfigInspectOK) IsCode ¶
func (o *ConfigInspectOK) IsCode(code int) bool
IsCode returns true when this config inspect o k response a status code equal to that given
func (*ConfigInspectOK) IsRedirect ¶
func (o *ConfigInspectOK) IsRedirect() bool
IsRedirect returns true when this config inspect o k response has a 3xx status code
func (*ConfigInspectOK) IsServerError ¶
func (o *ConfigInspectOK) IsServerError() bool
IsServerError returns true when this config inspect o k response has a 5xx status code
func (*ConfigInspectOK) IsSuccess ¶
func (o *ConfigInspectOK) IsSuccess() bool
IsSuccess returns true when this config inspect o k response has a 2xx status code
func (*ConfigInspectOK) String ¶
func (o *ConfigInspectOK) String() string
type ConfigInspectParams ¶
type ConfigInspectParams struct { /* ID. ID of the config */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConfigInspectParams contains all the parameters to send to the API endpoint
for the config inspect operation. Typically these are written to a http.Request.
func NewConfigInspectParams ¶
func NewConfigInspectParams() *ConfigInspectParams
NewConfigInspectParams creates a new ConfigInspectParams 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 NewConfigInspectParamsWithContext ¶
func NewConfigInspectParamsWithContext(ctx context.Context) *ConfigInspectParams
NewConfigInspectParamsWithContext creates a new ConfigInspectParams object with the ability to set a context for a request.
func NewConfigInspectParamsWithHTTPClient ¶
func NewConfigInspectParamsWithHTTPClient(client *http.Client) *ConfigInspectParams
NewConfigInspectParamsWithHTTPClient creates a new ConfigInspectParams object with the ability to set a custom HTTPClient for a request.
func NewConfigInspectParamsWithTimeout ¶
func NewConfigInspectParamsWithTimeout(timeout time.Duration) *ConfigInspectParams
NewConfigInspectParamsWithTimeout creates a new ConfigInspectParams object with the ability to set a timeout on a request.
func (*ConfigInspectParams) SetContext ¶
func (o *ConfigInspectParams) SetContext(ctx context.Context)
SetContext adds the context to the config inspect params
func (*ConfigInspectParams) SetDefaults ¶
func (o *ConfigInspectParams) SetDefaults()
SetDefaults hydrates default values in the config inspect params (not the query body).
All values with no default are reset to their zero value.
func (*ConfigInspectParams) SetHTTPClient ¶
func (o *ConfigInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the config inspect params
func (*ConfigInspectParams) SetID ¶
func (o *ConfigInspectParams) SetID(id string)
SetID adds the id to the config inspect params
func (*ConfigInspectParams) SetTimeout ¶
func (o *ConfigInspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the config inspect params
func (*ConfigInspectParams) WithContext ¶
func (o *ConfigInspectParams) WithContext(ctx context.Context) *ConfigInspectParams
WithContext adds the context to the config inspect params
func (*ConfigInspectParams) WithDefaults ¶
func (o *ConfigInspectParams) WithDefaults() *ConfigInspectParams
WithDefaults hydrates default values in the config inspect params (not the query body).
All values with no default are reset to their zero value.
func (*ConfigInspectParams) WithHTTPClient ¶
func (o *ConfigInspectParams) WithHTTPClient(client *http.Client) *ConfigInspectParams
WithHTTPClient adds the HTTPClient to the config inspect params
func (*ConfigInspectParams) WithID ¶
func (o *ConfigInspectParams) WithID(id string) *ConfigInspectParams
WithID adds the id to the config inspect params
func (*ConfigInspectParams) WithTimeout ¶
func (o *ConfigInspectParams) WithTimeout(timeout time.Duration) *ConfigInspectParams
WithTimeout adds the timeout to the config inspect params
func (*ConfigInspectParams) WriteToRequest ¶
func (o *ConfigInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConfigInspectReader ¶
type ConfigInspectReader struct {
// contains filtered or unexported fields
}
ConfigInspectReader is a Reader for the ConfigInspect structure.
func (*ConfigInspectReader) ReadResponse ¶
func (o *ConfigInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ConfigInspectServiceUnavailable ¶
type ConfigInspectServiceUnavailable struct {
}ConfigInspectServiceUnavailable describes a response with status code 503, with default header values.
node is not part of a swarm
func NewConfigInspectServiceUnavailable ¶
func NewConfigInspectServiceUnavailable() *ConfigInspectServiceUnavailable
NewConfigInspectServiceUnavailable creates a ConfigInspectServiceUnavailable with default headers values
func (*ConfigInspectServiceUnavailable) Error ¶
func (o *ConfigInspectServiceUnavailable) Error() string
func (*ConfigInspectServiceUnavailable) GetPayload ¶
func (o *ConfigInspectServiceUnavailable) GetPayload() *models.ErrorResponse
func (*ConfigInspectServiceUnavailable) IsClientError ¶
func (o *ConfigInspectServiceUnavailable) IsClientError() bool
IsClientError returns true when this config inspect service unavailable response has a 4xx status code
func (*ConfigInspectServiceUnavailable) IsCode ¶
func (o *ConfigInspectServiceUnavailable) IsCode(code int) bool
IsCode returns true when this config inspect service unavailable response a status code equal to that given
func (*ConfigInspectServiceUnavailable) IsRedirect ¶
func (o *ConfigInspectServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this config inspect service unavailable response has a 3xx status code
func (*ConfigInspectServiceUnavailable) IsServerError ¶
func (o *ConfigInspectServiceUnavailable) IsServerError() bool
IsServerError returns true when this config inspect service unavailable response has a 5xx status code
func (*ConfigInspectServiceUnavailable) IsSuccess ¶
func (o *ConfigInspectServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this config inspect service unavailable response has a 2xx status code
func (*ConfigInspectServiceUnavailable) String ¶
func (o *ConfigInspectServiceUnavailable) String() string
type ConfigListInternalServerError ¶
type ConfigListInternalServerError struct {
Payload *models.ErrorResponse
}
ConfigListInternalServerError describes a response with status code 500, with default header values.
server error
func NewConfigListInternalServerError ¶
func NewConfigListInternalServerError() *ConfigListInternalServerError
NewConfigListInternalServerError creates a ConfigListInternalServerError with default headers values
func (*ConfigListInternalServerError) Error ¶
func (o *ConfigListInternalServerError) Error() string
func (*ConfigListInternalServerError) GetPayload ¶
func (o *ConfigListInternalServerError) GetPayload() *models.ErrorResponse
func (*ConfigListInternalServerError) IsClientError ¶
func (o *ConfigListInternalServerError) IsClientError() bool
IsClientError returns true when this config list internal server error response has a 4xx status code
func (*ConfigListInternalServerError) IsCode ¶
func (o *ConfigListInternalServerError) IsCode(code int) bool
IsCode returns true when this config list internal server error response a status code equal to that given
func (*ConfigListInternalServerError) IsRedirect ¶
func (o *ConfigListInternalServerError) IsRedirect() bool
IsRedirect returns true when this config list internal server error response has a 3xx status code
func (*ConfigListInternalServerError) IsServerError ¶
func (o *ConfigListInternalServerError) IsServerError() bool
IsServerError returns true when this config list internal server error response has a 5xx status code
func (*ConfigListInternalServerError) IsSuccess ¶
func (o *ConfigListInternalServerError) IsSuccess() bool
IsSuccess returns true when this config list internal server error response has a 2xx status code
func (*ConfigListInternalServerError) String ¶
func (o *ConfigListInternalServerError) String() string
type ConfigListOK ¶
ConfigListOK describes a response with status code 200, with default header values.
no error
func NewConfigListOK ¶
func NewConfigListOK() *ConfigListOK
NewConfigListOK creates a ConfigListOK with default headers values
func (*ConfigListOK) Error ¶
func (o *ConfigListOK) Error() string
func (*ConfigListOK) GetPayload ¶
func (o *ConfigListOK) GetPayload() []*models.Config
func (*ConfigListOK) IsClientError ¶
func (o *ConfigListOK) IsClientError() bool
IsClientError returns true when this config list o k response has a 4xx status code
func (*ConfigListOK) IsCode ¶
func (o *ConfigListOK) IsCode(code int) bool
IsCode returns true when this config list o k response a status code equal to that given
func (*ConfigListOK) IsRedirect ¶
func (o *ConfigListOK) IsRedirect() bool
IsRedirect returns true when this config list o k response has a 3xx status code
func (*ConfigListOK) IsServerError ¶
func (o *ConfigListOK) IsServerError() bool
IsServerError returns true when this config list o k response has a 5xx status code
func (*ConfigListOK) IsSuccess ¶
func (o *ConfigListOK) IsSuccess() bool
IsSuccess returns true when this config list o k response has a 2xx status code
func (*ConfigListOK) String ¶
func (o *ConfigListOK) String() string
type ConfigListParams ¶
type ConfigListParams struct { /* Filters. A JSON encoded value of the filters (a `map[string][]string`) to process on the configs list. Available filters: - `id=<config id>` - `label=<key> or label=<key>=value` - `name=<config name>` - `names=<config name>` */ Filters *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConfigListParams contains all the parameters to send to the API endpoint
for the config list operation. Typically these are written to a http.Request.
func NewConfigListParams ¶
func NewConfigListParams() *ConfigListParams
NewConfigListParams creates a new ConfigListParams 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 NewConfigListParamsWithContext ¶
func NewConfigListParamsWithContext(ctx context.Context) *ConfigListParams
NewConfigListParamsWithContext creates a new ConfigListParams object with the ability to set a context for a request.
func NewConfigListParamsWithHTTPClient ¶
func NewConfigListParamsWithHTTPClient(client *http.Client) *ConfigListParams
NewConfigListParamsWithHTTPClient creates a new ConfigListParams object with the ability to set a custom HTTPClient for a request.
func NewConfigListParamsWithTimeout ¶
func NewConfigListParamsWithTimeout(timeout time.Duration) *ConfigListParams
NewConfigListParamsWithTimeout creates a new ConfigListParams object with the ability to set a timeout on a request.
func (*ConfigListParams) SetContext ¶
func (o *ConfigListParams) SetContext(ctx context.Context)
SetContext adds the context to the config list params
func (*ConfigListParams) SetDefaults ¶
func (o *ConfigListParams) SetDefaults()
SetDefaults hydrates default values in the config list params (not the query body).
All values with no default are reset to their zero value.
func (*ConfigListParams) SetFilters ¶
func (o *ConfigListParams) SetFilters(filters *string)
SetFilters adds the filters to the config list params
func (*ConfigListParams) SetHTTPClient ¶
func (o *ConfigListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the config list params
func (*ConfigListParams) SetTimeout ¶
func (o *ConfigListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the config list params
func (*ConfigListParams) WithContext ¶
func (o *ConfigListParams) WithContext(ctx context.Context) *ConfigListParams
WithContext adds the context to the config list params
func (*ConfigListParams) WithDefaults ¶
func (o *ConfigListParams) WithDefaults() *ConfigListParams
WithDefaults hydrates default values in the config list params (not the query body).
All values with no default are reset to their zero value.
func (*ConfigListParams) WithFilters ¶
func (o *ConfigListParams) WithFilters(filters *string) *ConfigListParams
WithFilters adds the filters to the config list params
func (*ConfigListParams) WithHTTPClient ¶
func (o *ConfigListParams) WithHTTPClient(client *http.Client) *ConfigListParams
WithHTTPClient adds the HTTPClient to the config list params
func (*ConfigListParams) WithTimeout ¶
func (o *ConfigListParams) WithTimeout(timeout time.Duration) *ConfigListParams
WithTimeout adds the timeout to the config list params
func (*ConfigListParams) WriteToRequest ¶
func (o *ConfigListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConfigListReader ¶
type ConfigListReader struct {
// contains filtered or unexported fields
}
ConfigListReader is a Reader for the ConfigList structure.
func (*ConfigListReader) ReadResponse ¶
func (o *ConfigListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ConfigListServiceUnavailable ¶
type ConfigListServiceUnavailable struct {
}ConfigListServiceUnavailable describes a response with status code 503, with default header values.
node is not part of a swarm
func NewConfigListServiceUnavailable ¶
func NewConfigListServiceUnavailable() *ConfigListServiceUnavailable
NewConfigListServiceUnavailable creates a ConfigListServiceUnavailable with default headers values
func (*ConfigListServiceUnavailable) Error ¶
func (o *ConfigListServiceUnavailable) Error() string
func (*ConfigListServiceUnavailable) GetPayload ¶
func (o *ConfigListServiceUnavailable) GetPayload() *models.ErrorResponse
func (*ConfigListServiceUnavailable) IsClientError ¶
func (o *ConfigListServiceUnavailable) IsClientError() bool
IsClientError returns true when this config list service unavailable response has a 4xx status code
func (*ConfigListServiceUnavailable) IsCode ¶
func (o *ConfigListServiceUnavailable) IsCode(code int) bool
IsCode returns true when this config list service unavailable response a status code equal to that given
func (*ConfigListServiceUnavailable) IsRedirect ¶
func (o *ConfigListServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this config list service unavailable response has a 3xx status code
func (*ConfigListServiceUnavailable) IsServerError ¶
func (o *ConfigListServiceUnavailable) IsServerError() bool
IsServerError returns true when this config list service unavailable response has a 5xx status code
func (*ConfigListServiceUnavailable) IsSuccess ¶
func (o *ConfigListServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this config list service unavailable response has a 2xx status code
func (*ConfigListServiceUnavailable) String ¶
func (o *ConfigListServiceUnavailable) String() string
type ConfigUpdateBadRequest ¶
type ConfigUpdateBadRequest struct {
Payload *models.ErrorResponse
}
ConfigUpdateBadRequest describes a response with status code 400, with default header values.
bad parameter
func NewConfigUpdateBadRequest ¶
func NewConfigUpdateBadRequest() *ConfigUpdateBadRequest
NewConfigUpdateBadRequest creates a ConfigUpdateBadRequest with default headers values
func (*ConfigUpdateBadRequest) Error ¶
func (o *ConfigUpdateBadRequest) Error() string
func (*ConfigUpdateBadRequest) GetPayload ¶
func (o *ConfigUpdateBadRequest) GetPayload() *models.ErrorResponse
func (*ConfigUpdateBadRequest) IsClientError ¶
func (o *ConfigUpdateBadRequest) IsClientError() bool
IsClientError returns true when this config update bad request response has a 4xx status code
func (*ConfigUpdateBadRequest) IsCode ¶
func (o *ConfigUpdateBadRequest) IsCode(code int) bool
IsCode returns true when this config update bad request response a status code equal to that given
func (*ConfigUpdateBadRequest) IsRedirect ¶
func (o *ConfigUpdateBadRequest) IsRedirect() bool
IsRedirect returns true when this config update bad request response has a 3xx status code
func (*ConfigUpdateBadRequest) IsServerError ¶
func (o *ConfigUpdateBadRequest) IsServerError() bool
IsServerError returns true when this config update bad request response has a 5xx status code
func (*ConfigUpdateBadRequest) IsSuccess ¶
func (o *ConfigUpdateBadRequest) IsSuccess() bool
IsSuccess returns true when this config update bad request response has a 2xx status code
func (*ConfigUpdateBadRequest) String ¶
func (o *ConfigUpdateBadRequest) String() string
type ConfigUpdateInternalServerError ¶
type ConfigUpdateInternalServerError struct {
Payload *models.ErrorResponse
}
ConfigUpdateInternalServerError describes a response with status code 500, with default header values.
server error
func NewConfigUpdateInternalServerError ¶
func NewConfigUpdateInternalServerError() *ConfigUpdateInternalServerError
NewConfigUpdateInternalServerError creates a ConfigUpdateInternalServerError with default headers values
func (*ConfigUpdateInternalServerError) Error ¶
func (o *ConfigUpdateInternalServerError) Error() string
func (*ConfigUpdateInternalServerError) GetPayload ¶
func (o *ConfigUpdateInternalServerError) GetPayload() *models.ErrorResponse
func (*ConfigUpdateInternalServerError) IsClientError ¶
func (o *ConfigUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this config update internal server error response has a 4xx status code
func (*ConfigUpdateInternalServerError) IsCode ¶
func (o *ConfigUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this config update internal server error response a status code equal to that given
func (*ConfigUpdateInternalServerError) IsRedirect ¶
func (o *ConfigUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this config update internal server error response has a 3xx status code
func (*ConfigUpdateInternalServerError) IsServerError ¶
func (o *ConfigUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this config update internal server error response has a 5xx status code
func (*ConfigUpdateInternalServerError) IsSuccess ¶
func (o *ConfigUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this config update internal server error response has a 2xx status code
func (*ConfigUpdateInternalServerError) String ¶
func (o *ConfigUpdateInternalServerError) String() string
type ConfigUpdateNotFound ¶
type ConfigUpdateNotFound struct {
Payload *models.ErrorResponse
}
ConfigUpdateNotFound describes a response with status code 404, with default header values.
no such config
func NewConfigUpdateNotFound ¶
func NewConfigUpdateNotFound() *ConfigUpdateNotFound
NewConfigUpdateNotFound creates a ConfigUpdateNotFound with default headers values
func (*ConfigUpdateNotFound) Error ¶
func (o *ConfigUpdateNotFound) Error() string
func (*ConfigUpdateNotFound) GetPayload ¶
func (o *ConfigUpdateNotFound) GetPayload() *models.ErrorResponse
func (*ConfigUpdateNotFound) IsClientError ¶
func (o *ConfigUpdateNotFound) IsClientError() bool
IsClientError returns true when this config update not found response has a 4xx status code
func (*ConfigUpdateNotFound) IsCode ¶
func (o *ConfigUpdateNotFound) IsCode(code int) bool
IsCode returns true when this config update not found response a status code equal to that given
func (*ConfigUpdateNotFound) IsRedirect ¶
func (o *ConfigUpdateNotFound) IsRedirect() bool
IsRedirect returns true when this config update not found response has a 3xx status code
func (*ConfigUpdateNotFound) IsServerError ¶
func (o *ConfigUpdateNotFound) IsServerError() bool
IsServerError returns true when this config update not found response has a 5xx status code
func (*ConfigUpdateNotFound) IsSuccess ¶
func (o *ConfigUpdateNotFound) IsSuccess() bool
IsSuccess returns true when this config update not found response has a 2xx status code
func (*ConfigUpdateNotFound) String ¶
func (o *ConfigUpdateNotFound) String() string
type ConfigUpdateOK ¶
type ConfigUpdateOK struct { }
ConfigUpdateOK describes a response with status code 200, with default header values.
no error
func NewConfigUpdateOK ¶
func NewConfigUpdateOK() *ConfigUpdateOK
NewConfigUpdateOK creates a ConfigUpdateOK with default headers values
func (*ConfigUpdateOK) Error ¶
func (o *ConfigUpdateOK) Error() string
func (*ConfigUpdateOK) IsClientError ¶
func (o *ConfigUpdateOK) IsClientError() bool
IsClientError returns true when this config update o k response has a 4xx status code
func (*ConfigUpdateOK) IsCode ¶
func (o *ConfigUpdateOK) IsCode(code int) bool
IsCode returns true when this config update o k response a status code equal to that given
func (*ConfigUpdateOK) IsRedirect ¶
func (o *ConfigUpdateOK) IsRedirect() bool
IsRedirect returns true when this config update o k response has a 3xx status code
func (*ConfigUpdateOK) IsServerError ¶
func (o *ConfigUpdateOK) IsServerError() bool
IsServerError returns true when this config update o k response has a 5xx status code
func (*ConfigUpdateOK) IsSuccess ¶
func (o *ConfigUpdateOK) IsSuccess() bool
IsSuccess returns true when this config update o k response has a 2xx status code
func (*ConfigUpdateOK) String ¶
func (o *ConfigUpdateOK) String() string
type ConfigUpdateParams ¶
type ConfigUpdateParams struct { /* Body. The spec of the config to update. Currently, only the Labels field can be updated. All other fields must remain unchanged from the [ConfigInspect endpoint](#operation/ConfigInspect) response values. */ Body *models.ConfigSpec /* ID. The ID or name of the config */ ID string /* Version. The version number of the config 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 }
ConfigUpdateParams contains all the parameters to send to the API endpoint
for the config update operation. Typically these are written to a http.Request.
func NewConfigUpdateParams ¶
func NewConfigUpdateParams() *ConfigUpdateParams
NewConfigUpdateParams creates a new ConfigUpdateParams 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 NewConfigUpdateParamsWithContext ¶
func NewConfigUpdateParamsWithContext(ctx context.Context) *ConfigUpdateParams
NewConfigUpdateParamsWithContext creates a new ConfigUpdateParams object with the ability to set a context for a request.
func NewConfigUpdateParamsWithHTTPClient ¶
func NewConfigUpdateParamsWithHTTPClient(client *http.Client) *ConfigUpdateParams
NewConfigUpdateParamsWithHTTPClient creates a new ConfigUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewConfigUpdateParamsWithTimeout ¶
func NewConfigUpdateParamsWithTimeout(timeout time.Duration) *ConfigUpdateParams
NewConfigUpdateParamsWithTimeout creates a new ConfigUpdateParams object with the ability to set a timeout on a request.
func (*ConfigUpdateParams) SetBody ¶
func (o *ConfigUpdateParams) SetBody(body *models.ConfigSpec)
SetBody adds the body to the config update params
func (*ConfigUpdateParams) SetContext ¶
func (o *ConfigUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the config update params
func (*ConfigUpdateParams) SetDefaults ¶
func (o *ConfigUpdateParams) SetDefaults()
SetDefaults hydrates default values in the config update params (not the query body).
All values with no default are reset to their zero value.
func (*ConfigUpdateParams) SetHTTPClient ¶
func (o *ConfigUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the config update params
func (*ConfigUpdateParams) SetID ¶
func (o *ConfigUpdateParams) SetID(id string)
SetID adds the id to the config update params
func (*ConfigUpdateParams) SetTimeout ¶
func (o *ConfigUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the config update params
func (*ConfigUpdateParams) SetVersion ¶
func (o *ConfigUpdateParams) SetVersion(version int64)
SetVersion adds the version to the config update params
func (*ConfigUpdateParams) WithBody ¶
func (o *ConfigUpdateParams) WithBody(body *models.ConfigSpec) *ConfigUpdateParams
WithBody adds the body to the config update params
func (*ConfigUpdateParams) WithContext ¶
func (o *ConfigUpdateParams) WithContext(ctx context.Context) *ConfigUpdateParams
WithContext adds the context to the config update params
func (*ConfigUpdateParams) WithDefaults ¶
func (o *ConfigUpdateParams) WithDefaults() *ConfigUpdateParams
WithDefaults hydrates default values in the config update params (not the query body).
All values with no default are reset to their zero value.
func (*ConfigUpdateParams) WithHTTPClient ¶
func (o *ConfigUpdateParams) WithHTTPClient(client *http.Client) *ConfigUpdateParams
WithHTTPClient adds the HTTPClient to the config update params
func (*ConfigUpdateParams) WithID ¶
func (o *ConfigUpdateParams) WithID(id string) *ConfigUpdateParams
WithID adds the id to the config update params
func (*ConfigUpdateParams) WithTimeout ¶
func (o *ConfigUpdateParams) WithTimeout(timeout time.Duration) *ConfigUpdateParams
WithTimeout adds the timeout to the config update params
func (*ConfigUpdateParams) WithVersion ¶
func (o *ConfigUpdateParams) WithVersion(version int64) *ConfigUpdateParams
WithVersion adds the version to the config update params
func (*ConfigUpdateParams) WriteToRequest ¶
func (o *ConfigUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConfigUpdateReader ¶
type ConfigUpdateReader struct {
// contains filtered or unexported fields
}
ConfigUpdateReader is a Reader for the ConfigUpdate structure.
func (*ConfigUpdateReader) ReadResponse ¶
func (o *ConfigUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ConfigUpdateServiceUnavailable ¶
type ConfigUpdateServiceUnavailable struct {
}ConfigUpdateServiceUnavailable describes a response with status code 503, with default header values.
node is not part of a swarm
func NewConfigUpdateServiceUnavailable ¶
func NewConfigUpdateServiceUnavailable() *ConfigUpdateServiceUnavailable
NewConfigUpdateServiceUnavailable creates a ConfigUpdateServiceUnavailable with default headers values
func (*ConfigUpdateServiceUnavailable) Error ¶
func (o *ConfigUpdateServiceUnavailable) Error() string
func (*ConfigUpdateServiceUnavailable) GetPayload ¶
func (o *ConfigUpdateServiceUnavailable) GetPayload() *models.ErrorResponse
func (*ConfigUpdateServiceUnavailable) IsClientError ¶
func (o *ConfigUpdateServiceUnavailable) IsClientError() bool
IsClientError returns true when this config update service unavailable response has a 4xx status code
func (*ConfigUpdateServiceUnavailable) IsCode ¶
func (o *ConfigUpdateServiceUnavailable) IsCode(code int) bool
IsCode returns true when this config update service unavailable response a status code equal to that given
func (*ConfigUpdateServiceUnavailable) IsRedirect ¶
func (o *ConfigUpdateServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this config update service unavailable response has a 3xx status code
func (*ConfigUpdateServiceUnavailable) IsServerError ¶
func (o *ConfigUpdateServiceUnavailable) IsServerError() bool
IsServerError returns true when this config update service unavailable response has a 5xx status code
func (*ConfigUpdateServiceUnavailable) IsSuccess ¶
func (o *ConfigUpdateServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this config update service unavailable response has a 2xx status code
func (*ConfigUpdateServiceUnavailable) String ¶
func (o *ConfigUpdateServiceUnavailable) String() string