Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateClusterAppConfig(params *CreateClusterAppConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateClusterAppConfigOK, error)
- func (a *Client) DeleteClusterAppConfig(params *DeleteClusterAppConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteClusterAppConfigOK, error)
- func (a *Client) GetClusterAppConfig(params *GetClusterAppConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetClusterAppConfigOK, error)
- func (a *Client) ModifyClusterAppConfig(params *ModifyClusterAppConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyClusterAppConfigOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateClusterAppConfigBadRequest
- type CreateClusterAppConfigConflict
- type CreateClusterAppConfigDefault
- type CreateClusterAppConfigOK
- type CreateClusterAppConfigParams
- func NewCreateClusterAppConfigParams() *CreateClusterAppConfigParams
- func NewCreateClusterAppConfigParamsWithContext(ctx context.Context) *CreateClusterAppConfigParams
- func NewCreateClusterAppConfigParamsWithHTTPClient(client *http.Client) *CreateClusterAppConfigParams
- func NewCreateClusterAppConfigParamsWithTimeout(timeout time.Duration) *CreateClusterAppConfigParams
- func (o *CreateClusterAppConfigParams) SetAppName(appName string)
- func (o *CreateClusterAppConfigParams) SetAuthorization(authorization string)
- func (o *CreateClusterAppConfigParams) SetBody(body models.V4CreateAppConfigRequest)
- func (o *CreateClusterAppConfigParams) SetClusterID(clusterID string)
- func (o *CreateClusterAppConfigParams) SetContext(ctx context.Context)
- func (o *CreateClusterAppConfigParams) SetHTTPClient(client *http.Client)
- func (o *CreateClusterAppConfigParams) SetTimeout(timeout time.Duration)
- func (o *CreateClusterAppConfigParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *CreateClusterAppConfigParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *CreateClusterAppConfigParams) SetXRequestID(xRequestID *string)
- func (o *CreateClusterAppConfigParams) WithAppName(appName string) *CreateClusterAppConfigParams
- func (o *CreateClusterAppConfigParams) WithAuthorization(authorization string) *CreateClusterAppConfigParams
- func (o *CreateClusterAppConfigParams) WithBody(body models.V4CreateAppConfigRequest) *CreateClusterAppConfigParams
- func (o *CreateClusterAppConfigParams) WithClusterID(clusterID string) *CreateClusterAppConfigParams
- func (o *CreateClusterAppConfigParams) WithContext(ctx context.Context) *CreateClusterAppConfigParams
- func (o *CreateClusterAppConfigParams) WithHTTPClient(client *http.Client) *CreateClusterAppConfigParams
- func (o *CreateClusterAppConfigParams) WithTimeout(timeout time.Duration) *CreateClusterAppConfigParams
- func (o *CreateClusterAppConfigParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *CreateClusterAppConfigParams
- func (o *CreateClusterAppConfigParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *CreateClusterAppConfigParams
- func (o *CreateClusterAppConfigParams) WithXRequestID(xRequestID *string) *CreateClusterAppConfigParams
- func (o *CreateClusterAppConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateClusterAppConfigReader
- type CreateClusterAppConfigUnauthorized
- type DeleteClusterAppConfigDefault
- type DeleteClusterAppConfigNotFound
- type DeleteClusterAppConfigOK
- type DeleteClusterAppConfigParams
- func NewDeleteClusterAppConfigParams() *DeleteClusterAppConfigParams
- func NewDeleteClusterAppConfigParamsWithContext(ctx context.Context) *DeleteClusterAppConfigParams
- func NewDeleteClusterAppConfigParamsWithHTTPClient(client *http.Client) *DeleteClusterAppConfigParams
- func NewDeleteClusterAppConfigParamsWithTimeout(timeout time.Duration) *DeleteClusterAppConfigParams
- func (o *DeleteClusterAppConfigParams) SetAppName(appName string)
- func (o *DeleteClusterAppConfigParams) SetAuthorization(authorization string)
- func (o *DeleteClusterAppConfigParams) SetClusterID(clusterID string)
- func (o *DeleteClusterAppConfigParams) SetContext(ctx context.Context)
- func (o *DeleteClusterAppConfigParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterAppConfigParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterAppConfigParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *DeleteClusterAppConfigParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *DeleteClusterAppConfigParams) SetXRequestID(xRequestID *string)
- func (o *DeleteClusterAppConfigParams) WithAppName(appName string) *DeleteClusterAppConfigParams
- func (o *DeleteClusterAppConfigParams) WithAuthorization(authorization string) *DeleteClusterAppConfigParams
- func (o *DeleteClusterAppConfigParams) WithClusterID(clusterID string) *DeleteClusterAppConfigParams
- func (o *DeleteClusterAppConfigParams) WithContext(ctx context.Context) *DeleteClusterAppConfigParams
- func (o *DeleteClusterAppConfigParams) WithHTTPClient(client *http.Client) *DeleteClusterAppConfigParams
- func (o *DeleteClusterAppConfigParams) WithTimeout(timeout time.Duration) *DeleteClusterAppConfigParams
- func (o *DeleteClusterAppConfigParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *DeleteClusterAppConfigParams
- func (o *DeleteClusterAppConfigParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *DeleteClusterAppConfigParams
- func (o *DeleteClusterAppConfigParams) WithXRequestID(xRequestID *string) *DeleteClusterAppConfigParams
- func (o *DeleteClusterAppConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterAppConfigReader
- type DeleteClusterAppConfigUnauthorized
- type GetClusterAppConfigNotFound
- type GetClusterAppConfigOK
- type GetClusterAppConfigParams
- func NewGetClusterAppConfigParams() *GetClusterAppConfigParams
- func NewGetClusterAppConfigParamsWithContext(ctx context.Context) *GetClusterAppConfigParams
- func NewGetClusterAppConfigParamsWithHTTPClient(client *http.Client) *GetClusterAppConfigParams
- func NewGetClusterAppConfigParamsWithTimeout(timeout time.Duration) *GetClusterAppConfigParams
- func (o *GetClusterAppConfigParams) SetAppName(appName string)
- func (o *GetClusterAppConfigParams) SetAuthorization(authorization string)
- func (o *GetClusterAppConfigParams) SetClusterID(clusterID string)
- func (o *GetClusterAppConfigParams) SetContext(ctx context.Context)
- func (o *GetClusterAppConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterAppConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterAppConfigParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *GetClusterAppConfigParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *GetClusterAppConfigParams) SetXRequestID(xRequestID *string)
- func (o *GetClusterAppConfigParams) WithAppName(appName string) *GetClusterAppConfigParams
- func (o *GetClusterAppConfigParams) WithAuthorization(authorization string) *GetClusterAppConfigParams
- func (o *GetClusterAppConfigParams) WithClusterID(clusterID string) *GetClusterAppConfigParams
- func (o *GetClusterAppConfigParams) WithContext(ctx context.Context) *GetClusterAppConfigParams
- func (o *GetClusterAppConfigParams) WithHTTPClient(client *http.Client) *GetClusterAppConfigParams
- func (o *GetClusterAppConfigParams) WithTimeout(timeout time.Duration) *GetClusterAppConfigParams
- func (o *GetClusterAppConfigParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *GetClusterAppConfigParams
- func (o *GetClusterAppConfigParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *GetClusterAppConfigParams
- func (o *GetClusterAppConfigParams) WithXRequestID(xRequestID *string) *GetClusterAppConfigParams
- func (o *GetClusterAppConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterAppConfigReader
- type GetClusterAppConfigUnauthorized
- type ModifyClusterAppConfigBadRequest
- type ModifyClusterAppConfigDefault
- type ModifyClusterAppConfigOK
- type ModifyClusterAppConfigParams
- func NewModifyClusterAppConfigParams() *ModifyClusterAppConfigParams
- func NewModifyClusterAppConfigParamsWithContext(ctx context.Context) *ModifyClusterAppConfigParams
- func NewModifyClusterAppConfigParamsWithHTTPClient(client *http.Client) *ModifyClusterAppConfigParams
- func NewModifyClusterAppConfigParamsWithTimeout(timeout time.Duration) *ModifyClusterAppConfigParams
- func (o *ModifyClusterAppConfigParams) SetAppName(appName string)
- func (o *ModifyClusterAppConfigParams) SetAuthorization(authorization string)
- func (o *ModifyClusterAppConfigParams) SetBody(body models.V4CreateAppConfigRequest)
- func (o *ModifyClusterAppConfigParams) SetClusterID(clusterID string)
- func (o *ModifyClusterAppConfigParams) SetContext(ctx context.Context)
- func (o *ModifyClusterAppConfigParams) SetHTTPClient(client *http.Client)
- func (o *ModifyClusterAppConfigParams) SetTimeout(timeout time.Duration)
- func (o *ModifyClusterAppConfigParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *ModifyClusterAppConfigParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *ModifyClusterAppConfigParams) SetXRequestID(xRequestID *string)
- func (o *ModifyClusterAppConfigParams) WithAppName(appName string) *ModifyClusterAppConfigParams
- func (o *ModifyClusterAppConfigParams) WithAuthorization(authorization string) *ModifyClusterAppConfigParams
- func (o *ModifyClusterAppConfigParams) WithBody(body models.V4CreateAppConfigRequest) *ModifyClusterAppConfigParams
- func (o *ModifyClusterAppConfigParams) WithClusterID(clusterID string) *ModifyClusterAppConfigParams
- func (o *ModifyClusterAppConfigParams) WithContext(ctx context.Context) *ModifyClusterAppConfigParams
- func (o *ModifyClusterAppConfigParams) WithHTTPClient(client *http.Client) *ModifyClusterAppConfigParams
- func (o *ModifyClusterAppConfigParams) WithTimeout(timeout time.Duration) *ModifyClusterAppConfigParams
- func (o *ModifyClusterAppConfigParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *ModifyClusterAppConfigParams
- func (o *ModifyClusterAppConfigParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *ModifyClusterAppConfigParams
- func (o *ModifyClusterAppConfigParams) WithXRequestID(xRequestID *string) *ModifyClusterAppConfigParams
- func (o *ModifyClusterAppConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyClusterAppConfigReader
- type ModifyClusterAppConfigUnauthorized
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 app configs API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new app configs API client.
func (*Client) CreateClusterAppConfig ¶
func (a *Client) CreateClusterAppConfig(params *CreateClusterAppConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateClusterAppConfigOK, error)
CreateClusterAppConfig creates app config
This operation allows you to create a values configmap for a specific app. The app does not have to exist before hand.
If the app does exist, this endpoint will ensure that the App CR gets it's user_config field set correctly.
However, if the app exists and the user_config is already set to something, then this request will fail. You will in that case most likely want to update the config using the `PATCH /v4/clusters/{cluster_id}/apps/{app_name}/config/` endpoint.
### Example POST request ```json
{ "agent": { "key": "secret-key-here", "endpointHost": "saas-eu-west-1.instana.io", "endpointPort": "443", }, "zone": { "name": "giantswarm-cluster" } }
```
func (*Client) DeleteClusterAppConfig ¶
func (a *Client) DeleteClusterAppConfig(params *DeleteClusterAppConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteClusterAppConfigOK, error)
DeleteClusterAppConfig deletes an app config
This operation allows a user to delete an app's user config if it has been named according to the convention of {app-name}-user-values and stored in the cluster ID namespace.
Calling this endpoint will delete the ConfigMap, but it does not remove the reference to the ConfigMap in the (spec.user_config.configmap field) from the app.
Do make sure you also update the app and remove the reference.
The preferred order is to first remove the reference to the configmap by updating the app, and only then delete the configmap using this endpoint.
func (*Client) GetClusterAppConfig ¶
func (a *Client) GetClusterAppConfig(params *GetClusterAppConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetClusterAppConfigOK, error)
GetClusterAppConfig gets app config
This operation allows you to fetch the user values configmap associated with an app.
func (*Client) ModifyClusterAppConfig ¶
func (a *Client) ModifyClusterAppConfig(params *ModifyClusterAppConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyClusterAppConfigOK, error)
ModifyClusterAppConfig modifies app config
This operation allows you to modify the values configmap for a specific app. It's only possible to modify app configs that have been named according to the convention of {app-name}-user-values and stored in the cluster ID namespace.
The full values key of the configmap will be replaced by the JSON body of your request.
### Example PATCH request ```json
{ "agent": { "key": "a-new-key-here", } }
```
If the configmap contained content like:
```json
{ "agent": { "key": "an-old-key-here", "admin": true, }, "server": { "url": "giantswarm.io", } }
```
Then the "server" and "admin" keys will be removed.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateClusterAppConfigBadRequest ¶
type CreateClusterAppConfigBadRequest struct {
Payload *models.V4GenericResponse
}
CreateClusterAppConfigBadRequest handles this case with default header values.
Invalid input
func NewCreateClusterAppConfigBadRequest ¶
func NewCreateClusterAppConfigBadRequest() *CreateClusterAppConfigBadRequest
NewCreateClusterAppConfigBadRequest creates a CreateClusterAppConfigBadRequest with default headers values
func (*CreateClusterAppConfigBadRequest) Error ¶
func (o *CreateClusterAppConfigBadRequest) Error() string
type CreateClusterAppConfigConflict ¶
type CreateClusterAppConfigConflict struct {
Payload *models.V4GenericResponse
}
CreateClusterAppConfigConflict handles this case with default header values.
App config already exists
func NewCreateClusterAppConfigConflict ¶
func NewCreateClusterAppConfigConflict() *CreateClusterAppConfigConflict
NewCreateClusterAppConfigConflict creates a CreateClusterAppConfigConflict with default headers values
func (*CreateClusterAppConfigConflict) Error ¶
func (o *CreateClusterAppConfigConflict) Error() string
type CreateClusterAppConfigDefault ¶
type CreateClusterAppConfigDefault struct { Payload *models.V4GenericResponse // contains filtered or unexported fields }
CreateClusterAppConfigDefault handles this case with default header values.
Error
func NewCreateClusterAppConfigDefault ¶
func NewCreateClusterAppConfigDefault(code int) *CreateClusterAppConfigDefault
NewCreateClusterAppConfigDefault creates a CreateClusterAppConfigDefault with default headers values
func (*CreateClusterAppConfigDefault) Code ¶
func (o *CreateClusterAppConfigDefault) Code() int
Code gets the status code for the create cluster app config default response
func (*CreateClusterAppConfigDefault) Error ¶
func (o *CreateClusterAppConfigDefault) Error() string
type CreateClusterAppConfigOK ¶
type CreateClusterAppConfigOK struct {
Payload *models.V4GenericResponse
}
CreateClusterAppConfigOK handles this case with default header values.
Success
func NewCreateClusterAppConfigOK ¶
func NewCreateClusterAppConfigOK() *CreateClusterAppConfigOK
NewCreateClusterAppConfigOK creates a CreateClusterAppConfigOK with default headers values
func (*CreateClusterAppConfigOK) Error ¶
func (o *CreateClusterAppConfigOK) Error() string
type CreateClusterAppConfigParams ¶
type CreateClusterAppConfigParams struct { /*Authorization As described in the [authentication](#section/Authentication) section */ Authorization string /*XGiantSwarmActivity Name of an activity to track, like "list-clusters". This allows to analyze several API requests sent in context and gives an idea on the purpose. */ XGiantSwarmActivity *string /*XGiantSwarmCmdLine If activity has been issued by a CLI, this header can contain the command line */ XGiantSwarmCmdLine *string /*XRequestID A randomly generated key that can be used to track a request throughout services of Giant Swarm. */ XRequestID *string /*AppName App Name */ AppName string /*Body*/ Body models.V4CreateAppConfigRequest /*ClusterID Cluster ID */ ClusterID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateClusterAppConfigParams contains all the parameters to send to the API endpoint for the create cluster app config operation typically these are written to a http.Request
func NewCreateClusterAppConfigParams ¶
func NewCreateClusterAppConfigParams() *CreateClusterAppConfigParams
NewCreateClusterAppConfigParams creates a new CreateClusterAppConfigParams object with the default values initialized.
func NewCreateClusterAppConfigParamsWithContext ¶
func NewCreateClusterAppConfigParamsWithContext(ctx context.Context) *CreateClusterAppConfigParams
NewCreateClusterAppConfigParamsWithContext creates a new CreateClusterAppConfigParams object with the default values initialized, and the ability to set a context for a request
func NewCreateClusterAppConfigParamsWithHTTPClient ¶
func NewCreateClusterAppConfigParamsWithHTTPClient(client *http.Client) *CreateClusterAppConfigParams
NewCreateClusterAppConfigParamsWithHTTPClient creates a new CreateClusterAppConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateClusterAppConfigParamsWithTimeout ¶
func NewCreateClusterAppConfigParamsWithTimeout(timeout time.Duration) *CreateClusterAppConfigParams
NewCreateClusterAppConfigParamsWithTimeout creates a new CreateClusterAppConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateClusterAppConfigParams) SetAppName ¶
func (o *CreateClusterAppConfigParams) SetAppName(appName string)
SetAppName adds the appName to the create cluster app config params
func (*CreateClusterAppConfigParams) SetAuthorization ¶
func (o *CreateClusterAppConfigParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the create cluster app config params
func (*CreateClusterAppConfigParams) SetBody ¶
func (o *CreateClusterAppConfigParams) SetBody(body models.V4CreateAppConfigRequest)
SetBody adds the body to the create cluster app config params
func (*CreateClusterAppConfigParams) SetClusterID ¶
func (o *CreateClusterAppConfigParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the create cluster app config params
func (*CreateClusterAppConfigParams) SetContext ¶
func (o *CreateClusterAppConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the create cluster app config params
func (*CreateClusterAppConfigParams) SetHTTPClient ¶
func (o *CreateClusterAppConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create cluster app config params
func (*CreateClusterAppConfigParams) SetTimeout ¶
func (o *CreateClusterAppConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create cluster app config params
func (*CreateClusterAppConfigParams) SetXGiantSwarmActivity ¶
func (o *CreateClusterAppConfigParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the create cluster app config params
func (*CreateClusterAppConfigParams) SetXGiantSwarmCmdLine ¶
func (o *CreateClusterAppConfigParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the create cluster app config params
func (*CreateClusterAppConfigParams) SetXRequestID ¶
func (o *CreateClusterAppConfigParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create cluster app config params
func (*CreateClusterAppConfigParams) WithAppName ¶
func (o *CreateClusterAppConfigParams) WithAppName(appName string) *CreateClusterAppConfigParams
WithAppName adds the appName to the create cluster app config params
func (*CreateClusterAppConfigParams) WithAuthorization ¶
func (o *CreateClusterAppConfigParams) WithAuthorization(authorization string) *CreateClusterAppConfigParams
WithAuthorization adds the authorization to the create cluster app config params
func (*CreateClusterAppConfigParams) WithBody ¶
func (o *CreateClusterAppConfigParams) WithBody(body models.V4CreateAppConfigRequest) *CreateClusterAppConfigParams
WithBody adds the body to the create cluster app config params
func (*CreateClusterAppConfigParams) WithClusterID ¶
func (o *CreateClusterAppConfigParams) WithClusterID(clusterID string) *CreateClusterAppConfigParams
WithClusterID adds the clusterID to the create cluster app config params
func (*CreateClusterAppConfigParams) WithContext ¶
func (o *CreateClusterAppConfigParams) WithContext(ctx context.Context) *CreateClusterAppConfigParams
WithContext adds the context to the create cluster app config params
func (*CreateClusterAppConfigParams) WithHTTPClient ¶
func (o *CreateClusterAppConfigParams) WithHTTPClient(client *http.Client) *CreateClusterAppConfigParams
WithHTTPClient adds the HTTPClient to the create cluster app config params
func (*CreateClusterAppConfigParams) WithTimeout ¶
func (o *CreateClusterAppConfigParams) WithTimeout(timeout time.Duration) *CreateClusterAppConfigParams
WithTimeout adds the timeout to the create cluster app config params
func (*CreateClusterAppConfigParams) WithXGiantSwarmActivity ¶
func (o *CreateClusterAppConfigParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *CreateClusterAppConfigParams
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the create cluster app config params
func (*CreateClusterAppConfigParams) WithXGiantSwarmCmdLine ¶
func (o *CreateClusterAppConfigParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *CreateClusterAppConfigParams
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the create cluster app config params
func (*CreateClusterAppConfigParams) WithXRequestID ¶
func (o *CreateClusterAppConfigParams) WithXRequestID(xRequestID *string) *CreateClusterAppConfigParams
WithXRequestID adds the xRequestID to the create cluster app config params
func (*CreateClusterAppConfigParams) WriteToRequest ¶
func (o *CreateClusterAppConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateClusterAppConfigReader ¶
type CreateClusterAppConfigReader struct {
// contains filtered or unexported fields
}
CreateClusterAppConfigReader is a Reader for the CreateClusterAppConfig structure.
func (*CreateClusterAppConfigReader) ReadResponse ¶
func (o *CreateClusterAppConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateClusterAppConfigUnauthorized ¶
type CreateClusterAppConfigUnauthorized struct {
}CreateClusterAppConfigUnauthorized handles this case with default header values.
Permission denied
func NewCreateClusterAppConfigUnauthorized ¶
func NewCreateClusterAppConfigUnauthorized() *CreateClusterAppConfigUnauthorized
NewCreateClusterAppConfigUnauthorized creates a CreateClusterAppConfigUnauthorized with default headers values
func (*CreateClusterAppConfigUnauthorized) Error ¶
func (o *CreateClusterAppConfigUnauthorized) Error() string
type DeleteClusterAppConfigDefault ¶
type DeleteClusterAppConfigDefault struct { Payload *models.V4GenericResponse // contains filtered or unexported fields }
DeleteClusterAppConfigDefault handles this case with default header values.
Error
func NewDeleteClusterAppConfigDefault ¶
func NewDeleteClusterAppConfigDefault(code int) *DeleteClusterAppConfigDefault
NewDeleteClusterAppConfigDefault creates a DeleteClusterAppConfigDefault with default headers values
func (*DeleteClusterAppConfigDefault) Code ¶
func (o *DeleteClusterAppConfigDefault) Code() int
Code gets the status code for the delete cluster app config default response
func (*DeleteClusterAppConfigDefault) Error ¶
func (o *DeleteClusterAppConfigDefault) Error() string
type DeleteClusterAppConfigNotFound ¶
type DeleteClusterAppConfigNotFound struct {
Payload *models.V4GenericResponse
}
DeleteClusterAppConfigNotFound handles this case with default header values.
App Config not found
func NewDeleteClusterAppConfigNotFound ¶
func NewDeleteClusterAppConfigNotFound() *DeleteClusterAppConfigNotFound
NewDeleteClusterAppConfigNotFound creates a DeleteClusterAppConfigNotFound with default headers values
func (*DeleteClusterAppConfigNotFound) Error ¶
func (o *DeleteClusterAppConfigNotFound) Error() string
type DeleteClusterAppConfigOK ¶
type DeleteClusterAppConfigOK struct {
Payload *models.V4GenericResponse
}
DeleteClusterAppConfigOK handles this case with default header values.
App Config deleted
func NewDeleteClusterAppConfigOK ¶
func NewDeleteClusterAppConfigOK() *DeleteClusterAppConfigOK
NewDeleteClusterAppConfigOK creates a DeleteClusterAppConfigOK with default headers values
func (*DeleteClusterAppConfigOK) Error ¶
func (o *DeleteClusterAppConfigOK) Error() string
type DeleteClusterAppConfigParams ¶
type DeleteClusterAppConfigParams struct { /*Authorization As described in the [authentication](#section/Authentication) section */ Authorization string /*XGiantSwarmActivity Name of an activity to track, like "list-clusters". This allows to analyze several API requests sent in context and gives an idea on the purpose. */ XGiantSwarmActivity *string /*XGiantSwarmCmdLine If activity has been issued by a CLI, this header can contain the command line */ XGiantSwarmCmdLine *string /*XRequestID A randomly generated key that can be used to track a request throughout services of Giant Swarm. */ XRequestID *string /*AppName App Name */ AppName string /*ClusterID Cluster ID */ ClusterID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClusterAppConfigParams contains all the parameters to send to the API endpoint for the delete cluster app config operation typically these are written to a http.Request
func NewDeleteClusterAppConfigParams ¶
func NewDeleteClusterAppConfigParams() *DeleteClusterAppConfigParams
NewDeleteClusterAppConfigParams creates a new DeleteClusterAppConfigParams object with the default values initialized.
func NewDeleteClusterAppConfigParamsWithContext ¶
func NewDeleteClusterAppConfigParamsWithContext(ctx context.Context) *DeleteClusterAppConfigParams
NewDeleteClusterAppConfigParamsWithContext creates a new DeleteClusterAppConfigParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteClusterAppConfigParamsWithHTTPClient ¶
func NewDeleteClusterAppConfigParamsWithHTTPClient(client *http.Client) *DeleteClusterAppConfigParams
NewDeleteClusterAppConfigParamsWithHTTPClient creates a new DeleteClusterAppConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteClusterAppConfigParamsWithTimeout ¶
func NewDeleteClusterAppConfigParamsWithTimeout(timeout time.Duration) *DeleteClusterAppConfigParams
NewDeleteClusterAppConfigParamsWithTimeout creates a new DeleteClusterAppConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteClusterAppConfigParams) SetAppName ¶
func (o *DeleteClusterAppConfigParams) SetAppName(appName string)
SetAppName adds the appName to the delete cluster app config params
func (*DeleteClusterAppConfigParams) SetAuthorization ¶
func (o *DeleteClusterAppConfigParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the delete cluster app config params
func (*DeleteClusterAppConfigParams) SetClusterID ¶
func (o *DeleteClusterAppConfigParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the delete cluster app config params
func (*DeleteClusterAppConfigParams) SetContext ¶
func (o *DeleteClusterAppConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster app config params
func (*DeleteClusterAppConfigParams) SetHTTPClient ¶
func (o *DeleteClusterAppConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster app config params
func (*DeleteClusterAppConfigParams) SetTimeout ¶
func (o *DeleteClusterAppConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster app config params
func (*DeleteClusterAppConfigParams) SetXGiantSwarmActivity ¶
func (o *DeleteClusterAppConfigParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the delete cluster app config params
func (*DeleteClusterAppConfigParams) SetXGiantSwarmCmdLine ¶
func (o *DeleteClusterAppConfigParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the delete cluster app config params
func (*DeleteClusterAppConfigParams) SetXRequestID ¶
func (o *DeleteClusterAppConfigParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete cluster app config params
func (*DeleteClusterAppConfigParams) WithAppName ¶
func (o *DeleteClusterAppConfigParams) WithAppName(appName string) *DeleteClusterAppConfigParams
WithAppName adds the appName to the delete cluster app config params
func (*DeleteClusterAppConfigParams) WithAuthorization ¶
func (o *DeleteClusterAppConfigParams) WithAuthorization(authorization string) *DeleteClusterAppConfigParams
WithAuthorization adds the authorization to the delete cluster app config params
func (*DeleteClusterAppConfigParams) WithClusterID ¶
func (o *DeleteClusterAppConfigParams) WithClusterID(clusterID string) *DeleteClusterAppConfigParams
WithClusterID adds the clusterID to the delete cluster app config params
func (*DeleteClusterAppConfigParams) WithContext ¶
func (o *DeleteClusterAppConfigParams) WithContext(ctx context.Context) *DeleteClusterAppConfigParams
WithContext adds the context to the delete cluster app config params
func (*DeleteClusterAppConfigParams) WithHTTPClient ¶
func (o *DeleteClusterAppConfigParams) WithHTTPClient(client *http.Client) *DeleteClusterAppConfigParams
WithHTTPClient adds the HTTPClient to the delete cluster app config params
func (*DeleteClusterAppConfigParams) WithTimeout ¶
func (o *DeleteClusterAppConfigParams) WithTimeout(timeout time.Duration) *DeleteClusterAppConfigParams
WithTimeout adds the timeout to the delete cluster app config params
func (*DeleteClusterAppConfigParams) WithXGiantSwarmActivity ¶
func (o *DeleteClusterAppConfigParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *DeleteClusterAppConfigParams
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the delete cluster app config params
func (*DeleteClusterAppConfigParams) WithXGiantSwarmCmdLine ¶
func (o *DeleteClusterAppConfigParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *DeleteClusterAppConfigParams
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the delete cluster app config params
func (*DeleteClusterAppConfigParams) WithXRequestID ¶
func (o *DeleteClusterAppConfigParams) WithXRequestID(xRequestID *string) *DeleteClusterAppConfigParams
WithXRequestID adds the xRequestID to the delete cluster app config params
func (*DeleteClusterAppConfigParams) WriteToRequest ¶
func (o *DeleteClusterAppConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterAppConfigReader ¶
type DeleteClusterAppConfigReader struct {
// contains filtered or unexported fields
}
DeleteClusterAppConfigReader is a Reader for the DeleteClusterAppConfig structure.
func (*DeleteClusterAppConfigReader) ReadResponse ¶
func (o *DeleteClusterAppConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClusterAppConfigUnauthorized ¶
type DeleteClusterAppConfigUnauthorized struct {
}DeleteClusterAppConfigUnauthorized handles this case with default header values.
Permission denied
func NewDeleteClusterAppConfigUnauthorized ¶
func NewDeleteClusterAppConfigUnauthorized() *DeleteClusterAppConfigUnauthorized
NewDeleteClusterAppConfigUnauthorized creates a DeleteClusterAppConfigUnauthorized with default headers values
func (*DeleteClusterAppConfigUnauthorized) Error ¶
func (o *DeleteClusterAppConfigUnauthorized) Error() string
type GetClusterAppConfigNotFound ¶
type GetClusterAppConfigNotFound struct {
Payload *models.V4GenericResponse
}
GetClusterAppConfigNotFound handles this case with default header values.
App Config not found
func NewGetClusterAppConfigNotFound ¶
func NewGetClusterAppConfigNotFound() *GetClusterAppConfigNotFound
NewGetClusterAppConfigNotFound creates a GetClusterAppConfigNotFound with default headers values
func (*GetClusterAppConfigNotFound) Error ¶
func (o *GetClusterAppConfigNotFound) Error() string
type GetClusterAppConfigOK ¶
type GetClusterAppConfigOK struct {
Payload models.V4GetClusterAppConfigResponse
}
GetClusterAppConfigOK handles this case with default header values.
Success
func NewGetClusterAppConfigOK ¶
func NewGetClusterAppConfigOK() *GetClusterAppConfigOK
NewGetClusterAppConfigOK creates a GetClusterAppConfigOK with default headers values
func (*GetClusterAppConfigOK) Error ¶
func (o *GetClusterAppConfigOK) Error() string
type GetClusterAppConfigParams ¶
type GetClusterAppConfigParams struct { /*Authorization As described in the [authentication](#section/Authentication) section */ Authorization string /*XGiantSwarmActivity Name of an activity to track, like "list-clusters". This allows to analyze several API requests sent in context and gives an idea on the purpose. */ XGiantSwarmActivity *string /*XGiantSwarmCmdLine If activity has been issued by a CLI, this header can contain the command line */ XGiantSwarmCmdLine *string /*XRequestID A randomly generated key that can be used to track a request throughout services of Giant Swarm. */ XRequestID *string /*AppName App Name */ AppName string /*ClusterID Cluster ID */ ClusterID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterAppConfigParams contains all the parameters to send to the API endpoint for the get cluster app config operation typically these are written to a http.Request
func NewGetClusterAppConfigParams ¶
func NewGetClusterAppConfigParams() *GetClusterAppConfigParams
NewGetClusterAppConfigParams creates a new GetClusterAppConfigParams object with the default values initialized.
func NewGetClusterAppConfigParamsWithContext ¶
func NewGetClusterAppConfigParamsWithContext(ctx context.Context) *GetClusterAppConfigParams
NewGetClusterAppConfigParamsWithContext creates a new GetClusterAppConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGetClusterAppConfigParamsWithHTTPClient ¶
func NewGetClusterAppConfigParamsWithHTTPClient(client *http.Client) *GetClusterAppConfigParams
NewGetClusterAppConfigParamsWithHTTPClient creates a new GetClusterAppConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetClusterAppConfigParamsWithTimeout ¶
func NewGetClusterAppConfigParamsWithTimeout(timeout time.Duration) *GetClusterAppConfigParams
NewGetClusterAppConfigParamsWithTimeout creates a new GetClusterAppConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetClusterAppConfigParams) SetAppName ¶
func (o *GetClusterAppConfigParams) SetAppName(appName string)
SetAppName adds the appName to the get cluster app config params
func (*GetClusterAppConfigParams) SetAuthorization ¶
func (o *GetClusterAppConfigParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get cluster app config params
func (*GetClusterAppConfigParams) SetClusterID ¶
func (o *GetClusterAppConfigParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the get cluster app config params
func (*GetClusterAppConfigParams) SetContext ¶
func (o *GetClusterAppConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster app config params
func (*GetClusterAppConfigParams) SetHTTPClient ¶
func (o *GetClusterAppConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster app config params
func (*GetClusterAppConfigParams) SetTimeout ¶
func (o *GetClusterAppConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster app config params
func (*GetClusterAppConfigParams) SetXGiantSwarmActivity ¶
func (o *GetClusterAppConfigParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the get cluster app config params
func (*GetClusterAppConfigParams) SetXGiantSwarmCmdLine ¶
func (o *GetClusterAppConfigParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the get cluster app config params
func (*GetClusterAppConfigParams) SetXRequestID ¶
func (o *GetClusterAppConfigParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get cluster app config params
func (*GetClusterAppConfigParams) WithAppName ¶
func (o *GetClusterAppConfigParams) WithAppName(appName string) *GetClusterAppConfigParams
WithAppName adds the appName to the get cluster app config params
func (*GetClusterAppConfigParams) WithAuthorization ¶
func (o *GetClusterAppConfigParams) WithAuthorization(authorization string) *GetClusterAppConfigParams
WithAuthorization adds the authorization to the get cluster app config params
func (*GetClusterAppConfigParams) WithClusterID ¶
func (o *GetClusterAppConfigParams) WithClusterID(clusterID string) *GetClusterAppConfigParams
WithClusterID adds the clusterID to the get cluster app config params
func (*GetClusterAppConfigParams) WithContext ¶
func (o *GetClusterAppConfigParams) WithContext(ctx context.Context) *GetClusterAppConfigParams
WithContext adds the context to the get cluster app config params
func (*GetClusterAppConfigParams) WithHTTPClient ¶
func (o *GetClusterAppConfigParams) WithHTTPClient(client *http.Client) *GetClusterAppConfigParams
WithHTTPClient adds the HTTPClient to the get cluster app config params
func (*GetClusterAppConfigParams) WithTimeout ¶
func (o *GetClusterAppConfigParams) WithTimeout(timeout time.Duration) *GetClusterAppConfigParams
WithTimeout adds the timeout to the get cluster app config params
func (*GetClusterAppConfigParams) WithXGiantSwarmActivity ¶
func (o *GetClusterAppConfigParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *GetClusterAppConfigParams
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the get cluster app config params
func (*GetClusterAppConfigParams) WithXGiantSwarmCmdLine ¶
func (o *GetClusterAppConfigParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *GetClusterAppConfigParams
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the get cluster app config params
func (*GetClusterAppConfigParams) WithXRequestID ¶
func (o *GetClusterAppConfigParams) WithXRequestID(xRequestID *string) *GetClusterAppConfigParams
WithXRequestID adds the xRequestID to the get cluster app config params
func (*GetClusterAppConfigParams) WriteToRequest ¶
func (o *GetClusterAppConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterAppConfigReader ¶
type GetClusterAppConfigReader struct {
// contains filtered or unexported fields
}
GetClusterAppConfigReader is a Reader for the GetClusterAppConfig structure.
func (*GetClusterAppConfigReader) ReadResponse ¶
func (o *GetClusterAppConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterAppConfigUnauthorized ¶
type GetClusterAppConfigUnauthorized struct {
}GetClusterAppConfigUnauthorized handles this case with default header values.
Permission denied
func NewGetClusterAppConfigUnauthorized ¶
func NewGetClusterAppConfigUnauthorized() *GetClusterAppConfigUnauthorized
NewGetClusterAppConfigUnauthorized creates a GetClusterAppConfigUnauthorized with default headers values
func (*GetClusterAppConfigUnauthorized) Error ¶
func (o *GetClusterAppConfigUnauthorized) Error() string
type ModifyClusterAppConfigBadRequest ¶
type ModifyClusterAppConfigBadRequest struct {
Payload *models.V4GenericResponse
}
ModifyClusterAppConfigBadRequest handles this case with default header values.
Invalid input
func NewModifyClusterAppConfigBadRequest ¶
func NewModifyClusterAppConfigBadRequest() *ModifyClusterAppConfigBadRequest
NewModifyClusterAppConfigBadRequest creates a ModifyClusterAppConfigBadRequest with default headers values
func (*ModifyClusterAppConfigBadRequest) Error ¶
func (o *ModifyClusterAppConfigBadRequest) Error() string
type ModifyClusterAppConfigDefault ¶
type ModifyClusterAppConfigDefault struct { Payload *models.V4GenericResponse // contains filtered or unexported fields }
ModifyClusterAppConfigDefault handles this case with default header values.
Error
func NewModifyClusterAppConfigDefault ¶
func NewModifyClusterAppConfigDefault(code int) *ModifyClusterAppConfigDefault
NewModifyClusterAppConfigDefault creates a ModifyClusterAppConfigDefault with default headers values
func (*ModifyClusterAppConfigDefault) Code ¶
func (o *ModifyClusterAppConfigDefault) Code() int
Code gets the status code for the modify cluster app config default response
func (*ModifyClusterAppConfigDefault) Error ¶
func (o *ModifyClusterAppConfigDefault) Error() string
type ModifyClusterAppConfigOK ¶
type ModifyClusterAppConfigOK struct {
Payload *models.V4GenericResponse
}
ModifyClusterAppConfigOK handles this case with default header values.
Success
func NewModifyClusterAppConfigOK ¶
func NewModifyClusterAppConfigOK() *ModifyClusterAppConfigOK
NewModifyClusterAppConfigOK creates a ModifyClusterAppConfigOK with default headers values
func (*ModifyClusterAppConfigOK) Error ¶
func (o *ModifyClusterAppConfigOK) Error() string
type ModifyClusterAppConfigParams ¶
type ModifyClusterAppConfigParams struct { /*Authorization As described in the [authentication](#section/Authentication) section */ Authorization string /*XGiantSwarmActivity Name of an activity to track, like "list-clusters". This allows to analyze several API requests sent in context and gives an idea on the purpose. */ XGiantSwarmActivity *string /*XGiantSwarmCmdLine If activity has been issued by a CLI, this header can contain the command line */ XGiantSwarmCmdLine *string /*XRequestID A randomly generated key that can be used to track a request throughout services of Giant Swarm. */ XRequestID *string /*AppName App Name */ AppName string /*Body*/ Body models.V4CreateAppConfigRequest /*ClusterID Cluster ID */ ClusterID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ModifyClusterAppConfigParams contains all the parameters to send to the API endpoint for the modify cluster app config operation typically these are written to a http.Request
func NewModifyClusterAppConfigParams ¶
func NewModifyClusterAppConfigParams() *ModifyClusterAppConfigParams
NewModifyClusterAppConfigParams creates a new ModifyClusterAppConfigParams object with the default values initialized.
func NewModifyClusterAppConfigParamsWithContext ¶
func NewModifyClusterAppConfigParamsWithContext(ctx context.Context) *ModifyClusterAppConfigParams
NewModifyClusterAppConfigParamsWithContext creates a new ModifyClusterAppConfigParams object with the default values initialized, and the ability to set a context for a request
func NewModifyClusterAppConfigParamsWithHTTPClient ¶
func NewModifyClusterAppConfigParamsWithHTTPClient(client *http.Client) *ModifyClusterAppConfigParams
NewModifyClusterAppConfigParamsWithHTTPClient creates a new ModifyClusterAppConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewModifyClusterAppConfigParamsWithTimeout ¶
func NewModifyClusterAppConfigParamsWithTimeout(timeout time.Duration) *ModifyClusterAppConfigParams
NewModifyClusterAppConfigParamsWithTimeout creates a new ModifyClusterAppConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*ModifyClusterAppConfigParams) SetAppName ¶
func (o *ModifyClusterAppConfigParams) SetAppName(appName string)
SetAppName adds the appName to the modify cluster app config params
func (*ModifyClusterAppConfigParams) SetAuthorization ¶
func (o *ModifyClusterAppConfigParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the modify cluster app config params
func (*ModifyClusterAppConfigParams) SetBody ¶
func (o *ModifyClusterAppConfigParams) SetBody(body models.V4CreateAppConfigRequest)
SetBody adds the body to the modify cluster app config params
func (*ModifyClusterAppConfigParams) SetClusterID ¶
func (o *ModifyClusterAppConfigParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the modify cluster app config params
func (*ModifyClusterAppConfigParams) SetContext ¶
func (o *ModifyClusterAppConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the modify cluster app config params
func (*ModifyClusterAppConfigParams) SetHTTPClient ¶
func (o *ModifyClusterAppConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify cluster app config params
func (*ModifyClusterAppConfigParams) SetTimeout ¶
func (o *ModifyClusterAppConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify cluster app config params
func (*ModifyClusterAppConfigParams) SetXGiantSwarmActivity ¶
func (o *ModifyClusterAppConfigParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the modify cluster app config params
func (*ModifyClusterAppConfigParams) SetXGiantSwarmCmdLine ¶
func (o *ModifyClusterAppConfigParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the modify cluster app config params
func (*ModifyClusterAppConfigParams) SetXRequestID ¶
func (o *ModifyClusterAppConfigParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the modify cluster app config params
func (*ModifyClusterAppConfigParams) WithAppName ¶
func (o *ModifyClusterAppConfigParams) WithAppName(appName string) *ModifyClusterAppConfigParams
WithAppName adds the appName to the modify cluster app config params
func (*ModifyClusterAppConfigParams) WithAuthorization ¶
func (o *ModifyClusterAppConfigParams) WithAuthorization(authorization string) *ModifyClusterAppConfigParams
WithAuthorization adds the authorization to the modify cluster app config params
func (*ModifyClusterAppConfigParams) WithBody ¶
func (o *ModifyClusterAppConfigParams) WithBody(body models.V4CreateAppConfigRequest) *ModifyClusterAppConfigParams
WithBody adds the body to the modify cluster app config params
func (*ModifyClusterAppConfigParams) WithClusterID ¶
func (o *ModifyClusterAppConfigParams) WithClusterID(clusterID string) *ModifyClusterAppConfigParams
WithClusterID adds the clusterID to the modify cluster app config params
func (*ModifyClusterAppConfigParams) WithContext ¶
func (o *ModifyClusterAppConfigParams) WithContext(ctx context.Context) *ModifyClusterAppConfigParams
WithContext adds the context to the modify cluster app config params
func (*ModifyClusterAppConfigParams) WithHTTPClient ¶
func (o *ModifyClusterAppConfigParams) WithHTTPClient(client *http.Client) *ModifyClusterAppConfigParams
WithHTTPClient adds the HTTPClient to the modify cluster app config params
func (*ModifyClusterAppConfigParams) WithTimeout ¶
func (o *ModifyClusterAppConfigParams) WithTimeout(timeout time.Duration) *ModifyClusterAppConfigParams
WithTimeout adds the timeout to the modify cluster app config params
func (*ModifyClusterAppConfigParams) WithXGiantSwarmActivity ¶
func (o *ModifyClusterAppConfigParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *ModifyClusterAppConfigParams
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the modify cluster app config params
func (*ModifyClusterAppConfigParams) WithXGiantSwarmCmdLine ¶
func (o *ModifyClusterAppConfigParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *ModifyClusterAppConfigParams
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the modify cluster app config params
func (*ModifyClusterAppConfigParams) WithXRequestID ¶
func (o *ModifyClusterAppConfigParams) WithXRequestID(xRequestID *string) *ModifyClusterAppConfigParams
WithXRequestID adds the xRequestID to the modify cluster app config params
func (*ModifyClusterAppConfigParams) WriteToRequest ¶
func (o *ModifyClusterAppConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyClusterAppConfigReader ¶
type ModifyClusterAppConfigReader struct {
// contains filtered or unexported fields
}
ModifyClusterAppConfigReader is a Reader for the ModifyClusterAppConfig structure.
func (*ModifyClusterAppConfigReader) ReadResponse ¶
func (o *ModifyClusterAppConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyClusterAppConfigUnauthorized ¶
type ModifyClusterAppConfigUnauthorized struct {
}ModifyClusterAppConfigUnauthorized handles this case with default header values.
Permission denied
func NewModifyClusterAppConfigUnauthorized ¶
func NewModifyClusterAppConfigUnauthorized() *ModifyClusterAppConfigUnauthorized
NewModifyClusterAppConfigUnauthorized creates a ModifyClusterAppConfigUnauthorized with default headers values
func (*ModifyClusterAppConfigUnauthorized) Error ¶
func (o *ModifyClusterAppConfigUnauthorized) Error() string
Source Files
¶
- app_configs_client.go
- create_cluster_app_config_parameters.go
- create_cluster_app_config_responses.go
- delete_cluster_app_config_parameters.go
- delete_cluster_app_config_responses.go
- get_cluster_app_config_parameters.go
- get_cluster_app_config_responses.go
- modify_cluster_app_config_parameters.go
- modify_cluster_app_config_responses.go