apps

package
v2.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

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 apps API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new apps API client.

func (*Client) CreateClusterAppV4

func (a *Client) CreateClusterAppV4(params *CreateClusterAppV4Params, authInfo runtime.ClientAuthInfoWriter) (*CreateClusterAppV4OK, error)

CreateClusterAppV4 installs an app v4

Install an app on a workload cluster by using this endpoint. For apps on v5 clusters, please use the v5 version of this endpoint.

The spec field represents the app we'll be installing, and so spec.name refers to the name of the app in the catalog.

The app_name in the path of this request is the name you want to give the instance of this app.

The response you get on a succesful create includes the status of the app. However since the App is still initialising and this is an asynchronous operation, it is likely that the fields in this status object will be all empty values.

To check on the status of your app, perform a GET to /v4/clusters/{cluster_id}/apps/, and check the status field of the app.

### Example PUT request ```json

/v4/clusters/abc12/apps/my-very-own-efk/

{
  "spec": {
    "catalog": "giantswarm",
    "name": "efk-stack-app",
    "namespace": "efk-stack-app",
    "version": "0.2.0",
  }
}

```

### About the user_config field in the response This field is not editable by you, but is set automatically by the API if a ConfigMap named `{app_name}-user-values` exists in the workload cluster namespace on the management cluster.

The `/v4/clusters/{cluster_id}/apps/{app_name}/config/` endpoints allows you to create such a ConfigMap using this API.

It is recommended to create your config before creating your app. This will result in a faster deploy.

However, you can create your config after creating the app if you wish, this API will take care of setting the `user_config` field of the app correctly for you.

### Why can't I just set the `user_config` value myself? It simplifies usage while also being a security measure.

Furthermore it is also a security measure and ensures that users of this API can't access arbitrary configmaps of the management cluster.

This API will only allow you to edit or access configmaps that adhere to a strict naming convention.

func (*Client) CreateClusterAppV5

func (a *Client) CreateClusterAppV5(params *CreateClusterAppV5Params, authInfo runtime.ClientAuthInfoWriter) (*CreateClusterAppV5OK, error)

CreateClusterAppV5 installs an app v5

Install an app on a workload cluster by using this endpoint.

The spec field represents the app we'll be installing, and so spec.name refers to the name of the app in the catalog.

The app_name in the path of this request is the name you want to give the instance of this app.

The response you get on a succesful create includes the status of the app. However since the App is still initialising and this is an asynchronous operation, it is likely that the fields in this status object will be all empty values.

To check on the status of your app, perform a GET to /v5/clusters/{cluster_id}/apps/, and check the status field of the app.

### Example PUT request ```json

/v5/clusters/abc12/apps/my-very-own-efk/

{
  "spec": {
    "catalog": "giantswarm",
    "name": "efk-stack-app",
    "namespace": "efk-stack-app",
    "version": "0.2.0",
  }
}

```

### About the user_config field in the response This field is not editable by you, but is set automatically by the API if a ConfigMap named `{app_name}-user-values` exists in the workload cluster namespace on the management cluster.

The `/v5/clusters/{cluster_id}/apps/{app_name}/config/` endpoints allows you to create such a ConfigMap using this API.

It is recommended to create your config before creating your app. This will result in a faster deploy.

However, you can create your config after creating the app if you wish, this API will take care of setting the `user_config` field of the app correctly for you.

### Why can't I just set the `user_config` value myself? It simplifies usage while also being a security measure.

Furthermore it is also a security measure and ensures that users of this API can't access arbitrary configmaps of the management cluster.

This API will only allow you to edit or access configmaps that adhere to a strict naming convention.

func (*Client) DeleteClusterAppV4

func (a *Client) DeleteClusterAppV4(params *DeleteClusterAppV4Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteClusterAppV4OK, error)

DeleteClusterAppV4 deletes an app v4

This operation allows a user to delete an app. For apps on v5 clusters, please use the v5 version of this endpoint.

func (*Client) DeleteClusterAppV5

func (a *Client) DeleteClusterAppV5(params *DeleteClusterAppV5Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteClusterAppV5OK, error)

DeleteClusterAppV5 deletes an app v5

This operation allows a user to delete an app.

func (*Client) GetAppCatalogs

func (a *Client) GetAppCatalogs(params *GetAppCatalogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppCatalogsOK, error)

GetAppCatalogs gets a list of app catalogs configured on your installation

Returns an array of app catalog objects, which contains further metadata, including a URL to fetch the full index of each catalog.

#### About the Labels

  • `application.giantswarm.io/catalog-type` Describes the type of catalog.

  • `managed` - Apps in this catalog are managed by Giant Swarm.

  • `incubator` - Apps in this catalog are a work in progress. They're made with your Giant Swarm cluster in mind though, so they should work. Feedback is appreciated on these apps.

  • `test` - Apps in this catalog will soon graduate to incubator status, you most likely will not see any `test` catalogs on your installations.

  • `community` - Apps in this catalog are provided by the kubernetes community. They will most likely not work without making some changes to the security settings of your cluster.

    App Catalogs can also be labeled as `internal`, however these catalogs contain apps that run on our management clusters. These `internal` app catalogs will be filtered out and never shown when calling this endpoint.

    For more details on app catalogs visit: https://docs.giantswarm.io/basics/app-catalog/

### Example ```json

[
  {
    "metadata": {
      "name": "sample-catalog",
      "labels": {
        "application.giantswarm.io/catalog-type": "test",
        "app-operator.giantswarm.io/version": "1.0.0",
      },
    },

    "spec": {
      "description": "Giant Swarm's Sample Catalog with a few apps to test things out.",
      "logoURL": "https://s.giantswarm.io/app-catalog/1/images/sample-catalog.png",

      "storage": {
        "URL": "https://giantswarm.github.com/sample-catalog/",
        "type": "helm"
      },
      "title": "Sample Catalog"
    }
  }
]

```

func (*Client) GetClusterAppsV4

func (a *Client) GetClusterAppsV4(params *GetClusterAppsV4Params, authInfo runtime.ClientAuthInfoWriter) (*GetClusterAppsV4OK, error)

GetClusterAppsV4 gets a list of apps on a cluster v4

Returns an array of apps installed on a given cluster. For apps on v5 clusters, please use the v5 version of this endpoint.

### Example ```json

[
  {
    "metadata": {
      "name": "my-awesome-prometheus",
      "labels": {}
    },

    "spec": {
      "catalog": "sample-catalog"
      "name": "prometheus-chart",
      "namespace": "giantswarm",
      "version": "0.2.0",
      "user_config": {
        "configmap": {
          "name": "prometheus-user-values",
          "namespace": "123ab"
        }
      }
    },

    "status": {
      "app_version": "1.0.0",
      "release": {
        "last_deployed": "2019-04-08T12:34:00Z",
        "status": "DEPLOYED"
      },
      "version": "0.2.0",
    }
  }
]

```

func (*Client) GetClusterAppsV5

func (a *Client) GetClusterAppsV5(params *GetClusterAppsV5Params, authInfo runtime.ClientAuthInfoWriter) (*GetClusterAppsV5OK, error)

GetClusterAppsV5 gets a list of apps on a cluster v5

Returns an array of apps installed on a given cluster.

### Example ```json

[
  {
    "metadata": {
      "name": "my-awesome-prometheus",
      "labels": {}
    },

    "spec": {
      "catalog": "sample-catalog"
      "name": "prometheus-chart",
      "namespace": "giantswarm",
      "version": "0.2.0",
      "user_config": {
        "configmap": {
          "name": "prometheus-user-values",
          "namespace": "123ab"
        }
      }
    },

    "status": {
      "app_version": "1.0.0",
      "release": {
        "last_deployed": "2019-04-08T12:34:00Z",
        "status": "DEPLOYED"
      },
      "version": "0.2.0",
    }
  }
]

