cluster_group

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

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 cluster groups API

func (*Client) CreateClusterGroup

CreateClusterGroup creates a new cluster group

Create a new cluster group with specified configuration and manifest.

**Example Request:** ```json

{
  "projectId": "project-123",
  "name": "production-cluster-group",
  "title": "Production Cluster Group",
  "description": "Cluster group for production environments",
  "tags": {
    "environment": "production",
    "region": "us-west",
    "team": "platform"
  },
  "manifest": {
    "yamlContent": "apiVersion: v1\nkind: Namespace\nmetadata:\n  name: production-ns"
  }
}

```

**Example Response:** ```json

{
  "operationType": "OPS_TYPE_UNSPECIFIED",
  "operationStatus": "OPS_STATUS_UNSPECIFIED",
  "objectKind": "",
  "objectId": "cluster-group-abc123",
  "objectName": "production-cluster-group",
  "objectRevision": "",
  "objectType": "OBJECT_TYPE_UNSPECIFIED",
  "operationTime": "",
  "startTime": "",
  "endTime": "",
  "user": "",
  "httpStatusCode": 201,
  "httpStatusMsg": "",
  "jobId": "",
  "error": [
    {
      "ec": "zMsgSucess",
      "location": "",
      "details": ""
    }
  ]
}

```

func (*Client) DeleteClusterGroup

func (a *Client) DeleteClusterGroup(params *DeleteClusterGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterGroupOK, error)
DeleteClusterGroup deletes cluster group

Delete a cluster group and all its associated resources. This operation is irreversible and will remove the cluster group configuration.

**Example Request:** ``` DELETE /v1/zks/cluster/groups/id/cluster-group-abc123 ```

**Example Response:** ```json

{
  "operationType": "OPS_TYPE_UNSPECIFIED",
  "operationStatus": "OPS_STATUS_UNSPECIFIED",
  "objectKind": "",
  "objectId": "cluster-group-abc123",
  "objectName": "production-cluster-group",
  "objectRevision": "",
  "objectType": "OBJECT_TYPE_UNSPECIFIED",
  "operationTime": "",
  "startTime": "",
  "endTime": "",
  "user": "",
  "httpStatusCode": 200,
  "httpStatusMsg": "",
  "jobId": "",
  "error": [
    {
      "ec": "zMsgSucess",
      "location": "",
      "details": ""
    }
  ]
}

```

**Warning:** This operation will permanently delete the cluster group and all its configurations. Ensure all important data is backed up before deletion.

func (*Client) GetClusterGroupManifest

func (a *Client) GetClusterGroupManifest(params *GetClusterGroupManifestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterGroupManifestOK, error)
GetClusterGroupManifest gets cluster group manifest

Generate and retrieve a cluster group manifest based on specified criteria.

**Query Parameters:** - `name`: Name of the cluster group - `projectName`: Name of the project - `tags`: Tags filter (JSON object)

**Example Request:** ``` GET /v1/zks/cluster/groups/manifest?name=production-cluster-group&projectName=production-project GET /v1/zks/cluster/groups/manifest?tags={"environment":"production"} ```

**Example Response:** ```json

{
  "manifest": {
    "yamlContent": "apiVersion: v1\nkind: Namespace\nmetadata:\n  name: production-ns\n  labels:\n    environment: production\n---\napiVersion: apps/v1\nkind: Deployment\nmetadata:\n  name: app-deployment\n  namespace: production-ns\nspec:\n  replicas: 3\n  selector:\n    matchLabels:\n      app: production-app\n  template:\n    metadata:\n      labels:\n        app: production-app\n    spec:\n      containers:\n      - name: app\n        image: nginx:latest\n        ports:\n        - containerPort: 80"
  }
}

```

func (*Client) GetClusterGroupsStatus

func (a *Client) GetClusterGroupsStatus(params *GetClusterGroupsStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterGroupsStatusOK, error)
GetClusterGroupsStatus gets cluster groups status

Retrieve detailed status information for all cluster groups including readiness, resources, and cluster details.

**Query Parameters:** - `id`: Filter by cluster group ID - `name`: Filter by cluster group name - `namePattern`: Filter by cluster group name pattern - `projectName`: Filter by project name - `projectNamePattern`: Filter by project name pattern

**Example Request:** ``` GET /v1/zks/cluster/groups/status GET /v1/zks/cluster/groups/status?name=production-cluster-group GET /v1/zks/cluster/groups/status?projectName=production-project ```

