Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateClusterAppSecretV4(params *CreateClusterAppSecretV4Params, authInfo runtime.ClientAuthInfoWriter) (*CreateClusterAppSecretV4OK, error)
- func (a *Client) CreateClusterAppSecretV5(params *CreateClusterAppSecretV5Params, authInfo runtime.ClientAuthInfoWriter) (*CreateClusterAppSecretV5OK, error)
- func (a *Client) DeleteClusterAppSecretV4(params *DeleteClusterAppSecretV4Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteClusterAppSecretV4OK, error)
- func (a *Client) DeleteClusterAppSecretV5(params *DeleteClusterAppSecretV5Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteClusterAppSecretV5OK, error)
- func (a *Client) GetClusterAppSecretV4(params *GetClusterAppSecretV4Params, authInfo runtime.ClientAuthInfoWriter) (*GetClusterAppSecretV4OK, error)
- func (a *Client) GetClusterAppSecretV5(params *GetClusterAppSecretV5Params, authInfo runtime.ClientAuthInfoWriter) (*GetClusterAppSecretV5OK, error)
- func (a *Client) ModifyClusterAppSecretV4(params *ModifyClusterAppSecretV4Params, authInfo runtime.ClientAuthInfoWriter) (*ModifyClusterAppSecretV4OK, error)
- func (a *Client) ModifyClusterAppSecretV5(params *ModifyClusterAppSecretV5Params, authInfo runtime.ClientAuthInfoWriter) (*ModifyClusterAppSecretV5OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateClusterAppSecretV4BadRequest
- type CreateClusterAppSecretV4Conflict
- type CreateClusterAppSecretV4Default
- type CreateClusterAppSecretV4OK
- type CreateClusterAppSecretV4Params
- func NewCreateClusterAppSecretV4Params() *CreateClusterAppSecretV4Params
- func NewCreateClusterAppSecretV4ParamsWithContext(ctx context.Context) *CreateClusterAppSecretV4Params
- func NewCreateClusterAppSecretV4ParamsWithHTTPClient(client *http.Client) *CreateClusterAppSecretV4Params
- func NewCreateClusterAppSecretV4ParamsWithTimeout(timeout time.Duration) *CreateClusterAppSecretV4Params
- func (o *CreateClusterAppSecretV4Params) SetAppName(appName string)
- func (o *CreateClusterAppSecretV4Params) SetBody(body models.V4CreateClusterAppSecretRequest)
- func (o *CreateClusterAppSecretV4Params) SetClusterID(clusterID string)
- func (o *CreateClusterAppSecretV4Params) SetContext(ctx context.Context)
- func (o *CreateClusterAppSecretV4Params) SetHTTPClient(client *http.Client)
- func (o *CreateClusterAppSecretV4Params) SetTimeout(timeout time.Duration)
- func (o *CreateClusterAppSecretV4Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *CreateClusterAppSecretV4Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *CreateClusterAppSecretV4Params) SetXRequestID(xRequestID *string)
- func (o *CreateClusterAppSecretV4Params) WithAppName(appName string) *CreateClusterAppSecretV4Params
- func (o *CreateClusterAppSecretV4Params) WithBody(body models.V4CreateClusterAppSecretRequest) *CreateClusterAppSecretV4Params
- func (o *CreateClusterAppSecretV4Params) WithClusterID(clusterID string) *CreateClusterAppSecretV4Params
- func (o *CreateClusterAppSecretV4Params) WithContext(ctx context.Context) *CreateClusterAppSecretV4Params
- func (o *CreateClusterAppSecretV4Params) WithHTTPClient(client *http.Client) *CreateClusterAppSecretV4Params
- func (o *CreateClusterAppSecretV4Params) WithTimeout(timeout time.Duration) *CreateClusterAppSecretV4Params
- func (o *CreateClusterAppSecretV4Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *CreateClusterAppSecretV4Params
- func (o *CreateClusterAppSecretV4Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *CreateClusterAppSecretV4Params
- func (o *CreateClusterAppSecretV4Params) WithXRequestID(xRequestID *string) *CreateClusterAppSecretV4Params
- func (o *CreateClusterAppSecretV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateClusterAppSecretV4Reader
- type CreateClusterAppSecretV4Unauthorized
- type CreateClusterAppSecretV5BadRequest
- type CreateClusterAppSecretV5Conflict
- type CreateClusterAppSecretV5Default
- type CreateClusterAppSecretV5OK
- type CreateClusterAppSecretV5Params
- func NewCreateClusterAppSecretV5Params() *CreateClusterAppSecretV5Params
- func NewCreateClusterAppSecretV5ParamsWithContext(ctx context.Context) *CreateClusterAppSecretV5Params
- func NewCreateClusterAppSecretV5ParamsWithHTTPClient(client *http.Client) *CreateClusterAppSecretV5Params
- func NewCreateClusterAppSecretV5ParamsWithTimeout(timeout time.Duration) *CreateClusterAppSecretV5Params
- func (o *CreateClusterAppSecretV5Params) SetAppName(appName string)
- func (o *CreateClusterAppSecretV5Params) SetBody(body models.V4CreateClusterAppSecretRequest)
- func (o *CreateClusterAppSecretV5Params) SetClusterID(clusterID string)
- func (o *CreateClusterAppSecretV5Params) SetContext(ctx context.Context)
- func (o *CreateClusterAppSecretV5Params) SetHTTPClient(client *http.Client)
- func (o *CreateClusterAppSecretV5Params) SetTimeout(timeout time.Duration)
- func (o *CreateClusterAppSecretV5Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *CreateClusterAppSecretV5Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *CreateClusterAppSecretV5Params) SetXRequestID(xRequestID *string)
- func (o *CreateClusterAppSecretV5Params) WithAppName(appName string) *CreateClusterAppSecretV5Params
- func (o *CreateClusterAppSecretV5Params) WithBody(body models.V4CreateClusterAppSecretRequest) *CreateClusterAppSecretV5Params
- func (o *CreateClusterAppSecretV5Params) WithClusterID(clusterID string) *CreateClusterAppSecretV5Params
- func (o *CreateClusterAppSecretV5Params) WithContext(ctx context.Context) *CreateClusterAppSecretV5Params
- func (o *CreateClusterAppSecretV5Params) WithHTTPClient(client *http.Client) *CreateClusterAppSecretV5Params
- func (o *CreateClusterAppSecretV5Params) WithTimeout(timeout time.Duration) *CreateClusterAppSecretV5Params
- func (o *CreateClusterAppSecretV5Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *CreateClusterAppSecretV5Params
- func (o *CreateClusterAppSecretV5Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *CreateClusterAppSecretV5Params
- func (o *CreateClusterAppSecretV5Params) WithXRequestID(xRequestID *string) *CreateClusterAppSecretV5Params
- func (o *CreateClusterAppSecretV5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateClusterAppSecretV5Reader
- type CreateClusterAppSecretV5Unauthorized
- type DeleteClusterAppSecretV4Default
- type DeleteClusterAppSecretV4NotFound
- type DeleteClusterAppSecretV4OK
- type DeleteClusterAppSecretV4Params
- func NewDeleteClusterAppSecretV4Params() *DeleteClusterAppSecretV4Params
- func NewDeleteClusterAppSecretV4ParamsWithContext(ctx context.Context) *DeleteClusterAppSecretV4Params
- func NewDeleteClusterAppSecretV4ParamsWithHTTPClient(client *http.Client) *DeleteClusterAppSecretV4Params
- func NewDeleteClusterAppSecretV4ParamsWithTimeout(timeout time.Duration) *DeleteClusterAppSecretV4Params
- func (o *DeleteClusterAppSecretV4Params) SetAppName(appName string)
- func (o *DeleteClusterAppSecretV4Params) SetClusterID(clusterID string)
- func (o *DeleteClusterAppSecretV4Params) SetContext(ctx context.Context)
- func (o *DeleteClusterAppSecretV4Params) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterAppSecretV4Params) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterAppSecretV4Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *DeleteClusterAppSecretV4Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *DeleteClusterAppSecretV4Params) SetXRequestID(xRequestID *string)
- func (o *DeleteClusterAppSecretV4Params) WithAppName(appName string) *DeleteClusterAppSecretV4Params
- func (o *DeleteClusterAppSecretV4Params) WithClusterID(clusterID string) *DeleteClusterAppSecretV4Params
- func (o *DeleteClusterAppSecretV4Params) WithContext(ctx context.Context) *DeleteClusterAppSecretV4Params
- func (o *DeleteClusterAppSecretV4Params) WithHTTPClient(client *http.Client) *DeleteClusterAppSecretV4Params
- func (o *DeleteClusterAppSecretV4Params) WithTimeout(timeout time.Duration) *DeleteClusterAppSecretV4Params
- func (o *DeleteClusterAppSecretV4Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *DeleteClusterAppSecretV4Params
- func (o *DeleteClusterAppSecretV4Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *DeleteClusterAppSecretV4Params
- func (o *DeleteClusterAppSecretV4Params) WithXRequestID(xRequestID *string) *DeleteClusterAppSecretV4Params
- func (o *DeleteClusterAppSecretV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterAppSecretV4Reader
- type DeleteClusterAppSecretV4Unauthorized
- type DeleteClusterAppSecretV5Default
- type DeleteClusterAppSecretV5NotFound
- type DeleteClusterAppSecretV5OK
- type DeleteClusterAppSecretV5Params
- func NewDeleteClusterAppSecretV5Params() *DeleteClusterAppSecretV5Params
- func NewDeleteClusterAppSecretV5ParamsWithContext(ctx context.Context) *DeleteClusterAppSecretV5Params
- func NewDeleteClusterAppSecretV5ParamsWithHTTPClient(client *http.Client) *DeleteClusterAppSecretV5Params
- func NewDeleteClusterAppSecretV5ParamsWithTimeout(timeout time.Duration) *DeleteClusterAppSecretV5Params
- func (o *DeleteClusterAppSecretV5Params) SetAppName(appName string)
- func (o *DeleteClusterAppSecretV5Params) SetClusterID(clusterID string)
- func (o *DeleteClusterAppSecretV5Params) SetContext(ctx context.Context)
- func (o *DeleteClusterAppSecretV5Params) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterAppSecretV5Params) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterAppSecretV5Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *DeleteClusterAppSecretV5Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *DeleteClusterAppSecretV5Params) SetXRequestID(xRequestID *string)
- func (o *DeleteClusterAppSecretV5Params) WithAppName(appName string) *DeleteClusterAppSecretV5Params
- func (o *DeleteClusterAppSecretV5Params) WithClusterID(clusterID string) *DeleteClusterAppSecretV5Params
- func (o *DeleteClusterAppSecretV5Params) WithContext(ctx context.Context) *DeleteClusterAppSecretV5Params
- func (o *DeleteClusterAppSecretV5Params) WithHTTPClient(client *http.Client) *DeleteClusterAppSecretV5Params
- func (o *DeleteClusterAppSecretV5Params) WithTimeout(timeout time.Duration) *DeleteClusterAppSecretV5Params
- func (o *DeleteClusterAppSecretV5Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *DeleteClusterAppSecretV5Params
- func (o *DeleteClusterAppSecretV5Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *DeleteClusterAppSecretV5Params
- func (o *DeleteClusterAppSecretV5Params) WithXRequestID(xRequestID *string) *DeleteClusterAppSecretV5Params
- func (o *DeleteClusterAppSecretV5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterAppSecretV5Reader
- type DeleteClusterAppSecretV5Unauthorized
- type GetClusterAppSecretV4NotFound
- type GetClusterAppSecretV4OK
- type GetClusterAppSecretV4Params
- func NewGetClusterAppSecretV4Params() *GetClusterAppSecretV4Params
- func NewGetClusterAppSecretV4ParamsWithContext(ctx context.Context) *GetClusterAppSecretV4Params
- func NewGetClusterAppSecretV4ParamsWithHTTPClient(client *http.Client) *GetClusterAppSecretV4Params
- func NewGetClusterAppSecretV4ParamsWithTimeout(timeout time.Duration) *GetClusterAppSecretV4Params
- func (o *GetClusterAppSecretV4Params) SetAppName(appName string)
- func (o *GetClusterAppSecretV4Params) SetClusterID(clusterID string)
- func (o *GetClusterAppSecretV4Params) SetContext(ctx context.Context)
- func (o *GetClusterAppSecretV4Params) SetHTTPClient(client *http.Client)
- func (o *GetClusterAppSecretV4Params) SetTimeout(timeout time.Duration)
- func (o *GetClusterAppSecretV4Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *GetClusterAppSecretV4Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *GetClusterAppSecretV4Params) SetXRequestID(xRequestID *string)
- func (o *GetClusterAppSecretV4Params) WithAppName(appName string) *GetClusterAppSecretV4Params
- func (o *GetClusterAppSecretV4Params) WithClusterID(clusterID string) *GetClusterAppSecretV4Params
- func (o *GetClusterAppSecretV4Params) WithContext(ctx context.Context) *GetClusterAppSecretV4Params
- func (o *GetClusterAppSecretV4Params) WithHTTPClient(client *http.Client) *GetClusterAppSecretV4Params
- func (o *GetClusterAppSecretV4Params) WithTimeout(timeout time.Duration) *GetClusterAppSecretV4Params
- func (o *GetClusterAppSecretV4Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *GetClusterAppSecretV4Params
- func (o *GetClusterAppSecretV4Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *GetClusterAppSecretV4Params
- func (o *GetClusterAppSecretV4Params) WithXRequestID(xRequestID *string) *GetClusterAppSecretV4Params
- func (o *GetClusterAppSecretV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterAppSecretV4Reader
- type GetClusterAppSecretV4Unauthorized
- type GetClusterAppSecretV5NotFound
- type GetClusterAppSecretV5OK
- type GetClusterAppSecretV5Params
- func NewGetClusterAppSecretV5Params() *GetClusterAppSecretV5Params
- func NewGetClusterAppSecretV5ParamsWithContext(ctx context.Context) *GetClusterAppSecretV5Params
- func NewGetClusterAppSecretV5ParamsWithHTTPClient(client *http.Client) *GetClusterAppSecretV5Params
- func NewGetClusterAppSecretV5ParamsWithTimeout(timeout time.Duration) *GetClusterAppSecretV5Params
- func (o *GetClusterAppSecretV5Params) SetAppName(appName string)
- func (o *GetClusterAppSecretV5Params) SetClusterID(clusterID string)
- func (o *GetClusterAppSecretV5Params) SetContext(ctx context.Context)
- func (o *GetClusterAppSecretV5Params) SetHTTPClient(client *http.Client)
- func (o *GetClusterAppSecretV5Params) SetTimeout(timeout time.Duration)
- func (o *GetClusterAppSecretV5Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *GetClusterAppSecretV5Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *GetClusterAppSecretV5Params) SetXRequestID(xRequestID *string)
- func (o *GetClusterAppSecretV5Params) WithAppName(appName string) *GetClusterAppSecretV5Params
- func (o *GetClusterAppSecretV5Params) WithClusterID(clusterID string) *GetClusterAppSecretV5Params
- func (o *GetClusterAppSecretV5Params) WithContext(ctx context.Context) *GetClusterAppSecretV5Params
- func (o *GetClusterAppSecretV5Params) WithHTTPClient(client *http.Client) *GetClusterAppSecretV5Params
- func (o *GetClusterAppSecretV5Params) WithTimeout(timeout time.Duration) *GetClusterAppSecretV5Params
- func (o *GetClusterAppSecretV5Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *GetClusterAppSecretV5Params
- func (o *GetClusterAppSecretV5Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *GetClusterAppSecretV5Params
- func (o *GetClusterAppSecretV5Params) WithXRequestID(xRequestID *string) *GetClusterAppSecretV5Params
- func (o *GetClusterAppSecretV5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterAppSecretV5Reader
- type GetClusterAppSecretV5Unauthorized
- type ModifyClusterAppSecretV4BadRequest
- type ModifyClusterAppSecretV4Default
- type ModifyClusterAppSecretV4OK
- type ModifyClusterAppSecretV4Params
- func NewModifyClusterAppSecretV4Params() *ModifyClusterAppSecretV4Params
- func NewModifyClusterAppSecretV4ParamsWithContext(ctx context.Context) *ModifyClusterAppSecretV4Params
- func NewModifyClusterAppSecretV4ParamsWithHTTPClient(client *http.Client) *ModifyClusterAppSecretV4Params
- func NewModifyClusterAppSecretV4ParamsWithTimeout(timeout time.Duration) *ModifyClusterAppSecretV4Params
- func (o *ModifyClusterAppSecretV4Params) SetAppName(appName string)
- func (o *ModifyClusterAppSecretV4Params) SetBody(body models.V4CreateClusterAppSecretRequest)
- func (o *ModifyClusterAppSecretV4Params) SetClusterID(clusterID string)
- func (o *ModifyClusterAppSecretV4Params) SetContext(ctx context.Context)
- func (o *ModifyClusterAppSecretV4Params) SetHTTPClient(client *http.Client)
- func (o *ModifyClusterAppSecretV4Params) SetTimeout(timeout time.Duration)
- func (o *ModifyClusterAppSecretV4Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *ModifyClusterAppSecretV4Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *ModifyClusterAppSecretV4Params) SetXRequestID(xRequestID *string)
- func (o *ModifyClusterAppSecretV4Params) WithAppName(appName string) *ModifyClusterAppSecretV4Params
- func (o *ModifyClusterAppSecretV4Params) WithBody(body models.V4CreateClusterAppSecretRequest) *ModifyClusterAppSecretV4Params
- func (o *ModifyClusterAppSecretV4Params) WithClusterID(clusterID string) *ModifyClusterAppSecretV4Params
- func (o *ModifyClusterAppSecretV4Params) WithContext(ctx context.Context) *ModifyClusterAppSecretV4Params
- func (o *ModifyClusterAppSecretV4Params) WithHTTPClient(client *http.Client) *ModifyClusterAppSecretV4Params
- func (o *ModifyClusterAppSecretV4Params) WithTimeout(timeout time.Duration) *ModifyClusterAppSecretV4Params
- func (o *ModifyClusterAppSecretV4Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *ModifyClusterAppSecretV4Params
- func (o *ModifyClusterAppSecretV4Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *ModifyClusterAppSecretV4Params
- func (o *ModifyClusterAppSecretV4Params) WithXRequestID(xRequestID *string) *ModifyClusterAppSecretV4Params
- func (o *ModifyClusterAppSecretV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyClusterAppSecretV4Reader
- type ModifyClusterAppSecretV4Unauthorized
- type ModifyClusterAppSecretV5BadRequest
- type ModifyClusterAppSecretV5Default
- type ModifyClusterAppSecretV5OK
- type ModifyClusterAppSecretV5Params
- func NewModifyClusterAppSecretV5Params() *ModifyClusterAppSecretV5Params
- func NewModifyClusterAppSecretV5ParamsWithContext(ctx context.Context) *ModifyClusterAppSecretV5Params
- func NewModifyClusterAppSecretV5ParamsWithHTTPClient(client *http.Client) *ModifyClusterAppSecretV5Params
- func NewModifyClusterAppSecretV5ParamsWithTimeout(timeout time.Duration) *ModifyClusterAppSecretV5Params
- func (o *ModifyClusterAppSecretV5Params) SetAppName(appName string)
- func (o *ModifyClusterAppSecretV5Params) SetBody(body models.V4CreateClusterAppSecretRequest)
- func (o *ModifyClusterAppSecretV5Params) SetClusterID(clusterID string)
- func (o *ModifyClusterAppSecretV5Params) SetContext(ctx context.Context)
- func (o *ModifyClusterAppSecretV5Params) SetHTTPClient(client *http.Client)
- func (o *ModifyClusterAppSecretV5Params) SetTimeout(timeout time.Duration)
- func (o *ModifyClusterAppSecretV5Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
- func (o *ModifyClusterAppSecretV5Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
- func (o *ModifyClusterAppSecretV5Params) SetXRequestID(xRequestID *string)
- func (o *ModifyClusterAppSecretV5Params) WithAppName(appName string) *ModifyClusterAppSecretV5Params
- func (o *ModifyClusterAppSecretV5Params) WithBody(body models.V4CreateClusterAppSecretRequest) *ModifyClusterAppSecretV5Params
- func (o *ModifyClusterAppSecretV5Params) WithClusterID(clusterID string) *ModifyClusterAppSecretV5Params
- func (o *ModifyClusterAppSecretV5Params) WithContext(ctx context.Context) *ModifyClusterAppSecretV5Params
- func (o *ModifyClusterAppSecretV5Params) WithHTTPClient(client *http.Client) *ModifyClusterAppSecretV5Params
- func (o *ModifyClusterAppSecretV5Params) WithTimeout(timeout time.Duration) *ModifyClusterAppSecretV5Params
- func (o *ModifyClusterAppSecretV5Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *ModifyClusterAppSecretV5Params
- func (o *ModifyClusterAppSecretV5Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *ModifyClusterAppSecretV5Params
- func (o *ModifyClusterAppSecretV5Params) WithXRequestID(xRequestID *string) *ModifyClusterAppSecretV5Params
- func (o *ModifyClusterAppSecretV5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyClusterAppSecretV5Reader
- type ModifyClusterAppSecretV5Unauthorized
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) CreateClusterAppSecretV4 ¶
func (a *Client) CreateClusterAppSecretV4(params *CreateClusterAppSecretV4Params, authInfo runtime.ClientAuthInfoWriter) (*CreateClusterAppSecretV4OK, error)
CreateClusterAppSecretV4 creates secret v4
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.
For apps on v5 clusters, please use the v5 version of this endpoint.
### Example POST request ```json
{ "secret": "value" }
```
func (*Client) CreateClusterAppSecretV5 ¶
func (a *Client) CreateClusterAppSecretV5(params *CreateClusterAppSecretV5Params, authInfo runtime.ClientAuthInfoWriter) (*CreateClusterAppSecretV5OK, error)
CreateClusterAppSecretV5 creates secret v5
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 /v5/clusters/{cluster_id}/apps/{app_name}/secret/` endpoint.
### Example POST request ```json
{ "secret": "value" }
```
func (*Client) DeleteClusterAppSecretV4 ¶
func (a *Client) DeleteClusterAppSecretV4(params *DeleteClusterAppSecretV4Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteClusterAppSecretV4OK, error)
DeleteClusterAppSecretV4 deletes a secret v4
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.
For apps on v5 clusters, please use the v5 version of this endpoint.
func (*Client) DeleteClusterAppSecretV5 ¶
func (a *Client) DeleteClusterAppSecretV5(params *DeleteClusterAppSecretV5Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteClusterAppSecretV5OK, error)
DeleteClusterAppSecretV5 deletes a secret v5
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) GetClusterAppSecretV4 ¶
func (a *Client) GetClusterAppSecretV4(params *GetClusterAppSecretV4Params, authInfo runtime.ClientAuthInfoWriter) (*GetClusterAppSecretV4OK, error)
GetClusterAppSecretV4 gets secret v4
This operation allows you to fetch the Secret associated with an app.
For apps on v5 clusters, please use the v5 version of this endpoint.
func (*Client) GetClusterAppSecretV5 ¶
func (a *Client) GetClusterAppSecretV5(params *GetClusterAppSecretV5Params, authInfo runtime.ClientAuthInfoWriter) (*GetClusterAppSecretV5OK, error)
GetClusterAppSecretV5 gets secret v5
This operation allows you to fetch the Secret associated with an app.
func (*Client) ModifyClusterAppSecretV4 ¶
func (a *Client) ModifyClusterAppSecretV4(params *ModifyClusterAppSecretV4Params, authInfo runtime.ClientAuthInfoWriter) (*ModifyClusterAppSecretV4OK, error)
ModifyClusterAppSecretV4 modifies secret v4
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.
For apps on v5 clusters, please use the v5 version of this endpoint.
### 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) ModifyClusterAppSecretV5 ¶
func (a *Client) ModifyClusterAppSecretV5(params *ModifyClusterAppSecretV5Params, authInfo runtime.ClientAuthInfoWriter) (*ModifyClusterAppSecretV5OK, error)
ModifyClusterAppSecretV5 modifies secret v5
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 CreateClusterAppSecretV4BadRequest ¶
type CreateClusterAppSecretV4BadRequest struct {
Payload *models.V4GenericResponse
}
CreateClusterAppSecretV4BadRequest handles this case with default header values.
Invalid input
func NewCreateClusterAppSecretV4BadRequest ¶
func NewCreateClusterAppSecretV4BadRequest() *CreateClusterAppSecretV4BadRequest
NewCreateClusterAppSecretV4BadRequest creates a CreateClusterAppSecretV4BadRequest with default headers values
func (*CreateClusterAppSecretV4BadRequest) Error ¶
func (o *CreateClusterAppSecretV4BadRequest) Error() string
type CreateClusterAppSecretV4Conflict ¶
type CreateClusterAppSecretV4Conflict struct {
Payload *models.V4GenericResponse
}
CreateClusterAppSecretV4Conflict handles this case with default header values.
Secret already exists
func NewCreateClusterAppSecretV4Conflict ¶
func NewCreateClusterAppSecretV4Conflict() *CreateClusterAppSecretV4Conflict
NewCreateClusterAppSecretV4Conflict creates a CreateClusterAppSecretV4Conflict with default headers values
func (*CreateClusterAppSecretV4Conflict) Error ¶
func (o *CreateClusterAppSecretV4Conflict) Error() string
type CreateClusterAppSecretV4Default ¶
type CreateClusterAppSecretV4Default struct { Payload *models.V4GenericResponse // contains filtered or unexported fields }
CreateClusterAppSecretV4Default handles this case with default header values.
Error
func NewCreateClusterAppSecretV4Default ¶
func NewCreateClusterAppSecretV4Default(code int) *CreateClusterAppSecretV4Default
NewCreateClusterAppSecretV4Default creates a CreateClusterAppSecretV4Default with default headers values
func (*CreateClusterAppSecretV4Default) Code ¶
func (o *CreateClusterAppSecretV4Default) Code() int
Code gets the status code for the create cluster app secret v4 default response
func (*CreateClusterAppSecretV4Default) Error ¶
func (o *CreateClusterAppSecretV4Default) Error() string
type CreateClusterAppSecretV4OK ¶
type CreateClusterAppSecretV4OK struct {
Payload *models.V4GenericResponse
}
CreateClusterAppSecretV4OK handles this case with default header values.
Success
func NewCreateClusterAppSecretV4OK ¶
func NewCreateClusterAppSecretV4OK() *CreateClusterAppSecretV4OK
NewCreateClusterAppSecretV4OK creates a CreateClusterAppSecretV4OK with default headers values
func (*CreateClusterAppSecretV4OK) Error ¶
func (o *CreateClusterAppSecretV4OK) Error() string
type CreateClusterAppSecretV4Params ¶
type CreateClusterAppSecretV4Params 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 }
CreateClusterAppSecretV4Params contains all the parameters to send to the API endpoint for the create cluster app secret v4 operation typically these are written to a http.Request
func NewCreateClusterAppSecretV4Params ¶
func NewCreateClusterAppSecretV4Params() *CreateClusterAppSecretV4Params
NewCreateClusterAppSecretV4Params creates a new CreateClusterAppSecretV4Params object with the default values initialized.
func NewCreateClusterAppSecretV4ParamsWithContext ¶
func NewCreateClusterAppSecretV4ParamsWithContext(ctx context.Context) *CreateClusterAppSecretV4Params
NewCreateClusterAppSecretV4ParamsWithContext creates a new CreateClusterAppSecretV4Params object with the default values initialized, and the ability to set a context for a request
func NewCreateClusterAppSecretV4ParamsWithHTTPClient ¶
func NewCreateClusterAppSecretV4ParamsWithHTTPClient(client *http.Client) *CreateClusterAppSecretV4Params
NewCreateClusterAppSecretV4ParamsWithHTTPClient creates a new CreateClusterAppSecretV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateClusterAppSecretV4ParamsWithTimeout ¶
func NewCreateClusterAppSecretV4ParamsWithTimeout(timeout time.Duration) *CreateClusterAppSecretV4Params
NewCreateClusterAppSecretV4ParamsWithTimeout creates a new CreateClusterAppSecretV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*CreateClusterAppSecretV4Params) SetAppName ¶
func (o *CreateClusterAppSecretV4Params) SetAppName(appName string)
SetAppName adds the appName to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) SetBody ¶
func (o *CreateClusterAppSecretV4Params) SetBody(body models.V4CreateClusterAppSecretRequest)
SetBody adds the body to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) SetClusterID ¶
func (o *CreateClusterAppSecretV4Params) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) SetContext ¶
func (o *CreateClusterAppSecretV4Params) SetContext(ctx context.Context)
SetContext adds the context to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) SetHTTPClient ¶
func (o *CreateClusterAppSecretV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) SetTimeout ¶
func (o *CreateClusterAppSecretV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) SetXGiantSwarmActivity ¶
func (o *CreateClusterAppSecretV4Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) SetXGiantSwarmCmdLine ¶
func (o *CreateClusterAppSecretV4Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) SetXRequestID ¶
func (o *CreateClusterAppSecretV4Params) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) WithAppName ¶
func (o *CreateClusterAppSecretV4Params) WithAppName(appName string) *CreateClusterAppSecretV4Params
WithAppName adds the appName to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) WithBody ¶
func (o *CreateClusterAppSecretV4Params) WithBody(body models.V4CreateClusterAppSecretRequest) *CreateClusterAppSecretV4Params
WithBody adds the body to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) WithClusterID ¶
func (o *CreateClusterAppSecretV4Params) WithClusterID(clusterID string) *CreateClusterAppSecretV4Params
WithClusterID adds the clusterID to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) WithContext ¶
func (o *CreateClusterAppSecretV4Params) WithContext(ctx context.Context) *CreateClusterAppSecretV4Params
WithContext adds the context to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) WithHTTPClient ¶
func (o *CreateClusterAppSecretV4Params) WithHTTPClient(client *http.Client) *CreateClusterAppSecretV4Params
WithHTTPClient adds the HTTPClient to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) WithTimeout ¶
func (o *CreateClusterAppSecretV4Params) WithTimeout(timeout time.Duration) *CreateClusterAppSecretV4Params
WithTimeout adds the timeout to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) WithXGiantSwarmActivity ¶
func (o *CreateClusterAppSecretV4Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *CreateClusterAppSecretV4Params
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) WithXGiantSwarmCmdLine ¶
func (o *CreateClusterAppSecretV4Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *CreateClusterAppSecretV4Params
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) WithXRequestID ¶
func (o *CreateClusterAppSecretV4Params) WithXRequestID(xRequestID *string) *CreateClusterAppSecretV4Params
WithXRequestID adds the xRequestID to the create cluster app secret v4 params
func (*CreateClusterAppSecretV4Params) WriteToRequest ¶
func (o *CreateClusterAppSecretV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateClusterAppSecretV4Reader ¶
type CreateClusterAppSecretV4Reader struct {
// contains filtered or unexported fields
}
CreateClusterAppSecretV4Reader is a Reader for the CreateClusterAppSecretV4 structure.
func (*CreateClusterAppSecretV4Reader) ReadResponse ¶
func (o *CreateClusterAppSecretV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateClusterAppSecretV4Unauthorized ¶
type CreateClusterAppSecretV4Unauthorized struct {
}CreateClusterAppSecretV4Unauthorized handles this case with default header values.
Permission denied
func NewCreateClusterAppSecretV4Unauthorized ¶
func NewCreateClusterAppSecretV4Unauthorized() *CreateClusterAppSecretV4Unauthorized
NewCreateClusterAppSecretV4Unauthorized creates a CreateClusterAppSecretV4Unauthorized with default headers values
func (*CreateClusterAppSecretV4Unauthorized) Error ¶
func (o *CreateClusterAppSecretV4Unauthorized) Error() string
type CreateClusterAppSecretV5BadRequest ¶
type CreateClusterAppSecretV5BadRequest struct {
Payload *models.V4GenericResponse
}
CreateClusterAppSecretV5BadRequest handles this case with default header values.
Invalid input
func NewCreateClusterAppSecretV5BadRequest ¶
func NewCreateClusterAppSecretV5BadRequest() *CreateClusterAppSecretV5BadRequest
NewCreateClusterAppSecretV5BadRequest creates a CreateClusterAppSecretV5BadRequest with default headers values
func (*CreateClusterAppSecretV5BadRequest) Error ¶
func (o *CreateClusterAppSecretV5BadRequest) Error() string
type CreateClusterAppSecretV5Conflict ¶
type CreateClusterAppSecretV5Conflict struct {
Payload *models.V4GenericResponse
}
CreateClusterAppSecretV5Conflict handles this case with default header values.
Secret already exists
func NewCreateClusterAppSecretV5Conflict ¶
func NewCreateClusterAppSecretV5Conflict() *CreateClusterAppSecretV5Conflict
NewCreateClusterAppSecretV5Conflict creates a CreateClusterAppSecretV5Conflict with default headers values
func (*CreateClusterAppSecretV5Conflict) Error ¶
func (o *CreateClusterAppSecretV5Conflict) Error() string
type CreateClusterAppSecretV5Default ¶
type CreateClusterAppSecretV5Default struct { Payload *models.V4GenericResponse // contains filtered or unexported fields }
CreateClusterAppSecretV5Default handles this case with default header values.
Error
func NewCreateClusterAppSecretV5Default ¶
func NewCreateClusterAppSecretV5Default(code int) *CreateClusterAppSecretV5Default
NewCreateClusterAppSecretV5Default creates a CreateClusterAppSecretV5Default with default headers values
func (*CreateClusterAppSecretV5Default) Code ¶
func (o *CreateClusterAppSecretV5Default) Code() int
Code gets the status code for the create cluster app secret v5 default response
func (*CreateClusterAppSecretV5Default) Error ¶
func (o *CreateClusterAppSecretV5Default) Error() string
type CreateClusterAppSecretV5OK ¶
type CreateClusterAppSecretV5OK struct {
Payload *models.V4GenericResponse
}
CreateClusterAppSecretV5OK handles this case with default header values.
Success
func NewCreateClusterAppSecretV5OK ¶
func NewCreateClusterAppSecretV5OK() *CreateClusterAppSecretV5OK
NewCreateClusterAppSecretV5OK creates a CreateClusterAppSecretV5OK with default headers values
func (*CreateClusterAppSecretV5OK) Error ¶
func (o *CreateClusterAppSecretV5OK) Error() string
type CreateClusterAppSecretV5Params ¶
type CreateClusterAppSecretV5Params 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 }
CreateClusterAppSecretV5Params contains all the parameters to send to the API endpoint for the create cluster app secret v5 operation typically these are written to a http.Request
func NewCreateClusterAppSecretV5Params ¶
func NewCreateClusterAppSecretV5Params() *CreateClusterAppSecretV5Params
NewCreateClusterAppSecretV5Params creates a new CreateClusterAppSecretV5Params object with the default values initialized.
func NewCreateClusterAppSecretV5ParamsWithContext ¶
func NewCreateClusterAppSecretV5ParamsWithContext(ctx context.Context) *CreateClusterAppSecretV5Params
NewCreateClusterAppSecretV5ParamsWithContext creates a new CreateClusterAppSecretV5Params object with the default values initialized, and the ability to set a context for a request
func NewCreateClusterAppSecretV5ParamsWithHTTPClient ¶
func NewCreateClusterAppSecretV5ParamsWithHTTPClient(client *http.Client) *CreateClusterAppSecretV5Params
NewCreateClusterAppSecretV5ParamsWithHTTPClient creates a new CreateClusterAppSecretV5Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateClusterAppSecretV5ParamsWithTimeout ¶
func NewCreateClusterAppSecretV5ParamsWithTimeout(timeout time.Duration) *CreateClusterAppSecretV5Params
NewCreateClusterAppSecretV5ParamsWithTimeout creates a new CreateClusterAppSecretV5Params object with the default values initialized, and the ability to set a timeout on a request
func (*CreateClusterAppSecretV5Params) SetAppName ¶
func (o *CreateClusterAppSecretV5Params) SetAppName(appName string)
SetAppName adds the appName to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) SetBody ¶
func (o *CreateClusterAppSecretV5Params) SetBody(body models.V4CreateClusterAppSecretRequest)
SetBody adds the body to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) SetClusterID ¶
func (o *CreateClusterAppSecretV5Params) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) SetContext ¶
func (o *CreateClusterAppSecretV5Params) SetContext(ctx context.Context)
SetContext adds the context to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) SetHTTPClient ¶
func (o *CreateClusterAppSecretV5Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) SetTimeout ¶
func (o *CreateClusterAppSecretV5Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) SetXGiantSwarmActivity ¶
func (o *CreateClusterAppSecretV5Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) SetXGiantSwarmCmdLine ¶
func (o *CreateClusterAppSecretV5Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) SetXRequestID ¶
func (o *CreateClusterAppSecretV5Params) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) WithAppName ¶
func (o *CreateClusterAppSecretV5Params) WithAppName(appName string) *CreateClusterAppSecretV5Params
WithAppName adds the appName to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) WithBody ¶
func (o *CreateClusterAppSecretV5Params) WithBody(body models.V4CreateClusterAppSecretRequest) *CreateClusterAppSecretV5Params
WithBody adds the body to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) WithClusterID ¶
func (o *CreateClusterAppSecretV5Params) WithClusterID(clusterID string) *CreateClusterAppSecretV5Params
WithClusterID adds the clusterID to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) WithContext ¶
func (o *CreateClusterAppSecretV5Params) WithContext(ctx context.Context) *CreateClusterAppSecretV5Params
WithContext adds the context to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) WithHTTPClient ¶
func (o *CreateClusterAppSecretV5Params) WithHTTPClient(client *http.Client) *CreateClusterAppSecretV5Params
WithHTTPClient adds the HTTPClient to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) WithTimeout ¶
func (o *CreateClusterAppSecretV5Params) WithTimeout(timeout time.Duration) *CreateClusterAppSecretV5Params
WithTimeout adds the timeout to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) WithXGiantSwarmActivity ¶
func (o *CreateClusterAppSecretV5Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *CreateClusterAppSecretV5Params
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) WithXGiantSwarmCmdLine ¶
func (o *CreateClusterAppSecretV5Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *CreateClusterAppSecretV5Params
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) WithXRequestID ¶
func (o *CreateClusterAppSecretV5Params) WithXRequestID(xRequestID *string) *CreateClusterAppSecretV5Params
WithXRequestID adds the xRequestID to the create cluster app secret v5 params
func (*CreateClusterAppSecretV5Params) WriteToRequest ¶
func (o *CreateClusterAppSecretV5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateClusterAppSecretV5Reader ¶
type CreateClusterAppSecretV5Reader struct {
// contains filtered or unexported fields
}
CreateClusterAppSecretV5Reader is a Reader for the CreateClusterAppSecretV5 structure.
func (*CreateClusterAppSecretV5Reader) ReadResponse ¶
func (o *CreateClusterAppSecretV5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateClusterAppSecretV5Unauthorized ¶
type CreateClusterAppSecretV5Unauthorized struct {
}CreateClusterAppSecretV5Unauthorized handles this case with default header values.
Permission denied
func NewCreateClusterAppSecretV5Unauthorized ¶
func NewCreateClusterAppSecretV5Unauthorized() *CreateClusterAppSecretV5Unauthorized
NewCreateClusterAppSecretV5Unauthorized creates a CreateClusterAppSecretV5Unauthorized with default headers values
func (*CreateClusterAppSecretV5Unauthorized) Error ¶
func (o *CreateClusterAppSecretV5Unauthorized) Error() string
type DeleteClusterAppSecretV4Default ¶
type DeleteClusterAppSecretV4Default struct { Payload *models.V4GenericResponse // contains filtered or unexported fields }
DeleteClusterAppSecretV4Default handles this case with default header values.
Error
func NewDeleteClusterAppSecretV4Default ¶
func NewDeleteClusterAppSecretV4Default(code int) *DeleteClusterAppSecretV4Default
NewDeleteClusterAppSecretV4Default creates a DeleteClusterAppSecretV4Default with default headers values
func (*DeleteClusterAppSecretV4Default) Code ¶
func (o *DeleteClusterAppSecretV4Default) Code() int
Code gets the status code for the delete cluster app secret v4 default response
func (*DeleteClusterAppSecretV4Default) Error ¶
func (o *DeleteClusterAppSecretV4Default) Error() string
type DeleteClusterAppSecretV4NotFound ¶
type DeleteClusterAppSecretV4NotFound struct {
Payload *models.V4GenericResponse
}
DeleteClusterAppSecretV4NotFound handles this case with default header values.
Secret not found
func NewDeleteClusterAppSecretV4NotFound ¶
func NewDeleteClusterAppSecretV4NotFound() *DeleteClusterAppSecretV4NotFound
NewDeleteClusterAppSecretV4NotFound creates a DeleteClusterAppSecretV4NotFound with default headers values
func (*DeleteClusterAppSecretV4NotFound) Error ¶
func (o *DeleteClusterAppSecretV4NotFound) Error() string
type DeleteClusterAppSecretV4OK ¶
type DeleteClusterAppSecretV4OK struct {
Payload *models.V4GenericResponse
}
DeleteClusterAppSecretV4OK handles this case with default header values.
Secret deleted
func NewDeleteClusterAppSecretV4OK ¶
func NewDeleteClusterAppSecretV4OK() *DeleteClusterAppSecretV4OK
NewDeleteClusterAppSecretV4OK creates a DeleteClusterAppSecretV4OK with default headers values
func (*DeleteClusterAppSecretV4OK) Error ¶
func (o *DeleteClusterAppSecretV4OK) Error() string
type DeleteClusterAppSecretV4Params ¶
type DeleteClusterAppSecretV4Params 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 }
DeleteClusterAppSecretV4Params contains all the parameters to send to the API endpoint for the delete cluster app secret v4 operation typically these are written to a http.Request
func NewDeleteClusterAppSecretV4Params ¶
func NewDeleteClusterAppSecretV4Params() *DeleteClusterAppSecretV4Params
NewDeleteClusterAppSecretV4Params creates a new DeleteClusterAppSecretV4Params object with the default values initialized.
func NewDeleteClusterAppSecretV4ParamsWithContext ¶
func NewDeleteClusterAppSecretV4ParamsWithContext(ctx context.Context) *DeleteClusterAppSecretV4Params
NewDeleteClusterAppSecretV4ParamsWithContext creates a new DeleteClusterAppSecretV4Params object with the default values initialized, and the ability to set a context for a request
func NewDeleteClusterAppSecretV4ParamsWithHTTPClient ¶
func NewDeleteClusterAppSecretV4ParamsWithHTTPClient(client *http.Client) *DeleteClusterAppSecretV4Params
NewDeleteClusterAppSecretV4ParamsWithHTTPClient creates a new DeleteClusterAppSecretV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteClusterAppSecretV4ParamsWithTimeout ¶
func NewDeleteClusterAppSecretV4ParamsWithTimeout(timeout time.Duration) *DeleteClusterAppSecretV4Params
NewDeleteClusterAppSecretV4ParamsWithTimeout creates a new DeleteClusterAppSecretV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteClusterAppSecretV4Params) SetAppName ¶
func (o *DeleteClusterAppSecretV4Params) SetAppName(appName string)
SetAppName adds the appName to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) SetClusterID ¶
func (o *DeleteClusterAppSecretV4Params) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) SetContext ¶
func (o *DeleteClusterAppSecretV4Params) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) SetHTTPClient ¶
func (o *DeleteClusterAppSecretV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) SetTimeout ¶
func (o *DeleteClusterAppSecretV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) SetXGiantSwarmActivity ¶
func (o *DeleteClusterAppSecretV4Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) SetXGiantSwarmCmdLine ¶
func (o *DeleteClusterAppSecretV4Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) SetXRequestID ¶
func (o *DeleteClusterAppSecretV4Params) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) WithAppName ¶
func (o *DeleteClusterAppSecretV4Params) WithAppName(appName string) *DeleteClusterAppSecretV4Params
WithAppName adds the appName to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) WithClusterID ¶
func (o *DeleteClusterAppSecretV4Params) WithClusterID(clusterID string) *DeleteClusterAppSecretV4Params
WithClusterID adds the clusterID to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) WithContext ¶
func (o *DeleteClusterAppSecretV4Params) WithContext(ctx context.Context) *DeleteClusterAppSecretV4Params
WithContext adds the context to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) WithHTTPClient ¶
func (o *DeleteClusterAppSecretV4Params) WithHTTPClient(client *http.Client) *DeleteClusterAppSecretV4Params
WithHTTPClient adds the HTTPClient to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) WithTimeout ¶
func (o *DeleteClusterAppSecretV4Params) WithTimeout(timeout time.Duration) *DeleteClusterAppSecretV4Params
WithTimeout adds the timeout to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) WithXGiantSwarmActivity ¶
func (o *DeleteClusterAppSecretV4Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *DeleteClusterAppSecretV4Params
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) WithXGiantSwarmCmdLine ¶
func (o *DeleteClusterAppSecretV4Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *DeleteClusterAppSecretV4Params
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) WithXRequestID ¶
func (o *DeleteClusterAppSecretV4Params) WithXRequestID(xRequestID *string) *DeleteClusterAppSecretV4Params
WithXRequestID adds the xRequestID to the delete cluster app secret v4 params
func (*DeleteClusterAppSecretV4Params) WriteToRequest ¶
func (o *DeleteClusterAppSecretV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterAppSecretV4Reader ¶
type DeleteClusterAppSecretV4Reader struct {
// contains filtered or unexported fields
}
DeleteClusterAppSecretV4Reader is a Reader for the DeleteClusterAppSecretV4 structure.
func (*DeleteClusterAppSecretV4Reader) ReadResponse ¶
func (o *DeleteClusterAppSecretV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClusterAppSecretV4Unauthorized ¶
type DeleteClusterAppSecretV4Unauthorized struct {
}DeleteClusterAppSecretV4Unauthorized handles this case with default header values.
Permission denied
func NewDeleteClusterAppSecretV4Unauthorized ¶
func NewDeleteClusterAppSecretV4Unauthorized() *DeleteClusterAppSecretV4Unauthorized
NewDeleteClusterAppSecretV4Unauthorized creates a DeleteClusterAppSecretV4Unauthorized with default headers values
func (*DeleteClusterAppSecretV4Unauthorized) Error ¶
func (o *DeleteClusterAppSecretV4Unauthorized) Error() string
type DeleteClusterAppSecretV5Default ¶
type DeleteClusterAppSecretV5Default struct { Payload *models.V4GenericResponse // contains filtered or unexported fields }
DeleteClusterAppSecretV5Default handles this case with default header values.
Error
func NewDeleteClusterAppSecretV5Default ¶
func NewDeleteClusterAppSecretV5Default(code int) *DeleteClusterAppSecretV5Default
NewDeleteClusterAppSecretV5Default creates a DeleteClusterAppSecretV5Default with default headers values
func (*DeleteClusterAppSecretV5Default) Code ¶
func (o *DeleteClusterAppSecretV5Default) Code() int
Code gets the status code for the delete cluster app secret v5 default response
func (*DeleteClusterAppSecretV5Default) Error ¶
func (o *DeleteClusterAppSecretV5Default) Error() string
type DeleteClusterAppSecretV5NotFound ¶
type DeleteClusterAppSecretV5NotFound struct {
Payload *models.V4GenericResponse
}
DeleteClusterAppSecretV5NotFound handles this case with default header values.
Secret not found
func NewDeleteClusterAppSecretV5NotFound ¶
func NewDeleteClusterAppSecretV5NotFound() *DeleteClusterAppSecretV5NotFound
NewDeleteClusterAppSecretV5NotFound creates a DeleteClusterAppSecretV5NotFound with default headers values
func (*DeleteClusterAppSecretV5NotFound) Error ¶
func (o *DeleteClusterAppSecretV5NotFound) Error() string
type DeleteClusterAppSecretV5OK ¶
type DeleteClusterAppSecretV5OK struct {
Payload *models.V4GenericResponse
}
DeleteClusterAppSecretV5OK handles this case with default header values.
Secret deleted
func NewDeleteClusterAppSecretV5OK ¶
func NewDeleteClusterAppSecretV5OK() *DeleteClusterAppSecretV5OK
NewDeleteClusterAppSecretV5OK creates a DeleteClusterAppSecretV5OK with default headers values
func (*DeleteClusterAppSecretV5OK) Error ¶
func (o *DeleteClusterAppSecretV5OK) Error() string
type DeleteClusterAppSecretV5Params ¶
type DeleteClusterAppSecretV5Params 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 }
DeleteClusterAppSecretV5Params contains all the parameters to send to the API endpoint for the delete cluster app secret v5 operation typically these are written to a http.Request
func NewDeleteClusterAppSecretV5Params ¶
func NewDeleteClusterAppSecretV5Params() *DeleteClusterAppSecretV5Params
NewDeleteClusterAppSecretV5Params creates a new DeleteClusterAppSecretV5Params object with the default values initialized.
func NewDeleteClusterAppSecretV5ParamsWithContext ¶
func NewDeleteClusterAppSecretV5ParamsWithContext(ctx context.Context) *DeleteClusterAppSecretV5Params
NewDeleteClusterAppSecretV5ParamsWithContext creates a new DeleteClusterAppSecretV5Params object with the default values initialized, and the ability to set a context for a request
func NewDeleteClusterAppSecretV5ParamsWithHTTPClient ¶
func NewDeleteClusterAppSecretV5ParamsWithHTTPClient(client *http.Client) *DeleteClusterAppSecretV5Params
NewDeleteClusterAppSecretV5ParamsWithHTTPClient creates a new DeleteClusterAppSecretV5Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteClusterAppSecretV5ParamsWithTimeout ¶
func NewDeleteClusterAppSecretV5ParamsWithTimeout(timeout time.Duration) *DeleteClusterAppSecretV5Params
NewDeleteClusterAppSecretV5ParamsWithTimeout creates a new DeleteClusterAppSecretV5Params object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteClusterAppSecretV5Params) SetAppName ¶
func (o *DeleteClusterAppSecretV5Params) SetAppName(appName string)
SetAppName adds the appName to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) SetClusterID ¶
func (o *DeleteClusterAppSecretV5Params) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) SetContext ¶
func (o *DeleteClusterAppSecretV5Params) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) SetHTTPClient ¶
func (o *DeleteClusterAppSecretV5Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) SetTimeout ¶
func (o *DeleteClusterAppSecretV5Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) SetXGiantSwarmActivity ¶
func (o *DeleteClusterAppSecretV5Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) SetXGiantSwarmCmdLine ¶
func (o *DeleteClusterAppSecretV5Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) SetXRequestID ¶
func (o *DeleteClusterAppSecretV5Params) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) WithAppName ¶
func (o *DeleteClusterAppSecretV5Params) WithAppName(appName string) *DeleteClusterAppSecretV5Params
WithAppName adds the appName to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) WithClusterID ¶
func (o *DeleteClusterAppSecretV5Params) WithClusterID(clusterID string) *DeleteClusterAppSecretV5Params
WithClusterID adds the clusterID to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) WithContext ¶
func (o *DeleteClusterAppSecretV5Params) WithContext(ctx context.Context) *DeleteClusterAppSecretV5Params
WithContext adds the context to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) WithHTTPClient ¶
func (o *DeleteClusterAppSecretV5Params) WithHTTPClient(client *http.Client) *DeleteClusterAppSecretV5Params
WithHTTPClient adds the HTTPClient to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) WithTimeout ¶
func (o *DeleteClusterAppSecretV5Params) WithTimeout(timeout time.Duration) *DeleteClusterAppSecretV5Params
WithTimeout adds the timeout to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) WithXGiantSwarmActivity ¶
func (o *DeleteClusterAppSecretV5Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *DeleteClusterAppSecretV5Params
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) WithXGiantSwarmCmdLine ¶
func (o *DeleteClusterAppSecretV5Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *DeleteClusterAppSecretV5Params
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) WithXRequestID ¶
func (o *DeleteClusterAppSecretV5Params) WithXRequestID(xRequestID *string) *DeleteClusterAppSecretV5Params
WithXRequestID adds the xRequestID to the delete cluster app secret v5 params
func (*DeleteClusterAppSecretV5Params) WriteToRequest ¶
func (o *DeleteClusterAppSecretV5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterAppSecretV5Reader ¶
type DeleteClusterAppSecretV5Reader struct {
// contains filtered or unexported fields
}
DeleteClusterAppSecretV5Reader is a Reader for the DeleteClusterAppSecretV5 structure.
func (*DeleteClusterAppSecretV5Reader) ReadResponse ¶
func (o *DeleteClusterAppSecretV5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClusterAppSecretV5Unauthorized ¶
type DeleteClusterAppSecretV5Unauthorized struct {
}DeleteClusterAppSecretV5Unauthorized handles this case with default header values.
Permission denied
func NewDeleteClusterAppSecretV5Unauthorized ¶
func NewDeleteClusterAppSecretV5Unauthorized() *DeleteClusterAppSecretV5Unauthorized
NewDeleteClusterAppSecretV5Unauthorized creates a DeleteClusterAppSecretV5Unauthorized with default headers values
func (*DeleteClusterAppSecretV5Unauthorized) Error ¶
func (o *DeleteClusterAppSecretV5Unauthorized) Error() string
type GetClusterAppSecretV4NotFound ¶
type GetClusterAppSecretV4NotFound struct {
Payload *models.V4GenericResponse
}
GetClusterAppSecretV4NotFound handles this case with default header values.
Secret not found
func NewGetClusterAppSecretV4NotFound ¶
func NewGetClusterAppSecretV4NotFound() *GetClusterAppSecretV4NotFound
NewGetClusterAppSecretV4NotFound creates a GetClusterAppSecretV4NotFound with default headers values
func (*GetClusterAppSecretV4NotFound) Error ¶
func (o *GetClusterAppSecretV4NotFound) Error() string
type GetClusterAppSecretV4OK ¶
type GetClusterAppSecretV4OK struct {
Payload models.V4GetClusterAppSecretResponse
}
GetClusterAppSecretV4OK handles this case with default header values.
Success
func NewGetClusterAppSecretV4OK ¶
func NewGetClusterAppSecretV4OK() *GetClusterAppSecretV4OK
NewGetClusterAppSecretV4OK creates a GetClusterAppSecretV4OK with default headers values
func (*GetClusterAppSecretV4OK) Error ¶
func (o *GetClusterAppSecretV4OK) Error() string
type GetClusterAppSecretV4Params ¶
type GetClusterAppSecretV4Params 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 }
GetClusterAppSecretV4Params contains all the parameters to send to the API endpoint for the get cluster app secret v4 operation typically these are written to a http.Request
func NewGetClusterAppSecretV4Params ¶
func NewGetClusterAppSecretV4Params() *GetClusterAppSecretV4Params
NewGetClusterAppSecretV4Params creates a new GetClusterAppSecretV4Params object with the default values initialized.
func NewGetClusterAppSecretV4ParamsWithContext ¶
func NewGetClusterAppSecretV4ParamsWithContext(ctx context.Context) *GetClusterAppSecretV4Params
NewGetClusterAppSecretV4ParamsWithContext creates a new GetClusterAppSecretV4Params object with the default values initialized, and the ability to set a context for a request
func NewGetClusterAppSecretV4ParamsWithHTTPClient ¶
func NewGetClusterAppSecretV4ParamsWithHTTPClient(client *http.Client) *GetClusterAppSecretV4Params
NewGetClusterAppSecretV4ParamsWithHTTPClient creates a new GetClusterAppSecretV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetClusterAppSecretV4ParamsWithTimeout ¶
func NewGetClusterAppSecretV4ParamsWithTimeout(timeout time.Duration) *GetClusterAppSecretV4Params
NewGetClusterAppSecretV4ParamsWithTimeout creates a new GetClusterAppSecretV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetClusterAppSecretV4Params) SetAppName ¶
func (o *GetClusterAppSecretV4Params) SetAppName(appName string)
SetAppName adds the appName to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) SetClusterID ¶
func (o *GetClusterAppSecretV4Params) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) SetContext ¶
func (o *GetClusterAppSecretV4Params) SetContext(ctx context.Context)
SetContext adds the context to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) SetHTTPClient ¶
func (o *GetClusterAppSecretV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) SetTimeout ¶
func (o *GetClusterAppSecretV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) SetXGiantSwarmActivity ¶
func (o *GetClusterAppSecretV4Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) SetXGiantSwarmCmdLine ¶
func (o *GetClusterAppSecretV4Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) SetXRequestID ¶
func (o *GetClusterAppSecretV4Params) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) WithAppName ¶
func (o *GetClusterAppSecretV4Params) WithAppName(appName string) *GetClusterAppSecretV4Params
WithAppName adds the appName to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) WithClusterID ¶
func (o *GetClusterAppSecretV4Params) WithClusterID(clusterID string) *GetClusterAppSecretV4Params
WithClusterID adds the clusterID to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) WithContext ¶
func (o *GetClusterAppSecretV4Params) WithContext(ctx context.Context) *GetClusterAppSecretV4Params
WithContext adds the context to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) WithHTTPClient ¶
func (o *GetClusterAppSecretV4Params) WithHTTPClient(client *http.Client) *GetClusterAppSecretV4Params
WithHTTPClient adds the HTTPClient to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) WithTimeout ¶
func (o *GetClusterAppSecretV4Params) WithTimeout(timeout time.Duration) *GetClusterAppSecretV4Params
WithTimeout adds the timeout to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) WithXGiantSwarmActivity ¶
func (o *GetClusterAppSecretV4Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *GetClusterAppSecretV4Params
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) WithXGiantSwarmCmdLine ¶
func (o *GetClusterAppSecretV4Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *GetClusterAppSecretV4Params
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) WithXRequestID ¶
func (o *GetClusterAppSecretV4Params) WithXRequestID(xRequestID *string) *GetClusterAppSecretV4Params
WithXRequestID adds the xRequestID to the get cluster app secret v4 params
func (*GetClusterAppSecretV4Params) WriteToRequest ¶
func (o *GetClusterAppSecretV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterAppSecretV4Reader ¶
type GetClusterAppSecretV4Reader struct {
// contains filtered or unexported fields
}
GetClusterAppSecretV4Reader is a Reader for the GetClusterAppSecretV4 structure.
func (*GetClusterAppSecretV4Reader) ReadResponse ¶
func (o *GetClusterAppSecretV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterAppSecretV4Unauthorized ¶
type GetClusterAppSecretV4Unauthorized struct {
}GetClusterAppSecretV4Unauthorized handles this case with default header values.
Permission denied
func NewGetClusterAppSecretV4Unauthorized ¶
func NewGetClusterAppSecretV4Unauthorized() *GetClusterAppSecretV4Unauthorized
NewGetClusterAppSecretV4Unauthorized creates a GetClusterAppSecretV4Unauthorized with default headers values
func (*GetClusterAppSecretV4Unauthorized) Error ¶
func (o *GetClusterAppSecretV4Unauthorized) Error() string
type GetClusterAppSecretV5NotFound ¶
type GetClusterAppSecretV5NotFound struct {
Payload *models.V4GenericResponse
}
GetClusterAppSecretV5NotFound handles this case with default header values.
Secret not found
func NewGetClusterAppSecretV5NotFound ¶
func NewGetClusterAppSecretV5NotFound() *GetClusterAppSecretV5NotFound
NewGetClusterAppSecretV5NotFound creates a GetClusterAppSecretV5NotFound with default headers values
func (*GetClusterAppSecretV5NotFound) Error ¶
func (o *GetClusterAppSecretV5NotFound) Error() string
type GetClusterAppSecretV5OK ¶
type GetClusterAppSecretV5OK struct {
Payload models.V4GetClusterAppSecretResponse
}
GetClusterAppSecretV5OK handles this case with default header values.
Success
func NewGetClusterAppSecretV5OK ¶
func NewGetClusterAppSecretV5OK() *GetClusterAppSecretV5OK
NewGetClusterAppSecretV5OK creates a GetClusterAppSecretV5OK with default headers values
func (*GetClusterAppSecretV5OK) Error ¶
func (o *GetClusterAppSecretV5OK) Error() string
type GetClusterAppSecretV5Params ¶
type GetClusterAppSecretV5Params 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 }
GetClusterAppSecretV5Params contains all the parameters to send to the API endpoint for the get cluster app secret v5 operation typically these are written to a http.Request
func NewGetClusterAppSecretV5Params ¶
func NewGetClusterAppSecretV5Params() *GetClusterAppSecretV5Params
NewGetClusterAppSecretV5Params creates a new GetClusterAppSecretV5Params object with the default values initialized.
func NewGetClusterAppSecretV5ParamsWithContext ¶
func NewGetClusterAppSecretV5ParamsWithContext(ctx context.Context) *GetClusterAppSecretV5Params
NewGetClusterAppSecretV5ParamsWithContext creates a new GetClusterAppSecretV5Params object with the default values initialized, and the ability to set a context for a request
func NewGetClusterAppSecretV5ParamsWithHTTPClient ¶
func NewGetClusterAppSecretV5ParamsWithHTTPClient(client *http.Client) *GetClusterAppSecretV5Params
NewGetClusterAppSecretV5ParamsWithHTTPClient creates a new GetClusterAppSecretV5Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetClusterAppSecretV5ParamsWithTimeout ¶
func NewGetClusterAppSecretV5ParamsWithTimeout(timeout time.Duration) *GetClusterAppSecretV5Params
NewGetClusterAppSecretV5ParamsWithTimeout creates a new GetClusterAppSecretV5Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetClusterAppSecretV5Params) SetAppName ¶
func (o *GetClusterAppSecretV5Params) SetAppName(appName string)
SetAppName adds the appName to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) SetClusterID ¶
func (o *GetClusterAppSecretV5Params) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) SetContext ¶
func (o *GetClusterAppSecretV5Params) SetContext(ctx context.Context)
SetContext adds the context to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) SetHTTPClient ¶
func (o *GetClusterAppSecretV5Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) SetTimeout ¶
func (o *GetClusterAppSecretV5Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) SetXGiantSwarmActivity ¶
func (o *GetClusterAppSecretV5Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) SetXGiantSwarmCmdLine ¶
func (o *GetClusterAppSecretV5Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) SetXRequestID ¶
func (o *GetClusterAppSecretV5Params) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) WithAppName ¶
func (o *GetClusterAppSecretV5Params) WithAppName(appName string) *GetClusterAppSecretV5Params
WithAppName adds the appName to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) WithClusterID ¶
func (o *GetClusterAppSecretV5Params) WithClusterID(clusterID string) *GetClusterAppSecretV5Params
WithClusterID adds the clusterID to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) WithContext ¶
func (o *GetClusterAppSecretV5Params) WithContext(ctx context.Context) *GetClusterAppSecretV5Params
WithContext adds the context to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) WithHTTPClient ¶
func (o *GetClusterAppSecretV5Params) WithHTTPClient(client *http.Client) *GetClusterAppSecretV5Params
WithHTTPClient adds the HTTPClient to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) WithTimeout ¶
func (o *GetClusterAppSecretV5Params) WithTimeout(timeout time.Duration) *GetClusterAppSecretV5Params
WithTimeout adds the timeout to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) WithXGiantSwarmActivity ¶
func (o *GetClusterAppSecretV5Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *GetClusterAppSecretV5Params
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) WithXGiantSwarmCmdLine ¶
func (o *GetClusterAppSecretV5Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *GetClusterAppSecretV5Params
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) WithXRequestID ¶
func (o *GetClusterAppSecretV5Params) WithXRequestID(xRequestID *string) *GetClusterAppSecretV5Params
WithXRequestID adds the xRequestID to the get cluster app secret v5 params
func (*GetClusterAppSecretV5Params) WriteToRequest ¶
func (o *GetClusterAppSecretV5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterAppSecretV5Reader ¶
type GetClusterAppSecretV5Reader struct {
// contains filtered or unexported fields
}
GetClusterAppSecretV5Reader is a Reader for the GetClusterAppSecretV5 structure.
func (*GetClusterAppSecretV5Reader) ReadResponse ¶
func (o *GetClusterAppSecretV5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterAppSecretV5Unauthorized ¶
type GetClusterAppSecretV5Unauthorized struct {
}GetClusterAppSecretV5Unauthorized handles this case with default header values.
Permission denied
func NewGetClusterAppSecretV5Unauthorized ¶
func NewGetClusterAppSecretV5Unauthorized() *GetClusterAppSecretV5Unauthorized
NewGetClusterAppSecretV5Unauthorized creates a GetClusterAppSecretV5Unauthorized with default headers values
func (*GetClusterAppSecretV5Unauthorized) Error ¶
func (o *GetClusterAppSecretV5Unauthorized) Error() string
type ModifyClusterAppSecretV4BadRequest ¶
type ModifyClusterAppSecretV4BadRequest struct {
Payload *models.V4GenericResponse
}
ModifyClusterAppSecretV4BadRequest handles this case with default header values.
Invalid input
func NewModifyClusterAppSecretV4BadRequest ¶
func NewModifyClusterAppSecretV4BadRequest() *ModifyClusterAppSecretV4BadRequest
NewModifyClusterAppSecretV4BadRequest creates a ModifyClusterAppSecretV4BadRequest with default headers values
func (*ModifyClusterAppSecretV4BadRequest) Error ¶
func (o *ModifyClusterAppSecretV4BadRequest) Error() string
type ModifyClusterAppSecretV4Default ¶
type ModifyClusterAppSecretV4Default struct { Payload *models.V4GenericResponse // contains filtered or unexported fields }
ModifyClusterAppSecretV4Default handles this case with default header values.
Error
func NewModifyClusterAppSecretV4Default ¶
func NewModifyClusterAppSecretV4Default(code int) *ModifyClusterAppSecretV4Default
NewModifyClusterAppSecretV4Default creates a ModifyClusterAppSecretV4Default with default headers values
func (*ModifyClusterAppSecretV4Default) Code ¶
func (o *ModifyClusterAppSecretV4Default) Code() int
Code gets the status code for the modify cluster app secret v4 default response
func (*ModifyClusterAppSecretV4Default) Error ¶
func (o *ModifyClusterAppSecretV4Default) Error() string
type ModifyClusterAppSecretV4OK ¶
type ModifyClusterAppSecretV4OK struct {
Payload *models.V4GenericResponse
}
ModifyClusterAppSecretV4OK handles this case with default header values.
Success
func NewModifyClusterAppSecretV4OK ¶
func NewModifyClusterAppSecretV4OK() *ModifyClusterAppSecretV4OK
NewModifyClusterAppSecretV4OK creates a ModifyClusterAppSecretV4OK with default headers values
func (*ModifyClusterAppSecretV4OK) Error ¶
func (o *ModifyClusterAppSecretV4OK) Error() string
type ModifyClusterAppSecretV4Params ¶
type ModifyClusterAppSecretV4Params 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 }
ModifyClusterAppSecretV4Params contains all the parameters to send to the API endpoint for the modify cluster app secret v4 operation typically these are written to a http.Request
func NewModifyClusterAppSecretV4Params ¶
func NewModifyClusterAppSecretV4Params() *ModifyClusterAppSecretV4Params
NewModifyClusterAppSecretV4Params creates a new ModifyClusterAppSecretV4Params object with the default values initialized.
func NewModifyClusterAppSecretV4ParamsWithContext ¶
func NewModifyClusterAppSecretV4ParamsWithContext(ctx context.Context) *ModifyClusterAppSecretV4Params
NewModifyClusterAppSecretV4ParamsWithContext creates a new ModifyClusterAppSecretV4Params object with the default values initialized, and the ability to set a context for a request
func NewModifyClusterAppSecretV4ParamsWithHTTPClient ¶
func NewModifyClusterAppSecretV4ParamsWithHTTPClient(client *http.Client) *ModifyClusterAppSecretV4Params
NewModifyClusterAppSecretV4ParamsWithHTTPClient creates a new ModifyClusterAppSecretV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewModifyClusterAppSecretV4ParamsWithTimeout ¶
func NewModifyClusterAppSecretV4ParamsWithTimeout(timeout time.Duration) *ModifyClusterAppSecretV4Params
NewModifyClusterAppSecretV4ParamsWithTimeout creates a new ModifyClusterAppSecretV4Params object with the default values initialized, and the ability to set a timeout on a request
func (*ModifyClusterAppSecretV4Params) SetAppName ¶
func (o *ModifyClusterAppSecretV4Params) SetAppName(appName string)
SetAppName adds the appName to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) SetBody ¶
func (o *ModifyClusterAppSecretV4Params) SetBody(body models.V4CreateClusterAppSecretRequest)
SetBody adds the body to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) SetClusterID ¶
func (o *ModifyClusterAppSecretV4Params) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) SetContext ¶
func (o *ModifyClusterAppSecretV4Params) SetContext(ctx context.Context)
SetContext adds the context to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) SetHTTPClient ¶
func (o *ModifyClusterAppSecretV4Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) SetTimeout ¶
func (o *ModifyClusterAppSecretV4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) SetXGiantSwarmActivity ¶
func (o *ModifyClusterAppSecretV4Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) SetXGiantSwarmCmdLine ¶
func (o *ModifyClusterAppSecretV4Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) SetXRequestID ¶
func (o *ModifyClusterAppSecretV4Params) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) WithAppName ¶
func (o *ModifyClusterAppSecretV4Params) WithAppName(appName string) *ModifyClusterAppSecretV4Params
WithAppName adds the appName to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) WithBody ¶
func (o *ModifyClusterAppSecretV4Params) WithBody(body models.V4CreateClusterAppSecretRequest) *ModifyClusterAppSecretV4Params
WithBody adds the body to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) WithClusterID ¶
func (o *ModifyClusterAppSecretV4Params) WithClusterID(clusterID string) *ModifyClusterAppSecretV4Params
WithClusterID adds the clusterID to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) WithContext ¶
func (o *ModifyClusterAppSecretV4Params) WithContext(ctx context.Context) *ModifyClusterAppSecretV4Params
WithContext adds the context to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) WithHTTPClient ¶
func (o *ModifyClusterAppSecretV4Params) WithHTTPClient(client *http.Client) *ModifyClusterAppSecretV4Params
WithHTTPClient adds the HTTPClient to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) WithTimeout ¶
func (o *ModifyClusterAppSecretV4Params) WithTimeout(timeout time.Duration) *ModifyClusterAppSecretV4Params
WithTimeout adds the timeout to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) WithXGiantSwarmActivity ¶
func (o *ModifyClusterAppSecretV4Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *ModifyClusterAppSecretV4Params
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) WithXGiantSwarmCmdLine ¶
func (o *ModifyClusterAppSecretV4Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *ModifyClusterAppSecretV4Params
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) WithXRequestID ¶
func (o *ModifyClusterAppSecretV4Params) WithXRequestID(xRequestID *string) *ModifyClusterAppSecretV4Params
WithXRequestID adds the xRequestID to the modify cluster app secret v4 params
func (*ModifyClusterAppSecretV4Params) WriteToRequest ¶
func (o *ModifyClusterAppSecretV4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyClusterAppSecretV4Reader ¶
type ModifyClusterAppSecretV4Reader struct {
// contains filtered or unexported fields
}
ModifyClusterAppSecretV4Reader is a Reader for the ModifyClusterAppSecretV4 structure.
func (*ModifyClusterAppSecretV4Reader) ReadResponse ¶
func (o *ModifyClusterAppSecretV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyClusterAppSecretV4Unauthorized ¶
type ModifyClusterAppSecretV4Unauthorized struct {
}ModifyClusterAppSecretV4Unauthorized handles this case with default header values.
Permission denied
func NewModifyClusterAppSecretV4Unauthorized ¶
func NewModifyClusterAppSecretV4Unauthorized() *ModifyClusterAppSecretV4Unauthorized
NewModifyClusterAppSecretV4Unauthorized creates a ModifyClusterAppSecretV4Unauthorized with default headers values
func (*ModifyClusterAppSecretV4Unauthorized) Error ¶
func (o *ModifyClusterAppSecretV4Unauthorized) Error() string
type ModifyClusterAppSecretV5BadRequest ¶
type ModifyClusterAppSecretV5BadRequest struct {
Payload *models.V4GenericResponse
}
ModifyClusterAppSecretV5BadRequest handles this case with default header values.
Invalid input
func NewModifyClusterAppSecretV5BadRequest ¶
func NewModifyClusterAppSecretV5BadRequest() *ModifyClusterAppSecretV5BadRequest
NewModifyClusterAppSecretV5BadRequest creates a ModifyClusterAppSecretV5BadRequest with default headers values
func (*ModifyClusterAppSecretV5BadRequest) Error ¶
func (o *ModifyClusterAppSecretV5BadRequest) Error() string
type ModifyClusterAppSecretV5Default ¶
type ModifyClusterAppSecretV5Default struct { Payload *models.V4GenericResponse // contains filtered or unexported fields }
ModifyClusterAppSecretV5Default handles this case with default header values.
Error
func NewModifyClusterAppSecretV5Default ¶
func NewModifyClusterAppSecretV5Default(code int) *ModifyClusterAppSecretV5Default
NewModifyClusterAppSecretV5Default creates a ModifyClusterAppSecretV5Default with default headers values
func (*ModifyClusterAppSecretV5Default) Code ¶
func (o *ModifyClusterAppSecretV5Default) Code() int
Code gets the status code for the modify cluster app secret v5 default response
func (*ModifyClusterAppSecretV5Default) Error ¶
func (o *ModifyClusterAppSecretV5Default) Error() string
type ModifyClusterAppSecretV5OK ¶
type ModifyClusterAppSecretV5OK struct {
Payload *models.V4GenericResponse
}
ModifyClusterAppSecretV5OK handles this case with default header values.
Success
func NewModifyClusterAppSecretV5OK ¶
func NewModifyClusterAppSecretV5OK() *ModifyClusterAppSecretV5OK
NewModifyClusterAppSecretV5OK creates a ModifyClusterAppSecretV5OK with default headers values
func (*ModifyClusterAppSecretV5OK) Error ¶
func (o *ModifyClusterAppSecretV5OK) Error() string
type ModifyClusterAppSecretV5Params ¶
type ModifyClusterAppSecretV5Params 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 }
ModifyClusterAppSecretV5Params contains all the parameters to send to the API endpoint for the modify cluster app secret v5 operation typically these are written to a http.Request
func NewModifyClusterAppSecretV5Params ¶
func NewModifyClusterAppSecretV5Params() *ModifyClusterAppSecretV5Params
NewModifyClusterAppSecretV5Params creates a new ModifyClusterAppSecretV5Params object with the default values initialized.
func NewModifyClusterAppSecretV5ParamsWithContext ¶
func NewModifyClusterAppSecretV5ParamsWithContext(ctx context.Context) *ModifyClusterAppSecretV5Params
NewModifyClusterAppSecretV5ParamsWithContext creates a new ModifyClusterAppSecretV5Params object with the default values initialized, and the ability to set a context for a request
func NewModifyClusterAppSecretV5ParamsWithHTTPClient ¶
func NewModifyClusterAppSecretV5ParamsWithHTTPClient(client *http.Client) *ModifyClusterAppSecretV5Params
NewModifyClusterAppSecretV5ParamsWithHTTPClient creates a new ModifyClusterAppSecretV5Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewModifyClusterAppSecretV5ParamsWithTimeout ¶
func NewModifyClusterAppSecretV5ParamsWithTimeout(timeout time.Duration) *ModifyClusterAppSecretV5Params
NewModifyClusterAppSecretV5ParamsWithTimeout creates a new ModifyClusterAppSecretV5Params object with the default values initialized, and the ability to set a timeout on a request
func (*ModifyClusterAppSecretV5Params) SetAppName ¶
func (o *ModifyClusterAppSecretV5Params) SetAppName(appName string)
SetAppName adds the appName to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) SetBody ¶
func (o *ModifyClusterAppSecretV5Params) SetBody(body models.V4CreateClusterAppSecretRequest)
SetBody adds the body to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) SetClusterID ¶
func (o *ModifyClusterAppSecretV5Params) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) SetContext ¶
func (o *ModifyClusterAppSecretV5Params) SetContext(ctx context.Context)
SetContext adds the context to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) SetHTTPClient ¶
func (o *ModifyClusterAppSecretV5Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) SetTimeout ¶
func (o *ModifyClusterAppSecretV5Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) SetXGiantSwarmActivity ¶
func (o *ModifyClusterAppSecretV5Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)
SetXGiantSwarmActivity adds the xGiantSwarmActivity to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) SetXGiantSwarmCmdLine ¶
func (o *ModifyClusterAppSecretV5Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)
SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) SetXRequestID ¶
func (o *ModifyClusterAppSecretV5Params) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) WithAppName ¶
func (o *ModifyClusterAppSecretV5Params) WithAppName(appName string) *ModifyClusterAppSecretV5Params
WithAppName adds the appName to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) WithBody ¶
func (o *ModifyClusterAppSecretV5Params) WithBody(body models.V4CreateClusterAppSecretRequest) *ModifyClusterAppSecretV5Params
WithBody adds the body to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) WithClusterID ¶
func (o *ModifyClusterAppSecretV5Params) WithClusterID(clusterID string) *ModifyClusterAppSecretV5Params
WithClusterID adds the clusterID to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) WithContext ¶
func (o *ModifyClusterAppSecretV5Params) WithContext(ctx context.Context) *ModifyClusterAppSecretV5Params
WithContext adds the context to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) WithHTTPClient ¶
func (o *ModifyClusterAppSecretV5Params) WithHTTPClient(client *http.Client) *ModifyClusterAppSecretV5Params
WithHTTPClient adds the HTTPClient to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) WithTimeout ¶
func (o *ModifyClusterAppSecretV5Params) WithTimeout(timeout time.Duration) *ModifyClusterAppSecretV5Params
WithTimeout adds the timeout to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) WithXGiantSwarmActivity ¶
func (o *ModifyClusterAppSecretV5Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *ModifyClusterAppSecretV5Params
WithXGiantSwarmActivity adds the xGiantSwarmActivity to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) WithXGiantSwarmCmdLine ¶
func (o *ModifyClusterAppSecretV5Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *ModifyClusterAppSecretV5Params
WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) WithXRequestID ¶
func (o *ModifyClusterAppSecretV5Params) WithXRequestID(xRequestID *string) *ModifyClusterAppSecretV5Params
WithXRequestID adds the xRequestID to the modify cluster app secret v5 params
func (*ModifyClusterAppSecretV5Params) WriteToRequest ¶
func (o *ModifyClusterAppSecretV5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyClusterAppSecretV5Reader ¶
type ModifyClusterAppSecretV5Reader struct {
// contains filtered or unexported fields
}
ModifyClusterAppSecretV5Reader is a Reader for the ModifyClusterAppSecretV5 structure.
func (*ModifyClusterAppSecretV5Reader) ReadResponse ¶
func (o *ModifyClusterAppSecretV5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyClusterAppSecretV5Unauthorized ¶
type ModifyClusterAppSecretV5Unauthorized struct {
}ModifyClusterAppSecretV5Unauthorized handles this case with default header values.
Permission denied
func NewModifyClusterAppSecretV5Unauthorized ¶
func NewModifyClusterAppSecretV5Unauthorized() *ModifyClusterAppSecretV5Unauthorized
NewModifyClusterAppSecretV5Unauthorized creates a ModifyClusterAppSecretV5Unauthorized with default headers values
func (*ModifyClusterAppSecretV5Unauthorized) Error ¶
func (o *ModifyClusterAppSecretV5Unauthorized) Error() string
Source Files
¶
- app_secrets_client.go
- create_cluster_app_secret_v4_parameters.go
- create_cluster_app_secret_v4_responses.go
- create_cluster_app_secret_v5_parameters.go
- create_cluster_app_secret_v5_responses.go
- delete_cluster_app_secret_v4_parameters.go
- delete_cluster_app_secret_v4_responses.go
- delete_cluster_app_secret_v5_parameters.go
- delete_cluster_app_secret_v5_responses.go
- get_cluster_app_secret_v4_parameters.go
- get_cluster_app_secret_v4_responses.go
- get_cluster_app_secret_v5_parameters.go
- get_cluster_app_secret_v5_responses.go
- modify_cluster_app_secret_v4_parameters.go
- modify_cluster_app_secret_v4_responses.go
- modify_cluster_app_secret_v5_parameters.go
- modify_cluster_app_secret_v5_responses.go