Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateClusterAppSecret(params *CreateClusterAppSecretParams, authInfo runtime.ClientAuthInfoWriter) (*CreateClusterAppSecretOK, error)
- func (a *Client) DeleteClusterAppSecret(params *DeleteClusterAppSecretParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteClusterAppSecretOK, error)
- func (a *Client) GetClusterAppSecret(params *GetClusterAppSecretParams, authInfo runtime.ClientAuthInfoWriter) (*GetClusterAppSecretOK, error)
- func (a *Client) ModifyClusterAppSecret(params *ModifyClusterAppSecretParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyClusterAppSecretOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateClusterAppSecretBadRequest
- type CreateClusterAppSecretConflict
- type CreateClusterAppSecretDefault
- type CreateClusterAppSecretOK
- type CreateClusterAppSecretParams
- func NewCreateClusterAppSecretParams() *CreateClusterAppSecretParams
- func NewCreateClusterAppSecretParamsWithContext(ctx context.Context) *CreateClusterAppSecretParams
- func NewCreateClusterAppSecretParamsWithHTTPClient(client *http.Client) *CreateClusterAppSecretParams
- func NewCreateClusterAppSecretParamsWithTimeout(timeout time.Duration) *CreateClusterAppSecretParams
- func (o *CreateClusterAppSecretParams) SetAppName(appName string)
- func (o *CreateClusterAppSecretParams) SetBody(body models.V4CreateClusterAppSecretRequest)
- func (o *CreateClusterAppSecretParams) SetClusterID(clusterID string)
- func (o *CreateClusterAppSecretParams) SetContext(ctx context.Context)
- func (o *CreateClusterAppSecretParams) SetHTTPClient(client *http.Client)
- func (o *CreateClusterAppSecretParams) SetTimeout(timeout time.Duration)
- func (o *CreateClusterAppSecretParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *CreateClusterAppSecretParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *CreateClusterAppSecretParams) SetXRequestID(xRequestID *string)
- func (o *CreateClusterAppSecretParams) WithAppName(appName string) *CreateClusterAppSecretParams
- func (o *CreateClusterAppSecretParams) WithBody(body models.V4CreateClusterAppSecretRequest) *CreateClusterAppSecretParams
- func (o *CreateClusterAppSecretParams) WithClusterID(clusterID string) *CreateClusterAppSecretParams
- func (o *CreateClusterAppSecretParams) WithContext(ctx context.Context) *CreateClusterAppSecretParams
- func (o *CreateClusterAppSecretParams) WithHTTPClient(client *http.Client) *CreateClusterAppSecretParams
- func (o *CreateClusterAppSecretParams) WithTimeout(timeout time.Duration) *CreateClusterAppSecretParams
- func (o *CreateClusterAppSecretParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *CreateClusterAppSecretParams
- func (o *CreateClusterAppSecretParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *CreateClusterAppSecretParams
- func (o *CreateClusterAppSecretParams) WithXRequestID(xRequestID *string) *CreateClusterAppSecretParams
- func (o *CreateClusterAppSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateClusterAppSecretReader
- type CreateClusterAppSecretUnauthorized
- type DeleteClusterAppSecretDefault
- type DeleteClusterAppSecretNotFound
- type DeleteClusterAppSecretOK
- type DeleteClusterAppSecretParams
- func NewDeleteClusterAppSecretParams() *DeleteClusterAppSecretParams
- func NewDeleteClusterAppSecretParamsWithContext(ctx context.Context) *DeleteClusterAppSecretParams
- func NewDeleteClusterAppSecretParamsWithHTTPClient(client *http.Client) *DeleteClusterAppSecretParams
- func NewDeleteClusterAppSecretParamsWithTimeout(timeout time.Duration) *DeleteClusterAppSecretParams
- func (o *DeleteClusterAppSecretParams) SetAppName(appName string)
- func (o *DeleteClusterAppSecretParams) SetClusterID(clusterID string)
- func (o *DeleteClusterAppSecretParams) SetContext(ctx context.Context)
- func (o *DeleteClusterAppSecretParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterAppSecretParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterAppSecretParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *DeleteClusterAppSecretParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *DeleteClusterAppSecretParams) SetXRequestID(xRequestID *string)
- func (o *DeleteClusterAppSecretParams) WithAppName(appName string) *DeleteClusterAppSecretParams
- func (o *DeleteClusterAppSecretParams) WithClusterID(clusterID string) *DeleteClusterAppSecretParams
- func (o *DeleteClusterAppSecretParams) WithContext(ctx context.Context) *DeleteClusterAppSecretParams
- func (o *DeleteClusterAppSecretParams) WithHTTPClient(client *http.Client) *DeleteClusterAppSecretParams
- func (o *DeleteClusterAppSecretParams) WithTimeout(timeout time.Duration) *DeleteClusterAppSecretParams
- func (o *DeleteClusterAppSecretParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *DeleteClusterAppSecretParams
- func (o *DeleteClusterAppSecretParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *DeleteClusterAppSecretParams
- func (o *DeleteClusterAppSecretParams) WithXRequestID(xRequestID *string) *DeleteClusterAppSecretParams
- func (o *DeleteClusterAppSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterAppSecretReader
- type DeleteClusterAppSecretUnauthorized
- type GetClusterAppSecretNotFound
- type GetClusterAppSecretOK
- type GetClusterAppSecretParams
- func NewGetClusterAppSecretParams() *GetClusterAppSecretParams
- func NewGetClusterAppSecretParamsWithContext(ctx context.Context) *GetClusterAppSecretParams
- func NewGetClusterAppSecretParamsWithHTTPClient(client *http.Client) *GetClusterAppSecretParams
- func NewGetClusterAppSecretParamsWithTimeout(timeout time.Duration) *GetClusterAppSecretParams
- func (o *GetClusterAppSecretParams) SetAppName(appName string)
- func (o *GetClusterAppSecretParams) SetClusterID(clusterID string)
- func (o *GetClusterAppSecretParams) SetContext(ctx context.Context)
- func (o *GetClusterAppSecretParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterAppSecretParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterAppSecretParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *GetClusterAppSecretParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *GetClusterAppSecretParams) SetXRequestID(xRequestID *string)
- func (o *GetClusterAppSecretParams) WithAppName(appName string) *GetClusterAppSecretParams
- func (o *GetClusterAppSecretParams) WithClusterID(clusterID string) *GetClusterAppSecretParams
- func (o *GetClusterAppSecretParams) WithContext(ctx context.Context) *GetClusterAppSecretParams
- func (o *GetClusterAppSecretParams) WithHTTPClient(client *http.Client) *GetClusterAppSecretParams
- func (o *GetClusterAppSecretParams) WithTimeout(timeout time.Duration) *GetClusterAppSecretParams
- func (o *GetClusterAppSecretParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *GetClusterAppSecretParams
- func (o *GetClusterAppSecretParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *GetClusterAppSecretParams
- func (o *GetClusterAppSecretParams) WithXRequestID(xRequestID *string) *GetClusterAppSecretParams
- func (o *GetClusterAppSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterAppSecretReader
- type GetClusterAppSecretUnauthorized
- type ModifyClusterAppSecretBadRequest
- type ModifyClusterAppSecretDefault
- type ModifyClusterAppSecretOK
- type ModifyClusterAppSecretParams
- func NewModifyClusterAppSecretParams() *ModifyClusterAppSecretParams
- func NewModifyClusterAppSecretParamsWithContext(ctx context.Context) *ModifyClusterAppSecretParams
- func NewModifyClusterAppSecretParamsWithHTTPClient(client *http.Client) *ModifyClusterAppSecretParams
- func NewModifyClusterAppSecretParamsWithTimeout(timeout time.Duration) *ModifyClusterAppSecretParams
- func (o *ModifyClusterAppSecretParams) SetAppName(appName string)
- func (o *ModifyClusterAppSecretParams) SetBody(body models.V4CreateClusterAppSecretRequest)
- func (o *ModifyClusterAppSecretParams) SetClusterID(clusterID string)
- func (o *ModifyClusterAppSecretParams) SetContext(ctx context.Context)
- func (o *ModifyClusterAppSecretParams) SetHTTPClient(client *http.Client)
- func (o *ModifyClusterAppSecretParams) SetTimeout(timeout time.Duration)
- func (o *ModifyClusterAppSecretParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *ModifyClusterAppSecretParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *ModifyClusterAppSecretParams) SetXRequestID(xRequestID *string)
- func (o *ModifyClusterAppSecretParams) WithAppName(appName string) *ModifyClusterAppSecretParams
- func (o *ModifyClusterAppSecretParams) WithBody(body models.V4CreateClusterAppSecretRequest) *ModifyClusterAppSecretParams
- func (o *ModifyClusterAppSecretParams) WithClusterID(clusterID string) *ModifyClusterAppSecretParams
- func (o *ModifyClusterAppSecretParams) WithContext(ctx context.Context) *ModifyClusterAppSecretParams
- func (o *ModifyClusterAppSecretParams) WithHTTPClient(client *http.Client) *ModifyClusterAppSecretParams
- func (o *ModifyClusterAppSecretParams) WithTimeout(timeout time.Duration) *ModifyClusterAppSecretParams
- func (o *ModifyClusterAppSecretParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *ModifyClusterAppSecretParams
- func (o *ModifyClusterAppSecretParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *ModifyClusterAppSecretParams
- func (o *ModifyClusterAppSecretParams) WithXRequestID(xRequestID *string) *ModifyClusterAppSecretParams
- func (o *ModifyClusterAppSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyClusterAppSecretReader
- type ModifyClusterAppSecretUnauthorized
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 secrets API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new app secrets API client.
func (*Client) CreateClusterAppSecret ¶
func (a *Client) CreateClusterAppSecret(params *CreateClusterAppSecretParams, authInfo runtime.ClientAuthInfoWriter) (*CreateClusterAppSecretOK, error)
CreateClusterAppSecret creates secret
This operation allows you to create a Secret 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 `spec.user_config.secret` field set correctly.
However, if the app exists and the `spec.user_config.secret` is already set to something, then this request will fail. You will in that case most likely want to update the Secret using the `PATCH /v4/clusters/{cluster_id}/apps/{app_name}/secret/` endpoint.
### Example POST request ```json
{ "secret": "value" }
```
func (*Client) DeleteClusterAppSecret ¶
func (a *Client) DeleteClusterAppSecret(params *DeleteClusterAppSecretParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteClusterAppSecretOK, error)
DeleteClusterAppSecret deletes a secret
This operation allows a user to delete an app's Secret if it has been named according to the convention of {app-name}-user-secrets and stored in the cluster ID namespace.
Calling this endpoint will delete the Secret, and also remove the reference to the Secret in the (spec.user_config.secret field) from the app.
func (*Client) GetClusterAppSecret ¶
func (a *Client) GetClusterAppSecret(params *GetClusterAppSecretParams, authInfo runtime.ClientAuthInfoWriter) (*GetClusterAppSecretOK, error)
GetClusterAppSecret gets secret
This operation allows you to fetch the Secret associated with an app.
func (*Client) ModifyClusterAppSecret ¶
func (a *Client) ModifyClusterAppSecret(params *ModifyClusterAppSecretParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyClusterAppSecretOK, error)
ModifyClusterAppSecret modifies secret
This operation allows you to modify the Secret for a specific app. It's only possible to modify Secrets that have been named according to the convention of {app-name}-user-secrets and stored in the cluster ID namespace.
The full values key of the Secret will be replaced by the JSON body of your request.
### Example PATCH request ```json
{ "secret": "new-value" }
```
If the Secret contained content like:
```json
{ "secret": "old-value", "secret2": "another-old-value" }
```
Then the "secret2" will be removed, and "secret" will be set to "new-value"
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateClusterAppSecretBadRequest ¶
type CreateClusterAppSecretBadRequest struct {
Payload *models.V4GenericResponse
}
CreateClusterAppSecretBadRequest handles this case with default header values.
Invalid input
func NewCreateClusterAppSecretBadRequest ¶
func NewCreateClusterAppSecretBadRequest() *CreateClusterAppSecretBadRequest
NewCreateClusterAppSecretBadRequest creates a CreateClusterAppSecretBadRequest with default headers values
func (*CreateClusterAppSecretBadRequest) Error ¶
func (o *CreateClusterAppSecretBadRequest) Error() string
type CreateClusterAppSecretConflict ¶
type CreateClusterAppSecretConflict struct {
Payload *models.V4GenericResponse
}
CreateClusterAppSecretConflict handles this case with default header values.
Secret already exists
func NewCreateClusterAppSecretConflict ¶
func NewCreateClusterAppSecretConflict() *CreateClusterAppSecretConflict
NewCreateClusterAppSecretConflict creates a CreateClusterAppSecretConflict with default headers values
func (*CreateClusterAppSecretConflict) Error ¶
func (o *CreateClusterAppSecretConflict) Error() string
type CreateClusterAppSecretDefault ¶
type CreateClusterAppSecretDefault struct { Payload *models.V4GenericResponse // contains filtered or unexported fields }
CreateClusterAppSecretDefault handles this case with default header values.
Error
func NewCreateClusterAppSecretDefault ¶
func NewCreateClusterAppSecretDefault(code int) *CreateClusterAppSecretDefault
NewCreateClusterAppSecretDefault creates a CreateClusterAppSecretDefault with default headers values
func (*CreateClusterAppSecretDefault) Code ¶
func (o *CreateClusterAppSecretDefault) Code() int
Code gets the status code for the create cluster app secret default response
func (*CreateClusterAppSecretDefault) Error ¶
func (o *CreateClusterAppSecretDefault) Error() string
type CreateClusterAppSecretOK ¶
type CreateClusterAppSecretOK struct {
Payload *models.V4GenericResponse
}
CreateClusterAppSecretOK handles this case with default header values.
Success
func NewCreateClusterAppSecretOK ¶
func NewCreateClusterAppSecretOK() *CreateClusterAppSecretOK
NewCreateClusterAppSecretOK creates a CreateClusterAppSecretOK with default headers values
func (*CreateClusterAppSecretOK) Error ¶
func (o *CreateClusterAppSecretOK) Error() string
type CreateClusterAppSecretParams ¶
type CreateClusterAppSecretParams struct { /*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.V4CreateClusterAppSecretRequest /*ClusterID Cluster ID */ ClusterID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateClusterAppSecretParams contains all the parameters to send to the API endpoint for the create cluster app secret operation typically these are written to a http.Request
func NewCreateClusterAppSecretParams ¶
func NewCreateClusterAppSecretParams() *CreateClusterAppSecretParams
NewCreateClusterAppSecretParams creates a new CreateClusterAppSecretParams object with the default values initialized.
func NewCreateClusterAppSecretParamsWithContext ¶
func NewCreateClusterAppSecretParamsWithContext(ctx context.Context) *CreateClusterAppSecretParams
NewCreateClusterAppSecretParamsWithContext creates a new CreateClusterAppSecretParams object with the default values initialized, and the ability to set a context for a request
func NewCreateClusterAppSecretParamsWithHTTPClient ¶
func NewCreateClusterAppSecretParamsWithHTTPClient(client *http.Client) *CreateClusterAppSecretParams
NewCreateClusterAppSecretParamsWithHTTPClient creates a new CreateClusterAppSecretParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateClusterAppSecretParamsWithTimeout ¶
func NewCreateClusterAppSecretParamsWithTimeout(timeout time.Duration) *CreateClusterAppSecretParams
NewCreateClusterAppSecretParamsWithTimeout creates a new CreateClusterAppSecretParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateClusterAppSecretParams) SetAppName ¶
func (o *CreateClusterAppSecretParams) SetAppName(appName string)
SetAppName adds the appName to the create cluster app secret params
func (*CreateClusterAppSecretParams) SetBody ¶
func (o *CreateClusterAppSecretParams) SetBody(body models.V4CreateClusterAppSecretRequest)
SetBody adds the body to the create cluster app secret params
func (*CreateClusterAppSecretParams) SetClusterID ¶
func (o *CreateClusterAppSecretParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the create cluster app secret params
func (*CreateClusterAppSecretParams) SetContext ¶
func (o *CreateClusterAppSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the create cluster app secret params
func (*CreateClusterAppSecretParams) SetHTTPClient ¶
func (o *CreateClusterAppSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create cluster app secret params
func (*CreateClusterAppSecretParams) SetTimeout ¶
func (o *CreateClusterAppSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create cluster app secret params
func (*CreateClusterAppSecretParams) SetXGiantSwarmActivity ¶
func (o *CreateClusterAppSecretParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the create cluster app secret params
func (*CreateClusterAppSecretParams) SetXGiantSwarmCmdLine ¶
func (o *CreateClusterAppSecretParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the create cluster app secret params
func (*CreateClusterAppSecretParams) SetXRequestID ¶
func (o *CreateClusterAppSecretParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create cluster app secret params
func (*CreateClusterAppSecretParams) WithAppName ¶
func (o *CreateClusterAppSecretParams) WithAppName(appName string) *CreateClusterAppSecretParams
WithAppName adds the appName to the create cluster app secret params
func (*CreateClusterAppSecretParams) WithBody ¶
func (o *CreateClusterAppSecretParams) WithBody(body models.V4CreateClusterAppSecretRequest) *CreateClusterAppSecretParams
WithBody adds the body to the create cluster app secret params
func (*CreateClusterAppSecretParams) WithClusterID ¶
func (o *CreateClusterAppSecretParams) WithClusterID(clusterID string) *CreateClusterAppSecretParams
WithClusterID adds the clusterID to the create cluster app secret params
func (*CreateClusterAppSecretParams) WithContext ¶
func (o *CreateClusterAppSecretParams) WithContext(ctx context.Context) *CreateClusterAppSecretParams
WithContext adds the context to the create cluster app secret params
func (*CreateClusterAppSecretParams) WithHTTPClient ¶
func (o *CreateClusterAppSecretParams) WithHTTPClient(client *http.Client) *CreateClusterAppSecretParams
WithHTTPClient adds the HTTPClient to the create cluster app secret params
func (*CreateClusterAppSecretParams) WithTimeout ¶
func (o *CreateClusterAppSecretParams) WithTimeout(timeout time.Duration) *CreateClusterAppSecretParams
WithTimeout adds the timeout to the create cluster app secret params
func (*CreateClusterAppSecretParams) WithXGiantSwarmActivity ¶
func (o *CreateClusterAppSecretParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *CreateClusterAppSecretParams
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the create cluster app secret params
func (*CreateClusterAppSecretParams) WithXGiantSwarmCmdLine ¶
func (o *CreateClusterAppSecretParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *CreateClusterAppSecretParams
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the create cluster app secret params
func (*CreateClusterAppSecretParams) WithXRequestID ¶
func (o *CreateClusterAppSecretParams) WithXRequestID(xRequestID *string) *CreateClusterAppSecretParams
WithXRequestID adds the xRequestID to the create cluster app secret params
func (*CreateClusterAppSecretParams) WriteToRequest ¶
func (o *CreateClusterAppSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateClusterAppSecretReader ¶
type CreateClusterAppSecretReader struct {
// contains filtered or unexported fields
}
CreateClusterAppSecretReader is a Reader for the CreateClusterAppSecret structure.
func (*CreateClusterAppSecretReader) ReadResponse ¶
func (o *CreateClusterAppSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateClusterAppSecretUnauthorized ¶
type CreateClusterAppSecretUnauthorized struct {
}CreateClusterAppSecretUnauthorized handles this case with default header values.
Permission denied
func NewCreateClusterAppSecretUnauthorized ¶
func NewCreateClusterAppSecretUnauthorized() *CreateClusterAppSecretUnauthorized
NewCreateClusterAppSecretUnauthorized creates a CreateClusterAppSecretUnauthorized with default headers values
func (*CreateClusterAppSecretUnauthorized) Error ¶
func (o *CreateClusterAppSecretUnauthorized) Error() string
type DeleteClusterAppSecretDefault ¶
type DeleteClusterAppSecretDefault struct { Payload *models.V4GenericResponse // contains filtered or unexported fields }
DeleteClusterAppSecretDefault handles this case with default header values.
Error
func NewDeleteClusterAppSecretDefault ¶
func NewDeleteClusterAppSecretDefault(code int) *DeleteClusterAppSecretDefault
NewDeleteClusterAppSecretDefault creates a DeleteClusterAppSecretDefault with default headers values
func (*DeleteClusterAppSecretDefault) Code ¶
func (o *DeleteClusterAppSecretDefault) Code() int
Code gets the status code for the delete cluster app secret default response
func (*DeleteClusterAppSecretDefault) Error ¶
func (o *DeleteClusterAppSecretDefault) Error() string
type DeleteClusterAppSecretNotFound ¶
type DeleteClusterAppSecretNotFound struct {
Payload *models.V4GenericResponse
}
DeleteClusterAppSecretNotFound handles this case with default header values.
Secret not found
func NewDeleteClusterAppSecretNotFound ¶
func NewDeleteClusterAppSecretNotFound() *DeleteClusterAppSecretNotFound
NewDeleteClusterAppSecretNotFound creates a DeleteClusterAppSecretNotFound with default headers values
func (*DeleteClusterAppSecretNotFound) Error ¶
func (o *DeleteClusterAppSecretNotFound) Error() string
type DeleteClusterAppSecretOK ¶
type DeleteClusterAppSecretOK struct {
Payload *models.V4GenericResponse
}
DeleteClusterAppSecretOK handles this case with default header values.
Secret deleted
func NewDeleteClusterAppSecretOK ¶
func NewDeleteClusterAppSecretOK() *DeleteClusterAppSecretOK
NewDeleteClusterAppSecretOK creates a DeleteClusterAppSecretOK with default headers values
func (*DeleteClusterAppSecretOK) Error ¶
func (o *DeleteClusterAppSecretOK) Error() string
type DeleteClusterAppSecretParams ¶
type DeleteClusterAppSecretParams struct { /*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 }
DeleteClusterAppSecretParams contains all the parameters to send to the API endpoint for the delete cluster app secret operation typically these are written to a http.Request
func NewDeleteClusterAppSecretParams ¶
func NewDeleteClusterAppSecretParams() *DeleteClusterAppSecretParams
NewDeleteClusterAppSecretParams creates a new DeleteClusterAppSecretParams object with the default values initialized.
func NewDeleteClusterAppSecretParamsWithContext ¶
func NewDeleteClusterAppSecretParamsWithContext(ctx context.Context) *DeleteClusterAppSecretParams
NewDeleteClusterAppSecretParamsWithContext creates a new DeleteClusterAppSecretParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteClusterAppSecretParamsWithHTTPClient ¶
func NewDeleteClusterAppSecretParamsWithHTTPClient(client *http.Client) *DeleteClusterAppSecretParams
NewDeleteClusterAppSecretParamsWithHTTPClient creates a new DeleteClusterAppSecretParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteClusterAppSecretParamsWithTimeout ¶
func NewDeleteClusterAppSecretParamsWithTimeout(timeout time.Duration) *DeleteClusterAppSecretParams
NewDeleteClusterAppSecretParamsWithTimeout creates a new DeleteClusterAppSecretParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteClusterAppSecretParams) SetAppName ¶
func (o *DeleteClusterAppSecretParams) SetAppName(appName string)
SetAppName adds the appName to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) SetClusterID ¶
func (o *DeleteClusterAppSecretParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) SetContext ¶
func (o *DeleteClusterAppSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) SetHTTPClient ¶
func (o *DeleteClusterAppSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) SetTimeout ¶
func (o *DeleteClusterAppSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) SetXGiantSwarmActivity ¶
func (o *DeleteClusterAppSecretParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) SetXGiantSwarmCmdLine ¶
func (o *DeleteClusterAppSecretParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) SetXRequestID ¶
func (o *DeleteClusterAppSecretParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) WithAppName ¶
func (o *DeleteClusterAppSecretParams) WithAppName(appName string) *DeleteClusterAppSecretParams
WithAppName adds the appName to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) WithClusterID ¶
func (o *DeleteClusterAppSecretParams) WithClusterID(clusterID string) *DeleteClusterAppSecretParams
WithClusterID adds the clusterID to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) WithContext ¶
func (o *DeleteClusterAppSecretParams) WithContext(ctx context.Context) *DeleteClusterAppSecretParams
WithContext adds the context to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) WithHTTPClient ¶
func (o *DeleteClusterAppSecretParams) WithHTTPClient(client *http.Client) *DeleteClusterAppSecretParams
WithHTTPClient adds the HTTPClient to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) WithTimeout ¶
func (o *DeleteClusterAppSecretParams) WithTimeout(timeout time.Duration) *DeleteClusterAppSecretParams
WithTimeout adds the timeout to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) WithXGiantSwarmActivity ¶
func (o *DeleteClusterAppSecretParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *DeleteClusterAppSecretParams
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) WithXGiantSwarmCmdLine ¶
func (o *DeleteClusterAppSecretParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *DeleteClusterAppSecretParams
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) WithXRequestID ¶
func (o *DeleteClusterAppSecretParams) WithXRequestID(xRequestID *string) *DeleteClusterAppSecretParams
WithXRequestID adds the xRequestID to the delete cluster app secret params
func (*DeleteClusterAppSecretParams) WriteToRequest ¶
func (o *DeleteClusterAppSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterAppSecretReader ¶
type DeleteClusterAppSecretReader struct {
// contains filtered or unexported fields
}
DeleteClusterAppSecretReader is a Reader for the DeleteClusterAppSecret structure.
func (*DeleteClusterAppSecretReader) ReadResponse ¶
func (o *DeleteClusterAppSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClusterAppSecretUnauthorized ¶
type DeleteClusterAppSecretUnauthorized struct {
}DeleteClusterAppSecretUnauthorized handles this case with default header values.
Permission denied
func NewDeleteClusterAppSecretUnauthorized ¶
func NewDeleteClusterAppSecretUnauthorized() *DeleteClusterAppSecretUnauthorized
NewDeleteClusterAppSecretUnauthorized creates a DeleteClusterAppSecretUnauthorized with default headers values
func (*DeleteClusterAppSecretUnauthorized) Error ¶
func (o *DeleteClusterAppSecretUnauthorized) Error() string
type GetClusterAppSecretNotFound ¶
type GetClusterAppSecretNotFound struct {
Payload *models.V4GenericResponse
}
GetClusterAppSecretNotFound handles this case with default header values.
Secret not found
func NewGetClusterAppSecretNotFound ¶
func NewGetClusterAppSecretNotFound() *GetClusterAppSecretNotFound
NewGetClusterAppSecretNotFound creates a GetClusterAppSecretNotFound with default headers values
func (*GetClusterAppSecretNotFound) Error ¶
func (o *GetClusterAppSecretNotFound) Error() string
type GetClusterAppSecretOK ¶
type GetClusterAppSecretOK struct {
Payload models.V4GetClusterAppSecretResponse
}
GetClusterAppSecretOK handles this case with default header values.
Success
func NewGetClusterAppSecretOK ¶
func NewGetClusterAppSecretOK() *GetClusterAppSecretOK
NewGetClusterAppSecretOK creates a GetClusterAppSecretOK with default headers values
func (*GetClusterAppSecretOK) Error ¶
func (o *GetClusterAppSecretOK) Error() string
type GetClusterAppSecretParams ¶
type GetClusterAppSecretParams struct { /*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 }
GetClusterAppSecretParams contains all the parameters to send to the API endpoint for the get cluster app secret operation typically these are written to a http.Request
func NewGetClusterAppSecretParams ¶
func NewGetClusterAppSecretParams() *GetClusterAppSecretParams
NewGetClusterAppSecretParams creates a new GetClusterAppSecretParams object with the default values initialized.
func NewGetClusterAppSecretParamsWithContext ¶
func NewGetClusterAppSecretParamsWithContext(ctx context.Context) *GetClusterAppSecretParams
NewGetClusterAppSecretParamsWithContext creates a new GetClusterAppSecretParams object with the default values initialized, and the ability to set a context for a request
func NewGetClusterAppSecretParamsWithHTTPClient ¶
func NewGetClusterAppSecretParamsWithHTTPClient(client *http.Client) *GetClusterAppSecretParams
NewGetClusterAppSecretParamsWithHTTPClient creates a new GetClusterAppSecretParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetClusterAppSecretParamsWithTimeout ¶
func NewGetClusterAppSecretParamsWithTimeout(timeout time.Duration) *GetClusterAppSecretParams
NewGetClusterAppSecretParamsWithTimeout creates a new GetClusterAppSecretParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetClusterAppSecretParams) SetAppName ¶
func (o *GetClusterAppSecretParams) SetAppName(appName string)
SetAppName adds the appName to the get cluster app secret params
func (*GetClusterAppSecretParams) SetClusterID ¶
func (o *GetClusterAppSecretParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the get cluster app secret params
func (*GetClusterAppSecretParams) SetContext ¶
func (o *GetClusterAppSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster app secret params
func (*GetClusterAppSecretParams) SetHTTPClient ¶
func (o *GetClusterAppSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster app secret params
func (*GetClusterAppSecretParams) SetTimeout ¶
func (o *GetClusterAppSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster app secret params
func (*GetClusterAppSecretParams) SetXGiantSwarmActivity ¶
func (o *GetClusterAppSecretParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the get cluster app secret params
func (*GetClusterAppSecretParams) SetXGiantSwarmCmdLine ¶
func (o *GetClusterAppSecretParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the get cluster app secret params
func (*GetClusterAppSecretParams) SetXRequestID ¶
func (o *GetClusterAppSecretParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get cluster app secret params
func (*GetClusterAppSecretParams) WithAppName ¶
func (o *GetClusterAppSecretParams) WithAppName(appName string) *GetClusterAppSecretParams
WithAppName adds the appName to the get cluster app secret params
func (*GetClusterAppSecretParams) WithClusterID ¶
func (o *GetClusterAppSecretParams) WithClusterID(clusterID string) *GetClusterAppSecretParams
WithClusterID adds the clusterID to the get cluster app secret params
func (*GetClusterAppSecretParams) WithContext ¶
func (o *GetClusterAppSecretParams) WithContext(ctx context.Context) *GetClusterAppSecretParams
WithContext adds the context to the get cluster app secret params
func (*GetClusterAppSecretParams) WithHTTPClient ¶
func (o *GetClusterAppSecretParams) WithHTTPClient(client *http.Client) *GetClusterAppSecretParams
WithHTTPClient adds the HTTPClient to the get cluster app secret params
func (*GetClusterAppSecretParams) WithTimeout ¶
func (o *GetClusterAppSecretParams) WithTimeout(timeout time.Duration) *GetClusterAppSecretParams
WithTimeout adds the timeout to the get cluster app secret params
func (*GetClusterAppSecretParams) WithXGiantSwarmActivity ¶
func (o *GetClusterAppSecretParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *GetClusterAppSecretParams
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the get cluster app secret params
func (*GetClusterAppSecretParams) WithXGiantSwarmCmdLine ¶
func (o *GetClusterAppSecretParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *GetClusterAppSecretParams
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the get cluster app secret params
func (*GetClusterAppSecretParams) WithXRequestID ¶
func (o *GetClusterAppSecretParams) WithXRequestID(xRequestID *string) *GetClusterAppSecretParams
WithXRequestID adds the xRequestID to the get cluster app secret params
func (*GetClusterAppSecretParams) WriteToRequest ¶
func (o *GetClusterAppSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterAppSecretReader ¶
type GetClusterAppSecretReader struct {
// contains filtered or unexported fields
}
GetClusterAppSecretReader is a Reader for the GetClusterAppSecret structure.
func (*GetClusterAppSecretReader) ReadResponse ¶
func (o *GetClusterAppSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterAppSecretUnauthorized ¶
type GetClusterAppSecretUnauthorized struct {
}GetClusterAppSecretUnauthorized handles this case with default header values.
Permission denied
func NewGetClusterAppSecretUnauthorized ¶
func NewGetClusterAppSecretUnauthorized() *GetClusterAppSecretUnauthorized
NewGetClusterAppSecretUnauthorized creates a GetClusterAppSecretUnauthorized with default headers values
func (*GetClusterAppSecretUnauthorized) Error ¶
func (o *GetClusterAppSecretUnauthorized) Error() string
type ModifyClusterAppSecretBadRequest ¶
type ModifyClusterAppSecretBadRequest struct {
Payload *models.V4GenericResponse
}
ModifyClusterAppSecretBadRequest handles this case with default header values.
Invalid input
func NewModifyClusterAppSecretBadRequest ¶
func NewModifyClusterAppSecretBadRequest() *ModifyClusterAppSecretBadRequest
NewModifyClusterAppSecretBadRequest creates a ModifyClusterAppSecretBadRequest with default headers values
func (*ModifyClusterAppSecretBadRequest) Error ¶
func (o *ModifyClusterAppSecretBadRequest) Error() string
type ModifyClusterAppSecretDefault ¶
type ModifyClusterAppSecretDefault struct { Payload *models.V4GenericResponse // contains filtered or unexported fields }
ModifyClusterAppSecretDefault handles this case with default header values.
Error
func NewModifyClusterAppSecretDefault ¶
func NewModifyClusterAppSecretDefault(code int) *ModifyClusterAppSecretDefault
NewModifyClusterAppSecretDefault creates a ModifyClusterAppSecretDefault with default headers values
func (*ModifyClusterAppSecretDefault) Code ¶
func (o *ModifyClusterAppSecretDefault) Code() int
Code gets the status code for the modify cluster app secret default response
func (*ModifyClusterAppSecretDefault) Error ¶
func (o *ModifyClusterAppSecretDefault) Error() string
type ModifyClusterAppSecretOK ¶
type ModifyClusterAppSecretOK struct {
Payload *models.V4GenericResponse
}
ModifyClusterAppSecretOK handles this case with default header values.
Success
func NewModifyClusterAppSecretOK ¶
func NewModifyClusterAppSecretOK() *ModifyClusterAppSecretOK
NewModifyClusterAppSecretOK creates a ModifyClusterAppSecretOK with default headers values
func (*ModifyClusterAppSecretOK) Error ¶
func (o *ModifyClusterAppSecretOK) Error() string
type ModifyClusterAppSecretParams ¶
type ModifyClusterAppSecretParams struct { /*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.V4CreateClusterAppSecretRequest /*ClusterID Cluster ID */ ClusterID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ModifyClusterAppSecretParams contains all the parameters to send to the API endpoint for the modify cluster app secret operation typically these are written to a http.Request
func NewModifyClusterAppSecretParams ¶
func NewModifyClusterAppSecretParams() *ModifyClusterAppSecretParams
NewModifyClusterAppSecretParams creates a new ModifyClusterAppSecretParams object with the default values initialized.
func NewModifyClusterAppSecretParamsWithContext ¶
func NewModifyClusterAppSecretParamsWithContext(ctx context.Context) *ModifyClusterAppSecretParams
NewModifyClusterAppSecretParamsWithContext creates a new ModifyClusterAppSecretParams object with the default values initialized, and the ability to set a context for a request
func NewModifyClusterAppSecretParamsWithHTTPClient ¶
func NewModifyClusterAppSecretParamsWithHTTPClient(client *http.Client) *ModifyClusterAppSecretParams
NewModifyClusterAppSecretParamsWithHTTPClient creates a new ModifyClusterAppSecretParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewModifyClusterAppSecretParamsWithTimeout ¶
func NewModifyClusterAppSecretParamsWithTimeout(timeout time.Duration) *ModifyClusterAppSecretParams
NewModifyClusterAppSecretParamsWithTimeout creates a new ModifyClusterAppSecretParams object with the default values initialized, and the ability to set a timeout on a request
func (*ModifyClusterAppSecretParams) SetAppName ¶
func (o *ModifyClusterAppSecretParams) SetAppName(appName string)
SetAppName adds the appName to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) SetBody ¶
func (o *ModifyClusterAppSecretParams) SetBody(body models.V4CreateClusterAppSecretRequest)
SetBody adds the body to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) SetClusterID ¶
func (o *ModifyClusterAppSecretParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) SetContext ¶
func (o *ModifyClusterAppSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) SetHTTPClient ¶
func (o *ModifyClusterAppSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) SetTimeout ¶
func (o *ModifyClusterAppSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) SetXGiantSwarmActivity ¶
func (o *ModifyClusterAppSecretParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) SetXGiantSwarmCmdLine ¶
func (o *ModifyClusterAppSecretParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) SetXRequestID ¶
func (o *ModifyClusterAppSecretParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) WithAppName ¶
func (o *ModifyClusterAppSecretParams) WithAppName(appName string) *ModifyClusterAppSecretParams
WithAppName adds the appName to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) WithBody ¶
func (o *ModifyClusterAppSecretParams) WithBody(body models.V4CreateClusterAppSecretRequest) *ModifyClusterAppSecretParams
WithBody adds the body to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) WithClusterID ¶
func (o *ModifyClusterAppSecretParams) WithClusterID(clusterID string) *ModifyClusterAppSecretParams
WithClusterID adds the clusterID to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) WithContext ¶
func (o *ModifyClusterAppSecretParams) WithContext(ctx context.Context) *ModifyClusterAppSecretParams
WithContext adds the context to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) WithHTTPClient ¶
func (o *ModifyClusterAppSecretParams) WithHTTPClient(client *http.Client) *ModifyClusterAppSecretParams
WithHTTPClient adds the HTTPClient to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) WithTimeout ¶
func (o *ModifyClusterAppSecretParams) WithTimeout(timeout time.Duration) *ModifyClusterAppSecretParams
WithTimeout adds the timeout to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) WithXGiantSwarmActivity ¶
func (o *ModifyClusterAppSecretParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *ModifyClusterAppSecretParams
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) WithXGiantSwarmCmdLine ¶
func (o *ModifyClusterAppSecretParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *ModifyClusterAppSecretParams
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) WithXRequestID ¶
func (o *ModifyClusterAppSecretParams) WithXRequestID(xRequestID *string) *ModifyClusterAppSecretParams
WithXRequestID adds the xRequestID to the modify cluster app secret params
func (*ModifyClusterAppSecretParams) WriteToRequest ¶
func (o *ModifyClusterAppSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyClusterAppSecretReader ¶
type ModifyClusterAppSecretReader struct {
// contains filtered or unexported fields
}
ModifyClusterAppSecretReader is a Reader for the ModifyClusterAppSecret structure.
func (*ModifyClusterAppSecretReader) ReadResponse ¶
func (o *ModifyClusterAppSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyClusterAppSecretUnauthorized ¶
type ModifyClusterAppSecretUnauthorized struct {
}ModifyClusterAppSecretUnauthorized handles this case with default header values.
Permission denied
func NewModifyClusterAppSecretUnauthorized ¶
func NewModifyClusterAppSecretUnauthorized() *ModifyClusterAppSecretUnauthorized
NewModifyClusterAppSecretUnauthorized creates a ModifyClusterAppSecretUnauthorized with default headers values
func (*ModifyClusterAppSecretUnauthorized) Error ¶
func (o *ModifyClusterAppSecretUnauthorized) Error() string
Source Files ¶
- app_secrets_client.go
- create_cluster_app_secret_parameters.go
- create_cluster_app_secret_responses.go
- delete_cluster_app_secret_parameters.go
- delete_cluster_app_secret_responses.go
- get_cluster_app_secret_parameters.go
- get_cluster_app_secret_responses.go
- modify_cluster_app_secret_parameters.go
- modify_cluster_app_secret_responses.go