**Example Response:** ```json

{
  "list": [
    {
      "id": "cluster-group-abc123",
      "projectId": "project-123",
      "projectName": "Production Project",
      "name": "production-cluster-group",
      "title": "Production Cluster Group",
      "description": "Cluster group for production environments",
      "tags": {
        "environment": "production",
        "region": "us-west"
      },
      "state": "DEPLOYED",
      "clusterReadiness": {
        "total": 5,
        "ready": 4
      },
      "resources": {
        "amount": 25,
        "summary": {
          "missing": 0,
          "modified": 1,
          "notReady": 1,
          "orphaned": 0,
          "ready": 23,
          "unknown": 0,
          "waitApplied": 0
        }
      },
      "clusters": [
        {
          "name": "cluster-001",
          "state": "DEPLOYED",
          "bundleReady": "True",
          "reposReady": "True",
          "resources": 5,
          "lastSeen": "2024-01-15T12:00:00Z",
          "age": "2024-01-10T10:00:00Z"
        }
      ],
      "namespace": "production-ns",
      "age": "2024-01-10T10:00:00Z"
    }
  ]
}

```

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	CreateClusterGroup(params *CreateClusterGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterGroupOK, *CreateClusterGroupCreated, error)

	DeleteClusterGroup(params *DeleteClusterGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterGroupOK, error)

	GetClusterGroupManifest(params *GetClusterGroupManifestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterGroupManifestOK, error)

	GetClusterGroupsStatus(params *GetClusterGroupsStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterGroupsStatusOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new cluster groups API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new cluster groups API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new cluster groups API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type CreateClusterGroupBadRequest

type CreateClusterGroupBadRequest struct {
	Payload *models.ZsrvResponse
}

CreateClusterGroupBadRequest describes a response with status code 400, with default header values.

Bad Request. Invalid cluster group configuration or missing required fields.

func NewCreateClusterGroupBadRequest

func NewCreateClusterGroupBadRequest() *CreateClusterGroupBadRequest

NewCreateClusterGroupBadRequest creates a CreateClusterGroupBadRequest with default headers values

func (*CreateClusterGroupBadRequest) Code

Code gets the status code for the cluster groups create cluster group bad request response

func (*CreateClusterGroupBadRequest) Error

func (*CreateClusterGroupBadRequest) GetPayload

func (*CreateClusterGroupBadRequest) IsClientError

func (o *CreateClusterGroupBadRequest) IsClientError() bool

IsClientError returns true when this cluster groups create cluster group bad request response has a 4xx status code

func (*CreateClusterGroupBadRequest) IsCode

func (o *CreateClusterGroupBadRequest) IsCode(code int) bool

IsCode returns true when this cluster groups create cluster group bad request response a status code equal to that given

func (*CreateClusterGroupBadRequest) IsRedirect

func (o *CreateClusterGroupBadRequest) IsRedirect() bool

IsRedirect returns true when this cluster groups create cluster group bad request response has a 3xx status code

func (*CreateClusterGroupBadRequest) IsServerError

func (o *CreateClusterGroupBadRequest) IsServerError() bool

IsServerError returns true when this cluster groups create cluster group bad request response has a 5xx status code

func (*CreateClusterGroupBadRequest) IsSuccess

func (o *CreateClusterGroupBadRequest) IsSuccess() bool

IsSuccess returns true when this cluster groups create cluster group bad request response has a 2xx status code

func (*CreateClusterGroupBadRequest) String

type CreateClusterGroupConflict

type CreateClusterGroupConflict struct {
	Payload *models.ZsrvResponse
}

CreateClusterGroupConflict describes a response with status code 409, with default header values.

Conflict. Cluster group with the same name already exists.

func NewCreateClusterGroupConflict

func NewCreateClusterGroupConflict() *CreateClusterGroupConflict

NewCreateClusterGroupConflict creates a CreateClusterGroupConflict with default headers values

func (*CreateClusterGroupConflict) Code

func (o *CreateClusterGroupConflict) Code() int

Code gets the status code for the cluster groups create cluster group conflict response

func (*CreateClusterGroupConflict) Error

func (*CreateClusterGroupConflict) GetPayload

func (*CreateClusterGroupConflict) IsClientError

func (o *CreateClusterGroupConflict) IsClientError() bool

IsClientError returns true when this cluster groups create cluster group conflict response has a 4xx status code

func (*CreateClusterGroupConflict) IsCode

func (o *CreateClusterGroupConflict) IsCode(code int) bool

IsCode returns true when this cluster groups create cluster group conflict response a status code equal to that given

func (*CreateClusterGroupConflict) IsRedirect

func (o *CreateClusterGroupConflict) IsRedirect() bool

IsRedirect returns true when this cluster groups create cluster group conflict response has a 3xx status code

func (*CreateClusterGroupConflict) IsServerError

func (o *CreateClusterGroupConflict) IsServerError() bool

IsServerError returns true when this cluster groups create cluster group conflict response has a 5xx status code

func (*CreateClusterGroupConflict) IsSuccess

func (o *CreateClusterGroupConflict) IsSuccess() bool

IsSuccess returns true when this cluster groups create cluster group conflict response has a 2xx status code

func (*CreateClusterGroupConflict) String

func (o *CreateClusterGroupConflict) String() string

type CreateClusterGroupCreated

type CreateClusterGroupCreated struct {
	Payload *models.ZsrvResponse
}

CreateClusterGroupCreated describes a response with status code 201, with default header values.

Successfully created cluster group

func NewCreateClusterGroupCreated

func NewCreateClusterGroupCreated() *CreateClusterGroupCreated

NewCreateClusterGroupCreated creates a CreateClusterGroupCreated with default headers values

func (*CreateClusterGroupCreated) Code

func (o *CreateClusterGroupCreated) Code() int

Code gets the status code for the cluster groups create cluster group created response

func (*CreateClusterGroupCreated) Error

func (o *CreateClusterGroupCreated) Error() string

func (*CreateClusterGroupCreated) GetPayload

func (*CreateClusterGroupCreated) IsClientError

func (o *CreateClusterGroupCreated) IsClientError() bool

IsClientError returns true when this cluster groups create cluster group created response has a 4xx status code

func (*CreateClusterGroupCreated) IsCode

func (o *CreateClusterGroupCreated) IsCode(code int) bool

IsCode returns true when this cluster groups create cluster group created response a status code equal to that given

func (*CreateClusterGroupCreated) IsRedirect

func (o *CreateClusterGroupCreated) IsRedirect() bool

IsRedirect returns true when this cluster groups create cluster group created response has a 3xx status code

func (*CreateClusterGroupCreated) IsServerError

func (o *CreateClusterGroupCreated) IsServerError() bool

IsServerError returns true when this cluster groups create cluster group created response has a 5xx status code

func (*CreateClusterGroupCreated) IsSuccess

func (o *CreateClusterGroupCreated) IsSuccess() bool

IsSuccess returns true when this cluster groups create cluster group created response has a 2xx status code

func (*CreateClusterGroupCreated) String

func (o *CreateClusterGroupCreated) String() string

type CreateClusterGroupDefault

type CreateClusterGroupDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

CreateClusterGroupDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreateClusterGroupDefault

func NewCreateClusterGroupDefault(code int) *CreateClusterGroupDefault

NewCreateClusterGroupDefault creates a CreateClusterGroupDefault with default headers values

func (*CreateClusterGroupDefault) Code

func (o *CreateClusterGroupDefault) Code() int

Code gets the status code for the cluster groups create cluster group default response

func (*CreateClusterGroupDefault) Error

func (o *CreateClusterGroupDefault) Error() string

func (*CreateClusterGroupDefault) GetPayload

func (*CreateClusterGroupDefault) IsClientError

func (o *CreateClusterGroupDefault) IsClientError() bool

IsClientError returns true when this cluster groups create cluster group default response has a 4xx status code

func (*CreateClusterGroupDefault) IsCode

func (o *CreateClusterGroupDefault) IsCode(code int) bool

IsCode returns true when this cluster groups create cluster group default response a status code equal to that given

func (*CreateClusterGroupDefault) IsRedirect

func (o *CreateClusterGroupDefault) IsRedirect() bool

IsRedirect returns true when this cluster groups create cluster group default response has a 3xx status code

func (*CreateClusterGroupDefault) IsServerError

func (o *CreateClusterGroupDefault) IsServerError() bool

IsServerError returns true when this cluster groups create cluster group default response has a 5xx status code

func (*CreateClusterGroupDefault) IsSuccess

func (o *CreateClusterGroupDefault) IsSuccess() bool

IsSuccess returns true when this cluster groups create cluster group default response has a 2xx status code

func (*CreateClusterGroupDefault) String

func (o *CreateClusterGroupDefault) String() string

type CreateClusterGroupForbidden

type CreateClusterGroupForbidden struct {
	Payload *models.ZsrvResponse
}

CreateClusterGroupForbidden describes a response with status code 403, with default header values.

Forbidden. User does not have permission to create cluster groups.

func NewCreateClusterGroupForbidden

func NewCreateClusterGroupForbidden() *CreateClusterGroupForbidden

NewCreateClusterGroupForbidden creates a CreateClusterGroupForbidden with default headers values

func (*CreateClusterGroupForbidden) Code

func (o *CreateClusterGroupForbidden) Code() int

Code gets the status code for the cluster groups create cluster group forbidden response

func (*CreateClusterGroupForbidden) Error

func (*CreateClusterGroupForbidden) GetPayload

func (*CreateClusterGroupForbidden) IsClientError

func (o *CreateClusterGroupForbidden) IsClientError() bool

IsClientError returns true when this cluster groups create cluster group forbidden response has a 4xx status code

func (*CreateClusterGroupForbidden) IsCode

func (o *CreateClusterGroupForbidden) IsCode(code int) bool

IsCode returns true when this cluster groups create cluster group forbidden response a status code equal to that given

func (*CreateClusterGroupForbidden) IsRedirect

func (o *CreateClusterGroupForbidden) IsRedirect() bool

IsRedirect returns true when this cluster groups create cluster group forbidden response has a 3xx status code

func (*CreateClusterGroupForbidden) IsServerError

func (o *CreateClusterGroupForbidden) IsServerError() bool

IsServerError returns true when this cluster groups create cluster group forbidden response has a 5xx status code

func (*CreateClusterGroupForbidden) IsSuccess

func (o *CreateClusterGroupForbidden) IsSuccess() bool

IsSuccess returns true when this cluster groups create cluster group forbidden response has a 2xx status code

func (*CreateClusterGroupForbidden) String

func (o *CreateClusterGroupForbidden) String() string

type CreateClusterGroupGatewayTimeout

type CreateClusterGroupGatewayTimeout struct {
	Payload *models.ZsrvResponse
}

CreateClusterGroupGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The request to create a cluster group timed out.

func NewCreateClusterGroupGatewayTimeout

func NewCreateClusterGroupGatewayTimeout() *CreateClusterGroupGatewayTimeout

NewCreateClusterGroupGatewayTimeout creates a CreateClusterGroupGatewayTimeout with default headers values

func (*CreateClusterGroupGatewayTimeout) Code

Code gets the status code for the cluster groups create cluster group gateway timeout response

func (*CreateClusterGroupGatewayTimeout) Error

func (*CreateClusterGroupGatewayTimeout) GetPayload

func (*CreateClusterGroupGatewayTimeout) IsClientError

func (o *CreateClusterGroupGatewayTimeout) IsClientError() bool

IsClientError returns true when this cluster groups create cluster group gateway timeout response has a 4xx status code

func (*CreateClusterGroupGatewayTimeout) IsCode

func (o *CreateClusterGroupGatewayTimeout) IsCode(code int) bool

IsCode returns true when this cluster groups create cluster group gateway timeout response a status code equal to that given

func (*CreateClusterGroupGatewayTimeout) IsRedirect

func (o *CreateClusterGroupGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this cluster groups create cluster group gateway timeout response has a 3xx status code

func (*CreateClusterGroupGatewayTimeout) IsServerError

func (o *CreateClusterGroupGatewayTimeout) IsServerError() bool

IsServerError returns true when this cluster groups create cluster group gateway timeout response has a 5xx status code

func (*CreateClusterGroupGatewayTimeout) IsSuccess

func (o *CreateClusterGroupGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this cluster groups create cluster group gateway timeout response has a 2xx status code

func (*CreateClusterGroupGatewayTimeout) String

type CreateClusterGroupInternalServerError

type CreateClusterGroupInternalServerError struct {
	Payload *models.ZsrvResponse
}

CreateClusterGroupInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. Failed to create cluster group due to server error.

func NewCreateClusterGroupInternalServerError

func NewCreateClusterGroupInternalServerError() *CreateClusterGroupInternalServerError

NewCreateClusterGroupInternalServerError creates a CreateClusterGroupInternalServerError with default headers values

func (*CreateClusterGroupInternalServerError) Code

Code gets the status code for the cluster groups create cluster group internal server error response

func (*CreateClusterGroupInternalServerError) Error

func (*CreateClusterGroupInternalServerError) GetPayload

func (*CreateClusterGroupInternalServerError) IsClientError

func (o *CreateClusterGroupInternalServerError) IsClientError() bool

IsClientError returns true when this cluster groups create cluster group internal server error response has a 4xx status code

func (*CreateClusterGroupInternalServerError) IsCode

IsCode returns true when this cluster groups create cluster group internal server error response a status code equal to that given

func (*CreateClusterGroupInternalServerError) IsRedirect

IsRedirect returns true when this cluster groups create cluster group internal server error response has a 3xx status code

func (*CreateClusterGroupInternalServerError) IsServerError

func (o *CreateClusterGroupInternalServerError) IsServerError() bool

IsServerError returns true when this cluster groups create cluster group internal server error response has a 5xx status code

func (*CreateClusterGroupInternalServerError) IsSuccess

IsSuccess returns true when this cluster groups create cluster group internal server error response has a 2xx status code

func (*CreateClusterGroupInternalServerError) String

type CreateClusterGroupOK

type CreateClusterGroupOK struct {
	Payload *models.ZsrvResponse
}

CreateClusterGroupOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateClusterGroupOK

func NewCreateClusterGroupOK() *CreateClusterGroupOK

NewCreateClusterGroupOK creates a CreateClusterGroupOK with default headers values

func (*CreateClusterGroupOK) Code

func (o *CreateClusterGroupOK) Code() int

Code gets the status code for the cluster groups create cluster group o k response

func (*CreateClusterGroupOK) Error

func (o *CreateClusterGroupOK) Error() string

func (*CreateClusterGroupOK) GetPayload

func (o *CreateClusterGroupOK) GetPayload() *models.ZsrvResponse

func (*CreateClusterGroupOK) IsClientError

func (o *CreateClusterGroupOK) IsClientError() bool

IsClientError returns true when this cluster groups create cluster group o k response has a 4xx status code

func (*CreateClusterGroupOK) IsCode

func (o *CreateClusterGroupOK) IsCode(code int) bool

IsCode returns true when this cluster groups create cluster group o k response a status code equal to that given

func (*CreateClusterGroupOK) IsRedirect

func (o *CreateClusterGroupOK) IsRedirect() bool

IsRedirect returns true when this cluster groups create cluster group o k response has a 3xx status code

func (*CreateClusterGroupOK) IsServerError

func (o *CreateClusterGroupOK) IsServerError() bool

IsServerError returns true when this cluster groups create cluster group o k response has a 5xx status code

func (*CreateClusterGroupOK) IsSuccess

func (o *CreateClusterGroupOK) IsSuccess() bool

IsSuccess returns true when this cluster groups create cluster group o k response has a 2xx status code

func (*CreateClusterGroupOK) String

func (o *CreateClusterGroupOK) String() string

type CreateClusterGroupParams

type CreateClusterGroupParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	// Body.
	Body *models.ClusterGroup

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

CreateClusterGroupParams contains all the parameters to send to the API endpoint

for the cluster groups create cluster group operation.

Typically these are written to a http.Request.

func NewCreateClusterGroupParams

func NewCreateClusterGroupParams() *CreateClusterGroupParams

NewCreateClusterGroupParams creates a new CreateClusterGroupParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateClusterGroupParamsWithContext

func NewCreateClusterGroupParamsWithContext(ctx context.Context) *CreateClusterGroupParams

NewCreateClusterGroupParamsWithContext creates a new CreateClusterGroupParams object with the ability to set a context for a request.

func NewCreateClusterGroupParamsWithHTTPClient

func NewCreateClusterGroupParamsWithHTTPClient(client *http.Client) *CreateClusterGroupParams

NewCreateClusterGroupParamsWithHTTPClient creates a new CreateClusterGroupParams object with the ability to set a custom HTTPClient for a request.

func NewCreateClusterGroupParamsWithTimeout

func NewCreateClusterGroupParamsWithTimeout(timeout time.Duration) *CreateClusterGroupParams

NewCreateClusterGroupParamsWithTimeout creates a new CreateClusterGroupParams object with the ability to set a timeout on a request.

func (*CreateClusterGroupParams) SetBody

func (o *CreateClusterGroupParams) SetBody(body *models.ClusterGroup)

SetBody adds the body to the cluster groups create cluster group params

func (*CreateClusterGroupParams) SetContext

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

SetContext adds the context to the cluster groups create cluster group params

func (*CreateClusterGroupParams) SetDefaults

func (o *CreateClusterGroupParams) SetDefaults()

SetDefaults hydrates default values in the cluster groups create cluster group params (not the query body).

All values with no default are reset to their zero value.

func (*CreateClusterGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cluster groups create cluster group params

func (*CreateClusterGroupParams) SetTimeout

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

SetTimeout adds the timeout to the cluster groups create cluster group params

func (*CreateClusterGroupParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the cluster groups create cluster group params

func (*CreateClusterGroupParams) WithBody

WithBody adds the body to the cluster groups create cluster group params

func (*CreateClusterGroupParams) WithContext

WithContext adds the context to the cluster groups create cluster group params

func (*CreateClusterGroupParams) WithDefaults

WithDefaults hydrates default values in the cluster groups create cluster group params (not the query body).

All values with no default are reset to their zero value.

func (*CreateClusterGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the cluster groups create cluster group params

func (*CreateClusterGroupParams) WithTimeout

WithTimeout adds the timeout to the cluster groups create cluster group params

func (*CreateClusterGroupParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the cluster groups create cluster group params

func (*CreateClusterGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateClusterGroupReader

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

CreateClusterGroupReader is a Reader for the CreateClusterGroup structure.

func (*CreateClusterGroupReader) ReadResponse

func (o *CreateClusterGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type CreateClusterGroupUnauthorized

type CreateClusterGroupUnauthorized struct {
	Payload *models.ZsrvResponse
}

CreateClusterGroupUnauthorized describes a response with status code 401, with default header values.

Unauthorized. Authentication credentials are missing or invalid.

func NewCreateClusterGroupUnauthorized

func NewCreateClusterGroupUnauthorized() *CreateClusterGroupUnauthorized

NewCreateClusterGroupUnauthorized creates a CreateClusterGroupUnauthorized with default headers values

func (*CreateClusterGroupUnauthorized) Code

Code gets the status code for the cluster groups create cluster group unauthorized response

func (*CreateClusterGroupUnauthorized) Error

func (*CreateClusterGroupUnauthorized) GetPayload

func (*CreateClusterGroupUnauthorized) IsClientError

func (o *CreateClusterGroupUnauthorized) IsClientError() bool

IsClientError returns true when this cluster groups create cluster group unauthorized response has a 4xx status code

func (*CreateClusterGroupUnauthorized) IsCode

func (o *CreateClusterGroupUnauthorized) IsCode(code int) bool

IsCode returns true when this cluster groups create cluster group unauthorized response a status code equal to that given

func (*CreateClusterGroupUnauthorized) IsRedirect

func (o *CreateClusterGroupUnauthorized) IsRedirect() bool

IsRedirect returns true when this cluster groups create cluster group unauthorized response has a 3xx status code

func (*CreateClusterGroupUnauthorized) IsServerError

func (o *CreateClusterGroupUnauthorized) IsServerError() bool

IsServerError returns true when this cluster groups create cluster group unauthorized response has a 5xx status code

func (*CreateClusterGroupUnauthorized) IsSuccess

func (o *CreateClusterGroupUnauthorized) IsSuccess() bool

IsSuccess returns true when this cluster groups create cluster group unauthorized response has a 2xx status code

func (*CreateClusterGroupUnauthorized) String

type DeleteClusterGroupBadRequest

type DeleteClusterGroupBadRequest struct {
	Payload *models.ZsrvResponse
}

DeleteClusterGroupBadRequest describes a response with status code 400, with default header values.

Bad Request. Invalid cluster group ID format.

func NewDeleteClusterGroupBadRequest

func NewDeleteClusterGroupBadRequest() *DeleteClusterGroupBadRequest

NewDeleteClusterGroupBadRequest creates a DeleteClusterGroupBadRequest with default headers values

func (*DeleteClusterGroupBadRequest) Code

Code gets the status code for the cluster groups delete cluster group bad request response

func (*DeleteClusterGroupBadRequest) Error

func (*DeleteClusterGroupBadRequest) GetPayload

func (*DeleteClusterGroupBadRequest) IsClientError

func (o *DeleteClusterGroupBadRequest) IsClientError() bool

IsClientError returns true when this cluster groups delete cluster group bad request response has a 4xx status code

func (*DeleteClusterGroupBadRequest) IsCode

func (o *DeleteClusterGroupBadRequest) IsCode(code int) bool

IsCode returns true when this cluster groups delete cluster group bad request response a status code equal to that given

func (*DeleteClusterGroupBadRequest) IsRedirect

func (o *DeleteClusterGroupBadRequest) IsRedirect() bool

IsRedirect returns true when this cluster groups delete cluster group bad request response has a 3xx status code

func (*DeleteClusterGroupBadRequest) IsServerError

func (o *DeleteClusterGroupBadRequest) IsServerError() bool

IsServerError returns true when this cluster groups delete cluster group bad request response has a 5xx status code

func (*DeleteClusterGroupBadRequest) IsSuccess

func (o *DeleteClusterGroupBadRequest) IsSuccess() bool

IsSuccess returns true when this cluster groups delete cluster group bad request response has a 2xx status code

func (*DeleteClusterGroupBadRequest) String

type DeleteClusterGroupConflict

type DeleteClusterGroupConflict struct {
	Payload *models.ZsrvResponse
}

DeleteClusterGroupConflict describes a response with status code 409, with default header values.

Conflict. Cannot delete cluster group due to active dependencies.

func NewDeleteClusterGroupConflict

func NewDeleteClusterGroupConflict() *DeleteClusterGroupConflict

NewDeleteClusterGroupConflict creates a DeleteClusterGroupConflict with default headers values

func (*DeleteClusterGroupConflict) Code

func (o *DeleteClusterGroupConflict) Code() int

Code gets the status code for the cluster groups delete cluster group conflict response

func (*DeleteClusterGroupConflict) Error

func (*DeleteClusterGroupConflict) GetPayload

func (*DeleteClusterGroupConflict) IsClientError

func (o *DeleteClusterGroupConflict) IsClientError() bool

IsClientError returns true when this cluster groups delete cluster group conflict response has a 4xx status code

func (*DeleteClusterGroupConflict) IsCode

func (o *DeleteClusterGroupConflict) IsCode(code int) bool

IsCode returns true when this cluster groups delete cluster group conflict response a status code equal to that given

func (*DeleteClusterGroupConflict) IsRedirect

func (o *DeleteClusterGroupConflict) IsRedirect() bool

IsRedirect returns true when this cluster groups delete cluster group conflict response has a 3xx status code

func (*DeleteClusterGroupConflict) IsServerError

func (o *DeleteClusterGroupConflict) IsServerError() bool

IsServerError returns true when this cluster groups delete cluster group conflict response has a 5xx status code

func (*DeleteClusterGroupConflict) IsSuccess

func (o *DeleteClusterGroupConflict) IsSuccess() bool

IsSuccess returns true when this cluster groups delete cluster group conflict response has a 2xx status code

func (*DeleteClusterGroupConflict) String

func (o *DeleteClusterGroupConflict) String() string

type DeleteClusterGroupDefault

type DeleteClusterGroupDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

DeleteClusterGroupDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewDeleteClusterGroupDefault

func NewDeleteClusterGroupDefault(code int) *DeleteClusterGroupDefault

NewDeleteClusterGroupDefault creates a DeleteClusterGroupDefault with default headers values

func (*DeleteClusterGroupDefault) Code

func (o *DeleteClusterGroupDefault) Code() int

Code gets the status code for the cluster groups delete cluster group default response

func (*DeleteClusterGroupDefault) Error

func (o *DeleteClusterGroupDefault) Error() string

func (*DeleteClusterGroupDefault) GetPayload

func (*DeleteClusterGroupDefault) IsClientError

func (o *DeleteClusterGroupDefault) IsClientError() bool

IsClientError returns true when this cluster groups delete cluster group default response has a 4xx status code

func (*DeleteClusterGroupDefault) IsCode

func (o *DeleteClusterGroupDefault) IsCode(code int) bool

IsCode returns true when this cluster groups delete cluster group default response a status code equal to that given

func (*DeleteClusterGroupDefault) IsRedirect

func (o *DeleteClusterGroupDefault) IsRedirect() bool

IsRedirect returns true when this cluster groups delete cluster group default response has a 3xx status code

func (*DeleteClusterGroupDefault) IsServerError

func (o *DeleteClusterGroupDefault) IsServerError() bool

IsServerError returns true when this cluster groups delete cluster group default response has a 5xx status code

func (*DeleteClusterGroupDefault) IsSuccess

func (o *DeleteClusterGroupDefault) IsSuccess() bool

IsSuccess returns true when this cluster groups delete cluster group default response has a 2xx status code

func (*DeleteClusterGroupDefault) String

func (o *DeleteClusterGroupDefault) String() string

type DeleteClusterGroupForbidden

type DeleteClusterGroupForbidden struct {
	Payload *models.ZsrvResponse
}

DeleteClusterGroupForbidden describes a response with status code 403, with default header values.

Forbidden. User does not have permission to delete this cluster group.

func NewDeleteClusterGroupForbidden

func NewDeleteClusterGroupForbidden() *DeleteClusterGroupForbidden

NewDeleteClusterGroupForbidden creates a DeleteClusterGroupForbidden with default headers values

func (*DeleteClusterGroupForbidden) Code

func (o *DeleteClusterGroupForbidden) Code() int

Code gets the status code for the cluster groups delete cluster group forbidden response

func (*DeleteClusterGroupForbidden) Error

func (*DeleteClusterGroupForbidden) GetPayload

func (*DeleteClusterGroupForbidden) IsClientError

func (o *DeleteClusterGroupForbidden) IsClientError() bool

IsClientError returns true when this cluster groups delete cluster group forbidden response has a 4xx status code

func (*DeleteClusterGroupForbidden) IsCode

func (o *DeleteClusterGroupForbidden) IsCode(code int) bool

IsCode returns true when this cluster groups delete cluster group forbidden response a status code equal to that given

func (*DeleteClusterGroupForbidden) IsRedirect

func (o *DeleteClusterGroupForbidden) IsRedirect() bool

IsRedirect returns true when this cluster groups delete cluster group forbidden response has a 3xx status code

func (*DeleteClusterGroupForbidden) IsServerError

func (o *DeleteClusterGroupForbidden) IsServerError() bool

IsServerError returns true when this cluster groups delete cluster group forbidden response has a 5xx status code

func (*DeleteClusterGroupForbidden) IsSuccess

func (o *DeleteClusterGroupForbidden) IsSuccess() bool

IsSuccess returns true when this cluster groups delete cluster group forbidden response has a 2xx status code

func (*DeleteClusterGroupForbidden) String

func (o *DeleteClusterGroupForbidden) String() string

type DeleteClusterGroupGatewayTimeout

type DeleteClusterGroupGatewayTimeout struct {
	Payload *models.ZsrvResponse
}

DeleteClusterGroupGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The server did not receive a timely response from the upstream server.

func NewDeleteClusterGroupGatewayTimeout

func NewDeleteClusterGroupGatewayTimeout() *DeleteClusterGroupGatewayTimeout

NewDeleteClusterGroupGatewayTimeout creates a DeleteClusterGroupGatewayTimeout with default headers values

func (*DeleteClusterGroupGatewayTimeout) Code

Code gets the status code for the cluster groups delete cluster group gateway timeout response

func (*DeleteClusterGroupGatewayTimeout) Error

func (*DeleteClusterGroupGatewayTimeout) GetPayload

func (*DeleteClusterGroupGatewayTimeout) IsClientError

func (o *DeleteClusterGroupGatewayTimeout) IsClientError() bool

IsClientError returns true when this cluster groups delete cluster group gateway timeout response has a 4xx status code

func (*DeleteClusterGroupGatewayTimeout) IsCode

func (o *DeleteClusterGroupGatewayTimeout) IsCode(code int) bool

IsCode returns true when this cluster groups delete cluster group gateway timeout response a status code equal to that given

func (*DeleteClusterGroupGatewayTimeout) IsRedirect

func (o *DeleteClusterGroupGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this cluster groups delete cluster group gateway timeout response has a 3xx status code

func (*DeleteClusterGroupGatewayTimeout) IsServerError

func (o *DeleteClusterGroupGatewayTimeout) IsServerError() bool

IsServerError returns true when this cluster groups delete cluster group gateway timeout response has a 5xx status code

func (*DeleteClusterGroupGatewayTimeout) IsSuccess

func (o *DeleteClusterGroupGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this cluster groups delete cluster group gateway timeout response has a 2xx status code

func (*DeleteClusterGroupGatewayTimeout) String

type DeleteClusterGroupInternalServerError

type DeleteClusterGroupInternalServerError struct {
	Payload *models.ZsrvResponse
}

DeleteClusterGroupInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. Failed to delete cluster group due to server error.

func NewDeleteClusterGroupInternalServerError

func NewDeleteClusterGroupInternalServerError() *DeleteClusterGroupInternalServerError

NewDeleteClusterGroupInternalServerError creates a DeleteClusterGroupInternalServerError with default headers values

func (*DeleteClusterGroupInternalServerError) Code

Code gets the status code for the cluster groups delete cluster group internal server error response

func (*DeleteClusterGroupInternalServerError) Error

func (*DeleteClusterGroupInternalServerError) GetPayload

func (*DeleteClusterGroupInternalServerError) IsClientError

func (o *DeleteClusterGroupInternalServerError) IsClientError() bool

IsClientError returns true when this cluster groups delete cluster group internal server error response has a 4xx status code

func (*DeleteClusterGroupInternalServerError) IsCode

IsCode returns true when this cluster groups delete cluster group internal server error response a status code equal to that given

func (*DeleteClusterGroupInternalServerError) IsRedirect

IsRedirect returns true when this cluster groups delete cluster group internal server error response has a 3xx status code

func (*DeleteClusterGroupInternalServerError) IsServerError

func (o *DeleteClusterGroupInternalServerError) IsServerError() bool

IsServerError returns true when this cluster groups delete cluster group internal server error response has a 5xx status code

func (*DeleteClusterGroupInternalServerError) IsSuccess

IsSuccess returns true when this cluster groups delete cluster group internal server error response has a 2xx status code

func (*DeleteClusterGroupInternalServerError) String

type DeleteClusterGroupNotFound

type DeleteClusterGroupNotFound struct {
	Payload *models.ZsrvResponse
}

DeleteClusterGroupNotFound describes a response with status code 404, with default header values.

Not Found. Cluster group with the specified ID does not exist.

func NewDeleteClusterGroupNotFound

func NewDeleteClusterGroupNotFound() *DeleteClusterGroupNotFound

NewDeleteClusterGroupNotFound creates a DeleteClusterGroupNotFound with default headers values

func (*DeleteClusterGroupNotFound) Code

func (o *DeleteClusterGroupNotFound) Code() int

Code gets the status code for the cluster groups delete cluster group not found response

func (*DeleteClusterGroupNotFound) Error

func (*DeleteClusterGroupNotFound) GetPayload

func (*DeleteClusterGroupNotFound) IsClientError

func (o *DeleteClusterGroupNotFound) IsClientError() bool

IsClientError returns true when this cluster groups delete cluster group not found response has a 4xx status code

func (*DeleteClusterGroupNotFound) IsCode

func (o *DeleteClusterGroupNotFound) IsCode(code int) bool

IsCode returns true when this cluster groups delete cluster group not found response a status code equal to that given

func (*DeleteClusterGroupNotFound) IsRedirect

func (o *DeleteClusterGroupNotFound) IsRedirect() bool

IsRedirect returns true when this cluster groups delete cluster group not found response has a 3xx status code

func (*DeleteClusterGroupNotFound) IsServerError

func (o *DeleteClusterGroupNotFound) IsServerError() bool

IsServerError returns true when this cluster groups delete cluster group not found response has a 5xx status code

func (*DeleteClusterGroupNotFound) IsSuccess

func (o *DeleteClusterGroupNotFound) IsSuccess() bool

IsSuccess returns true when this cluster groups delete cluster group not found response has a 2xx status code

func (*DeleteClusterGroupNotFound) String

func (o *DeleteClusterGroupNotFound) String() string

type DeleteClusterGroupOK

type DeleteClusterGroupOK struct {
	Payload *models.ZsrvResponse
}

DeleteClusterGroupOK describes a response with status code 200, with default header values.

Successfully deleted cluster group

func NewDeleteClusterGroupOK

func NewDeleteClusterGroupOK() *DeleteClusterGroupOK

NewDeleteClusterGroupOK creates a DeleteClusterGroupOK with default headers values

func (*DeleteClusterGroupOK) Code

func (o *DeleteClusterGroupOK) Code() int

Code gets the status code for the cluster groups delete cluster group o k response

func (*DeleteClusterGroupOK) Error

func (o *DeleteClusterGroupOK) Error() string

func (*DeleteClusterGroupOK) GetPayload

func (o *DeleteClusterGroupOK) GetPayload() *models.ZsrvResponse

func (*DeleteClusterGroupOK) IsClientError

func (o *DeleteClusterGroupOK) IsClientError() bool

IsClientError returns true when this cluster groups delete cluster group o k response has a 4xx status code

func (*DeleteClusterGroupOK) IsCode

func (o *DeleteClusterGroupOK) IsCode(code int) bool

IsCode returns true when this cluster groups delete cluster group o k response a status code equal to that given

func (*DeleteClusterGroupOK) IsRedirect

func (o *DeleteClusterGroupOK) IsRedirect() bool

IsRedirect returns true when this cluster groups delete cluster group o k response has a 3xx status code

func (*DeleteClusterGroupOK) IsServerError

func (o *DeleteClusterGroupOK) IsServerError() bool

IsServerError returns true when this cluster groups delete cluster group o k response has a 5xx status code

func (*DeleteClusterGroupOK) IsSuccess

func (o *DeleteClusterGroupOK) IsSuccess() bool

IsSuccess returns true when this cluster groups delete cluster group o k response has a 2xx status code

func (*DeleteClusterGroupOK) String

func (o *DeleteClusterGroupOK) String() string

type DeleteClusterGroupParams

type DeleteClusterGroupParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

	/* ClusterGroupID.

	   Unique identifier of the cluster group. This field is required and must be a valid cluster group ID.
	*/
	ClusterGroupID string

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

DeleteClusterGroupParams contains all the parameters to send to the API endpoint

for the cluster groups delete cluster group operation.

Typically these are written to a http.Request.

func NewDeleteClusterGroupParams

func NewDeleteClusterGroupParams() *DeleteClusterGroupParams

NewDeleteClusterGroupParams creates a new DeleteClusterGroupParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteClusterGroupParamsWithContext

func NewDeleteClusterGroupParamsWithContext(ctx context.Context) *DeleteClusterGroupParams

NewDeleteClusterGroupParamsWithContext creates a new DeleteClusterGroupParams object with the ability to set a context for a request.

func NewDeleteClusterGroupParamsWithHTTPClient

func NewDeleteClusterGroupParamsWithHTTPClient(client *http.Client) *DeleteClusterGroupParams

NewDeleteClusterGroupParamsWithHTTPClient creates a new DeleteClusterGroupParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteClusterGroupParamsWithTimeout

func NewDeleteClusterGroupParamsWithTimeout(timeout time.Duration) *DeleteClusterGroupParams

NewDeleteClusterGroupParamsWithTimeout creates a new DeleteClusterGroupParams object with the ability to set a timeout on a request.

func (*DeleteClusterGroupParams) SetClusterGroupID

func (o *DeleteClusterGroupParams) SetClusterGroupID(clusterGroupID string)

SetClusterGroupID adds the clusterGroupId to the cluster groups delete cluster group params

func (*DeleteClusterGroupParams) SetContext

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

SetContext adds the context to the cluster groups delete cluster group params

func (*DeleteClusterGroupParams) SetDefaults

func (o *DeleteClusterGroupParams) SetDefaults()

SetDefaults hydrates default values in the cluster groups delete cluster group params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteClusterGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cluster groups delete cluster group params

func (*DeleteClusterGroupParams) SetTimeout

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

SetTimeout adds the timeout to the cluster groups delete cluster group params

func (*DeleteClusterGroupParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the cluster groups delete cluster group params

func (*DeleteClusterGroupParams) WithClusterGroupID

func (o *DeleteClusterGroupParams) WithClusterGroupID(clusterGroupID string) *DeleteClusterGroupParams

WithClusterGroupID adds the clusterGroupID to the cluster groups delete cluster group params

func (*DeleteClusterGroupParams) WithContext

WithContext adds the context to the cluster groups delete cluster group params

func (*DeleteClusterGroupParams) WithDefaults

WithDefaults hydrates default values in the cluster groups delete cluster group params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteClusterGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the cluster groups delete cluster group params

func (*DeleteClusterGroupParams) WithTimeout

WithTimeout adds the timeout to the cluster groups delete cluster group params

func (*DeleteClusterGroupParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the cluster groups delete cluster group params

func (*DeleteClusterGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteClusterGroupReader

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

DeleteClusterGroupReader is a Reader for the DeleteClusterGroup structure.

func (*DeleteClusterGroupReader) ReadResponse

func (o *DeleteClusterGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type DeleteClusterGroupUnauthorized

type DeleteClusterGroupUnauthorized struct {
	Payload *models.ZsrvResponse
}

DeleteClusterGroupUnauthorized describes a response with status code 401, with default header values.

Unauthorized. Authentication credentials are missing or invalid.

func NewDeleteClusterGroupUnauthorized

func NewDeleteClusterGroupUnauthorized() *DeleteClusterGroupUnauthorized

NewDeleteClusterGroupUnauthorized creates a DeleteClusterGroupUnauthorized with default headers values

func (*DeleteClusterGroupUnauthorized) Code

Code gets the status code for the cluster groups delete cluster group unauthorized response

func (*DeleteClusterGroupUnauthorized) Error

func (*DeleteClusterGroupUnauthorized) GetPayload

func (*DeleteClusterGroupUnauthorized) IsClientError

func (o *DeleteClusterGroupUnauthorized) IsClientError() bool

IsClientError returns true when this cluster groups delete cluster group unauthorized response has a 4xx status code

func (*DeleteClusterGroupUnauthorized) IsCode

func (o *DeleteClusterGroupUnauthorized) IsCode(code int) bool

IsCode returns true when this cluster groups delete cluster group unauthorized response a status code equal to that given

func (*DeleteClusterGroupUnauthorized) IsRedirect

func (o *DeleteClusterGroupUnauthorized) IsRedirect() bool

IsRedirect returns true when this cluster groups delete cluster group unauthorized response has a 3xx status code

func (*DeleteClusterGroupUnauthorized) IsServerError

func (o *DeleteClusterGroupUnauthorized) IsServerError() bool

IsServerError returns true when this cluster groups delete cluster group unauthorized response has a 5xx status code

func (*DeleteClusterGroupUnauthorized) IsSuccess

func (o *DeleteClusterGroupUnauthorized) IsSuccess() bool

IsSuccess returns true when this cluster groups delete cluster group unauthorized response has a 2xx status code

func (*DeleteClusterGroupUnauthorized) String

type GetClusterGroupManifestBadRequest

type GetClusterGroupManifestBadRequest struct {
	Payload *models.ZsrvResponse
}

GetClusterGroupManifestBadRequest describes a response with status code 400, with default header values.

Bad Request. Invalid query parameters or manifest generation criteria.

func NewGetClusterGroupManifestBadRequest

func NewGetClusterGroupManifestBadRequest() *GetClusterGroupManifestBadRequest

NewGetClusterGroupManifestBadRequest creates a GetClusterGroupManifestBadRequest with default headers values

func (*GetClusterGroupManifestBadRequest) Code

Code gets the status code for the cluster groups get cluster group manifest bad request response

func (*GetClusterGroupManifestBadRequest) Error

func (*GetClusterGroupManifestBadRequest) GetPayload

func (*GetClusterGroupManifestBadRequest) IsClientError

func (o *GetClusterGroupManifestBadRequest) IsClientError() bool

IsClientError returns true when this cluster groups get cluster group manifest bad request response has a 4xx status code

func (*GetClusterGroupManifestBadRequest) IsCode

func (o *GetClusterGroupManifestBadRequest) IsCode(code int) bool

IsCode returns true when this cluster groups get cluster group manifest bad request response a status code equal to that given

func (*GetClusterGroupManifestBadRequest) IsRedirect

func (o *GetClusterGroupManifestBadRequest) IsRedirect() bool

IsRedirect returns true when this cluster groups get cluster group manifest bad request response has a 3xx status code

func (*GetClusterGroupManifestBadRequest) IsServerError

func (o *GetClusterGroupManifestBadRequest) IsServerError() bool

IsServerError returns true when this cluster groups get cluster group manifest bad request response has a 5xx status code

func (*GetClusterGroupManifestBadRequest) IsSuccess

func (o *GetClusterGroupManifestBadRequest) IsSuccess() bool

IsSuccess returns true when this cluster groups get cluster group manifest bad request response has a 2xx status code

func (*GetClusterGroupManifestBadRequest) String

type GetClusterGroupManifestDefault

type GetClusterGroupManifestDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

GetClusterGroupManifestDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetClusterGroupManifestDefault

func NewGetClusterGroupManifestDefault(code int) *GetClusterGroupManifestDefault

NewGetClusterGroupManifestDefault creates a GetClusterGroupManifestDefault with default headers values

func (*GetClusterGroupManifestDefault) Code

Code gets the status code for the cluster groups get cluster group manifest default response

func (*GetClusterGroupManifestDefault) Error

func (*GetClusterGroupManifestDefault) GetPayload

func (*GetClusterGroupManifestDefault) IsClientError

func (o *GetClusterGroupManifestDefault) IsClientError() bool

IsClientError returns true when this cluster groups get cluster group manifest default response has a 4xx status code

func (*GetClusterGroupManifestDefault) IsCode

func (o *GetClusterGroupManifestDefault) IsCode(code int) bool

IsCode returns true when this cluster groups get cluster group manifest default response a status code equal to that given

func (*GetClusterGroupManifestDefault) IsRedirect

func (o *GetClusterGroupManifestDefault) IsRedirect() bool

IsRedirect returns true when this cluster groups get cluster group manifest default response has a 3xx status code

func (*GetClusterGroupManifestDefault) IsServerError

func (o *GetClusterGroupManifestDefault) IsServerError() bool

IsServerError returns true when this cluster groups get cluster group manifest default response has a 5xx status code

func (*GetClusterGroupManifestDefault) IsSuccess

func (o *GetClusterGroupManifestDefault) IsSuccess() bool

IsSuccess returns true when this cluster groups get cluster group manifest default response has a 2xx status code

func (*GetClusterGroupManifestDefault) String

type GetClusterGroupManifestForbidden

type GetClusterGroupManifestForbidden struct {
	Payload *models.ZsrvResponse
}

GetClusterGroupManifestForbidden describes a response with status code 403, with default header values.

Forbidden. User does not have permission to access cluster group manifests.

func NewGetClusterGroupManifestForbidden

func NewGetClusterGroupManifestForbidden() *GetClusterGroupManifestForbidden

NewGetClusterGroupManifestForbidden creates a GetClusterGroupManifestForbidden with default headers values

func (*GetClusterGroupManifestForbidden) Code

Code gets the status code for the cluster groups get cluster group manifest forbidden response

func (*GetClusterGroupManifestForbidden) Error

func (*GetClusterGroupManifestForbidden) GetPayload

func (*GetClusterGroupManifestForbidden) IsClientError

func (o *GetClusterGroupManifestForbidden) IsClientError() bool

IsClientError returns true when this cluster groups get cluster group manifest forbidden response has a 4xx status code

func (*GetClusterGroupManifestForbidden) IsCode

func (o *GetClusterGroupManifestForbidden) IsCode(code int) bool

IsCode returns true when this cluster groups get cluster group manifest forbidden response a status code equal to that given

func (*GetClusterGroupManifestForbidden) IsRedirect

func (o *GetClusterGroupManifestForbidden) IsRedirect() bool

IsRedirect returns true when this cluster groups get cluster group manifest forbidden response has a 3xx status code

func (*GetClusterGroupManifestForbidden) IsServerError

func (o *GetClusterGroupManifestForbidden) IsServerError() bool

IsServerError returns true when this cluster groups get cluster group manifest forbidden response has a 5xx status code

func (*GetClusterGroupManifestForbidden) IsSuccess

func (o *GetClusterGroupManifestForbidden) IsSuccess() bool

IsSuccess returns true when this cluster groups get cluster group manifest forbidden response has a 2xx status code

func (*GetClusterGroupManifestForbidden) String

type GetClusterGroupManifestGatewayTimeout

type GetClusterGroupManifestGatewayTimeout struct {
	Payload *models.ZsrvResponse
}

GetClusterGroupManifestGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The server did not receive a timely response from the upstream server.

func NewGetClusterGroupManifestGatewayTimeout

func NewGetClusterGroupManifestGatewayTimeout() *GetClusterGroupManifestGatewayTimeout

NewGetClusterGroupManifestGatewayTimeout creates a GetClusterGroupManifestGatewayTimeout with default headers values

func (*GetClusterGroupManifestGatewayTimeout) Code

Code gets the status code for the cluster groups get cluster group manifest gateway timeout response

func (*GetClusterGroupManifestGatewayTimeout) Error

func (*GetClusterGroupManifestGatewayTimeout) GetPayload

func (*GetClusterGroupManifestGatewayTimeout) IsClientError

func (o *GetClusterGroupManifestGatewayTimeout) IsClientError() bool

IsClientError returns true when this cluster groups get cluster group manifest gateway timeout response has a 4xx status code

func (*GetClusterGroupManifestGatewayTimeout) IsCode

IsCode returns true when this cluster groups get cluster group manifest gateway timeout response a status code equal to that given

func (*GetClusterGroupManifestGatewayTimeout) IsRedirect

IsRedirect returns true when this cluster groups get cluster group manifest gateway timeout response has a 3xx status code

func (*GetClusterGroupManifestGatewayTimeout) IsServerError

func (o *GetClusterGroupManifestGatewayTimeout) IsServerError() bool

IsServerError returns true when this cluster groups get cluster group manifest gateway timeout response has a 5xx status code

func (*GetClusterGroupManifestGatewayTimeout) IsSuccess

IsSuccess returns true when this cluster groups get cluster group manifest gateway timeout response has a 2xx status code

func (*GetClusterGroupManifestGatewayTimeout) String

type GetClusterGroupManifestInternalServerError

type GetClusterGroupManifestInternalServerError struct {
	Payload *models.ZsrvResponse
}

GetClusterGroupManifestInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. Failed to generate manifest due to server error.

func NewGetClusterGroupManifestInternalServerError

func NewGetClusterGroupManifestInternalServerError() *GetClusterGroupManifestInternalServerError

NewGetClusterGroupManifestInternalServerError creates a GetClusterGroupManifestInternalServerError with default headers values

func (*GetClusterGroupManifestInternalServerError) Code

Code gets the status code for the cluster groups get cluster group manifest internal server error response

func (*GetClusterGroupManifestInternalServerError) Error

func (*GetClusterGroupManifestInternalServerError) GetPayload

func (*GetClusterGroupManifestInternalServerError) IsClientError

IsClientError returns true when this cluster groups get cluster group manifest internal server error response has a 4xx status code

func (*GetClusterGroupManifestInternalServerError) IsCode

IsCode returns true when this cluster groups get cluster group manifest internal server error response a status code equal to that given

func (*GetClusterGroupManifestInternalServerError) IsRedirect

IsRedirect returns true when this cluster groups get cluster group manifest internal server error response has a 3xx status code

func (*GetClusterGroupManifestInternalServerError) IsServerError

IsServerError returns true when this cluster groups get cluster group manifest internal server error response has a 5xx status code

func (*GetClusterGroupManifestInternalServerError) IsSuccess

IsSuccess returns true when this cluster groups get cluster group manifest internal server error response has a 2xx status code

func (*GetClusterGroupManifestInternalServerError) String

type GetClusterGroupManifestNotFound

type GetClusterGroupManifestNotFound struct {
	Payload *models.ZsrvResponse
}

GetClusterGroupManifestNotFound describes a response with status code 404, with default header values.

Not Found. No cluster group found matching the specified criteria.

func NewGetClusterGroupManifestNotFound

func NewGetClusterGroupManifestNotFound() *GetClusterGroupManifestNotFound

NewGetClusterGroupManifestNotFound creates a GetClusterGroupManifestNotFound with default headers values

func (*GetClusterGroupManifestNotFound) Code

Code gets the status code for the cluster groups get cluster group manifest not found response

func (*GetClusterGroupManifestNotFound) Error

func (*GetClusterGroupManifestNotFound) GetPayload

func (*GetClusterGroupManifestNotFound) IsClientError

func (o *GetClusterGroupManifestNotFound) IsClientError() bool

IsClientError returns true when this cluster groups get cluster group manifest not found response has a 4xx status code

func (*GetClusterGroupManifestNotFound) IsCode

func (o *GetClusterGroupManifestNotFound) IsCode(code int) bool

IsCode returns true when this cluster groups get cluster group manifest not found response a status code equal to that given

func (*GetClusterGroupManifestNotFound) IsRedirect

func (o *GetClusterGroupManifestNotFound) IsRedirect() bool

IsRedirect returns true when this cluster groups get cluster group manifest not found response has a 3xx status code

func (*GetClusterGroupManifestNotFound) IsServerError

func (o *GetClusterGroupManifestNotFound) IsServerError() bool

IsServerError returns true when this cluster groups get cluster group manifest not found response has a 5xx status code

func (*GetClusterGroupManifestNotFound) IsSuccess

func (o *GetClusterGroupManifestNotFound) IsSuccess() bool

IsSuccess returns true when this cluster groups get cluster group manifest not found response has a 2xx status code

func (*GetClusterGroupManifestNotFound) String

type GetClusterGroupManifestOK

type GetClusterGroupManifestOK struct {
	Payload *models.ClusterGroupManifestOutput
}

GetClusterGroupManifestOK describes a response with status code 200, with default header values.

Successfully generated cluster group manifest

func NewGetClusterGroupManifestOK

func NewGetClusterGroupManifestOK() *GetClusterGroupManifestOK

NewGetClusterGroupManifestOK creates a GetClusterGroupManifestOK with default headers values

func (*GetClusterGroupManifestOK) Code

func (o *GetClusterGroupManifestOK) Code() int

Code gets the status code for the cluster groups get cluster group manifest o k response

func (*GetClusterGroupManifestOK) Error

func (o *GetClusterGroupManifestOK) Error() string

func (*GetClusterGroupManifestOK) GetPayload

func (*GetClusterGroupManifestOK) IsClientError

func (o *GetClusterGroupManifestOK) IsClientError() bool

IsClientError returns true when this cluster groups get cluster group manifest o k response has a 4xx status code

func (*GetClusterGroupManifestOK) IsCode

func (o *GetClusterGroupManifestOK) IsCode(code int) bool

IsCode returns true when this cluster groups get cluster group manifest o k response a status code equal to that given

func (*GetClusterGroupManifestOK) IsRedirect

func (o *GetClusterGroupManifestOK) IsRedirect() bool

IsRedirect returns true when this cluster groups get cluster group manifest o k response has a 3xx status code

func (*GetClusterGroupManifestOK) IsServerError

func (o *GetClusterGroupManifestOK) IsServerError() bool

IsServerError returns true when this cluster groups get cluster group manifest o k response has a 5xx status code

func (*GetClusterGroupManifestOK) IsSuccess

func (o *GetClusterGroupManifestOK) IsSuccess() bool

IsSuccess returns true when this cluster groups get cluster group manifest o k response has a 2xx status code

func (*GetClusterGroupManifestOK) String

func (o *GetClusterGroupManifestOK) String() string

type GetClusterGroupManifestParams

type GetClusterGroupManifestParams struct {

	/* Name.

	   Name of the cluster group
	*/
	Name *string

	/* ProjectName.

	   Name of the project
	*/
	ProjectName *string

	/* Tags.

	   Tags filter (JSON object)
	*/
	Tags interface{}

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

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

GetClusterGroupManifestParams contains all the parameters to send to the API endpoint

for the cluster groups get cluster group manifest operation.

Typically these are written to a http.Request.

func NewGetClusterGroupManifestParams

func NewGetClusterGroupManifestParams() *GetClusterGroupManifestParams

NewGetClusterGroupManifestParams creates a new GetClusterGroupManifestParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetClusterGroupManifestParamsWithContext

func NewGetClusterGroupManifestParamsWithContext(ctx context.Context) *GetClusterGroupManifestParams

NewGetClusterGroupManifestParamsWithContext creates a new GetClusterGroupManifestParams object with the ability to set a context for a request.

func NewGetClusterGroupManifestParamsWithHTTPClient

func NewGetClusterGroupManifestParamsWithHTTPClient(client *http.Client) *GetClusterGroupManifestParams

NewGetClusterGroupManifestParamsWithHTTPClient creates a new GetClusterGroupManifestParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterGroupManifestParamsWithTimeout

func NewGetClusterGroupManifestParamsWithTimeout(timeout time.Duration) *GetClusterGroupManifestParams

NewGetClusterGroupManifestParamsWithTimeout creates a new GetClusterGroupManifestParams object with the ability to set a timeout on a request.

func (*GetClusterGroupManifestParams) SetContext

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

SetContext adds the context to the cluster groups get cluster group manifest params

func (*GetClusterGroupManifestParams) SetDefaults

func (o *GetClusterGroupManifestParams) SetDefaults()

SetDefaults hydrates default values in the cluster groups get cluster group manifest params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterGroupManifestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cluster groups get cluster group manifest params

func (*GetClusterGroupManifestParams) SetName

func (o *GetClusterGroupManifestParams) SetName(name *string)

SetName adds the name to the cluster groups get cluster group manifest params

func (*GetClusterGroupManifestParams) SetProjectName

func (o *GetClusterGroupManifestParams) SetProjectName(projectName *string)

SetProjectName adds the projectName to the cluster groups get cluster group manifest params

func (*GetClusterGroupManifestParams) SetTags

func (o *GetClusterGroupManifestParams) SetTags(tags interface{})

SetTags adds the tags to the cluster groups get cluster group manifest params

func (*GetClusterGroupManifestParams) SetTimeout

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

SetTimeout adds the timeout to the cluster groups get cluster group manifest params

func (*GetClusterGroupManifestParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the cluster groups get cluster group manifest params

func (*GetClusterGroupManifestParams) WithContext

WithContext adds the context to the cluster groups get cluster group manifest params

func (*GetClusterGroupManifestParams) WithDefaults

WithDefaults hydrates default values in the cluster groups get cluster group manifest params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterGroupManifestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cluster groups get cluster group manifest params

func (*GetClusterGroupManifestParams) WithName

WithName adds the name to the cluster groups get cluster group manifest params

func (*GetClusterGroupManifestParams) WithProjectName

func (o *GetClusterGroupManifestParams) WithProjectName(projectName *string) *GetClusterGroupManifestParams

WithProjectName adds the projectName to the cluster groups get cluster group manifest params

func (*GetClusterGroupManifestParams) WithTags

func (o *GetClusterGroupManifestParams) WithTags(tags interface{}) *GetClusterGroupManifestParams

WithTags adds the tags to the cluster groups get cluster group manifest params

func (*GetClusterGroupManifestParams) WithTimeout

WithTimeout adds the timeout to the cluster groups get cluster group manifest params

func (*GetClusterGroupManifestParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the cluster groups get cluster group manifest params

func (*GetClusterGroupManifestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClusterGroupManifestReader

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

GetClusterGroupManifestReader is a Reader for the GetClusterGroupManifest structure.

func (*GetClusterGroupManifestReader) ReadResponse

func (o *GetClusterGroupManifestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetClusterGroupManifestUnauthorized

type GetClusterGroupManifestUnauthorized struct {
	Payload *models.ZsrvResponse
}

GetClusterGroupManifestUnauthorized describes a response with status code 401, with default header values.

Unauthorized. Authentication credentials are missing or invalid.

func NewGetClusterGroupManifestUnauthorized

func NewGetClusterGroupManifestUnauthorized() *GetClusterGroupManifestUnauthorized

NewGetClusterGroupManifestUnauthorized creates a GetClusterGroupManifestUnauthorized with default headers values

func (*GetClusterGroupManifestUnauthorized) Code

Code gets the status code for the cluster groups get cluster group manifest unauthorized response

func (*GetClusterGroupManifestUnauthorized) Error

func (*GetClusterGroupManifestUnauthorized) GetPayload

func (*GetClusterGroupManifestUnauthorized) IsClientError

func (o *GetClusterGroupManifestUnauthorized) IsClientError() bool

IsClientError returns true when this cluster groups get cluster group manifest unauthorized response has a 4xx status code

func (*GetClusterGroupManifestUnauthorized) IsCode

IsCode returns true when this cluster groups get cluster group manifest unauthorized response a status code equal to that given

func (*GetClusterGroupManifestUnauthorized) IsRedirect

func (o *GetClusterGroupManifestUnauthorized) IsRedirect() bool

IsRedirect returns true when this cluster groups get cluster group manifest unauthorized response has a 3xx status code

func (*GetClusterGroupManifestUnauthorized) IsServerError

func (o *GetClusterGroupManifestUnauthorized) IsServerError() bool

IsServerError returns true when this cluster groups get cluster group manifest unauthorized response has a 5xx status code

func (*GetClusterGroupManifestUnauthorized) IsSuccess

IsSuccess returns true when this cluster groups get cluster group manifest unauthorized response has a 2xx status code

func (*GetClusterGroupManifestUnauthorized) String

type GetClusterGroupsStatusBadRequest

type GetClusterGroupsStatusBadRequest struct {
	Payload *models.ZsrvResponse
}

GetClusterGroupsStatusBadRequest describes a response with status code 400, with default header values.

Bad Request. Invalid query parameters.

func NewGetClusterGroupsStatusBadRequest

func NewGetClusterGroupsStatusBadRequest() *GetClusterGroupsStatusBadRequest

NewGetClusterGroupsStatusBadRequest creates a GetClusterGroupsStatusBadRequest with default headers values

func (*GetClusterGroupsStatusBadRequest) Code

Code gets the status code for the cluster groups get cluster groups status bad request response

func (*GetClusterGroupsStatusBadRequest) Error

func (*GetClusterGroupsStatusBadRequest) GetPayload

func (*GetClusterGroupsStatusBadRequest) IsClientError

func (o *GetClusterGroupsStatusBadRequest) IsClientError() bool

IsClientError returns true when this cluster groups get cluster groups status bad request response has a 4xx status code

func (*GetClusterGroupsStatusBadRequest) IsCode

func (o *GetClusterGroupsStatusBadRequest) IsCode(code int) bool

IsCode returns true when this cluster groups get cluster groups status bad request response a status code equal to that given

func (*GetClusterGroupsStatusBadRequest) IsRedirect

func (o *GetClusterGroupsStatusBadRequest) IsRedirect() bool

IsRedirect returns true when this cluster groups get cluster groups status bad request response has a 3xx status code

func (*GetClusterGroupsStatusBadRequest) IsServerError

func (o *GetClusterGroupsStatusBadRequest) IsServerError() bool

IsServerError returns true when this cluster groups get cluster groups status bad request response has a 5xx status code

func (*GetClusterGroupsStatusBadRequest) IsSuccess

func (o *GetClusterGroupsStatusBadRequest) IsSuccess() bool

IsSuccess returns true when this cluster groups get cluster groups status bad request response has a 2xx status code

func (*GetClusterGroupsStatusBadRequest) String

type GetClusterGroupsStatusDefault

type GetClusterGroupsStatusDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

GetClusterGroupsStatusDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetClusterGroupsStatusDefault

func NewGetClusterGroupsStatusDefault(code int) *GetClusterGroupsStatusDefault

NewGetClusterGroupsStatusDefault creates a GetClusterGroupsStatusDefault with default headers values

func (*GetClusterGroupsStatusDefault) Code

Code gets the status code for the cluster groups get cluster groups status default response

func (*GetClusterGroupsStatusDefault) Error

func (*GetClusterGroupsStatusDefault) GetPayload

func (*GetClusterGroupsStatusDefault) IsClientError

func (o *GetClusterGroupsStatusDefault) IsClientError() bool

IsClientError returns true when this cluster groups get cluster groups status default response has a 4xx status code

func (*GetClusterGroupsStatusDefault) IsCode

func (o *GetClusterGroupsStatusDefault) IsCode(code int) bool

IsCode returns true when this cluster groups get cluster groups status default response a status code equal to that given

func (*GetClusterGroupsStatusDefault) IsRedirect

func (o *GetClusterGroupsStatusDefault) IsRedirect() bool

IsRedirect returns true when this cluster groups get cluster groups status default response has a 3xx status code

func (*GetClusterGroupsStatusDefault) IsServerError

func (o *GetClusterGroupsStatusDefault) IsServerError() bool

IsServerError returns true when this cluster groups get cluster groups status default response has a 5xx status code

func (*GetClusterGroupsStatusDefault) IsSuccess

func (o *GetClusterGroupsStatusDefault) IsSuccess() bool

IsSuccess returns true when this cluster groups get cluster groups status default response has a 2xx status code

func (*GetClusterGroupsStatusDefault) String

type GetClusterGroupsStatusForbidden

type GetClusterGroupsStatusForbidden struct {
	Payload *models.ZsrvResponse
}

GetClusterGroupsStatusForbidden describes a response with status code 403, with default header values.

Forbidden. User does not have permission to view cluster groups status.

func NewGetClusterGroupsStatusForbidden

func NewGetClusterGroupsStatusForbidden() *GetClusterGroupsStatusForbidden

NewGetClusterGroupsStatusForbidden creates a GetClusterGroupsStatusForbidden with default headers values

func (*GetClusterGroupsStatusForbidden) Code

Code gets the status code for the cluster groups get cluster groups status forbidden response

func (*GetClusterGroupsStatusForbidden) Error

func (*GetClusterGroupsStatusForbidden) GetPayload

func (*GetClusterGroupsStatusForbidden) IsClientError

func (o *GetClusterGroupsStatusForbidden) IsClientError() bool

IsClientError returns true when this cluster groups get cluster groups status forbidden response has a 4xx status code

func (*GetClusterGroupsStatusForbidden) IsCode

func (o *GetClusterGroupsStatusForbidden) IsCode(code int) bool

IsCode returns true when this cluster groups get cluster groups status forbidden response a status code equal to that given

func (*GetClusterGroupsStatusForbidden) IsRedirect

func (o *GetClusterGroupsStatusForbidden) IsRedirect() bool

IsRedirect returns true when this cluster groups get cluster groups status forbidden response has a 3xx status code

func (*GetClusterGroupsStatusForbidden) IsServerError

func (o *GetClusterGroupsStatusForbidden) IsServerError() bool

IsServerError returns true when this cluster groups get cluster groups status forbidden response has a 5xx status code

func (*GetClusterGroupsStatusForbidden) IsSuccess

func (o *GetClusterGroupsStatusForbidden) IsSuccess() bool

IsSuccess returns true when this cluster groups get cluster groups status forbidden response has a 2xx status code

func (*GetClusterGroupsStatusForbidden) String

type GetClusterGroupsStatusGatewayTimeout

type GetClusterGroupsStatusGatewayTimeout struct {
	Payload *models.ZsrvResponse
}

GetClusterGroupsStatusGatewayTimeout describes a response with status code 504, with default header values.

Gateway Timeout. The server did not receive a timely response from the upstream server.

func NewGetClusterGroupsStatusGatewayTimeout

func NewGetClusterGroupsStatusGatewayTimeout() *GetClusterGroupsStatusGatewayTimeout

NewGetClusterGroupsStatusGatewayTimeout creates a GetClusterGroupsStatusGatewayTimeout with default headers values

func (*GetClusterGroupsStatusGatewayTimeout) Code

Code gets the status code for the cluster groups get cluster groups status gateway timeout response

func (*GetClusterGroupsStatusGatewayTimeout) Error

func (*GetClusterGroupsStatusGatewayTimeout) GetPayload

func (*GetClusterGroupsStatusGatewayTimeout) IsClientError

func (o *GetClusterGroupsStatusGatewayTimeout) IsClientError() bool

IsClientError returns true when this cluster groups get cluster groups status gateway timeout response has a 4xx status code

func (*GetClusterGroupsStatusGatewayTimeout) IsCode

IsCode returns true when this cluster groups get cluster groups status gateway timeout response a status code equal to that given

func (*GetClusterGroupsStatusGatewayTimeout) IsRedirect

IsRedirect returns true when this cluster groups get cluster groups status gateway timeout response has a 3xx status code

func (*GetClusterGroupsStatusGatewayTimeout) IsServerError

func (o *GetClusterGroupsStatusGatewayTimeout) IsServerError() bool

IsServerError returns true when this cluster groups get cluster groups status gateway timeout response has a 5xx status code

func (*GetClusterGroupsStatusGatewayTimeout) IsSuccess

IsSuccess returns true when this cluster groups get cluster groups status gateway timeout response has a 2xx status code

func (*GetClusterGroupsStatusGatewayTimeout) String

type GetClusterGroupsStatusInternalServerError

type GetClusterGroupsStatusInternalServerError struct {
	Payload *models.ZsrvResponse
}

GetClusterGroupsStatusInternalServerError describes a response with status code 500, with default header values.

Internal Server Error. Failed to retrieve status due to server error.

func NewGetClusterGroupsStatusInternalServerError

func NewGetClusterGroupsStatusInternalServerError() *GetClusterGroupsStatusInternalServerError

NewGetClusterGroupsStatusInternalServerError creates a GetClusterGroupsStatusInternalServerError with default headers values

func (*GetClusterGroupsStatusInternalServerError) Code

Code gets the status code for the cluster groups get cluster groups status internal server error response

func (*GetClusterGroupsStatusInternalServerError) Error

func (*GetClusterGroupsStatusInternalServerError) GetPayload

func (*GetClusterGroupsStatusInternalServerError) IsClientError

IsClientError returns true when this cluster groups get cluster groups status internal server error response has a 4xx status code

func (*GetClusterGroupsStatusInternalServerError) IsCode

IsCode returns true when this cluster groups get cluster groups status internal server error response a status code equal to that given

func (*GetClusterGroupsStatusInternalServerError) IsRedirect

IsRedirect returns true when this cluster groups get cluster groups status internal server error response has a 3xx status code

func (*GetClusterGroupsStatusInternalServerError) IsServerError

IsServerError returns true when this cluster groups get cluster groups status internal server error response has a 5xx status code

func (*GetClusterGroupsStatusInternalServerError) IsSuccess

IsSuccess returns true when this cluster groups get cluster groups status internal server error response has a 2xx status code

func (*GetClusterGroupsStatusInternalServerError) String

type GetClusterGroupsStatusOK

type GetClusterGroupsStatusOK struct {
	Payload *models.ClusterGroupStatusListResp
}

GetClusterGroupsStatusOK describes a response with status code 200, with default header values.

Successfully retrieved cluster groups status

func NewGetClusterGroupsStatusOK

func NewGetClusterGroupsStatusOK() *GetClusterGroupsStatusOK

NewGetClusterGroupsStatusOK creates a GetClusterGroupsStatusOK with default headers values

func (*GetClusterGroupsStatusOK) Code

func (o *GetClusterGroupsStatusOK) Code() int

Code gets the status code for the cluster groups get cluster groups status o k response

func (*GetClusterGroupsStatusOK) Error

func (o *GetClusterGroupsStatusOK) Error() string

func (*GetClusterGroupsStatusOK) GetPayload

func (*GetClusterGroupsStatusOK) IsClientError

func (o *GetClusterGroupsStatusOK) IsClientError() bool

IsClientError returns true when this cluster groups get cluster groups status o k response has a 4xx status code

func (*GetClusterGroupsStatusOK) IsCode

func (o *GetClusterGroupsStatusOK) IsCode(code int) bool

IsCode returns true when this cluster groups get cluster groups status o k response a status code equal to that given

func (*GetClusterGroupsStatusOK) IsRedirect

func (o *GetClusterGroupsStatusOK) IsRedirect() bool

IsRedirect returns true when this cluster groups get cluster groups status o k response has a 3xx status code

func (*GetClusterGroupsStatusOK) IsServerError

func (o *GetClusterGroupsStatusOK) IsServerError() bool

IsServerError returns true when this cluster groups get cluster groups status o k response has a 5xx status code

func (*GetClusterGroupsStatusOK) IsSuccess

func (o *GetClusterGroupsStatusOK) IsSuccess() bool

IsSuccess returns true when this cluster groups get cluster groups status o k response has a 2xx status code

func (*GetClusterGroupsStatusOK) String

func (o *GetClusterGroupsStatusOK) String() string

type GetClusterGroupsStatusParams

type GetClusterGroupsStatusParams struct {

	/* XRequestID.

	   User-Agent specified id to track a request
	*/
	XRequestID *string

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

GetClusterGroupsStatusParams contains all the parameters to send to the API endpoint

for the cluster groups get cluster groups status operation.

Typically these are written to a http.Request.

func NewGetClusterGroupsStatusParams

func NewGetClusterGroupsStatusParams() *GetClusterGroupsStatusParams

NewGetClusterGroupsStatusParams creates a new GetClusterGroupsStatusParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetClusterGroupsStatusParamsWithContext

func NewGetClusterGroupsStatusParamsWithContext(ctx context.Context) *GetClusterGroupsStatusParams

NewGetClusterGroupsStatusParamsWithContext creates a new GetClusterGroupsStatusParams object with the ability to set a context for a request.

func NewGetClusterGroupsStatusParamsWithHTTPClient

func NewGetClusterGroupsStatusParamsWithHTTPClient(client *http.Client) *GetClusterGroupsStatusParams

NewGetClusterGroupsStatusParamsWithHTTPClient creates a new GetClusterGroupsStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterGroupsStatusParamsWithTimeout

func NewGetClusterGroupsStatusParamsWithTimeout(timeout time.Duration) *GetClusterGroupsStatusParams

NewGetClusterGroupsStatusParamsWithTimeout creates a new GetClusterGroupsStatusParams object with the ability to set a timeout on a request.

func (*GetClusterGroupsStatusParams) SetContext

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

SetContext adds the context to the cluster groups get cluster groups status params

func (*GetClusterGroupsStatusParams) SetDefaults

func (o *GetClusterGroupsStatusParams) SetDefaults()

SetDefaults hydrates default values in the cluster groups get cluster groups status params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterGroupsStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cluster groups get cluster groups status params

func (*GetClusterGroupsStatusParams) SetTimeout

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

SetTimeout adds the timeout to the cluster groups get cluster groups status params

func (*GetClusterGroupsStatusParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the cluster groups get cluster groups status params

func (*GetClusterGroupsStatusParams) WithContext

WithContext adds the context to the cluster groups get cluster groups status params

func (*GetClusterGroupsStatusParams) WithDefaults

WithDefaults hydrates default values in the cluster groups get cluster groups status params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterGroupsStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cluster groups get cluster groups status params

func (*GetClusterGroupsStatusParams) WithTimeout

WithTimeout adds the timeout to the cluster groups get cluster groups status params

func (*GetClusterGroupsStatusParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the cluster groups get cluster groups status params

func (*GetClusterGroupsStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClusterGroupsStatusReader

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

GetClusterGroupsStatusReader is a Reader for the GetClusterGroupsStatus structure.

func (*GetClusterGroupsStatusReader) ReadResponse

func (o *GetClusterGroupsStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetClusterGroupsStatusUnauthorized

type GetClusterGroupsStatusUnauthorized struct {
	Payload *models.ZsrvResponse
}

GetClusterGroupsStatusUnauthorized describes a response with status code 401, with default header values.

Unauthorized. Authentication credentials are missing or invalid.

func NewGetClusterGroupsStatusUnauthorized

func NewGetClusterGroupsStatusUnauthorized() *GetClusterGroupsStatusUnauthorized

NewGetClusterGroupsStatusUnauthorized creates a GetClusterGroupsStatusUnauthorized with default headers values

func (*GetClusterGroupsStatusUnauthorized) Code

Code gets the status code for the cluster groups get cluster groups status unauthorized response

func (*GetClusterGroupsStatusUnauthorized) Error

func (*GetClusterGroupsStatusUnauthorized) GetPayload

func (*GetClusterGroupsStatusUnauthorized) IsClientError

func (o *GetClusterGroupsStatusUnauthorized) IsClientError() bool

IsClientError returns true when this cluster groups get cluster groups status unauthorized response has a 4xx status code

func (*GetClusterGroupsStatusUnauthorized) IsCode

IsCode returns true when this cluster groups get cluster groups status unauthorized response a status code equal to that given

func (*GetClusterGroupsStatusUnauthorized) IsRedirect

func (o *GetClusterGroupsStatusUnauthorized) IsRedirect() bool

IsRedirect returns true when this cluster groups get cluster groups status unauthorized response has a 3xx status code

func (*GetClusterGroupsStatusUnauthorized) IsServerError

func (o *GetClusterGroupsStatusUnauthorized) IsServerError() bool

IsServerError returns true when this cluster groups get cluster groups status unauthorized response has a 5xx status code

func (*GetClusterGroupsStatusUnauthorized) IsSuccess

IsSuccess returns true when this cluster groups get cluster groups status unauthorized response has a 2xx status code

func (*GetClusterGroupsStatusUnauthorized) String

Jump to

Keyboard shortcuts

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