Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateConfigCreated, error)
- func (a *Client) CreateConfigType(params *CreateConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateConfigTypeCreated, error)
- func (a *Client) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteConfigOK, error)
- func (a *Client) DeleteConfigType(params *DeleteConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteConfigTypeOK, error)
- func (a *Client) DetailConfig(params *DetailConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailConfigOK, error)
- func (a *Client) DetailConfigType(params *DetailConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailConfigTypeOK, error)
- func (a *Client) ListConfigTypes(params *ListConfigTypesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListConfigTypesOK, error)
- func (a *Client) ListConfigs(params *ListConfigsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListConfigsOK, error)
- func (a *Client) ListConfigsForConfigType(params *ListConfigsForConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListConfigsForConfigTypeOK, error)
- func (a *Client) PatchConfig(params *PatchConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchConfigOK, error)
- func (a *Client) PatchConfigType(params *PatchConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchConfigTypeOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateConfigOK, error)
- func (a *Client) UpdateConfigType(params *UpdateConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateConfigTypeOK, error)
- type ClientOption
- type ClientService
- type CreateConfigBadRequest
- type CreateConfigCreated
- type CreateConfigParams
- func (o *CreateConfigParams) SetConfig(config *rest_model.ConfigCreate)
- func (o *CreateConfigParams) SetContext(ctx context.Context)
- func (o *CreateConfigParams) SetDefaults()
- func (o *CreateConfigParams) SetHTTPClient(client *http.Client)
- func (o *CreateConfigParams) SetTimeout(timeout time.Duration)
- func (o *CreateConfigParams) WithConfig(config *rest_model.ConfigCreate) *CreateConfigParams
- func (o *CreateConfigParams) WithContext(ctx context.Context) *CreateConfigParams
- func (o *CreateConfigParams) WithDefaults() *CreateConfigParams
- func (o *CreateConfigParams) WithHTTPClient(client *http.Client) *CreateConfigParams
- func (o *CreateConfigParams) WithTimeout(timeout time.Duration) *CreateConfigParams
- func (o *CreateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateConfigReader
- type CreateConfigTypeBadRequest
- type CreateConfigTypeCreated
- type CreateConfigTypeParams
- func NewCreateConfigTypeParams() *CreateConfigTypeParams
- func NewCreateConfigTypeParamsWithContext(ctx context.Context) *CreateConfigTypeParams
- func NewCreateConfigTypeParamsWithHTTPClient(client *http.Client) *CreateConfigTypeParams
- func NewCreateConfigTypeParamsWithTimeout(timeout time.Duration) *CreateConfigTypeParams
- func (o *CreateConfigTypeParams) SetConfigType(configType *rest_model.ConfigTypeCreate)
- func (o *CreateConfigTypeParams) SetContext(ctx context.Context)
- func (o *CreateConfigTypeParams) SetDefaults()
- func (o *CreateConfigTypeParams) SetHTTPClient(client *http.Client)
- func (o *CreateConfigTypeParams) SetTimeout(timeout time.Duration)
- func (o *CreateConfigTypeParams) WithConfigType(configType *rest_model.ConfigTypeCreate) *CreateConfigTypeParams
- func (o *CreateConfigTypeParams) WithContext(ctx context.Context) *CreateConfigTypeParams
- func (o *CreateConfigTypeParams) WithDefaults() *CreateConfigTypeParams
- func (o *CreateConfigTypeParams) WithHTTPClient(client *http.Client) *CreateConfigTypeParams
- func (o *CreateConfigTypeParams) WithTimeout(timeout time.Duration) *CreateConfigTypeParams
- func (o *CreateConfigTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateConfigTypeReader
- type CreateConfigTypeUnauthorized
- type CreateConfigUnauthorized
- type DeleteConfigBadRequest
- type DeleteConfigConflict
- type DeleteConfigOK
- type DeleteConfigParams
- func (o *DeleteConfigParams) SetContext(ctx context.Context)
- func (o *DeleteConfigParams) SetDefaults()
- func (o *DeleteConfigParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConfigParams) SetID(id string)
- func (o *DeleteConfigParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConfigParams) WithContext(ctx context.Context) *DeleteConfigParams
- func (o *DeleteConfigParams) WithDefaults() *DeleteConfigParams
- func (o *DeleteConfigParams) WithHTTPClient(client *http.Client) *DeleteConfigParams
- func (o *DeleteConfigParams) WithID(id string) *DeleteConfigParams
- func (o *DeleteConfigParams) WithTimeout(timeout time.Duration) *DeleteConfigParams
- func (o *DeleteConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConfigReader
- type DeleteConfigTypeBadRequest
- type DeleteConfigTypeConflict
- type DeleteConfigTypeOK
- type DeleteConfigTypeParams
- func NewDeleteConfigTypeParams() *DeleteConfigTypeParams
- func NewDeleteConfigTypeParamsWithContext(ctx context.Context) *DeleteConfigTypeParams
- func NewDeleteConfigTypeParamsWithHTTPClient(client *http.Client) *DeleteConfigTypeParams
- func NewDeleteConfigTypeParamsWithTimeout(timeout time.Duration) *DeleteConfigTypeParams
- func (o *DeleteConfigTypeParams) SetContext(ctx context.Context)
- func (o *DeleteConfigTypeParams) SetDefaults()
- func (o *DeleteConfigTypeParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConfigTypeParams) SetID(id string)
- func (o *DeleteConfigTypeParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConfigTypeParams) WithContext(ctx context.Context) *DeleteConfigTypeParams
- func (o *DeleteConfigTypeParams) WithDefaults() *DeleteConfigTypeParams
- func (o *DeleteConfigTypeParams) WithHTTPClient(client *http.Client) *DeleteConfigTypeParams
- func (o *DeleteConfigTypeParams) WithID(id string) *DeleteConfigTypeParams
- func (o *DeleteConfigTypeParams) WithTimeout(timeout time.Duration) *DeleteConfigTypeParams
- func (o *DeleteConfigTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConfigTypeReader
- type DeleteConfigTypeUnauthorized
- type DeleteConfigUnauthorized
- type DetailConfigNotFound
- type DetailConfigOK
- type DetailConfigParams
- func (o *DetailConfigParams) SetContext(ctx context.Context)
- func (o *DetailConfigParams) SetDefaults()
- func (o *DetailConfigParams) SetHTTPClient(client *http.Client)
- func (o *DetailConfigParams) SetID(id string)
- func (o *DetailConfigParams) SetTimeout(timeout time.Duration)
- func (o *DetailConfigParams) WithContext(ctx context.Context) *DetailConfigParams
- func (o *DetailConfigParams) WithDefaults() *DetailConfigParams
- func (o *DetailConfigParams) WithHTTPClient(client *http.Client) *DetailConfigParams
- func (o *DetailConfigParams) WithID(id string) *DetailConfigParams
- func (o *DetailConfigParams) WithTimeout(timeout time.Duration) *DetailConfigParams
- func (o *DetailConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailConfigReader
- type DetailConfigTypeNotFound
- type DetailConfigTypeOK
- type DetailConfigTypeParams
- func NewDetailConfigTypeParams() *DetailConfigTypeParams
- func NewDetailConfigTypeParamsWithContext(ctx context.Context) *DetailConfigTypeParams
- func NewDetailConfigTypeParamsWithHTTPClient(client *http.Client) *DetailConfigTypeParams
- func NewDetailConfigTypeParamsWithTimeout(timeout time.Duration) *DetailConfigTypeParams
- func (o *DetailConfigTypeParams) SetContext(ctx context.Context)
- func (o *DetailConfigTypeParams) SetDefaults()
- func (o *DetailConfigTypeParams) SetHTTPClient(client *http.Client)
- func (o *DetailConfigTypeParams) SetID(id string)
- func (o *DetailConfigTypeParams) SetTimeout(timeout time.Duration)
- func (o *DetailConfigTypeParams) WithContext(ctx context.Context) *DetailConfigTypeParams
- func (o *DetailConfigTypeParams) WithDefaults() *DetailConfigTypeParams
- func (o *DetailConfigTypeParams) WithHTTPClient(client *http.Client) *DetailConfigTypeParams
- func (o *DetailConfigTypeParams) WithID(id string) *DetailConfigTypeParams
- func (o *DetailConfigTypeParams) WithTimeout(timeout time.Duration) *DetailConfigTypeParams
- func (o *DetailConfigTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailConfigTypeReader
- type DetailConfigTypeUnauthorized
- type DetailConfigUnauthorized
- type ListConfigTypesOK
- type ListConfigTypesParams
- func NewListConfigTypesParams() *ListConfigTypesParams
- func NewListConfigTypesParamsWithContext(ctx context.Context) *ListConfigTypesParams
- func NewListConfigTypesParamsWithHTTPClient(client *http.Client) *ListConfigTypesParams
- func NewListConfigTypesParamsWithTimeout(timeout time.Duration) *ListConfigTypesParams
- func (o *ListConfigTypesParams) SetContext(ctx context.Context)
- func (o *ListConfigTypesParams) SetDefaults()
- func (o *ListConfigTypesParams) SetFilter(filter *string)
- func (o *ListConfigTypesParams) SetHTTPClient(client *http.Client)
- func (o *ListConfigTypesParams) SetLimit(limit *int64)
- func (o *ListConfigTypesParams) SetOffset(offset *int64)
- func (o *ListConfigTypesParams) SetTimeout(timeout time.Duration)
- func (o *ListConfigTypesParams) WithContext(ctx context.Context) *ListConfigTypesParams
- func (o *ListConfigTypesParams) WithDefaults() *ListConfigTypesParams
- func (o *ListConfigTypesParams) WithFilter(filter *string) *ListConfigTypesParams
- func (o *ListConfigTypesParams) WithHTTPClient(client *http.Client) *ListConfigTypesParams
- func (o *ListConfigTypesParams) WithLimit(limit *int64) *ListConfigTypesParams
- func (o *ListConfigTypesParams) WithOffset(offset *int64) *ListConfigTypesParams
- func (o *ListConfigTypesParams) WithTimeout(timeout time.Duration) *ListConfigTypesParams
- func (o *ListConfigTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListConfigTypesReader
- type ListConfigsForConfigTypeOK
- type ListConfigsForConfigTypeParams
- func NewListConfigsForConfigTypeParams() *ListConfigsForConfigTypeParams
- func NewListConfigsForConfigTypeParamsWithContext(ctx context.Context) *ListConfigsForConfigTypeParams
- func NewListConfigsForConfigTypeParamsWithHTTPClient(client *http.Client) *ListConfigsForConfigTypeParams
- func NewListConfigsForConfigTypeParamsWithTimeout(timeout time.Duration) *ListConfigsForConfigTypeParams
- func (o *ListConfigsForConfigTypeParams) SetContext(ctx context.Context)
- func (o *ListConfigsForConfigTypeParams) SetDefaults()
- func (o *ListConfigsForConfigTypeParams) SetHTTPClient(client *http.Client)
- func (o *ListConfigsForConfigTypeParams) SetID(id string)
- func (o *ListConfigsForConfigTypeParams) SetTimeout(timeout time.Duration)
- func (o *ListConfigsForConfigTypeParams) WithContext(ctx context.Context) *ListConfigsForConfigTypeParams
- func (o *ListConfigsForConfigTypeParams) WithDefaults() *ListConfigsForConfigTypeParams
- func (o *ListConfigsForConfigTypeParams) WithHTTPClient(client *http.Client) *ListConfigsForConfigTypeParams
- func (o *ListConfigsForConfigTypeParams) WithID(id string) *ListConfigsForConfigTypeParams
- func (o *ListConfigsForConfigTypeParams) WithTimeout(timeout time.Duration) *ListConfigsForConfigTypeParams
- func (o *ListConfigsForConfigTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListConfigsForConfigTypeReader
- type ListConfigsOK
- type ListConfigsParams
- func (o *ListConfigsParams) SetContext(ctx context.Context)
- func (o *ListConfigsParams) SetDefaults()
- func (o *ListConfigsParams) SetFilter(filter *string)
- func (o *ListConfigsParams) SetHTTPClient(client *http.Client)
- func (o *ListConfigsParams) SetLimit(limit *int64)
- func (o *ListConfigsParams) SetOffset(offset *int64)
- func (o *ListConfigsParams) SetTimeout(timeout time.Duration)
- func (o *ListConfigsParams) WithContext(ctx context.Context) *ListConfigsParams
- func (o *ListConfigsParams) WithDefaults() *ListConfigsParams
- func (o *ListConfigsParams) WithFilter(filter *string) *ListConfigsParams
- func (o *ListConfigsParams) WithHTTPClient(client *http.Client) *ListConfigsParams
- func (o *ListConfigsParams) WithLimit(limit *int64) *ListConfigsParams
- func (o *ListConfigsParams) WithOffset(offset *int64) *ListConfigsParams
- func (o *ListConfigsParams) WithTimeout(timeout time.Duration) *ListConfigsParams
- func (o *ListConfigsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListConfigsReader
- type ListConfigsUnauthorized
- type PatchConfigBadRequest
- type PatchConfigNotFound
- type PatchConfigOK
- type PatchConfigParams
- func (o *PatchConfigParams) SetConfig(config *rest_model.ConfigPatch)
- func (o *PatchConfigParams) SetContext(ctx context.Context)
- func (o *PatchConfigParams) SetDefaults()
- func (o *PatchConfigParams) SetHTTPClient(client *http.Client)
- func (o *PatchConfigParams) SetID(id string)
- func (o *PatchConfigParams) SetTimeout(timeout time.Duration)
- func (o *PatchConfigParams) WithConfig(config *rest_model.ConfigPatch) *PatchConfigParams
- func (o *PatchConfigParams) WithContext(ctx context.Context) *PatchConfigParams
- func (o *PatchConfigParams) WithDefaults() *PatchConfigParams
- func (o *PatchConfigParams) WithHTTPClient(client *http.Client) *PatchConfigParams
- func (o *PatchConfigParams) WithID(id string) *PatchConfigParams
- func (o *PatchConfigParams) WithTimeout(timeout time.Duration) *PatchConfigParams
- func (o *PatchConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchConfigReader
- type PatchConfigTypeBadRequest
- type PatchConfigTypeNotFound
- type PatchConfigTypeOK
- type PatchConfigTypeParams
- func NewPatchConfigTypeParams() *PatchConfigTypeParams
- func NewPatchConfigTypeParamsWithContext(ctx context.Context) *PatchConfigTypeParams
- func NewPatchConfigTypeParamsWithHTTPClient(client *http.Client) *PatchConfigTypeParams
- func NewPatchConfigTypeParamsWithTimeout(timeout time.Duration) *PatchConfigTypeParams
- func (o *PatchConfigTypeParams) SetConfigType(configType *rest_model.ConfigTypePatch)
- func (o *PatchConfigTypeParams) SetContext(ctx context.Context)
- func (o *PatchConfigTypeParams) SetDefaults()
- func (o *PatchConfigTypeParams) SetHTTPClient(client *http.Client)
- func (o *PatchConfigTypeParams) SetID(id string)
- func (o *PatchConfigTypeParams) SetTimeout(timeout time.Duration)
- func (o *PatchConfigTypeParams) WithConfigType(configType *rest_model.ConfigTypePatch) *PatchConfigTypeParams
- func (o *PatchConfigTypeParams) WithContext(ctx context.Context) *PatchConfigTypeParams
- func (o *PatchConfigTypeParams) WithDefaults() *PatchConfigTypeParams
- func (o *PatchConfigTypeParams) WithHTTPClient(client *http.Client) *PatchConfigTypeParams
- func (o *PatchConfigTypeParams) WithID(id string) *PatchConfigTypeParams
- func (o *PatchConfigTypeParams) WithTimeout(timeout time.Duration) *PatchConfigTypeParams
- func (o *PatchConfigTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchConfigTypeReader
- type PatchConfigTypeUnauthorized
- type PatchConfigUnauthorized
- type UpdateConfigBadRequest
- type UpdateConfigNotFound
- type UpdateConfigOK
- type UpdateConfigParams
- func (o *UpdateConfigParams) SetConfig(config *rest_model.ConfigUpdate)
- func (o *UpdateConfigParams) SetContext(ctx context.Context)
- func (o *UpdateConfigParams) SetDefaults()
- func (o *UpdateConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdateConfigParams) SetID(id string)
- func (o *UpdateConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdateConfigParams) WithConfig(config *rest_model.ConfigUpdate) *UpdateConfigParams
- func (o *UpdateConfigParams) WithContext(ctx context.Context) *UpdateConfigParams
- func (o *UpdateConfigParams) WithDefaults() *UpdateConfigParams
- func (o *UpdateConfigParams) WithHTTPClient(client *http.Client) *UpdateConfigParams
- func (o *UpdateConfigParams) WithID(id string) *UpdateConfigParams
- func (o *UpdateConfigParams) WithTimeout(timeout time.Duration) *UpdateConfigParams
- func (o *UpdateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateConfigReader
- type UpdateConfigTypeBadRequest
- type UpdateConfigTypeNotFound
- type UpdateConfigTypeOK
- type UpdateConfigTypeParams
- func NewUpdateConfigTypeParams() *UpdateConfigTypeParams
- func NewUpdateConfigTypeParamsWithContext(ctx context.Context) *UpdateConfigTypeParams
- func NewUpdateConfigTypeParamsWithHTTPClient(client *http.Client) *UpdateConfigTypeParams
- func NewUpdateConfigTypeParamsWithTimeout(timeout time.Duration) *UpdateConfigTypeParams
- func (o *UpdateConfigTypeParams) SetConfigType(configType *rest_model.ConfigTypeUpdate)
- func (o *UpdateConfigTypeParams) SetContext(ctx context.Context)
- func (o *UpdateConfigTypeParams) SetDefaults()
- func (o *UpdateConfigTypeParams) SetHTTPClient(client *http.Client)
- func (o *UpdateConfigTypeParams) SetID(id string)
- func (o *UpdateConfigTypeParams) SetTimeout(timeout time.Duration)
- func (o *UpdateConfigTypeParams) WithConfigType(configType *rest_model.ConfigTypeUpdate) *UpdateConfigTypeParams
- func (o *UpdateConfigTypeParams) WithContext(ctx context.Context) *UpdateConfigTypeParams
- func (o *UpdateConfigTypeParams) WithDefaults() *UpdateConfigTypeParams
- func (o *UpdateConfigTypeParams) WithHTTPClient(client *http.Client) *UpdateConfigTypeParams
- func (o *UpdateConfigTypeParams) WithID(id string) *UpdateConfigTypeParams
- func (o *UpdateConfigTypeParams) WithTimeout(timeout time.Duration) *UpdateConfigTypeParams
- func (o *UpdateConfigTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateConfigTypeReader
- type UpdateConfigTypeUnauthorized
- type UpdateConfigUnauthorized
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) CreateConfig ¶
func (a *Client) CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConfigCreated, error)
CreateConfig creates a config resource
Create a config resource. Requires admin access.
func (*Client) CreateConfigType ¶
func (a *Client) CreateConfigType(params *CreateConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConfigTypeCreated, error)
CreateConfigType creates a config type requires admin access
func (*Client) DeleteConfig ¶
func (a *Client) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConfigOK, error)
DeleteConfig deletes a config
Delete a config by id. Requires admin access.
func (*Client) DeleteConfigType ¶
func (a *Client) DeleteConfigType(params *DeleteConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConfigTypeOK, error)
DeleteConfigType deletes a config type
Delete a config-type by id. Removing a configuration type that are in use will result in a 409 conflict HTTP status code and error. All configurations of a type must be removed first.
func (*Client) DetailConfig ¶
func (a *Client) DetailConfig(params *DetailConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailConfigOK, error)
DetailConfig retrieves a single config
Retrieves a single config by id. Requires admin access.
func (*Client) DetailConfigType ¶
func (a *Client) DetailConfigType(params *DetailConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailConfigTypeOK, error)
DetailConfigType retrieves a single config type
Retrieves a single config-type by id. Requires admin access.
func (*Client) ListConfigTypes ¶
func (a *Client) ListConfigTypes(params *ListConfigTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConfigTypesOK, error)
ListConfigTypes lists config types
Retrieves a list of config-type resources; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) ListConfigs ¶
func (a *Client) ListConfigs(params *ListConfigsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConfigsOK, error)
ListConfigs lists configs
Retrieves a list of config resources; supports filtering, sorting, and pagination. Requires admin access.
func (*Client) ListConfigsForConfigType ¶
func (a *Client) ListConfigsForConfigType(params *ListConfigsForConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConfigsForConfigTypeOK, error)
ListConfigsForConfigType lists the configs of a specific config type
Lists the configs associated to a config-type. Requires admin access.
func (*Client) PatchConfig ¶
func (a *Client) PatchConfig(params *PatchConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchConfigOK, error)
PatchConfig updates the supplied fields on a config
Update the supplied fields on a config. Requires admin access.
func (*Client) PatchConfigType ¶
func (a *Client) PatchConfigType(params *PatchConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchConfigTypeOK, error)
PatchConfigType updates the supplied fields on a config type
Update the supplied fields on a config-type. Requires admin access.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateConfig ¶
func (a *Client) UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateConfigOK, error)
UpdateConfig updates all fields on a config
Update all fields on a config by id. Requires admin access.
func (*Client) UpdateConfigType ¶
func (a *Client) UpdateConfigType(params *UpdateConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateConfigTypeOK, error)
UpdateConfigType updates all fields on a config type
Update all fields on a config-type by id. Requires admin access.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConfigCreated, error) CreateConfigType(params *CreateConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConfigTypeCreated, error) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConfigOK, error) DeleteConfigType(params *DeleteConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConfigTypeOK, error) DetailConfig(params *DetailConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailConfigOK, error) DetailConfigType(params *DetailConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailConfigTypeOK, error) ListConfigTypes(params *ListConfigTypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConfigTypesOK, error) ListConfigs(params *ListConfigsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConfigsOK, error) ListConfigsForConfigType(params *ListConfigsForConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConfigsForConfigTypeOK, error) PatchConfig(params *PatchConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchConfigOK, error) PatchConfigType(params *PatchConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchConfigTypeOK, error) UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateConfigOK, error) UpdateConfigType(params *UpdateConfigTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateConfigTypeOK, 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 CreateConfigBadRequest ¶
type CreateConfigBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
CreateConfigBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewCreateConfigBadRequest ¶
func NewCreateConfigBadRequest() *CreateConfigBadRequest
NewCreateConfigBadRequest creates a CreateConfigBadRequest with default headers values
func (*CreateConfigBadRequest) Error ¶
func (o *CreateConfigBadRequest) Error() string
func (*CreateConfigBadRequest) GetPayload ¶
func (o *CreateConfigBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type CreateConfigCreated ¶
type CreateConfigCreated struct {
Payload *rest_model.CreateEnvelope
}
CreateConfigCreated describes a response with status code 201, with default header values.
The create request was successful and the resource has been added at the following location
func NewCreateConfigCreated ¶
func NewCreateConfigCreated() *CreateConfigCreated
NewCreateConfigCreated creates a CreateConfigCreated with default headers values
func (*CreateConfigCreated) Error ¶
func (o *CreateConfigCreated) Error() string
func (*CreateConfigCreated) GetPayload ¶
func (o *CreateConfigCreated) GetPayload() *rest_model.CreateEnvelope
type CreateConfigParams ¶
type CreateConfigParams struct { /* Config. A config to create */ Config *rest_model.ConfigCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateConfigParams contains all the parameters to send to the API endpoint
for the create config operation. Typically these are written to a http.Request.
func NewCreateConfigParams ¶
func NewCreateConfigParams() *CreateConfigParams
NewCreateConfigParams creates a new CreateConfigParams 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 NewCreateConfigParamsWithContext ¶
func NewCreateConfigParamsWithContext(ctx context.Context) *CreateConfigParams
NewCreateConfigParamsWithContext creates a new CreateConfigParams object with the ability to set a context for a request.
func NewCreateConfigParamsWithHTTPClient ¶
func NewCreateConfigParamsWithHTTPClient(client *http.Client) *CreateConfigParams
NewCreateConfigParamsWithHTTPClient creates a new CreateConfigParams object with the ability to set a custom HTTPClient for a request.
func NewCreateConfigParamsWithTimeout ¶
func NewCreateConfigParamsWithTimeout(timeout time.Duration) *CreateConfigParams
NewCreateConfigParamsWithTimeout creates a new CreateConfigParams object with the ability to set a timeout on a request.
func (*CreateConfigParams) SetConfig ¶
func (o *CreateConfigParams) SetConfig(config *rest_model.ConfigCreate)
SetConfig adds the config to the create config params
func (*CreateConfigParams) SetContext ¶
func (o *CreateConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the create config params
func (*CreateConfigParams) SetDefaults ¶
func (o *CreateConfigParams) SetDefaults()
SetDefaults hydrates default values in the create config params (not the query body).
All values with no default are reset to their zero value.
func (*CreateConfigParams) SetHTTPClient ¶
func (o *CreateConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create config params
func (*CreateConfigParams) SetTimeout ¶
func (o *CreateConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create config params
func (*CreateConfigParams) WithConfig ¶
func (o *CreateConfigParams) WithConfig(config *rest_model.ConfigCreate) *CreateConfigParams
WithConfig adds the config to the create config params
func (*CreateConfigParams) WithContext ¶
func (o *CreateConfigParams) WithContext(ctx context.Context) *CreateConfigParams
WithContext adds the context to the create config params
func (*CreateConfigParams) WithDefaults ¶
func (o *CreateConfigParams) WithDefaults() *CreateConfigParams
WithDefaults hydrates default values in the create config params (not the query body).
All values with no default are reset to their zero value.
func (*CreateConfigParams) WithHTTPClient ¶
func (o *CreateConfigParams) WithHTTPClient(client *http.Client) *CreateConfigParams
WithHTTPClient adds the HTTPClient to the create config params
func (*CreateConfigParams) WithTimeout ¶
func (o *CreateConfigParams) WithTimeout(timeout time.Duration) *CreateConfigParams
WithTimeout adds the timeout to the create config params
func (*CreateConfigParams) WriteToRequest ¶
func (o *CreateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateConfigReader ¶
type CreateConfigReader struct {
// contains filtered or unexported fields
}
CreateConfigReader is a Reader for the CreateConfig structure.
func (*CreateConfigReader) ReadResponse ¶
func (o *CreateConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateConfigTypeBadRequest ¶
type CreateConfigTypeBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
CreateConfigTypeBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewCreateConfigTypeBadRequest ¶
func NewCreateConfigTypeBadRequest() *CreateConfigTypeBadRequest
NewCreateConfigTypeBadRequest creates a CreateConfigTypeBadRequest with default headers values
func (*CreateConfigTypeBadRequest) Error ¶
func (o *CreateConfigTypeBadRequest) Error() string
func (*CreateConfigTypeBadRequest) GetPayload ¶
func (o *CreateConfigTypeBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type CreateConfigTypeCreated ¶
type CreateConfigTypeCreated struct {
Payload *rest_model.CreateEnvelope
}
CreateConfigTypeCreated describes a response with status code 201, with default header values.
The create request was successful and the resource has been added at the following location
func NewCreateConfigTypeCreated ¶
func NewCreateConfigTypeCreated() *CreateConfigTypeCreated
NewCreateConfigTypeCreated creates a CreateConfigTypeCreated with default headers values
func (*CreateConfigTypeCreated) Error ¶
func (o *CreateConfigTypeCreated) Error() string
func (*CreateConfigTypeCreated) GetPayload ¶
func (o *CreateConfigTypeCreated) GetPayload() *rest_model.CreateEnvelope
type CreateConfigTypeParams ¶
type CreateConfigTypeParams struct { /* ConfigType. A config-type to create */ ConfigType *rest_model.ConfigTypeCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateConfigTypeParams contains all the parameters to send to the API endpoint
for the create config type operation. Typically these are written to a http.Request.
func NewCreateConfigTypeParams ¶
func NewCreateConfigTypeParams() *CreateConfigTypeParams
NewCreateConfigTypeParams creates a new CreateConfigTypeParams 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 NewCreateConfigTypeParamsWithContext ¶
func NewCreateConfigTypeParamsWithContext(ctx context.Context) *CreateConfigTypeParams
NewCreateConfigTypeParamsWithContext creates a new CreateConfigTypeParams object with the ability to set a context for a request.
func NewCreateConfigTypeParamsWithHTTPClient ¶
func NewCreateConfigTypeParamsWithHTTPClient(client *http.Client) *CreateConfigTypeParams
NewCreateConfigTypeParamsWithHTTPClient creates a new CreateConfigTypeParams object with the ability to set a custom HTTPClient for a request.
func NewCreateConfigTypeParamsWithTimeout ¶
func NewCreateConfigTypeParamsWithTimeout(timeout time.Duration) *CreateConfigTypeParams
NewCreateConfigTypeParamsWithTimeout creates a new CreateConfigTypeParams object with the ability to set a timeout on a request.
func (*CreateConfigTypeParams) SetConfigType ¶
func (o *CreateConfigTypeParams) SetConfigType(configType *rest_model.ConfigTypeCreate)
SetConfigType adds the configType to the create config type params
func (*CreateConfigTypeParams) SetContext ¶
func (o *CreateConfigTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the create config type params
func (*CreateConfigTypeParams) SetDefaults ¶
func (o *CreateConfigTypeParams) SetDefaults()
SetDefaults hydrates default values in the create config type params (not the query body).
All values with no default are reset to their zero value.
func (*CreateConfigTypeParams) SetHTTPClient ¶
func (o *CreateConfigTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create config type params
func (*CreateConfigTypeParams) SetTimeout ¶
func (o *CreateConfigTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create config type params
func (*CreateConfigTypeParams) WithConfigType ¶
func (o *CreateConfigTypeParams) WithConfigType(configType *rest_model.ConfigTypeCreate) *CreateConfigTypeParams
WithConfigType adds the configType to the create config type params
func (*CreateConfigTypeParams) WithContext ¶
func (o *CreateConfigTypeParams) WithContext(ctx context.Context) *CreateConfigTypeParams
WithContext adds the context to the create config type params
func (*CreateConfigTypeParams) WithDefaults ¶
func (o *CreateConfigTypeParams) WithDefaults() *CreateConfigTypeParams
WithDefaults hydrates default values in the create config type params (not the query body).
All values with no default are reset to their zero value.
func (*CreateConfigTypeParams) WithHTTPClient ¶
func (o *CreateConfigTypeParams) WithHTTPClient(client *http.Client) *CreateConfigTypeParams
WithHTTPClient adds the HTTPClient to the create config type params
func (*CreateConfigTypeParams) WithTimeout ¶
func (o *CreateConfigTypeParams) WithTimeout(timeout time.Duration) *CreateConfigTypeParams
WithTimeout adds the timeout to the create config type params
func (*CreateConfigTypeParams) WriteToRequest ¶
func (o *CreateConfigTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateConfigTypeReader ¶
type CreateConfigTypeReader struct {
// contains filtered or unexported fields
}
CreateConfigTypeReader is a Reader for the CreateConfigType structure.
func (*CreateConfigTypeReader) ReadResponse ¶
func (o *CreateConfigTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateConfigTypeUnauthorized ¶
type CreateConfigTypeUnauthorized struct {
}CreateConfigTypeUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewCreateConfigTypeUnauthorized ¶
func NewCreateConfigTypeUnauthorized() *CreateConfigTypeUnauthorized
NewCreateConfigTypeUnauthorized creates a CreateConfigTypeUnauthorized with default headers values
func (*CreateConfigTypeUnauthorized) Error ¶
func (o *CreateConfigTypeUnauthorized) Error() string
func (*CreateConfigTypeUnauthorized) GetPayload ¶
func (o *CreateConfigTypeUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type CreateConfigUnauthorized ¶
type CreateConfigUnauthorized struct {
}CreateConfigUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewCreateConfigUnauthorized ¶
func NewCreateConfigUnauthorized() *CreateConfigUnauthorized
NewCreateConfigUnauthorized creates a CreateConfigUnauthorized with default headers values
func (*CreateConfigUnauthorized) Error ¶
func (o *CreateConfigUnauthorized) Error() string
func (*CreateConfigUnauthorized) GetPayload ¶
func (o *CreateConfigUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DeleteConfigBadRequest ¶
type DeleteConfigBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteConfigBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewDeleteConfigBadRequest ¶
func NewDeleteConfigBadRequest() *DeleteConfigBadRequest
NewDeleteConfigBadRequest creates a DeleteConfigBadRequest with default headers values
func (*DeleteConfigBadRequest) Error ¶
func (o *DeleteConfigBadRequest) Error() string
func (*DeleteConfigBadRequest) GetPayload ¶
func (o *DeleteConfigBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type DeleteConfigConflict ¶
type DeleteConfigConflict struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteConfigConflict describes a response with status code 409, with default header values.
The resource requested to be removed/altered cannot be as it is referenced by another object.
func NewDeleteConfigConflict ¶
func NewDeleteConfigConflict() *DeleteConfigConflict
NewDeleteConfigConflict creates a DeleteConfigConflict with default headers values
func (*DeleteConfigConflict) Error ¶
func (o *DeleteConfigConflict) Error() string
func (*DeleteConfigConflict) GetPayload ¶
func (o *DeleteConfigConflict) GetPayload() *rest_model.APIErrorEnvelope
type DeleteConfigOK ¶
type DeleteConfigOK struct {
Payload *rest_model.Empty
}
DeleteConfigOK describes a response with status code 200, with default header values.
The delete request was successful and the resource has been removed
func NewDeleteConfigOK ¶
func NewDeleteConfigOK() *DeleteConfigOK
NewDeleteConfigOK creates a DeleteConfigOK with default headers values
func (*DeleteConfigOK) Error ¶
func (o *DeleteConfigOK) Error() string
func (*DeleteConfigOK) GetPayload ¶
func (o *DeleteConfigOK) GetPayload() *rest_model.Empty
type DeleteConfigParams ¶
type DeleteConfigParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteConfigParams contains all the parameters to send to the API endpoint
for the delete config operation. Typically these are written to a http.Request.
func NewDeleteConfigParams ¶
func NewDeleteConfigParams() *DeleteConfigParams
NewDeleteConfigParams creates a new DeleteConfigParams 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 NewDeleteConfigParamsWithContext ¶
func NewDeleteConfigParamsWithContext(ctx context.Context) *DeleteConfigParams
NewDeleteConfigParamsWithContext creates a new DeleteConfigParams object with the ability to set a context for a request.
func NewDeleteConfigParamsWithHTTPClient ¶
func NewDeleteConfigParamsWithHTTPClient(client *http.Client) *DeleteConfigParams
NewDeleteConfigParamsWithHTTPClient creates a new DeleteConfigParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteConfigParamsWithTimeout ¶
func NewDeleteConfigParamsWithTimeout(timeout time.Duration) *DeleteConfigParams
NewDeleteConfigParamsWithTimeout creates a new DeleteConfigParams object with the ability to set a timeout on a request.
func (*DeleteConfigParams) SetContext ¶
func (o *DeleteConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the delete config params
func (*DeleteConfigParams) SetDefaults ¶
func (o *DeleteConfigParams) SetDefaults()
SetDefaults hydrates default values in the delete config params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteConfigParams) SetHTTPClient ¶
func (o *DeleteConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete config params
func (*DeleteConfigParams) SetID ¶
func (o *DeleteConfigParams) SetID(id string)
SetID adds the id to the delete config params
func (*DeleteConfigParams) SetTimeout ¶
func (o *DeleteConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete config params
func (*DeleteConfigParams) WithContext ¶
func (o *DeleteConfigParams) WithContext(ctx context.Context) *DeleteConfigParams
WithContext adds the context to the delete config params
func (*DeleteConfigParams) WithDefaults ¶
func (o *DeleteConfigParams) WithDefaults() *DeleteConfigParams
WithDefaults hydrates default values in the delete config params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteConfigParams) WithHTTPClient ¶
func (o *DeleteConfigParams) WithHTTPClient(client *http.Client) *DeleteConfigParams
WithHTTPClient adds the HTTPClient to the delete config params
func (*DeleteConfigParams) WithID ¶
func (o *DeleteConfigParams) WithID(id string) *DeleteConfigParams
WithID adds the id to the delete config params
func (*DeleteConfigParams) WithTimeout ¶
func (o *DeleteConfigParams) WithTimeout(timeout time.Duration) *DeleteConfigParams
WithTimeout adds the timeout to the delete config params
func (*DeleteConfigParams) WriteToRequest ¶
func (o *DeleteConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteConfigReader ¶
type DeleteConfigReader struct {
// contains filtered or unexported fields
}
DeleteConfigReader is a Reader for the DeleteConfig structure.
func (*DeleteConfigReader) ReadResponse ¶
func (o *DeleteConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteConfigTypeBadRequest ¶
type DeleteConfigTypeBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteConfigTypeBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewDeleteConfigTypeBadRequest ¶
func NewDeleteConfigTypeBadRequest() *DeleteConfigTypeBadRequest
NewDeleteConfigTypeBadRequest creates a DeleteConfigTypeBadRequest with default headers values
func (*DeleteConfigTypeBadRequest) Error ¶
func (o *DeleteConfigTypeBadRequest) Error() string
func (*DeleteConfigTypeBadRequest) GetPayload ¶
func (o *DeleteConfigTypeBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type DeleteConfigTypeConflict ¶
type DeleteConfigTypeConflict struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteConfigTypeConflict describes a response with status code 409, with default header values.
The resource requested to be removed/altered cannot be as it is referenced by another object.
func NewDeleteConfigTypeConflict ¶
func NewDeleteConfigTypeConflict() *DeleteConfigTypeConflict
NewDeleteConfigTypeConflict creates a DeleteConfigTypeConflict with default headers values
func (*DeleteConfigTypeConflict) Error ¶
func (o *DeleteConfigTypeConflict) Error() string
func (*DeleteConfigTypeConflict) GetPayload ¶
func (o *DeleteConfigTypeConflict) GetPayload() *rest_model.APIErrorEnvelope
type DeleteConfigTypeOK ¶
type DeleteConfigTypeOK struct {
Payload *rest_model.Empty
}
DeleteConfigTypeOK describes a response with status code 200, with default header values.
The delete request was successful and the resource has been removed
func NewDeleteConfigTypeOK ¶
func NewDeleteConfigTypeOK() *DeleteConfigTypeOK
NewDeleteConfigTypeOK creates a DeleteConfigTypeOK with default headers values
func (*DeleteConfigTypeOK) Error ¶
func (o *DeleteConfigTypeOK) Error() string
func (*DeleteConfigTypeOK) GetPayload ¶
func (o *DeleteConfigTypeOK) GetPayload() *rest_model.Empty
type DeleteConfigTypeParams ¶
type DeleteConfigTypeParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteConfigTypeParams contains all the parameters to send to the API endpoint
for the delete config type operation. Typically these are written to a http.Request.
func NewDeleteConfigTypeParams ¶
func NewDeleteConfigTypeParams() *DeleteConfigTypeParams
NewDeleteConfigTypeParams creates a new DeleteConfigTypeParams 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 NewDeleteConfigTypeParamsWithContext ¶
func NewDeleteConfigTypeParamsWithContext(ctx context.Context) *DeleteConfigTypeParams
NewDeleteConfigTypeParamsWithContext creates a new DeleteConfigTypeParams object with the ability to set a context for a request.
func NewDeleteConfigTypeParamsWithHTTPClient ¶
func NewDeleteConfigTypeParamsWithHTTPClient(client *http.Client) *DeleteConfigTypeParams
NewDeleteConfigTypeParamsWithHTTPClient creates a new DeleteConfigTypeParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteConfigTypeParamsWithTimeout ¶
func NewDeleteConfigTypeParamsWithTimeout(timeout time.Duration) *DeleteConfigTypeParams
NewDeleteConfigTypeParamsWithTimeout creates a new DeleteConfigTypeParams object with the ability to set a timeout on a request.
func (*DeleteConfigTypeParams) SetContext ¶
func (o *DeleteConfigTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the delete config type params
func (*DeleteConfigTypeParams) SetDefaults ¶
func (o *DeleteConfigTypeParams) SetDefaults()
SetDefaults hydrates default values in the delete config type params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteConfigTypeParams) SetHTTPClient ¶
func (o *DeleteConfigTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete config type params
func (*DeleteConfigTypeParams) SetID ¶
func (o *DeleteConfigTypeParams) SetID(id string)
SetID adds the id to the delete config type params
func (*DeleteConfigTypeParams) SetTimeout ¶
func (o *DeleteConfigTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete config type params
func (*DeleteConfigTypeParams) WithContext ¶
func (o *DeleteConfigTypeParams) WithContext(ctx context.Context) *DeleteConfigTypeParams
WithContext adds the context to the delete config type params
func (*DeleteConfigTypeParams) WithDefaults ¶
func (o *DeleteConfigTypeParams) WithDefaults() *DeleteConfigTypeParams
WithDefaults hydrates default values in the delete config type params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteConfigTypeParams) WithHTTPClient ¶
func (o *DeleteConfigTypeParams) WithHTTPClient(client *http.Client) *DeleteConfigTypeParams
WithHTTPClient adds the HTTPClient to the delete config type params
func (*DeleteConfigTypeParams) WithID ¶
func (o *DeleteConfigTypeParams) WithID(id string) *DeleteConfigTypeParams
WithID adds the id to the delete config type params
func (*DeleteConfigTypeParams) WithTimeout ¶
func (o *DeleteConfigTypeParams) WithTimeout(timeout time.Duration) *DeleteConfigTypeParams
WithTimeout adds the timeout to the delete config type params
func (*DeleteConfigTypeParams) WriteToRequest ¶
func (o *DeleteConfigTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteConfigTypeReader ¶
type DeleteConfigTypeReader struct {
// contains filtered or unexported fields
}
DeleteConfigTypeReader is a Reader for the DeleteConfigType structure.
func (*DeleteConfigTypeReader) ReadResponse ¶
func (o *DeleteConfigTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteConfigTypeUnauthorized ¶
type DeleteConfigTypeUnauthorized struct {
}DeleteConfigTypeUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDeleteConfigTypeUnauthorized ¶
func NewDeleteConfigTypeUnauthorized() *DeleteConfigTypeUnauthorized
NewDeleteConfigTypeUnauthorized creates a DeleteConfigTypeUnauthorized with default headers values
func (*DeleteConfigTypeUnauthorized) Error ¶
func (o *DeleteConfigTypeUnauthorized) Error() string
func (*DeleteConfigTypeUnauthorized) GetPayload ¶
func (o *DeleteConfigTypeUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DeleteConfigUnauthorized ¶
type DeleteConfigUnauthorized struct {
}DeleteConfigUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDeleteConfigUnauthorized ¶
func NewDeleteConfigUnauthorized() *DeleteConfigUnauthorized
NewDeleteConfigUnauthorized creates a DeleteConfigUnauthorized with default headers values
func (*DeleteConfigUnauthorized) Error ¶
func (o *DeleteConfigUnauthorized) Error() string
func (*DeleteConfigUnauthorized) GetPayload ¶
func (o *DeleteConfigUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailConfigNotFound ¶
type DetailConfigNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailConfigNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailConfigNotFound ¶
func NewDetailConfigNotFound() *DetailConfigNotFound
NewDetailConfigNotFound creates a DetailConfigNotFound with default headers values
func (*DetailConfigNotFound) Error ¶
func (o *DetailConfigNotFound) Error() string
func (*DetailConfigNotFound) GetPayload ¶
func (o *DetailConfigNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DetailConfigOK ¶
type DetailConfigOK struct {
Payload *rest_model.DetailConfigEnvelope
}
DetailConfigOK describes a response with status code 200, with default header values.
A singular config resource
func NewDetailConfigOK ¶
func NewDetailConfigOK() *DetailConfigOK
NewDetailConfigOK creates a DetailConfigOK with default headers values
func (*DetailConfigOK) Error ¶
func (o *DetailConfigOK) Error() string
func (*DetailConfigOK) GetPayload ¶
func (o *DetailConfigOK) GetPayload() *rest_model.DetailConfigEnvelope
type DetailConfigParams ¶
type DetailConfigParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DetailConfigParams contains all the parameters to send to the API endpoint
for the detail config operation. Typically these are written to a http.Request.
func NewDetailConfigParams ¶
func NewDetailConfigParams() *DetailConfigParams
NewDetailConfigParams creates a new DetailConfigParams 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 NewDetailConfigParamsWithContext ¶
func NewDetailConfigParamsWithContext(ctx context.Context) *DetailConfigParams
NewDetailConfigParamsWithContext creates a new DetailConfigParams object with the ability to set a context for a request.
func NewDetailConfigParamsWithHTTPClient ¶
func NewDetailConfigParamsWithHTTPClient(client *http.Client) *DetailConfigParams
NewDetailConfigParamsWithHTTPClient creates a new DetailConfigParams object with the ability to set a custom HTTPClient for a request.
func NewDetailConfigParamsWithTimeout ¶
func NewDetailConfigParamsWithTimeout(timeout time.Duration) *DetailConfigParams
NewDetailConfigParamsWithTimeout creates a new DetailConfigParams object with the ability to set a timeout on a request.
func (*DetailConfigParams) SetContext ¶
func (o *DetailConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the detail config params
func (*DetailConfigParams) SetDefaults ¶
func (o *DetailConfigParams) SetDefaults()
SetDefaults hydrates default values in the detail config params (not the query body).
All values with no default are reset to their zero value.
func (*DetailConfigParams) SetHTTPClient ¶
func (o *DetailConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail config params
func (*DetailConfigParams) SetID ¶
func (o *DetailConfigParams) SetID(id string)
SetID adds the id to the detail config params
func (*DetailConfigParams) SetTimeout ¶
func (o *DetailConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail config params
func (*DetailConfigParams) WithContext ¶
func (o *DetailConfigParams) WithContext(ctx context.Context) *DetailConfigParams
WithContext adds the context to the detail config params
func (*DetailConfigParams) WithDefaults ¶
func (o *DetailConfigParams) WithDefaults() *DetailConfigParams
WithDefaults hydrates default values in the detail config params (not the query body).
All values with no default are reset to their zero value.
func (*DetailConfigParams) WithHTTPClient ¶
func (o *DetailConfigParams) WithHTTPClient(client *http.Client) *DetailConfigParams
WithHTTPClient adds the HTTPClient to the detail config params
func (*DetailConfigParams) WithID ¶
func (o *DetailConfigParams) WithID(id string) *DetailConfigParams
WithID adds the id to the detail config params
func (*DetailConfigParams) WithTimeout ¶
func (o *DetailConfigParams) WithTimeout(timeout time.Duration) *DetailConfigParams
WithTimeout adds the timeout to the detail config params
func (*DetailConfigParams) WriteToRequest ¶
func (o *DetailConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailConfigReader ¶
type DetailConfigReader struct {
// contains filtered or unexported fields
}
DetailConfigReader is a Reader for the DetailConfig structure.
func (*DetailConfigReader) ReadResponse ¶
func (o *DetailConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailConfigTypeNotFound ¶
type DetailConfigTypeNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailConfigTypeNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailConfigTypeNotFound ¶
func NewDetailConfigTypeNotFound() *DetailConfigTypeNotFound
NewDetailConfigTypeNotFound creates a DetailConfigTypeNotFound with default headers values
func (*DetailConfigTypeNotFound) Error ¶
func (o *DetailConfigTypeNotFound) Error() string
func (*DetailConfigTypeNotFound) GetPayload ¶
func (o *DetailConfigTypeNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DetailConfigTypeOK ¶
type DetailConfigTypeOK struct {
Payload *rest_model.DetailConfigTypeEnvelope
}
DetailConfigTypeOK describes a response with status code 200, with default header values.
A singular config-type resource
func NewDetailConfigTypeOK ¶
func NewDetailConfigTypeOK() *DetailConfigTypeOK
NewDetailConfigTypeOK creates a DetailConfigTypeOK with default headers values
func (*DetailConfigTypeOK) Error ¶
func (o *DetailConfigTypeOK) Error() string
func (*DetailConfigTypeOK) GetPayload ¶
func (o *DetailConfigTypeOK) GetPayload() *rest_model.DetailConfigTypeEnvelope
type DetailConfigTypeParams ¶
type DetailConfigTypeParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DetailConfigTypeParams contains all the parameters to send to the API endpoint
for the detail config type operation. Typically these are written to a http.Request.
func NewDetailConfigTypeParams ¶
func NewDetailConfigTypeParams() *DetailConfigTypeParams
NewDetailConfigTypeParams creates a new DetailConfigTypeParams 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 NewDetailConfigTypeParamsWithContext ¶
func NewDetailConfigTypeParamsWithContext(ctx context.Context) *DetailConfigTypeParams
NewDetailConfigTypeParamsWithContext creates a new DetailConfigTypeParams object with the ability to set a context for a request.
func NewDetailConfigTypeParamsWithHTTPClient ¶
func NewDetailConfigTypeParamsWithHTTPClient(client *http.Client) *DetailConfigTypeParams
NewDetailConfigTypeParamsWithHTTPClient creates a new DetailConfigTypeParams object with the ability to set a custom HTTPClient for a request.
func NewDetailConfigTypeParamsWithTimeout ¶
func NewDetailConfigTypeParamsWithTimeout(timeout time.Duration) *DetailConfigTypeParams
NewDetailConfigTypeParamsWithTimeout creates a new DetailConfigTypeParams object with the ability to set a timeout on a request.
func (*DetailConfigTypeParams) SetContext ¶
func (o *DetailConfigTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the detail config type params
func (*DetailConfigTypeParams) SetDefaults ¶
func (o *DetailConfigTypeParams) SetDefaults()
SetDefaults hydrates default values in the detail config type params (not the query body).
All values with no default are reset to their zero value.
func (*DetailConfigTypeParams) SetHTTPClient ¶
func (o *DetailConfigTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail config type params
func (*DetailConfigTypeParams) SetID ¶
func (o *DetailConfigTypeParams) SetID(id string)
SetID adds the id to the detail config type params
func (*DetailConfigTypeParams) SetTimeout ¶
func (o *DetailConfigTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail config type params
func (*DetailConfigTypeParams) WithContext ¶
func (o *DetailConfigTypeParams) WithContext(ctx context.Context) *DetailConfigTypeParams
WithContext adds the context to the detail config type params
func (*DetailConfigTypeParams) WithDefaults ¶
func (o *DetailConfigTypeParams) WithDefaults() *DetailConfigTypeParams
WithDefaults hydrates default values in the detail config type params (not the query body).
All values with no default are reset to their zero value.
func (*DetailConfigTypeParams) WithHTTPClient ¶
func (o *DetailConfigTypeParams) WithHTTPClient(client *http.Client) *DetailConfigTypeParams
WithHTTPClient adds the HTTPClient to the detail config type params
func (*DetailConfigTypeParams) WithID ¶
func (o *DetailConfigTypeParams) WithID(id string) *DetailConfigTypeParams
WithID adds the id to the detail config type params
func (*DetailConfigTypeParams) WithTimeout ¶
func (o *DetailConfigTypeParams) WithTimeout(timeout time.Duration) *DetailConfigTypeParams
WithTimeout adds the timeout to the detail config type params
func (*DetailConfigTypeParams) WriteToRequest ¶
func (o *DetailConfigTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailConfigTypeReader ¶
type DetailConfigTypeReader struct {
// contains filtered or unexported fields
}
DetailConfigTypeReader is a Reader for the DetailConfigType structure.
func (*DetailConfigTypeReader) ReadResponse ¶
func (o *DetailConfigTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailConfigTypeUnauthorized ¶
type DetailConfigTypeUnauthorized struct {
}DetailConfigTypeUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDetailConfigTypeUnauthorized ¶
func NewDetailConfigTypeUnauthorized() *DetailConfigTypeUnauthorized
NewDetailConfigTypeUnauthorized creates a DetailConfigTypeUnauthorized with default headers values
func (*DetailConfigTypeUnauthorized) Error ¶
func (o *DetailConfigTypeUnauthorized) Error() string
func (*DetailConfigTypeUnauthorized) GetPayload ¶
func (o *DetailConfigTypeUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailConfigUnauthorized ¶
type DetailConfigUnauthorized struct {
}DetailConfigUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewDetailConfigUnauthorized ¶
func NewDetailConfigUnauthorized() *DetailConfigUnauthorized
NewDetailConfigUnauthorized creates a DetailConfigUnauthorized with default headers values
func (*DetailConfigUnauthorized) Error ¶
func (o *DetailConfigUnauthorized) Error() string
func (*DetailConfigUnauthorized) GetPayload ¶
func (o *DetailConfigUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListConfigTypesOK ¶
type ListConfigTypesOK struct {
Payload *rest_model.ListConfigTypesEnvelope
}
ListConfigTypesOK describes a response with status code 200, with default header values.
A list of config-types
func NewListConfigTypesOK ¶
func NewListConfigTypesOK() *ListConfigTypesOK
NewListConfigTypesOK creates a ListConfigTypesOK with default headers values
func (*ListConfigTypesOK) Error ¶
func (o *ListConfigTypesOK) Error() string
func (*ListConfigTypesOK) GetPayload ¶
func (o *ListConfigTypesOK) GetPayload() *rest_model.ListConfigTypesEnvelope
type ListConfigTypesParams ¶
type ListConfigTypesParams struct { // Filter. Filter *string // Limit. Limit *int64 // Offset. Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListConfigTypesParams contains all the parameters to send to the API endpoint
for the list config types operation. Typically these are written to a http.Request.
func NewListConfigTypesParams ¶
func NewListConfigTypesParams() *ListConfigTypesParams
NewListConfigTypesParams creates a new ListConfigTypesParams 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 NewListConfigTypesParamsWithContext ¶
func NewListConfigTypesParamsWithContext(ctx context.Context) *ListConfigTypesParams
NewListConfigTypesParamsWithContext creates a new ListConfigTypesParams object with the ability to set a context for a request.
func NewListConfigTypesParamsWithHTTPClient ¶
func NewListConfigTypesParamsWithHTTPClient(client *http.Client) *ListConfigTypesParams
NewListConfigTypesParamsWithHTTPClient creates a new ListConfigTypesParams object with the ability to set a custom HTTPClient for a request.
func NewListConfigTypesParamsWithTimeout ¶
func NewListConfigTypesParamsWithTimeout(timeout time.Duration) *ListConfigTypesParams
NewListConfigTypesParamsWithTimeout creates a new ListConfigTypesParams object with the ability to set a timeout on a request.
func (*ListConfigTypesParams) SetContext ¶
func (o *ListConfigTypesParams) SetContext(ctx context.Context)
SetContext adds the context to the list config types params
func (*ListConfigTypesParams) SetDefaults ¶
func (o *ListConfigTypesParams) SetDefaults()
SetDefaults hydrates default values in the list config types params (not the query body).
All values with no default are reset to their zero value.
func (*ListConfigTypesParams) SetFilter ¶
func (o *ListConfigTypesParams) SetFilter(filter *string)
SetFilter adds the filter to the list config types params
func (*ListConfigTypesParams) SetHTTPClient ¶
func (o *ListConfigTypesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list config types params
func (*ListConfigTypesParams) SetLimit ¶
func (o *ListConfigTypesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list config types params
func (*ListConfigTypesParams) SetOffset ¶
func (o *ListConfigTypesParams) SetOffset(offset *int64)
SetOffset adds the offset to the list config types params
func (*ListConfigTypesParams) SetTimeout ¶
func (o *ListConfigTypesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list config types params
func (*ListConfigTypesParams) WithContext ¶
func (o *ListConfigTypesParams) WithContext(ctx context.Context) *ListConfigTypesParams
WithContext adds the context to the list config types params
func (*ListConfigTypesParams) WithDefaults ¶
func (o *ListConfigTypesParams) WithDefaults() *ListConfigTypesParams
WithDefaults hydrates default values in the list config types params (not the query body).
All values with no default are reset to their zero value.
func (*ListConfigTypesParams) WithFilter ¶
func (o *ListConfigTypesParams) WithFilter(filter *string) *ListConfigTypesParams
WithFilter adds the filter to the list config types params
func (*ListConfigTypesParams) WithHTTPClient ¶
func (o *ListConfigTypesParams) WithHTTPClient(client *http.Client) *ListConfigTypesParams
WithHTTPClient adds the HTTPClient to the list config types params
func (*ListConfigTypesParams) WithLimit ¶
func (o *ListConfigTypesParams) WithLimit(limit *int64) *ListConfigTypesParams
WithLimit adds the limit to the list config types params
func (*ListConfigTypesParams) WithOffset ¶
func (o *ListConfigTypesParams) WithOffset(offset *int64) *ListConfigTypesParams
WithOffset adds the offset to the list config types params
func (*ListConfigTypesParams) WithTimeout ¶
func (o *ListConfigTypesParams) WithTimeout(timeout time.Duration) *ListConfigTypesParams
WithTimeout adds the timeout to the list config types params
func (*ListConfigTypesParams) WriteToRequest ¶
func (o *ListConfigTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListConfigTypesReader ¶
type ListConfigTypesReader struct {
// contains filtered or unexported fields
}
ListConfigTypesReader is a Reader for the ListConfigTypes structure.
func (*ListConfigTypesReader) ReadResponse ¶
func (o *ListConfigTypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListConfigsForConfigTypeOK ¶
type ListConfigsForConfigTypeOK struct {
Payload *rest_model.ListConfigsEnvelope
}
ListConfigsForConfigTypeOK describes a response with status code 200, with default header values.
A list of configs
func NewListConfigsForConfigTypeOK ¶
func NewListConfigsForConfigTypeOK() *ListConfigsForConfigTypeOK
NewListConfigsForConfigTypeOK creates a ListConfigsForConfigTypeOK with default headers values
func (*ListConfigsForConfigTypeOK) Error ¶
func (o *ListConfigsForConfigTypeOK) Error() string
func (*ListConfigsForConfigTypeOK) GetPayload ¶
func (o *ListConfigsForConfigTypeOK) GetPayload() *rest_model.ListConfigsEnvelope
type ListConfigsForConfigTypeParams ¶
type ListConfigsForConfigTypeParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListConfigsForConfigTypeParams contains all the parameters to send to the API endpoint
for the list configs for config type operation. Typically these are written to a http.Request.
func NewListConfigsForConfigTypeParams ¶
func NewListConfigsForConfigTypeParams() *ListConfigsForConfigTypeParams
NewListConfigsForConfigTypeParams creates a new ListConfigsForConfigTypeParams 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 NewListConfigsForConfigTypeParamsWithContext ¶
func NewListConfigsForConfigTypeParamsWithContext(ctx context.Context) *ListConfigsForConfigTypeParams
NewListConfigsForConfigTypeParamsWithContext creates a new ListConfigsForConfigTypeParams object with the ability to set a context for a request.
func NewListConfigsForConfigTypeParamsWithHTTPClient ¶
func NewListConfigsForConfigTypeParamsWithHTTPClient(client *http.Client) *ListConfigsForConfigTypeParams
NewListConfigsForConfigTypeParamsWithHTTPClient creates a new ListConfigsForConfigTypeParams object with the ability to set a custom HTTPClient for a request.
func NewListConfigsForConfigTypeParamsWithTimeout ¶
func NewListConfigsForConfigTypeParamsWithTimeout(timeout time.Duration) *ListConfigsForConfigTypeParams
NewListConfigsForConfigTypeParamsWithTimeout creates a new ListConfigsForConfigTypeParams object with the ability to set a timeout on a request.
func (*ListConfigsForConfigTypeParams) SetContext ¶
func (o *ListConfigsForConfigTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the list configs for config type params
func (*ListConfigsForConfigTypeParams) SetDefaults ¶
func (o *ListConfigsForConfigTypeParams) SetDefaults()
SetDefaults hydrates default values in the list configs for config type params (not the query body).
All values with no default are reset to their zero value.
func (*ListConfigsForConfigTypeParams) SetHTTPClient ¶
func (o *ListConfigsForConfigTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list configs for config type params
func (*ListConfigsForConfigTypeParams) SetID ¶
func (o *ListConfigsForConfigTypeParams) SetID(id string)
SetID adds the id to the list configs for config type params
func (*ListConfigsForConfigTypeParams) SetTimeout ¶
func (o *ListConfigsForConfigTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list configs for config type params
func (*ListConfigsForConfigTypeParams) WithContext ¶
func (o *ListConfigsForConfigTypeParams) WithContext(ctx context.Context) *ListConfigsForConfigTypeParams
WithContext adds the context to the list configs for config type params
func (*ListConfigsForConfigTypeParams) WithDefaults ¶
func (o *ListConfigsForConfigTypeParams) WithDefaults() *ListConfigsForConfigTypeParams
WithDefaults hydrates default values in the list configs for config type params (not the query body).
All values with no default are reset to their zero value.
func (*ListConfigsForConfigTypeParams) WithHTTPClient ¶
func (o *ListConfigsForConfigTypeParams) WithHTTPClient(client *http.Client) *ListConfigsForConfigTypeParams
WithHTTPClient adds the HTTPClient to the list configs for config type params
func (*ListConfigsForConfigTypeParams) WithID ¶
func (o *ListConfigsForConfigTypeParams) WithID(id string) *ListConfigsForConfigTypeParams
WithID adds the id to the list configs for config type params
func (*ListConfigsForConfigTypeParams) WithTimeout ¶
func (o *ListConfigsForConfigTypeParams) WithTimeout(timeout time.Duration) *ListConfigsForConfigTypeParams
WithTimeout adds the timeout to the list configs for config type params
func (*ListConfigsForConfigTypeParams) WriteToRequest ¶
func (o *ListConfigsForConfigTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListConfigsForConfigTypeReader ¶
type ListConfigsForConfigTypeReader struct {
// contains filtered or unexported fields
}
ListConfigsForConfigTypeReader is a Reader for the ListConfigsForConfigType structure.
func (*ListConfigsForConfigTypeReader) ReadResponse ¶
func (o *ListConfigsForConfigTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListConfigsOK ¶
type ListConfigsOK struct {
Payload *rest_model.ListConfigsEnvelope
}
ListConfigsOK describes a response with status code 200, with default header values.
A list of configs
func NewListConfigsOK ¶
func NewListConfigsOK() *ListConfigsOK
NewListConfigsOK creates a ListConfigsOK with default headers values
func (*ListConfigsOK) Error ¶
func (o *ListConfigsOK) Error() string
func (*ListConfigsOK) GetPayload ¶
func (o *ListConfigsOK) GetPayload() *rest_model.ListConfigsEnvelope
type ListConfigsParams ¶
type ListConfigsParams struct { // Filter. Filter *string // Limit. Limit *int64 // Offset. Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListConfigsParams contains all the parameters to send to the API endpoint
for the list configs operation. Typically these are written to a http.Request.
func NewListConfigsParams ¶
func NewListConfigsParams() *ListConfigsParams
NewListConfigsParams creates a new ListConfigsParams 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 NewListConfigsParamsWithContext ¶
func NewListConfigsParamsWithContext(ctx context.Context) *ListConfigsParams
NewListConfigsParamsWithContext creates a new ListConfigsParams object with the ability to set a context for a request.
func NewListConfigsParamsWithHTTPClient ¶
func NewListConfigsParamsWithHTTPClient(client *http.Client) *ListConfigsParams
NewListConfigsParamsWithHTTPClient creates a new ListConfigsParams object with the ability to set a custom HTTPClient for a request.
func NewListConfigsParamsWithTimeout ¶
func NewListConfigsParamsWithTimeout(timeout time.Duration) *ListConfigsParams
NewListConfigsParamsWithTimeout creates a new ListConfigsParams object with the ability to set a timeout on a request.
func (*ListConfigsParams) SetContext ¶
func (o *ListConfigsParams) SetContext(ctx context.Context)
SetContext adds the context to the list configs params
func (*ListConfigsParams) SetDefaults ¶
func (o *ListConfigsParams) SetDefaults()
SetDefaults hydrates default values in the list configs params (not the query body).
All values with no default are reset to their zero value.
func (*ListConfigsParams) SetFilter ¶
func (o *ListConfigsParams) SetFilter(filter *string)
SetFilter adds the filter to the list configs params
func (*ListConfigsParams) SetHTTPClient ¶
func (o *ListConfigsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list configs params
func (*ListConfigsParams) SetLimit ¶
func (o *ListConfigsParams) SetLimit(limit *int64)
SetLimit adds the limit to the list configs params
func (*ListConfigsParams) SetOffset ¶
func (o *ListConfigsParams) SetOffset(offset *int64)
SetOffset adds the offset to the list configs params
func (*ListConfigsParams) SetTimeout ¶
func (o *ListConfigsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list configs params
func (*ListConfigsParams) WithContext ¶
func (o *ListConfigsParams) WithContext(ctx context.Context) *ListConfigsParams
WithContext adds the context to the list configs params
func (*ListConfigsParams) WithDefaults ¶
func (o *ListConfigsParams) WithDefaults() *ListConfigsParams
WithDefaults hydrates default values in the list configs params (not the query body).
All values with no default are reset to their zero value.
func (*ListConfigsParams) WithFilter ¶
func (o *ListConfigsParams) WithFilter(filter *string) *ListConfigsParams
WithFilter adds the filter to the list configs params
func (*ListConfigsParams) WithHTTPClient ¶
func (o *ListConfigsParams) WithHTTPClient(client *http.Client) *ListConfigsParams
WithHTTPClient adds the HTTPClient to the list configs params
func (*ListConfigsParams) WithLimit ¶
func (o *ListConfigsParams) WithLimit(limit *int64) *ListConfigsParams
WithLimit adds the limit to the list configs params
func (*ListConfigsParams) WithOffset ¶
func (o *ListConfigsParams) WithOffset(offset *int64) *ListConfigsParams
WithOffset adds the offset to the list configs params
func (*ListConfigsParams) WithTimeout ¶
func (o *ListConfigsParams) WithTimeout(timeout time.Duration) *ListConfigsParams
WithTimeout adds the timeout to the list configs params
func (*ListConfigsParams) WriteToRequest ¶
func (o *ListConfigsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListConfigsReader ¶
type ListConfigsReader struct {
// contains filtered or unexported fields
}
ListConfigsReader is a Reader for the ListConfigs structure.
func (*ListConfigsReader) ReadResponse ¶
func (o *ListConfigsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListConfigsUnauthorized ¶
type ListConfigsUnauthorized struct {
}ListConfigsUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewListConfigsUnauthorized ¶
func NewListConfigsUnauthorized() *ListConfigsUnauthorized
NewListConfigsUnauthorized creates a ListConfigsUnauthorized with default headers values
func (*ListConfigsUnauthorized) Error ¶
func (o *ListConfigsUnauthorized) Error() string
func (*ListConfigsUnauthorized) GetPayload ¶
func (o *ListConfigsUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type PatchConfigBadRequest ¶
type PatchConfigBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
PatchConfigBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewPatchConfigBadRequest ¶
func NewPatchConfigBadRequest() *PatchConfigBadRequest
NewPatchConfigBadRequest creates a PatchConfigBadRequest with default headers values
func (*PatchConfigBadRequest) Error ¶
func (o *PatchConfigBadRequest) Error() string
func (*PatchConfigBadRequest) GetPayload ¶
func (o *PatchConfigBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type PatchConfigNotFound ¶
type PatchConfigNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
PatchConfigNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewPatchConfigNotFound ¶
func NewPatchConfigNotFound() *PatchConfigNotFound
NewPatchConfigNotFound creates a PatchConfigNotFound with default headers values
func (*PatchConfigNotFound) Error ¶
func (o *PatchConfigNotFound) Error() string
func (*PatchConfigNotFound) GetPayload ¶
func (o *PatchConfigNotFound) GetPayload() *rest_model.APIErrorEnvelope
type PatchConfigOK ¶
type PatchConfigOK struct {
Payload *rest_model.Empty
}
PatchConfigOK describes a response with status code 200, with default header values.
The patch request was successful and the resource has been altered
func NewPatchConfigOK ¶
func NewPatchConfigOK() *PatchConfigOK
NewPatchConfigOK creates a PatchConfigOK with default headers values
func (*PatchConfigOK) Error ¶
func (o *PatchConfigOK) Error() string
func (*PatchConfigOK) GetPayload ¶
func (o *PatchConfigOK) GetPayload() *rest_model.Empty
type PatchConfigParams ¶
type PatchConfigParams struct { /* Config. A config patch object */ Config *rest_model.ConfigPatch /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchConfigParams contains all the parameters to send to the API endpoint
for the patch config operation. Typically these are written to a http.Request.
func NewPatchConfigParams ¶
func NewPatchConfigParams() *PatchConfigParams
NewPatchConfigParams creates a new PatchConfigParams 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 NewPatchConfigParamsWithContext ¶
func NewPatchConfigParamsWithContext(ctx context.Context) *PatchConfigParams
NewPatchConfigParamsWithContext creates a new PatchConfigParams object with the ability to set a context for a request.
func NewPatchConfigParamsWithHTTPClient ¶
func NewPatchConfigParamsWithHTTPClient(client *http.Client) *PatchConfigParams
NewPatchConfigParamsWithHTTPClient creates a new PatchConfigParams object with the ability to set a custom HTTPClient for a request.
func NewPatchConfigParamsWithTimeout ¶
func NewPatchConfigParamsWithTimeout(timeout time.Duration) *PatchConfigParams
NewPatchConfigParamsWithTimeout creates a new PatchConfigParams object with the ability to set a timeout on a request.
func (*PatchConfigParams) SetConfig ¶
func (o *PatchConfigParams) SetConfig(config *rest_model.ConfigPatch)
SetConfig adds the config to the patch config params
func (*PatchConfigParams) SetContext ¶
func (o *PatchConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the patch config params
func (*PatchConfigParams) SetDefaults ¶
func (o *PatchConfigParams) SetDefaults()
SetDefaults hydrates default values in the patch config params (not the query body).
All values with no default are reset to their zero value.
func (*PatchConfigParams) SetHTTPClient ¶
func (o *PatchConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch config params
func (*PatchConfigParams) SetID ¶
func (o *PatchConfigParams) SetID(id string)
SetID adds the id to the patch config params
func (*PatchConfigParams) SetTimeout ¶
func (o *PatchConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch config params
func (*PatchConfigParams) WithConfig ¶
func (o *PatchConfigParams) WithConfig(config *rest_model.ConfigPatch) *PatchConfigParams
WithConfig adds the config to the patch config params
func (*PatchConfigParams) WithContext ¶
func (o *PatchConfigParams) WithContext(ctx context.Context) *PatchConfigParams
WithContext adds the context to the patch config params
func (*PatchConfigParams) WithDefaults ¶
func (o *PatchConfigParams) WithDefaults() *PatchConfigParams
WithDefaults hydrates default values in the patch config params (not the query body).
All values with no default are reset to their zero value.
func (*PatchConfigParams) WithHTTPClient ¶
func (o *PatchConfigParams) WithHTTPClient(client *http.Client) *PatchConfigParams
WithHTTPClient adds the HTTPClient to the patch config params
func (*PatchConfigParams) WithID ¶
func (o *PatchConfigParams) WithID(id string) *PatchConfigParams
WithID adds the id to the patch config params
func (*PatchConfigParams) WithTimeout ¶
func (o *PatchConfigParams) WithTimeout(timeout time.Duration) *PatchConfigParams
WithTimeout adds the timeout to the patch config params
func (*PatchConfigParams) WriteToRequest ¶
func (o *PatchConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchConfigReader ¶
type PatchConfigReader struct {
// contains filtered or unexported fields
}
PatchConfigReader is a Reader for the PatchConfig structure.
func (*PatchConfigReader) ReadResponse ¶
func (o *PatchConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchConfigTypeBadRequest ¶
type PatchConfigTypeBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
PatchConfigTypeBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewPatchConfigTypeBadRequest ¶
func NewPatchConfigTypeBadRequest() *PatchConfigTypeBadRequest
NewPatchConfigTypeBadRequest creates a PatchConfigTypeBadRequest with default headers values
func (*PatchConfigTypeBadRequest) Error ¶
func (o *PatchConfigTypeBadRequest) Error() string
func (*PatchConfigTypeBadRequest) GetPayload ¶
func (o *PatchConfigTypeBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type PatchConfigTypeNotFound ¶
type PatchConfigTypeNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
PatchConfigTypeNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewPatchConfigTypeNotFound ¶
func NewPatchConfigTypeNotFound() *PatchConfigTypeNotFound
NewPatchConfigTypeNotFound creates a PatchConfigTypeNotFound with default headers values
func (*PatchConfigTypeNotFound) Error ¶
func (o *PatchConfigTypeNotFound) Error() string
func (*PatchConfigTypeNotFound) GetPayload ¶
func (o *PatchConfigTypeNotFound) GetPayload() *rest_model.APIErrorEnvelope
type PatchConfigTypeOK ¶
type PatchConfigTypeOK struct {
Payload *rest_model.Empty
}
PatchConfigTypeOK describes a response with status code 200, with default header values.
The patch request was successful and the resource has been altered
func NewPatchConfigTypeOK ¶
func NewPatchConfigTypeOK() *PatchConfigTypeOK
NewPatchConfigTypeOK creates a PatchConfigTypeOK with default headers values
func (*PatchConfigTypeOK) Error ¶
func (o *PatchConfigTypeOK) Error() string
func (*PatchConfigTypeOK) GetPayload ¶
func (o *PatchConfigTypeOK) GetPayload() *rest_model.Empty
type PatchConfigTypeParams ¶
type PatchConfigTypeParams struct { /* ConfigType. A config-type patch object */ ConfigType *rest_model.ConfigTypePatch /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchConfigTypeParams contains all the parameters to send to the API endpoint
for the patch config type operation. Typically these are written to a http.Request.
func NewPatchConfigTypeParams ¶
func NewPatchConfigTypeParams() *PatchConfigTypeParams
NewPatchConfigTypeParams creates a new PatchConfigTypeParams 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 NewPatchConfigTypeParamsWithContext ¶
func NewPatchConfigTypeParamsWithContext(ctx context.Context) *PatchConfigTypeParams
NewPatchConfigTypeParamsWithContext creates a new PatchConfigTypeParams object with the ability to set a context for a request.
func NewPatchConfigTypeParamsWithHTTPClient ¶
func NewPatchConfigTypeParamsWithHTTPClient(client *http.Client) *PatchConfigTypeParams
NewPatchConfigTypeParamsWithHTTPClient creates a new PatchConfigTypeParams object with the ability to set a custom HTTPClient for a request.
func NewPatchConfigTypeParamsWithTimeout ¶
func NewPatchConfigTypeParamsWithTimeout(timeout time.Duration) *PatchConfigTypeParams
NewPatchConfigTypeParamsWithTimeout creates a new PatchConfigTypeParams object with the ability to set a timeout on a request.
func (*PatchConfigTypeParams) SetConfigType ¶
func (o *PatchConfigTypeParams) SetConfigType(configType *rest_model.ConfigTypePatch)
SetConfigType adds the configType to the patch config type params
func (*PatchConfigTypeParams) SetContext ¶
func (o *PatchConfigTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the patch config type params
func (*PatchConfigTypeParams) SetDefaults ¶
func (o *PatchConfigTypeParams) SetDefaults()
SetDefaults hydrates default values in the patch config type params (not the query body).
All values with no default are reset to their zero value.
func (*PatchConfigTypeParams) SetHTTPClient ¶
func (o *PatchConfigTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch config type params
func (*PatchConfigTypeParams) SetID ¶
func (o *PatchConfigTypeParams) SetID(id string)
SetID adds the id to the patch config type params
func (*PatchConfigTypeParams) SetTimeout ¶
func (o *PatchConfigTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch config type params
func (*PatchConfigTypeParams) WithConfigType ¶
func (o *PatchConfigTypeParams) WithConfigType(configType *rest_model.ConfigTypePatch) *PatchConfigTypeParams
WithConfigType adds the configType to the patch config type params
func (*PatchConfigTypeParams) WithContext ¶
func (o *PatchConfigTypeParams) WithContext(ctx context.Context) *PatchConfigTypeParams
WithContext adds the context to the patch config type params
func (*PatchConfigTypeParams) WithDefaults ¶
func (o *PatchConfigTypeParams) WithDefaults() *PatchConfigTypeParams
WithDefaults hydrates default values in the patch config type params (not the query body).
All values with no default are reset to their zero value.
func (*PatchConfigTypeParams) WithHTTPClient ¶
func (o *PatchConfigTypeParams) WithHTTPClient(client *http.Client) *PatchConfigTypeParams
WithHTTPClient adds the HTTPClient to the patch config type params
func (*PatchConfigTypeParams) WithID ¶
func (o *PatchConfigTypeParams) WithID(id string) *PatchConfigTypeParams
WithID adds the id to the patch config type params
func (*PatchConfigTypeParams) WithTimeout ¶
func (o *PatchConfigTypeParams) WithTimeout(timeout time.Duration) *PatchConfigTypeParams
WithTimeout adds the timeout to the patch config type params
func (*PatchConfigTypeParams) WriteToRequest ¶
func (o *PatchConfigTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchConfigTypeReader ¶
type PatchConfigTypeReader struct {
// contains filtered or unexported fields
}
PatchConfigTypeReader is a Reader for the PatchConfigType structure.
func (*PatchConfigTypeReader) ReadResponse ¶
func (o *PatchConfigTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchConfigTypeUnauthorized ¶
type PatchConfigTypeUnauthorized struct {
}PatchConfigTypeUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewPatchConfigTypeUnauthorized ¶
func NewPatchConfigTypeUnauthorized() *PatchConfigTypeUnauthorized
NewPatchConfigTypeUnauthorized creates a PatchConfigTypeUnauthorized with default headers values
func (*PatchConfigTypeUnauthorized) Error ¶
func (o *PatchConfigTypeUnauthorized) Error() string
func (*PatchConfigTypeUnauthorized) GetPayload ¶
func (o *PatchConfigTypeUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type PatchConfigUnauthorized ¶
type PatchConfigUnauthorized struct {
}PatchConfigUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewPatchConfigUnauthorized ¶
func NewPatchConfigUnauthorized() *PatchConfigUnauthorized
NewPatchConfigUnauthorized creates a PatchConfigUnauthorized with default headers values
func (*PatchConfigUnauthorized) Error ¶
func (o *PatchConfigUnauthorized) Error() string
func (*PatchConfigUnauthorized) GetPayload ¶
func (o *PatchConfigUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type UpdateConfigBadRequest ¶
type UpdateConfigBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateConfigBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewUpdateConfigBadRequest ¶
func NewUpdateConfigBadRequest() *UpdateConfigBadRequest
NewUpdateConfigBadRequest creates a UpdateConfigBadRequest with default headers values
func (*UpdateConfigBadRequest) Error ¶
func (o *UpdateConfigBadRequest) Error() string
func (*UpdateConfigBadRequest) GetPayload ¶
func (o *UpdateConfigBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type UpdateConfigNotFound ¶
type UpdateConfigNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateConfigNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewUpdateConfigNotFound ¶
func NewUpdateConfigNotFound() *UpdateConfigNotFound
NewUpdateConfigNotFound creates a UpdateConfigNotFound with default headers values
func (*UpdateConfigNotFound) Error ¶
func (o *UpdateConfigNotFound) Error() string
func (*UpdateConfigNotFound) GetPayload ¶
func (o *UpdateConfigNotFound) GetPayload() *rest_model.APIErrorEnvelope
type UpdateConfigOK ¶
type UpdateConfigOK struct {
Payload *rest_model.Empty
}
UpdateConfigOK describes a response with status code 200, with default header values.
The update request was successful and the resource has been altered
func NewUpdateConfigOK ¶
func NewUpdateConfigOK() *UpdateConfigOK
NewUpdateConfigOK creates a UpdateConfigOK with default headers values
func (*UpdateConfigOK) Error ¶
func (o *UpdateConfigOK) Error() string
func (*UpdateConfigOK) GetPayload ¶
func (o *UpdateConfigOK) GetPayload() *rest_model.Empty
type UpdateConfigParams ¶
type UpdateConfigParams struct { /* Config. A config update object */ Config *rest_model.ConfigUpdate /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateConfigParams contains all the parameters to send to the API endpoint
for the update config operation. Typically these are written to a http.Request.
func NewUpdateConfigParams ¶
func NewUpdateConfigParams() *UpdateConfigParams
NewUpdateConfigParams creates a new UpdateConfigParams 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 NewUpdateConfigParamsWithContext ¶
func NewUpdateConfigParamsWithContext(ctx context.Context) *UpdateConfigParams
NewUpdateConfigParamsWithContext creates a new UpdateConfigParams object with the ability to set a context for a request.
func NewUpdateConfigParamsWithHTTPClient ¶
func NewUpdateConfigParamsWithHTTPClient(client *http.Client) *UpdateConfigParams
NewUpdateConfigParamsWithHTTPClient creates a new UpdateConfigParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateConfigParamsWithTimeout ¶
func NewUpdateConfigParamsWithTimeout(timeout time.Duration) *UpdateConfigParams
NewUpdateConfigParamsWithTimeout creates a new UpdateConfigParams object with the ability to set a timeout on a request.
func (*UpdateConfigParams) SetConfig ¶
func (o *UpdateConfigParams) SetConfig(config *rest_model.ConfigUpdate)
SetConfig adds the config to the update config params
func (*UpdateConfigParams) SetContext ¶
func (o *UpdateConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the update config params
func (*UpdateConfigParams) SetDefaults ¶
func (o *UpdateConfigParams) SetDefaults()
SetDefaults hydrates default values in the update config params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateConfigParams) SetHTTPClient ¶
func (o *UpdateConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update config params
func (*UpdateConfigParams) SetID ¶
func (o *UpdateConfigParams) SetID(id string)
SetID adds the id to the update config params
func (*UpdateConfigParams) SetTimeout ¶
func (o *UpdateConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update config params
func (*UpdateConfigParams) WithConfig ¶
func (o *UpdateConfigParams) WithConfig(config *rest_model.ConfigUpdate) *UpdateConfigParams
WithConfig adds the config to the update config params
func (*UpdateConfigParams) WithContext ¶
func (o *UpdateConfigParams) WithContext(ctx context.Context) *UpdateConfigParams
WithContext adds the context to the update config params
func (*UpdateConfigParams) WithDefaults ¶
func (o *UpdateConfigParams) WithDefaults() *UpdateConfigParams
WithDefaults hydrates default values in the update config params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateConfigParams) WithHTTPClient ¶
func (o *UpdateConfigParams) WithHTTPClient(client *http.Client) *UpdateConfigParams
WithHTTPClient adds the HTTPClient to the update config params
func (*UpdateConfigParams) WithID ¶
func (o *UpdateConfigParams) WithID(id string) *UpdateConfigParams
WithID adds the id to the update config params
func (*UpdateConfigParams) WithTimeout ¶
func (o *UpdateConfigParams) WithTimeout(timeout time.Duration) *UpdateConfigParams
WithTimeout adds the timeout to the update config params
func (*UpdateConfigParams) WriteToRequest ¶
func (o *UpdateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateConfigReader ¶
type UpdateConfigReader struct {
// contains filtered or unexported fields
}
UpdateConfigReader is a Reader for the UpdateConfig structure.
func (*UpdateConfigReader) ReadResponse ¶
func (o *UpdateConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateConfigTypeBadRequest ¶
type UpdateConfigTypeBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateConfigTypeBadRequest describes a response with status code 400, with default header values.
The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
func NewUpdateConfigTypeBadRequest ¶
func NewUpdateConfigTypeBadRequest() *UpdateConfigTypeBadRequest
NewUpdateConfigTypeBadRequest creates a UpdateConfigTypeBadRequest with default headers values
func (*UpdateConfigTypeBadRequest) Error ¶
func (o *UpdateConfigTypeBadRequest) Error() string
func (*UpdateConfigTypeBadRequest) GetPayload ¶
func (o *UpdateConfigTypeBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type UpdateConfigTypeNotFound ¶
type UpdateConfigTypeNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateConfigTypeNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewUpdateConfigTypeNotFound ¶
func NewUpdateConfigTypeNotFound() *UpdateConfigTypeNotFound
NewUpdateConfigTypeNotFound creates a UpdateConfigTypeNotFound with default headers values
func (*UpdateConfigTypeNotFound) Error ¶
func (o *UpdateConfigTypeNotFound) Error() string
func (*UpdateConfigTypeNotFound) GetPayload ¶
func (o *UpdateConfigTypeNotFound) GetPayload() *rest_model.APIErrorEnvelope
type UpdateConfigTypeOK ¶
type UpdateConfigTypeOK struct {
Payload *rest_model.Empty
}
UpdateConfigTypeOK describes a response with status code 200, with default header values.
The update request was successful and the resource has been altered
func NewUpdateConfigTypeOK ¶
func NewUpdateConfigTypeOK() *UpdateConfigTypeOK
NewUpdateConfigTypeOK creates a UpdateConfigTypeOK with default headers values
func (*UpdateConfigTypeOK) Error ¶
func (o *UpdateConfigTypeOK) Error() string
func (*UpdateConfigTypeOK) GetPayload ¶
func (o *UpdateConfigTypeOK) GetPayload() *rest_model.Empty
type UpdateConfigTypeParams ¶
type UpdateConfigTypeParams struct { /* ConfigType. A config-type update object */ ConfigType *rest_model.ConfigTypeUpdate /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateConfigTypeParams contains all the parameters to send to the API endpoint
for the update config type operation. Typically these are written to a http.Request.
func NewUpdateConfigTypeParams ¶
func NewUpdateConfigTypeParams() *UpdateConfigTypeParams
NewUpdateConfigTypeParams creates a new UpdateConfigTypeParams 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 NewUpdateConfigTypeParamsWithContext ¶
func NewUpdateConfigTypeParamsWithContext(ctx context.Context) *UpdateConfigTypeParams
NewUpdateConfigTypeParamsWithContext creates a new UpdateConfigTypeParams object with the ability to set a context for a request.
func NewUpdateConfigTypeParamsWithHTTPClient ¶
func NewUpdateConfigTypeParamsWithHTTPClient(client *http.Client) *UpdateConfigTypeParams
NewUpdateConfigTypeParamsWithHTTPClient creates a new UpdateConfigTypeParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateConfigTypeParamsWithTimeout ¶
func NewUpdateConfigTypeParamsWithTimeout(timeout time.Duration) *UpdateConfigTypeParams
NewUpdateConfigTypeParamsWithTimeout creates a new UpdateConfigTypeParams object with the ability to set a timeout on a request.
func (*UpdateConfigTypeParams) SetConfigType ¶
func (o *UpdateConfigTypeParams) SetConfigType(configType *rest_model.ConfigTypeUpdate)
SetConfigType adds the configType to the update config type params
func (*UpdateConfigTypeParams) SetContext ¶
func (o *UpdateConfigTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the update config type params
func (*UpdateConfigTypeParams) SetDefaults ¶
func (o *UpdateConfigTypeParams) SetDefaults()
SetDefaults hydrates default values in the update config type params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateConfigTypeParams) SetHTTPClient ¶
func (o *UpdateConfigTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update config type params
func (*UpdateConfigTypeParams) SetID ¶
func (o *UpdateConfigTypeParams) SetID(id string)
SetID adds the id to the update config type params
func (*UpdateConfigTypeParams) SetTimeout ¶
func (o *UpdateConfigTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update config type params
func (*UpdateConfigTypeParams) WithConfigType ¶
func (o *UpdateConfigTypeParams) WithConfigType(configType *rest_model.ConfigTypeUpdate) *UpdateConfigTypeParams
WithConfigType adds the configType to the update config type params
func (*UpdateConfigTypeParams) WithContext ¶
func (o *UpdateConfigTypeParams) WithContext(ctx context.Context) *UpdateConfigTypeParams
WithContext adds the context to the update config type params
func (*UpdateConfigTypeParams) WithDefaults ¶
func (o *UpdateConfigTypeParams) WithDefaults() *UpdateConfigTypeParams
WithDefaults hydrates default values in the update config type params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateConfigTypeParams) WithHTTPClient ¶
func (o *UpdateConfigTypeParams) WithHTTPClient(client *http.Client) *UpdateConfigTypeParams
WithHTTPClient adds the HTTPClient to the update config type params
func (*UpdateConfigTypeParams) WithID ¶
func (o *UpdateConfigTypeParams) WithID(id string) *UpdateConfigTypeParams
WithID adds the id to the update config type params
func (*UpdateConfigTypeParams) WithTimeout ¶
func (o *UpdateConfigTypeParams) WithTimeout(timeout time.Duration) *UpdateConfigTypeParams
WithTimeout adds the timeout to the update config type params
func (*UpdateConfigTypeParams) WriteToRequest ¶
func (o *UpdateConfigTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateConfigTypeReader ¶
type UpdateConfigTypeReader struct {
// contains filtered or unexported fields
}
UpdateConfigTypeReader is a Reader for the UpdateConfigType structure.
func (*UpdateConfigTypeReader) ReadResponse ¶
func (o *UpdateConfigTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateConfigTypeUnauthorized ¶
type UpdateConfigTypeUnauthorized struct {
}UpdateConfigTypeUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewUpdateConfigTypeUnauthorized ¶
func NewUpdateConfigTypeUnauthorized() *UpdateConfigTypeUnauthorized
NewUpdateConfigTypeUnauthorized creates a UpdateConfigTypeUnauthorized with default headers values
func (*UpdateConfigTypeUnauthorized) Error ¶
func (o *UpdateConfigTypeUnauthorized) Error() string
func (*UpdateConfigTypeUnauthorized) GetPayload ¶
func (o *UpdateConfigTypeUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type UpdateConfigUnauthorized ¶
type UpdateConfigUnauthorized struct {
}UpdateConfigUnauthorized describes a response with status code 401, with default header values.
The currently supplied session does not have the correct access rights to request this resource
func NewUpdateConfigUnauthorized ¶
func NewUpdateConfigUnauthorized() *UpdateConfigUnauthorized
NewUpdateConfigUnauthorized creates a UpdateConfigUnauthorized with default headers values
func (*UpdateConfigUnauthorized) Error ¶
func (o *UpdateConfigUnauthorized) Error() string
func (*UpdateConfigUnauthorized) GetPayload ¶
func (o *UpdateConfigUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
Source Files ¶
- config_client.go
- create_config_parameters.go
- create_config_responses.go
- create_config_type_parameters.go
- create_config_type_responses.go
- delete_config_parameters.go
- delete_config_responses.go
- delete_config_type_parameters.go
- delete_config_type_responses.go
- detail_config_parameters.go
- detail_config_responses.go
- detail_config_type_parameters.go
- detail_config_type_responses.go
- list_config_types_parameters.go
- list_config_types_responses.go
- list_configs_for_config_type_parameters.go
- list_configs_for_config_type_responses.go
- list_configs_parameters.go
- list_configs_responses.go
- patch_config_parameters.go
- patch_config_responses.go
- patch_config_type_parameters.go
- patch_config_type_responses.go
- update_config_parameters.go
- update_config_responses.go
- update_config_type_parameters.go
- update_config_type_responses.go