```

func (*Client) ModifyClusterAppV4

func (a *Client) ModifyClusterAppV4(params *ModifyClusterAppV4Params, authInfo runtime.ClientAuthInfoWriter) (*ModifyClusterAppV4OK, error)

ModifyClusterAppV4 modifies an app v4

This operation allows you to modify an existing app.

For apps on v5 clusters, please use the v5 version of this endpoint.

The following attributes can be modified:

- `version`: Changing this field lets you upgrade or downgrade an app.

`catalog`, `name`, `namespace`, are not editable. If you need to move or rename an app, you should instead delete the app and make it again.

`user_config` holds a reference to a user-values ConfigMap and is also not editable at this endpoint. A user-values ConfigMap can be created using the [corresponding v4 app config creator endpoint](https://docs.giantswarm.io/api/#operation/createClusterAppConfigV4).

The request body must conform with the [JSON Patch Merge (RFC 7386)](https://tools.ietf.org/html/rfc7386) standard. Requests have to be sent with the `Content-Type: application/merge-patch+json` header.

func (*Client) ModifyClusterAppV5

func (a *Client) ModifyClusterAppV5(params *ModifyClusterAppV5Params, authInfo runtime.ClientAuthInfoWriter) (*ModifyClusterAppV5OK, error)

ModifyClusterAppV5 modifies an app v5

This operation allows you to modify an existing app.

The following attributes can be modified:

- `version`: Changing this field lets you upgrade or downgrade an app.

`catalog`, `name`, `namespace`, are not editable. If you need to move or rename an app, you should instead delete the app and make it again.

`user_config` holds a reference to a user-values ConfigMap and is also not editable at this endpoint. A user-values ConfigMap can be created using the [corresponding v5 app config creator endpoint](https://docs.giantswarm.io/api/#operation/createClusterAppConfigV5).

The request body must conform with the [JSON Patch Merge (RFC 7386)](https://tools.ietf.org/html/rfc7386) standard. Requests have to be sent with the `Content-Type: application/merge-patch+json` header.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type CreateClusterAppV4BadRequest

type CreateClusterAppV4BadRequest struct {
	Payload *models.V4GenericResponse
}

CreateClusterAppV4BadRequest handles this case with default header values.

Invalid input

func NewCreateClusterAppV4BadRequest

func NewCreateClusterAppV4BadRequest() *CreateClusterAppV4BadRequest

NewCreateClusterAppV4BadRequest creates a CreateClusterAppV4BadRequest with default headers values

func (*CreateClusterAppV4BadRequest) Error

type CreateClusterAppV4Conflict

type CreateClusterAppV4Conflict struct {
	Payload *models.V4GenericResponse
}

CreateClusterAppV4Conflict handles this case with default header values.

App already exists

func NewCreateClusterAppV4Conflict

func NewCreateClusterAppV4Conflict() *CreateClusterAppV4Conflict

NewCreateClusterAppV4Conflict creates a CreateClusterAppV4Conflict with default headers values

func (*CreateClusterAppV4Conflict) Error

type CreateClusterAppV4Default

type CreateClusterAppV4Default struct {
	Payload *models.V4GenericResponse
	// contains filtered or unexported fields
}

CreateClusterAppV4Default handles this case with default header values.

error

func NewCreateClusterAppV4Default

func NewCreateClusterAppV4Default(code int) *CreateClusterAppV4Default

NewCreateClusterAppV4Default creates a CreateClusterAppV4Default with default headers values

func (*CreateClusterAppV4Default) Code

func (o *CreateClusterAppV4Default) Code() int

Code gets the status code for the create cluster app v4 default response

func (*CreateClusterAppV4Default) Error

func (o *CreateClusterAppV4Default) Error() string

type CreateClusterAppV4OK

type CreateClusterAppV4OK struct {
	Payload *models.V4App
}

CreateClusterAppV4OK handles this case with default header values.

Create cluster app

func NewCreateClusterAppV4OK

func NewCreateClusterAppV4OK() *CreateClusterAppV4OK

NewCreateClusterAppV4OK creates a CreateClusterAppV4OK with default headers values

func (*CreateClusterAppV4OK) Error

func (o *CreateClusterAppV4OK) Error() string

type CreateClusterAppV4Params

type CreateClusterAppV4Params 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.V4CreateAppRequest
	/*ClusterID
	  Cluster ID

	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateClusterAppV4Params contains all the parameters to send to the API endpoint for the create cluster app v4 operation typically these are written to a http.Request

func NewCreateClusterAppV4Params

func NewCreateClusterAppV4Params() *CreateClusterAppV4Params

NewCreateClusterAppV4Params creates a new CreateClusterAppV4Params object with the default values initialized.

func NewCreateClusterAppV4ParamsWithContext

func NewCreateClusterAppV4ParamsWithContext(ctx context.Context) *CreateClusterAppV4Params

NewCreateClusterAppV4ParamsWithContext creates a new CreateClusterAppV4Params object with the default values initialized, and the ability to set a context for a request

func NewCreateClusterAppV4ParamsWithHTTPClient

func NewCreateClusterAppV4ParamsWithHTTPClient(client *http.Client) *CreateClusterAppV4Params

NewCreateClusterAppV4ParamsWithHTTPClient creates a new CreateClusterAppV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateClusterAppV4ParamsWithTimeout

func NewCreateClusterAppV4ParamsWithTimeout(timeout time.Duration) *CreateClusterAppV4Params

NewCreateClusterAppV4ParamsWithTimeout creates a new CreateClusterAppV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*CreateClusterAppV4Params) SetAppName

func (o *CreateClusterAppV4Params) SetAppName(appName string)

SetAppName adds the appName to the create cluster app v4 params

func (*CreateClusterAppV4Params) SetBody

SetBody adds the body to the create cluster app v4 params

func (*CreateClusterAppV4Params) SetClusterID

func (o *CreateClusterAppV4Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the create cluster app v4 params

func (*CreateClusterAppV4Params) SetContext

func (o *CreateClusterAppV4Params) SetContext(ctx context.Context)

SetContext adds the context to the create cluster app v4 params

func (*CreateClusterAppV4Params) SetHTTPClient

func (o *CreateClusterAppV4Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create cluster app v4 params

func (*CreateClusterAppV4Params) SetTimeout

func (o *CreateClusterAppV4Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create cluster app v4 params

func (*CreateClusterAppV4Params) SetXGiantSwarmActivity

func (o *CreateClusterAppV4Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)

SetXGiantSwarmActivity adds the xGiantSwarmActivity to the create cluster app v4 params

func (*CreateClusterAppV4Params) SetXGiantSwarmCmdLine

func (o *CreateClusterAppV4Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)

SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the create cluster app v4 params

func (*CreateClusterAppV4Params) SetXRequestID

func (o *CreateClusterAppV4Params) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the create cluster app v4 params

func (*CreateClusterAppV4Params) WithAppName

func (o *CreateClusterAppV4Params) WithAppName(appName string) *CreateClusterAppV4Params

WithAppName adds the appName to the create cluster app v4 params

func (*CreateClusterAppV4Params) WithBody

WithBody adds the body to the create cluster app v4 params

func (*CreateClusterAppV4Params) WithClusterID

func (o *CreateClusterAppV4Params) WithClusterID(clusterID string) *CreateClusterAppV4Params

WithClusterID adds the clusterID to the create cluster app v4 params

func (*CreateClusterAppV4Params) WithContext

WithContext adds the context to the create cluster app v4 params

func (*CreateClusterAppV4Params) WithHTTPClient

func (o *CreateClusterAppV4Params) WithHTTPClient(client *http.Client) *CreateClusterAppV4Params

WithHTTPClient adds the HTTPClient to the create cluster app v4 params

func (*CreateClusterAppV4Params) WithTimeout

WithTimeout adds the timeout to the create cluster app v4 params

func (*CreateClusterAppV4Params) WithXGiantSwarmActivity

func (o *CreateClusterAppV4Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *CreateClusterAppV4Params

WithXGiantSwarmActivity adds the xGiantSwarmActivity to the create cluster app v4 params

func (*CreateClusterAppV4Params) WithXGiantSwarmCmdLine

func (o *CreateClusterAppV4Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *CreateClusterAppV4Params

WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the create cluster app v4 params

func (*CreateClusterAppV4Params) WithXRequestID

func (o *CreateClusterAppV4Params) WithXRequestID(xRequestID *string) *CreateClusterAppV4Params

WithXRequestID adds the xRequestID to the create cluster app v4 params

func (*CreateClusterAppV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateClusterAppV4Reader

type CreateClusterAppV4Reader struct {
	// contains filtered or unexported fields
}

CreateClusterAppV4Reader is a Reader for the CreateClusterAppV4 structure.

func (*CreateClusterAppV4Reader) ReadResponse

func (o *CreateClusterAppV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateClusterAppV4Unauthorized

type CreateClusterAppV4Unauthorized struct {
	Payload *models.V4GenericResponse
}

CreateClusterAppV4Unauthorized handles this case with default header values.

Permission denied

func NewCreateClusterAppV4Unauthorized

func NewCreateClusterAppV4Unauthorized() *CreateClusterAppV4Unauthorized

NewCreateClusterAppV4Unauthorized creates a CreateClusterAppV4Unauthorized with default headers values

func (*CreateClusterAppV4Unauthorized) Error

type CreateClusterAppV5BadRequest

type CreateClusterAppV5BadRequest struct {
	Payload *models.V4GenericResponse
}

CreateClusterAppV5BadRequest handles this case with default header values.

Invalid input

func NewCreateClusterAppV5BadRequest

func NewCreateClusterAppV5BadRequest() *CreateClusterAppV5BadRequest

NewCreateClusterAppV5BadRequest creates a CreateClusterAppV5BadRequest with default headers values

func (*CreateClusterAppV5BadRequest) Error

type CreateClusterAppV5Conflict

type CreateClusterAppV5Conflict struct {
	Payload *models.V4GenericResponse
}

CreateClusterAppV5Conflict handles this case with default header values.

App already exists

func NewCreateClusterAppV5Conflict

func NewCreateClusterAppV5Conflict() *CreateClusterAppV5Conflict

NewCreateClusterAppV5Conflict creates a CreateClusterAppV5Conflict with default headers values

func (*CreateClusterAppV5Conflict) Error

type CreateClusterAppV5Default

type CreateClusterAppV5Default struct {
	Payload *models.V4GenericResponse
	// contains filtered or unexported fields
}

CreateClusterAppV5Default handles this case with default header values.

error

func NewCreateClusterAppV5Default

func NewCreateClusterAppV5Default(code int) *CreateClusterAppV5Default

NewCreateClusterAppV5Default creates a CreateClusterAppV5Default with default headers values

func (*CreateClusterAppV5Default) Code

func (o *CreateClusterAppV5Default) Code() int

Code gets the status code for the create cluster app v5 default response

func (*CreateClusterAppV5Default) Error

func (o *CreateClusterAppV5Default) Error() string

type CreateClusterAppV5OK

type CreateClusterAppV5OK struct {
	Payload *models.V4App
}

CreateClusterAppV5OK handles this case with default header values.

Create cluster app

func NewCreateClusterAppV5OK

func NewCreateClusterAppV5OK() *CreateClusterAppV5OK

NewCreateClusterAppV5OK creates a CreateClusterAppV5OK with default headers values

func (*CreateClusterAppV5OK) Error

func (o *CreateClusterAppV5OK) Error() string

type CreateClusterAppV5Params

type CreateClusterAppV5Params 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.V4CreateAppRequest
	/*ClusterID
	  Cluster ID

	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateClusterAppV5Params contains all the parameters to send to the API endpoint for the create cluster app v5 operation typically these are written to a http.Request

func NewCreateClusterAppV5Params

func NewCreateClusterAppV5Params() *CreateClusterAppV5Params

NewCreateClusterAppV5Params creates a new CreateClusterAppV5Params object with the default values initialized.

func NewCreateClusterAppV5ParamsWithContext

func NewCreateClusterAppV5ParamsWithContext(ctx context.Context) *CreateClusterAppV5Params

NewCreateClusterAppV5ParamsWithContext creates a new CreateClusterAppV5Params object with the default values initialized, and the ability to set a context for a request

func NewCreateClusterAppV5ParamsWithHTTPClient

func NewCreateClusterAppV5ParamsWithHTTPClient(client *http.Client) *CreateClusterAppV5Params

NewCreateClusterAppV5ParamsWithHTTPClient creates a new CreateClusterAppV5Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateClusterAppV5ParamsWithTimeout

func NewCreateClusterAppV5ParamsWithTimeout(timeout time.Duration) *CreateClusterAppV5Params

NewCreateClusterAppV5ParamsWithTimeout creates a new CreateClusterAppV5Params object with the default values initialized, and the ability to set a timeout on a request

func (*CreateClusterAppV5Params) SetAppName

func (o *CreateClusterAppV5Params) SetAppName(appName string)

SetAppName adds the appName to the create cluster app v5 params

func (*CreateClusterAppV5Params) SetBody

SetBody adds the body to the create cluster app v5 params

func (*CreateClusterAppV5Params) SetClusterID

func (o *CreateClusterAppV5Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the create cluster app v5 params

func (*CreateClusterAppV5Params) SetContext

func (o *CreateClusterAppV5Params) SetContext(ctx context.Context)

SetContext adds the context to the create cluster app v5 params

func (*CreateClusterAppV5Params) SetHTTPClient

func (o *CreateClusterAppV5Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create cluster app v5 params

func (*CreateClusterAppV5Params) SetTimeout

func (o *CreateClusterAppV5Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create cluster app v5 params

func (*CreateClusterAppV5Params) SetXGiantSwarmActivity

func (o *CreateClusterAppV5Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)

SetXGiantSwarmActivity adds the xGiantSwarmActivity to the create cluster app v5 params

func (*CreateClusterAppV5Params) SetXGiantSwarmCmdLine

func (o *CreateClusterAppV5Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)

SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the create cluster app v5 params

func (*CreateClusterAppV5Params) SetXRequestID

func (o *CreateClusterAppV5Params) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the create cluster app v5 params

func (*CreateClusterAppV5Params) WithAppName

func (o *CreateClusterAppV5Params) WithAppName(appName string) *CreateClusterAppV5Params

WithAppName adds the appName to the create cluster app v5 params

func (*CreateClusterAppV5Params) WithBody

WithBody adds the body to the create cluster app v5 params

func (*CreateClusterAppV5Params) WithClusterID

func (o *CreateClusterAppV5Params) WithClusterID(clusterID string) *CreateClusterAppV5Params

WithClusterID adds the clusterID to the create cluster app v5 params

func (*CreateClusterAppV5Params) WithContext

WithContext adds the context to the create cluster app v5 params

func (*CreateClusterAppV5Params) WithHTTPClient

func (o *CreateClusterAppV5Params) WithHTTPClient(client *http.Client) *CreateClusterAppV5Params

WithHTTPClient adds the HTTPClient to the create cluster app v5 params

func (*CreateClusterAppV5Params) WithTimeout

WithTimeout adds the timeout to the create cluster app v5 params

func (*CreateClusterAppV5Params) WithXGiantSwarmActivity

func (o *CreateClusterAppV5Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *CreateClusterAppV5Params

WithXGiantSwarmActivity adds the xGiantSwarmActivity to the create cluster app v5 params

func (*CreateClusterAppV5Params) WithXGiantSwarmCmdLine

func (o *CreateClusterAppV5Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *CreateClusterAppV5Params

WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the create cluster app v5 params

func (*CreateClusterAppV5Params) WithXRequestID

func (o *CreateClusterAppV5Params) WithXRequestID(xRequestID *string) *CreateClusterAppV5Params

WithXRequestID adds the xRequestID to the create cluster app v5 params

func (*CreateClusterAppV5Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateClusterAppV5Reader

type CreateClusterAppV5Reader struct {
	// contains filtered or unexported fields
}

CreateClusterAppV5Reader is a Reader for the CreateClusterAppV5 structure.

func (*CreateClusterAppV5Reader) ReadResponse

func (o *CreateClusterAppV5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateClusterAppV5Unauthorized

type CreateClusterAppV5Unauthorized struct {
	Payload *models.V4GenericResponse
}

CreateClusterAppV5Unauthorized handles this case with default header values.

Permission denied

func NewCreateClusterAppV5Unauthorized

func NewCreateClusterAppV5Unauthorized() *CreateClusterAppV5Unauthorized

NewCreateClusterAppV5Unauthorized creates a CreateClusterAppV5Unauthorized with default headers values

func (*CreateClusterAppV5Unauthorized) Error

type DeleteClusterAppV4Default

type DeleteClusterAppV4Default struct {
	Payload *models.V4GenericResponse
	// contains filtered or unexported fields
}

DeleteClusterAppV4Default handles this case with default header values.

Error

func NewDeleteClusterAppV4Default

func NewDeleteClusterAppV4Default(code int) *DeleteClusterAppV4Default

NewDeleteClusterAppV4Default creates a DeleteClusterAppV4Default with default headers values

func (*DeleteClusterAppV4Default) Code

func (o *DeleteClusterAppV4Default) Code() int

Code gets the status code for the delete cluster app v4 default response

func (*DeleteClusterAppV4Default) Error

func (o *DeleteClusterAppV4Default) Error() string

type DeleteClusterAppV4NotFound

type DeleteClusterAppV4NotFound struct {
	Payload *models.V4GenericResponse
}

DeleteClusterAppV4NotFound handles this case with default header values.

App not found

func NewDeleteClusterAppV4NotFound

func NewDeleteClusterAppV4NotFound() *DeleteClusterAppV4NotFound

NewDeleteClusterAppV4NotFound creates a DeleteClusterAppV4NotFound with default headers values

func (*DeleteClusterAppV4NotFound) Error

type DeleteClusterAppV4OK

type DeleteClusterAppV4OK struct {
	Payload *models.V4GenericResponse
}

DeleteClusterAppV4OK handles this case with default header values.

App deleted

func NewDeleteClusterAppV4OK

func NewDeleteClusterAppV4OK() *DeleteClusterAppV4OK

NewDeleteClusterAppV4OK creates a DeleteClusterAppV4OK with default headers values

func (*DeleteClusterAppV4OK) Error

func (o *DeleteClusterAppV4OK) Error() string

type DeleteClusterAppV4Params

type DeleteClusterAppV4Params 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
}

DeleteClusterAppV4Params contains all the parameters to send to the API endpoint for the delete cluster app v4 operation typically these are written to a http.Request

func NewDeleteClusterAppV4Params

func NewDeleteClusterAppV4Params() *DeleteClusterAppV4Params

NewDeleteClusterAppV4Params creates a new DeleteClusterAppV4Params object with the default values initialized.

func NewDeleteClusterAppV4ParamsWithContext

func NewDeleteClusterAppV4ParamsWithContext(ctx context.Context) *DeleteClusterAppV4Params

NewDeleteClusterAppV4ParamsWithContext creates a new DeleteClusterAppV4Params object with the default values initialized, and the ability to set a context for a request

func NewDeleteClusterAppV4ParamsWithHTTPClient

func NewDeleteClusterAppV4ParamsWithHTTPClient(client *http.Client) *DeleteClusterAppV4Params

NewDeleteClusterAppV4ParamsWithHTTPClient creates a new DeleteClusterAppV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteClusterAppV4ParamsWithTimeout

func NewDeleteClusterAppV4ParamsWithTimeout(timeout time.Duration) *DeleteClusterAppV4Params

NewDeleteClusterAppV4ParamsWithTimeout creates a new DeleteClusterAppV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteClusterAppV4Params) SetAppName

func (o *DeleteClusterAppV4Params) SetAppName(appName string)

SetAppName adds the appName to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) SetClusterID

func (o *DeleteClusterAppV4Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) SetContext

func (o *DeleteClusterAppV4Params) SetContext(ctx context.Context)

SetContext adds the context to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) SetHTTPClient

func (o *DeleteClusterAppV4Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) SetTimeout

func (o *DeleteClusterAppV4Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) SetXGiantSwarmActivity

func (o *DeleteClusterAppV4Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)

SetXGiantSwarmActivity adds the xGiantSwarmActivity to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) SetXGiantSwarmCmdLine

func (o *DeleteClusterAppV4Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)

SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) SetXRequestID

func (o *DeleteClusterAppV4Params) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) WithAppName

func (o *DeleteClusterAppV4Params) WithAppName(appName string) *DeleteClusterAppV4Params

WithAppName adds the appName to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) WithClusterID

func (o *DeleteClusterAppV4Params) WithClusterID(clusterID string) *DeleteClusterAppV4Params

WithClusterID adds the clusterID to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) WithContext

WithContext adds the context to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) WithHTTPClient

func (o *DeleteClusterAppV4Params) WithHTTPClient(client *http.Client) *DeleteClusterAppV4Params

WithHTTPClient adds the HTTPClient to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) WithTimeout

WithTimeout adds the timeout to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) WithXGiantSwarmActivity

func (o *DeleteClusterAppV4Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *DeleteClusterAppV4Params

WithXGiantSwarmActivity adds the xGiantSwarmActivity to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) WithXGiantSwarmCmdLine

func (o *DeleteClusterAppV4Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *DeleteClusterAppV4Params

WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) WithXRequestID

func (o *DeleteClusterAppV4Params) WithXRequestID(xRequestID *string) *DeleteClusterAppV4Params

WithXRequestID adds the xRequestID to the delete cluster app v4 params

func (*DeleteClusterAppV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteClusterAppV4Reader

type DeleteClusterAppV4Reader struct {
	// contains filtered or unexported fields
}

DeleteClusterAppV4Reader is a Reader for the DeleteClusterAppV4 structure.

func (*DeleteClusterAppV4Reader) ReadResponse

func (o *DeleteClusterAppV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteClusterAppV4Unauthorized

type DeleteClusterAppV4Unauthorized struct {
	Payload *models.V4GenericResponse
}

DeleteClusterAppV4Unauthorized handles this case with default header values.

Permission denied

func NewDeleteClusterAppV4Unauthorized

func NewDeleteClusterAppV4Unauthorized() *DeleteClusterAppV4Unauthorized

NewDeleteClusterAppV4Unauthorized creates a DeleteClusterAppV4Unauthorized with default headers values

func (*DeleteClusterAppV4Unauthorized) Error

type DeleteClusterAppV5Default

type DeleteClusterAppV5Default struct {
	Payload *models.V4GenericResponse
	// contains filtered or unexported fields
}

DeleteClusterAppV5Default handles this case with default header values.

Error

func NewDeleteClusterAppV5Default

func NewDeleteClusterAppV5Default(code int) *DeleteClusterAppV5Default

NewDeleteClusterAppV5Default creates a DeleteClusterAppV5Default with default headers values

func (*DeleteClusterAppV5Default) Code

func (o *DeleteClusterAppV5Default) Code() int

Code gets the status code for the delete cluster app v5 default response

func (*DeleteClusterAppV5Default) Error

func (o *DeleteClusterAppV5Default) Error() string

type DeleteClusterAppV5NotFound

type DeleteClusterAppV5NotFound struct {
	Payload *models.V4GenericResponse
}

DeleteClusterAppV5NotFound handles this case with default header values.

App not found

func NewDeleteClusterAppV5NotFound

func NewDeleteClusterAppV5NotFound() *DeleteClusterAppV5NotFound

NewDeleteClusterAppV5NotFound creates a DeleteClusterAppV5NotFound with default headers values

func (*DeleteClusterAppV5NotFound) Error

type DeleteClusterAppV5OK

type DeleteClusterAppV5OK struct {
	Payload *models.V4GenericResponse
}

DeleteClusterAppV5OK handles this case with default header values.

App deleted

func NewDeleteClusterAppV5OK

func NewDeleteClusterAppV5OK() *DeleteClusterAppV5OK

NewDeleteClusterAppV5OK creates a DeleteClusterAppV5OK with default headers values

func (*DeleteClusterAppV5OK) Error

func (o *DeleteClusterAppV5OK) Error() string

type DeleteClusterAppV5Params

type DeleteClusterAppV5Params 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
}

DeleteClusterAppV5Params contains all the parameters to send to the API endpoint for the delete cluster app v5 operation typically these are written to a http.Request

func NewDeleteClusterAppV5Params

func NewDeleteClusterAppV5Params() *DeleteClusterAppV5Params

NewDeleteClusterAppV5Params creates a new DeleteClusterAppV5Params object with the default values initialized.

func NewDeleteClusterAppV5ParamsWithContext

func NewDeleteClusterAppV5ParamsWithContext(ctx context.Context) *DeleteClusterAppV5Params

NewDeleteClusterAppV5ParamsWithContext creates a new DeleteClusterAppV5Params object with the default values initialized, and the ability to set a context for a request

func NewDeleteClusterAppV5ParamsWithHTTPClient

func NewDeleteClusterAppV5ParamsWithHTTPClient(client *http.Client) *DeleteClusterAppV5Params

NewDeleteClusterAppV5ParamsWithHTTPClient creates a new DeleteClusterAppV5Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteClusterAppV5ParamsWithTimeout

func NewDeleteClusterAppV5ParamsWithTimeout(timeout time.Duration) *DeleteClusterAppV5Params

NewDeleteClusterAppV5ParamsWithTimeout creates a new DeleteClusterAppV5Params object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteClusterAppV5Params) SetAppName

func (o *DeleteClusterAppV5Params) SetAppName(appName string)

SetAppName adds the appName to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) SetClusterID

func (o *DeleteClusterAppV5Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) SetContext

func (o *DeleteClusterAppV5Params) SetContext(ctx context.Context)

SetContext adds the context to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) SetHTTPClient

func (o *DeleteClusterAppV5Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) SetTimeout

func (o *DeleteClusterAppV5Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) SetXGiantSwarmActivity

func (o *DeleteClusterAppV5Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)

SetXGiantSwarmActivity adds the xGiantSwarmActivity to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) SetXGiantSwarmCmdLine

func (o *DeleteClusterAppV5Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)

SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) SetXRequestID

func (o *DeleteClusterAppV5Params) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) WithAppName

func (o *DeleteClusterAppV5Params) WithAppName(appName string) *DeleteClusterAppV5Params

WithAppName adds the appName to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) WithClusterID

func (o *DeleteClusterAppV5Params) WithClusterID(clusterID string) *DeleteClusterAppV5Params

WithClusterID adds the clusterID to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) WithContext

WithContext adds the context to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) WithHTTPClient

func (o *DeleteClusterAppV5Params) WithHTTPClient(client *http.Client) *DeleteClusterAppV5Params

WithHTTPClient adds the HTTPClient to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) WithTimeout

WithTimeout adds the timeout to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) WithXGiantSwarmActivity

func (o *DeleteClusterAppV5Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *DeleteClusterAppV5Params

WithXGiantSwarmActivity adds the xGiantSwarmActivity to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) WithXGiantSwarmCmdLine

func (o *DeleteClusterAppV5Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *DeleteClusterAppV5Params

WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) WithXRequestID

func (o *DeleteClusterAppV5Params) WithXRequestID(xRequestID *string) *DeleteClusterAppV5Params

WithXRequestID adds the xRequestID to the delete cluster app v5 params

func (*DeleteClusterAppV5Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteClusterAppV5Reader

type DeleteClusterAppV5Reader struct {
	// contains filtered or unexported fields
}

DeleteClusterAppV5Reader is a Reader for the DeleteClusterAppV5 structure.

func (*DeleteClusterAppV5Reader) ReadResponse

func (o *DeleteClusterAppV5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteClusterAppV5Unauthorized

type DeleteClusterAppV5Unauthorized struct {
	Payload *models.V4GenericResponse
}

DeleteClusterAppV5Unauthorized handles this case with default header values.

Permission denied

func NewDeleteClusterAppV5Unauthorized

func NewDeleteClusterAppV5Unauthorized() *DeleteClusterAppV5Unauthorized

NewDeleteClusterAppV5Unauthorized creates a DeleteClusterAppV5Unauthorized with default headers values

func (*DeleteClusterAppV5Unauthorized) Error

type GetAppCatalogsDefault

type GetAppCatalogsDefault struct {
	Payload *models.V4GenericResponse
	// contains filtered or unexported fields
}

GetAppCatalogsDefault handles this case with default header values.

Error

func NewGetAppCatalogsDefault

func NewGetAppCatalogsDefault(code int) *GetAppCatalogsDefault

NewGetAppCatalogsDefault creates a GetAppCatalogsDefault with default headers values

func (*GetAppCatalogsDefault) Code

func (o *GetAppCatalogsDefault) Code() int

Code gets the status code for the get app catalogs default response

func (*GetAppCatalogsDefault) Error

func (o *GetAppCatalogsDefault) Error() string

type GetAppCatalogsOK

type GetAppCatalogsOK struct {
	Payload models.V4AppCatalogsResponse
}

GetAppCatalogsOK handles this case with default header values.

Information

func NewGetAppCatalogsOK

func NewGetAppCatalogsOK() *GetAppCatalogsOK

NewGetAppCatalogsOK creates a GetAppCatalogsOK with default headers values

func (*GetAppCatalogsOK) Error

func (o *GetAppCatalogsOK) Error() string

type GetAppCatalogsParams

type GetAppCatalogsParams 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

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAppCatalogsParams contains all the parameters to send to the API endpoint for the get app catalogs operation typically these are written to a http.Request

func NewGetAppCatalogsParams

func NewGetAppCatalogsParams() *GetAppCatalogsParams

NewGetAppCatalogsParams creates a new GetAppCatalogsParams object with the default values initialized.

func NewGetAppCatalogsParamsWithContext

func NewGetAppCatalogsParamsWithContext(ctx context.Context) *GetAppCatalogsParams

NewGetAppCatalogsParamsWithContext creates a new GetAppCatalogsParams object with the default values initialized, and the ability to set a context for a request

func NewGetAppCatalogsParamsWithHTTPClient

func NewGetAppCatalogsParamsWithHTTPClient(client *http.Client) *GetAppCatalogsParams

NewGetAppCatalogsParamsWithHTTPClient creates a new GetAppCatalogsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAppCatalogsParamsWithTimeout

func NewGetAppCatalogsParamsWithTimeout(timeout time.Duration) *GetAppCatalogsParams

NewGetAppCatalogsParamsWithTimeout creates a new GetAppCatalogsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAppCatalogsParams) SetContext

func (o *GetAppCatalogsParams) SetContext(ctx context.Context)

SetContext adds the context to the get app catalogs params

func (*GetAppCatalogsParams) SetHTTPClient

func (o *GetAppCatalogsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get app catalogs params

func (*GetAppCatalogsParams) SetTimeout

func (o *GetAppCatalogsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get app catalogs params

func (*GetAppCatalogsParams) SetXGiantSwarmActivity

func (o *GetAppCatalogsParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string)

SetXGiantSwarmActivity adds the xGiantSwarmActivity to the get app catalogs params

func (*GetAppCatalogsParams) SetXGiantSwarmCmdLine

func (o *GetAppCatalogsParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)

SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the get app catalogs params

func (*GetAppCatalogsParams) SetXRequestID

func (o *GetAppCatalogsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get app catalogs params

func (*GetAppCatalogsParams) WithContext

WithContext adds the context to the get app catalogs params

func (*GetAppCatalogsParams) WithHTTPClient

func (o *GetAppCatalogsParams) WithHTTPClient(client *http.Client) *GetAppCatalogsParams

WithHTTPClient adds the HTTPClient to the get app catalogs params

func (*GetAppCatalogsParams) WithTimeout

func (o *GetAppCatalogsParams) WithTimeout(timeout time.Duration) *GetAppCatalogsParams

WithTimeout adds the timeout to the get app catalogs params

func (*GetAppCatalogsParams) WithXGiantSwarmActivity

func (o *GetAppCatalogsParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *GetAppCatalogsParams

WithXGiantSwarmActivity adds the xGiantSwarmActivity to the get app catalogs params

func (*GetAppCatalogsParams) WithXGiantSwarmCmdLine

func (o *GetAppCatalogsParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *GetAppCatalogsParams

WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the get app catalogs params

func (*GetAppCatalogsParams) WithXRequestID

func (o *GetAppCatalogsParams) WithXRequestID(xRequestID *string) *GetAppCatalogsParams

WithXRequestID adds the xRequestID to the get app catalogs params

func (*GetAppCatalogsParams) WriteToRequest

func (o *GetAppCatalogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAppCatalogsReader

type GetAppCatalogsReader struct {
	// contains filtered or unexported fields
}

GetAppCatalogsReader is a Reader for the GetAppCatalogs structure.

func (*GetAppCatalogsReader) ReadResponse

func (o *GetAppCatalogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAppCatalogsUnauthorized

type GetAppCatalogsUnauthorized struct {
	Payload *models.V4GenericResponse
}

GetAppCatalogsUnauthorized handles this case with default header values.

Permission denied

func NewGetAppCatalogsUnauthorized

func NewGetAppCatalogsUnauthorized() *GetAppCatalogsUnauthorized

NewGetAppCatalogsUnauthorized creates a GetAppCatalogsUnauthorized with default headers values

func (*GetAppCatalogsUnauthorized) Error

type GetClusterAppsV4Default

type GetClusterAppsV4Default struct {
	Payload *models.V4GenericResponse
	// contains filtered or unexported fields
}

GetClusterAppsV4Default handles this case with default header values.

error

func NewGetClusterAppsV4Default

func NewGetClusterAppsV4Default(code int) *GetClusterAppsV4Default

NewGetClusterAppsV4Default creates a GetClusterAppsV4Default with default headers values

func (*GetClusterAppsV4Default) Code

func (o *GetClusterAppsV4Default) Code() int

Code gets the status code for the get cluster apps v4 default response

func (*GetClusterAppsV4Default) Error

func (o *GetClusterAppsV4Default) Error() string

type GetClusterAppsV4OK

type GetClusterAppsV4OK struct {
	Payload models.V4GetClusterAppsResponse
}

GetClusterAppsV4OK handles this case with default header values.

Cluster apps

func NewGetClusterAppsV4OK

func NewGetClusterAppsV4OK() *GetClusterAppsV4OK

NewGetClusterAppsV4OK creates a GetClusterAppsV4OK with default headers values

func (*GetClusterAppsV4OK) Error

func (o *GetClusterAppsV4OK) Error() string

type GetClusterAppsV4Params

type GetClusterAppsV4Params 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
	/*ClusterID
	  Cluster ID

	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetClusterAppsV4Params contains all the parameters to send to the API endpoint for the get cluster apps v4 operation typically these are written to a http.Request

func NewGetClusterAppsV4Params

func NewGetClusterAppsV4Params() *GetClusterAppsV4Params

NewGetClusterAppsV4Params creates a new GetClusterAppsV4Params object with the default values initialized.

func NewGetClusterAppsV4ParamsWithContext

func NewGetClusterAppsV4ParamsWithContext(ctx context.Context) *GetClusterAppsV4Params

NewGetClusterAppsV4ParamsWithContext creates a new GetClusterAppsV4Params object with the default values initialized, and the ability to set a context for a request

func NewGetClusterAppsV4ParamsWithHTTPClient

func NewGetClusterAppsV4ParamsWithHTTPClient(client *http.Client) *GetClusterAppsV4Params

NewGetClusterAppsV4ParamsWithHTTPClient creates a new GetClusterAppsV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetClusterAppsV4ParamsWithTimeout

func NewGetClusterAppsV4ParamsWithTimeout(timeout time.Duration) *GetClusterAppsV4Params

NewGetClusterAppsV4ParamsWithTimeout creates a new GetClusterAppsV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*GetClusterAppsV4Params) SetClusterID

func (o *GetClusterAppsV4Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get cluster apps v4 params

func (*GetClusterAppsV4Params) SetContext

func (o *GetClusterAppsV4Params) SetContext(ctx context.Context)

SetContext adds the context to the get cluster apps v4 params

func (*GetClusterAppsV4Params) SetHTTPClient

func (o *GetClusterAppsV4Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get cluster apps v4 params

func (*GetClusterAppsV4Params) SetTimeout

func (o *GetClusterAppsV4Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get cluster apps v4 params

func (*GetClusterAppsV4Params) SetXGiantSwarmActivity

func (o *GetClusterAppsV4Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)

SetXGiantSwarmActivity adds the xGiantSwarmActivity to the get cluster apps v4 params

func (*GetClusterAppsV4Params) SetXGiantSwarmCmdLine

func (o *GetClusterAppsV4Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)

SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the get cluster apps v4 params

func (*GetClusterAppsV4Params) SetXRequestID

func (o *GetClusterAppsV4Params) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get cluster apps v4 params

func (*GetClusterAppsV4Params) WithClusterID

func (o *GetClusterAppsV4Params) WithClusterID(clusterID string) *GetClusterAppsV4Params

WithClusterID adds the clusterID to the get cluster apps v4 params

func (*GetClusterAppsV4Params) WithContext

WithContext adds the context to the get cluster apps v4 params

func (*GetClusterAppsV4Params) WithHTTPClient

func (o *GetClusterAppsV4Params) WithHTTPClient(client *http.Client) *GetClusterAppsV4Params

WithHTTPClient adds the HTTPClient to the get cluster apps v4 params

func (*GetClusterAppsV4Params) WithTimeout

WithTimeout adds the timeout to the get cluster apps v4 params

func (*GetClusterAppsV4Params) WithXGiantSwarmActivity

func (o *GetClusterAppsV4Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *GetClusterAppsV4Params

WithXGiantSwarmActivity adds the xGiantSwarmActivity to the get cluster apps v4 params

func (*GetClusterAppsV4Params) WithXGiantSwarmCmdLine

func (o *GetClusterAppsV4Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *GetClusterAppsV4Params

WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the get cluster apps v4 params

func (*GetClusterAppsV4Params) WithXRequestID

func (o *GetClusterAppsV4Params) WithXRequestID(xRequestID *string) *GetClusterAppsV4Params

WithXRequestID adds the xRequestID to the get cluster apps v4 params

func (*GetClusterAppsV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClusterAppsV4Reader

type GetClusterAppsV4Reader struct {
	// contains filtered or unexported fields
}

GetClusterAppsV4Reader is a Reader for the GetClusterAppsV4 structure.

func (*GetClusterAppsV4Reader) ReadResponse

func (o *GetClusterAppsV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetClusterAppsV4Unauthorized

type GetClusterAppsV4Unauthorized struct {
	Payload *models.V4GenericResponse
}

GetClusterAppsV4Unauthorized handles this case with default header values.

Permission denied

func NewGetClusterAppsV4Unauthorized

func NewGetClusterAppsV4Unauthorized() *GetClusterAppsV4Unauthorized

NewGetClusterAppsV4Unauthorized creates a GetClusterAppsV4Unauthorized with default headers values

func (*GetClusterAppsV4Unauthorized) Error

type GetClusterAppsV5Default

type GetClusterAppsV5Default struct {
	Payload *models.V4GenericResponse
	// contains filtered or unexported fields
}

GetClusterAppsV5Default handles this case with default header values.

error

func NewGetClusterAppsV5Default

func NewGetClusterAppsV5Default(code int) *GetClusterAppsV5Default

NewGetClusterAppsV5Default creates a GetClusterAppsV5Default with default headers values

func (*GetClusterAppsV5Default) Code

func (o *GetClusterAppsV5Default) Code() int

Code gets the status code for the get cluster apps v5 default response

func (*GetClusterAppsV5Default) Error

func (o *GetClusterAppsV5Default) Error() string

type GetClusterAppsV5OK

type GetClusterAppsV5OK struct {
	Payload models.V4GetClusterAppsResponse
}

GetClusterAppsV5OK handles this case with default header values.

Cluster apps

func NewGetClusterAppsV5OK

func NewGetClusterAppsV5OK() *GetClusterAppsV5OK

NewGetClusterAppsV5OK creates a GetClusterAppsV5OK with default headers values

func (*GetClusterAppsV5OK) Error

func (o *GetClusterAppsV5OK) Error() string

type GetClusterAppsV5Params

type GetClusterAppsV5Params 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
	/*ClusterID
	  Cluster ID

	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetClusterAppsV5Params contains all the parameters to send to the API endpoint for the get cluster apps v5 operation typically these are written to a http.Request

func NewGetClusterAppsV5Params

func NewGetClusterAppsV5Params() *GetClusterAppsV5Params

NewGetClusterAppsV5Params creates a new GetClusterAppsV5Params object with the default values initialized.

func NewGetClusterAppsV5ParamsWithContext

func NewGetClusterAppsV5ParamsWithContext(ctx context.Context) *GetClusterAppsV5Params

NewGetClusterAppsV5ParamsWithContext creates a new GetClusterAppsV5Params object with the default values initialized, and the ability to set a context for a request

func NewGetClusterAppsV5ParamsWithHTTPClient

func NewGetClusterAppsV5ParamsWithHTTPClient(client *http.Client) *GetClusterAppsV5Params

NewGetClusterAppsV5ParamsWithHTTPClient creates a new GetClusterAppsV5Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetClusterAppsV5ParamsWithTimeout

func NewGetClusterAppsV5ParamsWithTimeout(timeout time.Duration) *GetClusterAppsV5Params

NewGetClusterAppsV5ParamsWithTimeout creates a new GetClusterAppsV5Params object with the default values initialized, and the ability to set a timeout on a request

func (*GetClusterAppsV5Params) SetClusterID

func (o *GetClusterAppsV5Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get cluster apps v5 params

func (*GetClusterAppsV5Params) SetContext

func (o *GetClusterAppsV5Params) SetContext(ctx context.Context)

SetContext adds the context to the get cluster apps v5 params

func (*GetClusterAppsV5Params) SetHTTPClient

func (o *GetClusterAppsV5Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get cluster apps v5 params

func (*GetClusterAppsV5Params) SetTimeout

func (o *GetClusterAppsV5Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get cluster apps v5 params

func (*GetClusterAppsV5Params) SetXGiantSwarmActivity

func (o *GetClusterAppsV5Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)

SetXGiantSwarmActivity adds the xGiantSwarmActivity to the get cluster apps v5 params

func (*GetClusterAppsV5Params) SetXGiantSwarmCmdLine

func (o *GetClusterAppsV5Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)

SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the get cluster apps v5 params

func (*GetClusterAppsV5Params) SetXRequestID

func (o *GetClusterAppsV5Params) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get cluster apps v5 params

func (*GetClusterAppsV5Params) WithClusterID

func (o *GetClusterAppsV5Params) WithClusterID(clusterID string) *GetClusterAppsV5Params

WithClusterID adds the clusterID to the get cluster apps v5 params

func (*GetClusterAppsV5Params) WithContext

WithContext adds the context to the get cluster apps v5 params

func (*GetClusterAppsV5Params) WithHTTPClient

func (o *GetClusterAppsV5Params) WithHTTPClient(client *http.Client) *GetClusterAppsV5Params

WithHTTPClient adds the HTTPClient to the get cluster apps v5 params

func (*GetClusterAppsV5Params) WithTimeout

WithTimeout adds the timeout to the get cluster apps v5 params

func (*GetClusterAppsV5Params) WithXGiantSwarmActivity

func (o *GetClusterAppsV5Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *GetClusterAppsV5Params

WithXGiantSwarmActivity adds the xGiantSwarmActivity to the get cluster apps v5 params

func (*GetClusterAppsV5Params) WithXGiantSwarmCmdLine

func (o *GetClusterAppsV5Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *GetClusterAppsV5Params

WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the get cluster apps v5 params

func (*GetClusterAppsV5Params) WithXRequestID

func (o *GetClusterAppsV5Params) WithXRequestID(xRequestID *string) *GetClusterAppsV5Params

WithXRequestID adds the xRequestID to the get cluster apps v5 params

func (*GetClusterAppsV5Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClusterAppsV5Reader

type GetClusterAppsV5Reader struct {
	// contains filtered or unexported fields
}

GetClusterAppsV5Reader is a Reader for the GetClusterAppsV5 structure.

func (*GetClusterAppsV5Reader) ReadResponse

func (o *GetClusterAppsV5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetClusterAppsV5Unauthorized

type GetClusterAppsV5Unauthorized struct {
	Payload *models.V4GenericResponse
}

GetClusterAppsV5Unauthorized handles this case with default header values.

Permission denied

func NewGetClusterAppsV5Unauthorized

func NewGetClusterAppsV5Unauthorized() *GetClusterAppsV5Unauthorized

NewGetClusterAppsV5Unauthorized creates a GetClusterAppsV5Unauthorized with default headers values

func (*GetClusterAppsV5Unauthorized) Error

type ModifyClusterAppV4BadRequest

type ModifyClusterAppV4BadRequest struct {
	Payload *models.V4GenericResponse
}

ModifyClusterAppV4BadRequest handles this case with default header values.

Invalid input

func NewModifyClusterAppV4BadRequest

func NewModifyClusterAppV4BadRequest() *ModifyClusterAppV4BadRequest

NewModifyClusterAppV4BadRequest creates a ModifyClusterAppV4BadRequest with default headers values

func (*ModifyClusterAppV4BadRequest) Error

type ModifyClusterAppV4Default

type ModifyClusterAppV4Default struct {
	Payload *models.V4GenericResponse
	// contains filtered or unexported fields
}

ModifyClusterAppV4Default handles this case with default header values.

error

func NewModifyClusterAppV4Default

func NewModifyClusterAppV4Default(code int) *ModifyClusterAppV4Default

NewModifyClusterAppV4Default creates a ModifyClusterAppV4Default with default headers values

func (*ModifyClusterAppV4Default) Code

func (o *ModifyClusterAppV4Default) Code() int

Code gets the status code for the modify cluster app v4 default response

func (*ModifyClusterAppV4Default) Error

func (o *ModifyClusterAppV4Default) Error() string

type ModifyClusterAppV4NotFound

type ModifyClusterAppV4NotFound struct {
	Payload *models.V4GenericResponse
}

ModifyClusterAppV4NotFound handles this case with default header values.

App not found

func NewModifyClusterAppV4NotFound

func NewModifyClusterAppV4NotFound() *ModifyClusterAppV4NotFound

NewModifyClusterAppV4NotFound creates a ModifyClusterAppV4NotFound with default headers values

func (*ModifyClusterAppV4NotFound) Error

type ModifyClusterAppV4OK

type ModifyClusterAppV4OK struct {
	Payload *models.V4App
}

ModifyClusterAppV4OK handles this case with default header values.

App modified

func NewModifyClusterAppV4OK

func NewModifyClusterAppV4OK() *ModifyClusterAppV4OK

NewModifyClusterAppV4OK creates a ModifyClusterAppV4OK with default headers values

func (*ModifyClusterAppV4OK) Error

func (o *ModifyClusterAppV4OK) Error() string

type ModifyClusterAppV4Params

type ModifyClusterAppV4Params 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.V4ModifyAppRequest
	/*ClusterID
	  Cluster ID

	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ModifyClusterAppV4Params contains all the parameters to send to the API endpoint for the modify cluster app v4 operation typically these are written to a http.Request

func NewModifyClusterAppV4Params

func NewModifyClusterAppV4Params() *ModifyClusterAppV4Params

NewModifyClusterAppV4Params creates a new ModifyClusterAppV4Params object with the default values initialized.

func NewModifyClusterAppV4ParamsWithContext

func NewModifyClusterAppV4ParamsWithContext(ctx context.Context) *ModifyClusterAppV4Params

NewModifyClusterAppV4ParamsWithContext creates a new ModifyClusterAppV4Params object with the default values initialized, and the ability to set a context for a request

func NewModifyClusterAppV4ParamsWithHTTPClient

func NewModifyClusterAppV4ParamsWithHTTPClient(client *http.Client) *ModifyClusterAppV4Params

NewModifyClusterAppV4ParamsWithHTTPClient creates a new ModifyClusterAppV4Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewModifyClusterAppV4ParamsWithTimeout

func NewModifyClusterAppV4ParamsWithTimeout(timeout time.Duration) *ModifyClusterAppV4Params

NewModifyClusterAppV4ParamsWithTimeout creates a new ModifyClusterAppV4Params object with the default values initialized, and the ability to set a timeout on a request

func (*ModifyClusterAppV4Params) SetAppName

func (o *ModifyClusterAppV4Params) SetAppName(appName string)

SetAppName adds the appName to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) SetBody

SetBody adds the body to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) SetClusterID

func (o *ModifyClusterAppV4Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) SetContext

func (o *ModifyClusterAppV4Params) SetContext(ctx context.Context)

SetContext adds the context to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) SetHTTPClient

func (o *ModifyClusterAppV4Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) SetTimeout

func (o *ModifyClusterAppV4Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) SetXGiantSwarmActivity

func (o *ModifyClusterAppV4Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)

SetXGiantSwarmActivity adds the xGiantSwarmActivity to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) SetXGiantSwarmCmdLine

func (o *ModifyClusterAppV4Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)

SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) SetXRequestID

func (o *ModifyClusterAppV4Params) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) WithAppName

func (o *ModifyClusterAppV4Params) WithAppName(appName string) *ModifyClusterAppV4Params

WithAppName adds the appName to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) WithBody

WithBody adds the body to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) WithClusterID

func (o *ModifyClusterAppV4Params) WithClusterID(clusterID string) *ModifyClusterAppV4Params

WithClusterID adds the clusterID to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) WithContext

WithContext adds the context to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) WithHTTPClient

func (o *ModifyClusterAppV4Params) WithHTTPClient(client *http.Client) *ModifyClusterAppV4Params

WithHTTPClient adds the HTTPClient to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) WithTimeout

WithTimeout adds the timeout to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) WithXGiantSwarmActivity

func (o *ModifyClusterAppV4Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *ModifyClusterAppV4Params

WithXGiantSwarmActivity adds the xGiantSwarmActivity to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) WithXGiantSwarmCmdLine

func (o *ModifyClusterAppV4Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *ModifyClusterAppV4Params

WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) WithXRequestID

func (o *ModifyClusterAppV4Params) WithXRequestID(xRequestID *string) *ModifyClusterAppV4Params

WithXRequestID adds the xRequestID to the modify cluster app v4 params

func (*ModifyClusterAppV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyClusterAppV4Reader

type ModifyClusterAppV4Reader struct {
	// contains filtered or unexported fields
}

ModifyClusterAppV4Reader is a Reader for the ModifyClusterAppV4 structure.

func (*ModifyClusterAppV4Reader) ReadResponse

func (o *ModifyClusterAppV4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ModifyClusterAppV4Unauthorized

type ModifyClusterAppV4Unauthorized struct {
	Payload *models.V4GenericResponse
}

ModifyClusterAppV4Unauthorized handles this case with default header values.

Permission denied

func NewModifyClusterAppV4Unauthorized

func NewModifyClusterAppV4Unauthorized() *ModifyClusterAppV4Unauthorized

NewModifyClusterAppV4Unauthorized creates a ModifyClusterAppV4Unauthorized with default headers values

func (*ModifyClusterAppV4Unauthorized) Error

type ModifyClusterAppV5BadRequest

type ModifyClusterAppV5BadRequest struct {
	Payload *models.V4GenericResponse
}

ModifyClusterAppV5BadRequest handles this case with default header values.

Invalid input

func NewModifyClusterAppV5BadRequest

func NewModifyClusterAppV5BadRequest() *ModifyClusterAppV5BadRequest

NewModifyClusterAppV5BadRequest creates a ModifyClusterAppV5BadRequest with default headers values

func (*ModifyClusterAppV5BadRequest) Error

type ModifyClusterAppV5Default

type ModifyClusterAppV5Default struct {
	Payload *models.V4GenericResponse
	// contains filtered or unexported fields
}

ModifyClusterAppV5Default handles this case with default header values.

error

func NewModifyClusterAppV5Default

func NewModifyClusterAppV5Default(code int) *ModifyClusterAppV5Default

NewModifyClusterAppV5Default creates a ModifyClusterAppV5Default with default headers values

func (*ModifyClusterAppV5Default) Code

func (o *ModifyClusterAppV5Default) Code() int

Code gets the status code for the modify cluster app v5 default response

func (*ModifyClusterAppV5Default) Error

func (o *ModifyClusterAppV5Default) Error() string

type ModifyClusterAppV5NotFound

type ModifyClusterAppV5NotFound struct {
	Payload *models.V4GenericResponse
}

ModifyClusterAppV5NotFound handles this case with default header values.

App not found

func NewModifyClusterAppV5NotFound

func NewModifyClusterAppV5NotFound() *ModifyClusterAppV5NotFound

NewModifyClusterAppV5NotFound creates a ModifyClusterAppV5NotFound with default headers values

func (*ModifyClusterAppV5NotFound) Error

type ModifyClusterAppV5OK

type ModifyClusterAppV5OK struct {
	Payload *models.V4App
}

ModifyClusterAppV5OK handles this case with default header values.

App modified

func NewModifyClusterAppV5OK

func NewModifyClusterAppV5OK() *ModifyClusterAppV5OK

NewModifyClusterAppV5OK creates a ModifyClusterAppV5OK with default headers values

func (*ModifyClusterAppV5OK) Error

func (o *ModifyClusterAppV5OK) Error() string

type ModifyClusterAppV5Params

type ModifyClusterAppV5Params 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.V4ModifyAppRequest
	/*ClusterID
	  Cluster ID

	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ModifyClusterAppV5Params contains all the parameters to send to the API endpoint for the modify cluster app v5 operation typically these are written to a http.Request

func NewModifyClusterAppV5Params

func NewModifyClusterAppV5Params() *ModifyClusterAppV5Params

NewModifyClusterAppV5Params creates a new ModifyClusterAppV5Params object with the default values initialized.

func NewModifyClusterAppV5ParamsWithContext

func NewModifyClusterAppV5ParamsWithContext(ctx context.Context) *ModifyClusterAppV5Params

NewModifyClusterAppV5ParamsWithContext creates a new ModifyClusterAppV5Params object with the default values initialized, and the ability to set a context for a request

func NewModifyClusterAppV5ParamsWithHTTPClient

func NewModifyClusterAppV5ParamsWithHTTPClient(client *http.Client) *ModifyClusterAppV5Params

NewModifyClusterAppV5ParamsWithHTTPClient creates a new ModifyClusterAppV5Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewModifyClusterAppV5ParamsWithTimeout

func NewModifyClusterAppV5ParamsWithTimeout(timeout time.Duration) *ModifyClusterAppV5Params

NewModifyClusterAppV5ParamsWithTimeout creates a new ModifyClusterAppV5Params object with the default values initialized, and the ability to set a timeout on a request

func (*ModifyClusterAppV5Params) SetAppName

func (o *ModifyClusterAppV5Params) SetAppName(appName string)

SetAppName adds the appName to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) SetBody

SetBody adds the body to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) SetClusterID

func (o *ModifyClusterAppV5Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) SetContext

func (o *ModifyClusterAppV5Params) SetContext(ctx context.Context)

SetContext adds the context to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) SetHTTPClient

func (o *ModifyClusterAppV5Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) SetTimeout

func (o *ModifyClusterAppV5Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) SetXGiantSwarmActivity

func (o *ModifyClusterAppV5Params) SetXGiantSwarmActivity(xGiantSwarmActivity *string)

SetXGiantSwarmActivity adds the xGiantSwarmActivity to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) SetXGiantSwarmCmdLine

func (o *ModifyClusterAppV5Params) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string)

SetXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) SetXRequestID

func (o *ModifyClusterAppV5Params) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) WithAppName

func (o *ModifyClusterAppV5Params) WithAppName(appName string) *ModifyClusterAppV5Params

WithAppName adds the appName to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) WithBody

WithBody adds the body to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) WithClusterID

func (o *ModifyClusterAppV5Params) WithClusterID(clusterID string) *ModifyClusterAppV5Params

WithClusterID adds the clusterID to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) WithContext

WithContext adds the context to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) WithHTTPClient

func (o *ModifyClusterAppV5Params) WithHTTPClient(client *http.Client) *ModifyClusterAppV5Params

WithHTTPClient adds the HTTPClient to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) WithTimeout

WithTimeout adds the timeout to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) WithXGiantSwarmActivity

func (o *ModifyClusterAppV5Params) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *ModifyClusterAppV5Params

WithXGiantSwarmActivity adds the xGiantSwarmActivity to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) WithXGiantSwarmCmdLine

func (o *ModifyClusterAppV5Params) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *ModifyClusterAppV5Params

WithXGiantSwarmCmdLine adds the xGiantSwarmCmdLine to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) WithXRequestID

func (o *ModifyClusterAppV5Params) WithXRequestID(xRequestID *string) *ModifyClusterAppV5Params

WithXRequestID adds the xRequestID to the modify cluster app v5 params

func (*ModifyClusterAppV5Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyClusterAppV5Reader

type ModifyClusterAppV5Reader struct {
	// contains filtered or unexported fields
}

ModifyClusterAppV5Reader is a Reader for the ModifyClusterAppV5 structure.

func (*ModifyClusterAppV5Reader) ReadResponse

func (o *ModifyClusterAppV5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ModifyClusterAppV5Unauthorized

type ModifyClusterAppV5Unauthorized struct {
	Payload *models.V4GenericResponse
}

ModifyClusterAppV5Unauthorized handles this case with default header values.

Permission denied

func NewModifyClusterAppV5Unauthorized

func NewModifyClusterAppV5Unauthorized() *ModifyClusterAppV5Unauthorized

NewModifyClusterAppV5Unauthorized creates a ModifyClusterAppV5Unauthorized with default headers values

func (*ModifyClusterAppV5Unauthorized) Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL