Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateClusterGroup(params *CreateClusterGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateClusterGroupOK, *CreateClusterGroupCreated, error)
- func (a *Client) DeleteClusterGroup(params *DeleteClusterGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteClusterGroupOK, error)
- func (a *Client) GetClusterGroupManifest(params *GetClusterGroupManifestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetClusterGroupManifestOK, error)
- func (a *Client) GetClusterGroupsStatus(params *GetClusterGroupsStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetClusterGroupsStatusOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateClusterGroupBadRequest
- func (o *CreateClusterGroupBadRequest) Code() int
- func (o *CreateClusterGroupBadRequest) Error() string
- func (o *CreateClusterGroupBadRequest) GetPayload() *models.ZsrvResponse
- func (o *CreateClusterGroupBadRequest) IsClientError() bool
- func (o *CreateClusterGroupBadRequest) IsCode(code int) bool
- func (o *CreateClusterGroupBadRequest) IsRedirect() bool
- func (o *CreateClusterGroupBadRequest) IsServerError() bool
- func (o *CreateClusterGroupBadRequest) IsSuccess() bool
- func (o *CreateClusterGroupBadRequest) String() string
- type CreateClusterGroupConflict
- func (o *CreateClusterGroupConflict) Code() int
- func (o *CreateClusterGroupConflict) Error() string
- func (o *CreateClusterGroupConflict) GetPayload() *models.ZsrvResponse
- func (o *CreateClusterGroupConflict) IsClientError() bool
- func (o *CreateClusterGroupConflict) IsCode(code int) bool
- func (o *CreateClusterGroupConflict) IsRedirect() bool
- func (o *CreateClusterGroupConflict) IsServerError() bool
- func (o *CreateClusterGroupConflict) IsSuccess() bool
- func (o *CreateClusterGroupConflict) String() string
- type CreateClusterGroupCreated
- func (o *CreateClusterGroupCreated) Code() int
- func (o *CreateClusterGroupCreated) Error() string
- func (o *CreateClusterGroupCreated) GetPayload() *models.ZsrvResponse
- func (o *CreateClusterGroupCreated) IsClientError() bool
- func (o *CreateClusterGroupCreated) IsCode(code int) bool
- func (o *CreateClusterGroupCreated) IsRedirect() bool
- func (o *CreateClusterGroupCreated) IsServerError() bool
- func (o *CreateClusterGroupCreated) IsSuccess() bool
- func (o *CreateClusterGroupCreated) String() string
- type CreateClusterGroupDefault
- func (o *CreateClusterGroupDefault) Code() int
- func (o *CreateClusterGroupDefault) Error() string
- func (o *CreateClusterGroupDefault) GetPayload() *models.GooglerpcStatus
- func (o *CreateClusterGroupDefault) IsClientError() bool
- func (o *CreateClusterGroupDefault) IsCode(code int) bool
- func (o *CreateClusterGroupDefault) IsRedirect() bool
- func (o *CreateClusterGroupDefault) IsServerError() bool
- func (o *CreateClusterGroupDefault) IsSuccess() bool
- func (o *CreateClusterGroupDefault) String() string
- type CreateClusterGroupForbidden
- func (o *CreateClusterGroupForbidden) Code() int
- func (o *CreateClusterGroupForbidden) Error() string
- func (o *CreateClusterGroupForbidden) GetPayload() *models.ZsrvResponse
- func (o *CreateClusterGroupForbidden) IsClientError() bool
- func (o *CreateClusterGroupForbidden) IsCode(code int) bool
- func (o *CreateClusterGroupForbidden) IsRedirect() bool
- func (o *CreateClusterGroupForbidden) IsServerError() bool
- func (o *CreateClusterGroupForbidden) IsSuccess() bool
- func (o *CreateClusterGroupForbidden) String() string
- type CreateClusterGroupGatewayTimeout
- func (o *CreateClusterGroupGatewayTimeout) Code() int
- func (o *CreateClusterGroupGatewayTimeout) Error() string
- func (o *CreateClusterGroupGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *CreateClusterGroupGatewayTimeout) IsClientError() bool
- func (o *CreateClusterGroupGatewayTimeout) IsCode(code int) bool
- func (o *CreateClusterGroupGatewayTimeout) IsRedirect() bool
- func (o *CreateClusterGroupGatewayTimeout) IsServerError() bool
- func (o *CreateClusterGroupGatewayTimeout) IsSuccess() bool
- func (o *CreateClusterGroupGatewayTimeout) String() string
- type CreateClusterGroupInternalServerError
- func (o *CreateClusterGroupInternalServerError) Code() int
- func (o *CreateClusterGroupInternalServerError) Error() string
- func (o *CreateClusterGroupInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *CreateClusterGroupInternalServerError) IsClientError() bool
- func (o *CreateClusterGroupInternalServerError) IsCode(code int) bool
- func (o *CreateClusterGroupInternalServerError) IsRedirect() bool
- func (o *CreateClusterGroupInternalServerError) IsServerError() bool
- func (o *CreateClusterGroupInternalServerError) IsSuccess() bool
- func (o *CreateClusterGroupInternalServerError) String() string
- type CreateClusterGroupOK
- func (o *CreateClusterGroupOK) Code() int
- func (o *CreateClusterGroupOK) Error() string
- func (o *CreateClusterGroupOK) GetPayload() *models.ZsrvResponse
- func (o *CreateClusterGroupOK) IsClientError() bool
- func (o *CreateClusterGroupOK) IsCode(code int) bool
- func (o *CreateClusterGroupOK) IsRedirect() bool
- func (o *CreateClusterGroupOK) IsServerError() bool
- func (o *CreateClusterGroupOK) IsSuccess() bool
- func (o *CreateClusterGroupOK) String() string
- type CreateClusterGroupParams
- func NewCreateClusterGroupParams() *CreateClusterGroupParams
- func NewCreateClusterGroupParamsWithContext(ctx context.Context) *CreateClusterGroupParams
- func NewCreateClusterGroupParamsWithHTTPClient(client *http.Client) *CreateClusterGroupParams
- func NewCreateClusterGroupParamsWithTimeout(timeout time.Duration) *CreateClusterGroupParams
- func (o *CreateClusterGroupParams) SetBody(body *models.ClusterGroup)
- func (o *CreateClusterGroupParams) SetContext(ctx context.Context)
- func (o *CreateClusterGroupParams) SetDefaults()
- func (o *CreateClusterGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateClusterGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateClusterGroupParams) SetXRequestID(xRequestID *string)
- func (o *CreateClusterGroupParams) WithBody(body *models.ClusterGroup) *CreateClusterGroupParams
- func (o *CreateClusterGroupParams) WithContext(ctx context.Context) *CreateClusterGroupParams
- func (o *CreateClusterGroupParams) WithDefaults() *CreateClusterGroupParams
- func (o *CreateClusterGroupParams) WithHTTPClient(client *http.Client) *CreateClusterGroupParams
- func (o *CreateClusterGroupParams) WithTimeout(timeout time.Duration) *CreateClusterGroupParams
- func (o *CreateClusterGroupParams) WithXRequestID(xRequestID *string) *CreateClusterGroupParams
- func (o *CreateClusterGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateClusterGroupReader
- type CreateClusterGroupUnauthorized
- func (o *CreateClusterGroupUnauthorized) Code() int
- func (o *CreateClusterGroupUnauthorized) Error() string
- func (o *CreateClusterGroupUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *CreateClusterGroupUnauthorized) IsClientError() bool
- func (o *CreateClusterGroupUnauthorized) IsCode(code int) bool
- func (o *CreateClusterGroupUnauthorized) IsRedirect() bool
- func (o *CreateClusterGroupUnauthorized) IsServerError() bool
- func (o *CreateClusterGroupUnauthorized) IsSuccess() bool
- func (o *CreateClusterGroupUnauthorized) String() string
- type DeleteClusterGroupBadRequest
- func (o *DeleteClusterGroupBadRequest) Code() int
- func (o *DeleteClusterGroupBadRequest) Error() string
- func (o *DeleteClusterGroupBadRequest) GetPayload() *models.ZsrvResponse
- func (o *DeleteClusterGroupBadRequest) IsClientError() bool
- func (o *DeleteClusterGroupBadRequest) IsCode(code int) bool
- func (o *DeleteClusterGroupBadRequest) IsRedirect() bool
- func (o *DeleteClusterGroupBadRequest) IsServerError() bool
- func (o *DeleteClusterGroupBadRequest) IsSuccess() bool
- func (o *DeleteClusterGroupBadRequest) String() string
- type DeleteClusterGroupConflict
- func (o *DeleteClusterGroupConflict) Code() int
- func (o *DeleteClusterGroupConflict) Error() string
- func (o *DeleteClusterGroupConflict) GetPayload() *models.ZsrvResponse
- func (o *DeleteClusterGroupConflict) IsClientError() bool
- func (o *DeleteClusterGroupConflict) IsCode(code int) bool
- func (o *DeleteClusterGroupConflict) IsRedirect() bool
- func (o *DeleteClusterGroupConflict) IsServerError() bool
- func (o *DeleteClusterGroupConflict) IsSuccess() bool
- func (o *DeleteClusterGroupConflict) String() string
- type DeleteClusterGroupDefault
- func (o *DeleteClusterGroupDefault) Code() int
- func (o *DeleteClusterGroupDefault) Error() string
- func (o *DeleteClusterGroupDefault) GetPayload() *models.GooglerpcStatus
- func (o *DeleteClusterGroupDefault) IsClientError() bool
- func (o *DeleteClusterGroupDefault) IsCode(code int) bool
- func (o *DeleteClusterGroupDefault) IsRedirect() bool
- func (o *DeleteClusterGroupDefault) IsServerError() bool
- func (o *DeleteClusterGroupDefault) IsSuccess() bool
- func (o *DeleteClusterGroupDefault) String() string
- type DeleteClusterGroupForbidden
- func (o *DeleteClusterGroupForbidden) Code() int
- func (o *DeleteClusterGroupForbidden) Error() string
- func (o *DeleteClusterGroupForbidden) GetPayload() *models.ZsrvResponse
- func (o *DeleteClusterGroupForbidden) IsClientError() bool
- func (o *DeleteClusterGroupForbidden) IsCode(code int) bool
- func (o *DeleteClusterGroupForbidden) IsRedirect() bool
- func (o *DeleteClusterGroupForbidden) IsServerError() bool
- func (o *DeleteClusterGroupForbidden) IsSuccess() bool
- func (o *DeleteClusterGroupForbidden) String() string
- type DeleteClusterGroupGatewayTimeout
- func (o *DeleteClusterGroupGatewayTimeout) Code() int
- func (o *DeleteClusterGroupGatewayTimeout) Error() string
- func (o *DeleteClusterGroupGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *DeleteClusterGroupGatewayTimeout) IsClientError() bool
- func (o *DeleteClusterGroupGatewayTimeout) IsCode(code int) bool
- func (o *DeleteClusterGroupGatewayTimeout) IsRedirect() bool
- func (o *DeleteClusterGroupGatewayTimeout) IsServerError() bool
- func (o *DeleteClusterGroupGatewayTimeout) IsSuccess() bool
- func (o *DeleteClusterGroupGatewayTimeout) String() string
- type DeleteClusterGroupInternalServerError
- func (o *DeleteClusterGroupInternalServerError) Code() int
- func (o *DeleteClusterGroupInternalServerError) Error() string
- func (o *DeleteClusterGroupInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *DeleteClusterGroupInternalServerError) IsClientError() bool
- func (o *DeleteClusterGroupInternalServerError) IsCode(code int) bool
- func (o *DeleteClusterGroupInternalServerError) IsRedirect() bool
- func (o *DeleteClusterGroupInternalServerError) IsServerError() bool
- func (o *DeleteClusterGroupInternalServerError) IsSuccess() bool
- func (o *DeleteClusterGroupInternalServerError) String() string
- type DeleteClusterGroupNotFound
- func (o *DeleteClusterGroupNotFound) Code() int
- func (o *DeleteClusterGroupNotFound) Error() string
- func (o *DeleteClusterGroupNotFound) GetPayload() *models.ZsrvResponse
- func (o *DeleteClusterGroupNotFound) IsClientError() bool
- func (o *DeleteClusterGroupNotFound) IsCode(code int) bool
- func (o *DeleteClusterGroupNotFound) IsRedirect() bool
- func (o *DeleteClusterGroupNotFound) IsServerError() bool
- func (o *DeleteClusterGroupNotFound) IsSuccess() bool
- func (o *DeleteClusterGroupNotFound) String() string
- type DeleteClusterGroupOK
- func (o *DeleteClusterGroupOK) Code() int
- func (o *DeleteClusterGroupOK) Error() string
- func (o *DeleteClusterGroupOK) GetPayload() *models.ZsrvResponse
- func (o *DeleteClusterGroupOK) IsClientError() bool
- func (o *DeleteClusterGroupOK) IsCode(code int) bool
- func (o *DeleteClusterGroupOK) IsRedirect() bool
- func (o *DeleteClusterGroupOK) IsServerError() bool
- func (o *DeleteClusterGroupOK) IsSuccess() bool
- func (o *DeleteClusterGroupOK) String() string
- type DeleteClusterGroupParams
- func NewDeleteClusterGroupParams() *DeleteClusterGroupParams
- func NewDeleteClusterGroupParamsWithContext(ctx context.Context) *DeleteClusterGroupParams
- func NewDeleteClusterGroupParamsWithHTTPClient(client *http.Client) *DeleteClusterGroupParams
- func NewDeleteClusterGroupParamsWithTimeout(timeout time.Duration) *DeleteClusterGroupParams
- func (o *DeleteClusterGroupParams) SetClusterGroupID(clusterGroupID string)
- func (o *DeleteClusterGroupParams) SetContext(ctx context.Context)
- func (o *DeleteClusterGroupParams) SetDefaults()
- func (o *DeleteClusterGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterGroupParams) SetXRequestID(xRequestID *string)
- func (o *DeleteClusterGroupParams) WithClusterGroupID(clusterGroupID string) *DeleteClusterGroupParams
- func (o *DeleteClusterGroupParams) WithContext(ctx context.Context) *DeleteClusterGroupParams
- func (o *DeleteClusterGroupParams) WithDefaults() *DeleteClusterGroupParams
- func (o *DeleteClusterGroupParams) WithHTTPClient(client *http.Client) *DeleteClusterGroupParams
- func (o *DeleteClusterGroupParams) WithTimeout(timeout time.Duration) *DeleteClusterGroupParams
- func (o *DeleteClusterGroupParams) WithXRequestID(xRequestID *string) *DeleteClusterGroupParams
- func (o *DeleteClusterGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterGroupReader
- type DeleteClusterGroupUnauthorized
- func (o *DeleteClusterGroupUnauthorized) Code() int
- func (o *DeleteClusterGroupUnauthorized) Error() string
- func (o *DeleteClusterGroupUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *DeleteClusterGroupUnauthorized) IsClientError() bool
- func (o *DeleteClusterGroupUnauthorized) IsCode(code int) bool
- func (o *DeleteClusterGroupUnauthorized) IsRedirect() bool
- func (o *DeleteClusterGroupUnauthorized) IsServerError() bool
- func (o *DeleteClusterGroupUnauthorized) IsSuccess() bool
- func (o *DeleteClusterGroupUnauthorized) String() string
- type GetClusterGroupManifestBadRequest
- func (o *GetClusterGroupManifestBadRequest) Code() int
- func (o *GetClusterGroupManifestBadRequest) Error() string
- func (o *GetClusterGroupManifestBadRequest) GetPayload() *models.ZsrvResponse
- func (o *GetClusterGroupManifestBadRequest) IsClientError() bool
- func (o *GetClusterGroupManifestBadRequest) IsCode(code int) bool
- func (o *GetClusterGroupManifestBadRequest) IsRedirect() bool
- func (o *GetClusterGroupManifestBadRequest) IsServerError() bool
- func (o *GetClusterGroupManifestBadRequest) IsSuccess() bool
- func (o *GetClusterGroupManifestBadRequest) String() string
- type GetClusterGroupManifestDefault
- func (o *GetClusterGroupManifestDefault) Code() int
- func (o *GetClusterGroupManifestDefault) Error() string
- func (o *GetClusterGroupManifestDefault) GetPayload() *models.GooglerpcStatus
- func (o *GetClusterGroupManifestDefault) IsClientError() bool
- func (o *GetClusterGroupManifestDefault) IsCode(code int) bool
- func (o *GetClusterGroupManifestDefault) IsRedirect() bool
- func (o *GetClusterGroupManifestDefault) IsServerError() bool
- func (o *GetClusterGroupManifestDefault) IsSuccess() bool
- func (o *GetClusterGroupManifestDefault) String() string
- type GetClusterGroupManifestForbidden
- func (o *GetClusterGroupManifestForbidden) Code() int
- func (o *GetClusterGroupManifestForbidden) Error() string
- func (o *GetClusterGroupManifestForbidden) GetPayload() *models.ZsrvResponse
- func (o *GetClusterGroupManifestForbidden) IsClientError() bool
- func (o *GetClusterGroupManifestForbidden) IsCode(code int) bool
- func (o *GetClusterGroupManifestForbidden) IsRedirect() bool
- func (o *GetClusterGroupManifestForbidden) IsServerError() bool
- func (o *GetClusterGroupManifestForbidden) IsSuccess() bool
- func (o *GetClusterGroupManifestForbidden) String() string
- type GetClusterGroupManifestGatewayTimeout
- func (o *GetClusterGroupManifestGatewayTimeout) Code() int
- func (o *GetClusterGroupManifestGatewayTimeout) Error() string
- func (o *GetClusterGroupManifestGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *GetClusterGroupManifestGatewayTimeout) IsClientError() bool
- func (o *GetClusterGroupManifestGatewayTimeout) IsCode(code int) bool
- func (o *GetClusterGroupManifestGatewayTimeout) IsRedirect() bool
- func (o *GetClusterGroupManifestGatewayTimeout) IsServerError() bool
- func (o *GetClusterGroupManifestGatewayTimeout) IsSuccess() bool
- func (o *GetClusterGroupManifestGatewayTimeout) String() string
- type GetClusterGroupManifestInternalServerError
- func (o *GetClusterGroupManifestInternalServerError) Code() int
- func (o *GetClusterGroupManifestInternalServerError) Error() string
- func (o *GetClusterGroupManifestInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *GetClusterGroupManifestInternalServerError) IsClientError() bool
- func (o *GetClusterGroupManifestInternalServerError) IsCode(code int) bool
- func (o *GetClusterGroupManifestInternalServerError) IsRedirect() bool
- func (o *GetClusterGroupManifestInternalServerError) IsServerError() bool
- func (o *GetClusterGroupManifestInternalServerError) IsSuccess() bool
- func (o *GetClusterGroupManifestInternalServerError) String() string
- type GetClusterGroupManifestNotFound
- func (o *GetClusterGroupManifestNotFound) Code() int
- func (o *GetClusterGroupManifestNotFound) Error() string
- func (o *GetClusterGroupManifestNotFound) GetPayload() *models.ZsrvResponse
- func (o *GetClusterGroupManifestNotFound) IsClientError() bool
- func (o *GetClusterGroupManifestNotFound) IsCode(code int) bool
- func (o *GetClusterGroupManifestNotFound) IsRedirect() bool
- func (o *GetClusterGroupManifestNotFound) IsServerError() bool
- func (o *GetClusterGroupManifestNotFound) IsSuccess() bool
- func (o *GetClusterGroupManifestNotFound) String() string
- type GetClusterGroupManifestOK
- func (o *GetClusterGroupManifestOK) Code() int
- func (o *GetClusterGroupManifestOK) Error() string
- func (o *GetClusterGroupManifestOK) GetPayload() *models.ClusterGroupManifestOutput
- func (o *GetClusterGroupManifestOK) IsClientError() bool
- func (o *GetClusterGroupManifestOK) IsCode(code int) bool
- func (o *GetClusterGroupManifestOK) IsRedirect() bool
- func (o *GetClusterGroupManifestOK) IsServerError() bool
- func (o *GetClusterGroupManifestOK) IsSuccess() bool
- func (o *GetClusterGroupManifestOK) String() string
- type GetClusterGroupManifestParams
- func NewGetClusterGroupManifestParams() *GetClusterGroupManifestParams
- func NewGetClusterGroupManifestParamsWithContext(ctx context.Context) *GetClusterGroupManifestParams
- func NewGetClusterGroupManifestParamsWithHTTPClient(client *http.Client) *GetClusterGroupManifestParams
- func NewGetClusterGroupManifestParamsWithTimeout(timeout time.Duration) *GetClusterGroupManifestParams
- func (o *GetClusterGroupManifestParams) SetContext(ctx context.Context)
- func (o *GetClusterGroupManifestParams) SetDefaults()
- func (o *GetClusterGroupManifestParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterGroupManifestParams) SetName(name *string)
- func (o *GetClusterGroupManifestParams) SetProjectName(projectName *string)
- func (o *GetClusterGroupManifestParams) SetTags(tags interface{})
- func (o *GetClusterGroupManifestParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterGroupManifestParams) SetXRequestID(xRequestID *string)
- func (o *GetClusterGroupManifestParams) WithContext(ctx context.Context) *GetClusterGroupManifestParams
- func (o *GetClusterGroupManifestParams) WithDefaults() *GetClusterGroupManifestParams
- func (o *GetClusterGroupManifestParams) WithHTTPClient(client *http.Client) *GetClusterGroupManifestParams
- func (o *GetClusterGroupManifestParams) WithName(name *string) *GetClusterGroupManifestParams
- func (o *GetClusterGroupManifestParams) WithProjectName(projectName *string) *GetClusterGroupManifestParams
- func (o *GetClusterGroupManifestParams) WithTags(tags interface{}) *GetClusterGroupManifestParams
- func (o *GetClusterGroupManifestParams) WithTimeout(timeout time.Duration) *GetClusterGroupManifestParams
- func (o *GetClusterGroupManifestParams) WithXRequestID(xRequestID *string) *GetClusterGroupManifestParams
- func (o *GetClusterGroupManifestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterGroupManifestReader
- type GetClusterGroupManifestUnauthorized
- func (o *GetClusterGroupManifestUnauthorized) Code() int
- func (o *GetClusterGroupManifestUnauthorized) Error() string
- func (o *GetClusterGroupManifestUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *GetClusterGroupManifestUnauthorized) IsClientError() bool
- func (o *GetClusterGroupManifestUnauthorized) IsCode(code int) bool
- func (o *GetClusterGroupManifestUnauthorized) IsRedirect() bool
- func (o *GetClusterGroupManifestUnauthorized) IsServerError() bool
- func (o *GetClusterGroupManifestUnauthorized) IsSuccess() bool
- func (o *GetClusterGroupManifestUnauthorized) String() string
- type GetClusterGroupsStatusBadRequest
- func (o *GetClusterGroupsStatusBadRequest) Code() int
- func (o *GetClusterGroupsStatusBadRequest) Error() string
- func (o *GetClusterGroupsStatusBadRequest) GetPayload() *models.ZsrvResponse
- func (o *GetClusterGroupsStatusBadRequest) IsClientError() bool
- func (o *GetClusterGroupsStatusBadRequest) IsCode(code int) bool
- func (o *GetClusterGroupsStatusBadRequest) IsRedirect() bool
- func (o *GetClusterGroupsStatusBadRequest) IsServerError() bool
- func (o *GetClusterGroupsStatusBadRequest) IsSuccess() bool
- func (o *GetClusterGroupsStatusBadRequest) String() string
- type GetClusterGroupsStatusDefault
- func (o *GetClusterGroupsStatusDefault) Code() int
- func (o *GetClusterGroupsStatusDefault) Error() string
- func (o *GetClusterGroupsStatusDefault) GetPayload() *models.GooglerpcStatus
- func (o *GetClusterGroupsStatusDefault) IsClientError() bool
- func (o *GetClusterGroupsStatusDefault) IsCode(code int) bool
- func (o *GetClusterGroupsStatusDefault) IsRedirect() bool
- func (o *GetClusterGroupsStatusDefault) IsServerError() bool
- func (o *GetClusterGroupsStatusDefault) IsSuccess() bool
- func (o *GetClusterGroupsStatusDefault) String() string
- type GetClusterGroupsStatusForbidden
- func (o *GetClusterGroupsStatusForbidden) Code() int
- func (o *GetClusterGroupsStatusForbidden) Error() string
- func (o *GetClusterGroupsStatusForbidden) GetPayload() *models.ZsrvResponse
- func (o *GetClusterGroupsStatusForbidden) IsClientError() bool
- func (o *GetClusterGroupsStatusForbidden) IsCode(code int) bool
- func (o *GetClusterGroupsStatusForbidden) IsRedirect() bool
- func (o *GetClusterGroupsStatusForbidden) IsServerError() bool
- func (o *GetClusterGroupsStatusForbidden) IsSuccess() bool
- func (o *GetClusterGroupsStatusForbidden) String() string
- type GetClusterGroupsStatusGatewayTimeout
- func (o *GetClusterGroupsStatusGatewayTimeout) Code() int
- func (o *GetClusterGroupsStatusGatewayTimeout) Error() string
- func (o *GetClusterGroupsStatusGatewayTimeout) GetPayload() *models.ZsrvResponse
- func (o *GetClusterGroupsStatusGatewayTimeout) IsClientError() bool
- func (o *GetClusterGroupsStatusGatewayTimeout) IsCode(code int) bool
- func (o *GetClusterGroupsStatusGatewayTimeout) IsRedirect() bool
- func (o *GetClusterGroupsStatusGatewayTimeout) IsServerError() bool
- func (o *GetClusterGroupsStatusGatewayTimeout) IsSuccess() bool
- func (o *GetClusterGroupsStatusGatewayTimeout) String() string
- type GetClusterGroupsStatusInternalServerError
- func (o *GetClusterGroupsStatusInternalServerError) Code() int
- func (o *GetClusterGroupsStatusInternalServerError) Error() string
- func (o *GetClusterGroupsStatusInternalServerError) GetPayload() *models.ZsrvResponse
- func (o *GetClusterGroupsStatusInternalServerError) IsClientError() bool
- func (o *GetClusterGroupsStatusInternalServerError) IsCode(code int) bool
- func (o *GetClusterGroupsStatusInternalServerError) IsRedirect() bool
- func (o *GetClusterGroupsStatusInternalServerError) IsServerError() bool
- func (o *GetClusterGroupsStatusInternalServerError) IsSuccess() bool
- func (o *GetClusterGroupsStatusInternalServerError) String() string
- type GetClusterGroupsStatusOK
- func (o *GetClusterGroupsStatusOK) Code() int
- func (o *GetClusterGroupsStatusOK) Error() string
- func (o *GetClusterGroupsStatusOK) GetPayload() *models.ClusterGroupStatusListResp
- func (o *GetClusterGroupsStatusOK) IsClientError() bool
- func (o *GetClusterGroupsStatusOK) IsCode(code int) bool
- func (o *GetClusterGroupsStatusOK) IsRedirect() bool
- func (o *GetClusterGroupsStatusOK) IsServerError() bool
- func (o *GetClusterGroupsStatusOK) IsSuccess() bool
- func (o *GetClusterGroupsStatusOK) String() string
- type GetClusterGroupsStatusParams
- func NewGetClusterGroupsStatusParams() *GetClusterGroupsStatusParams
- func NewGetClusterGroupsStatusParamsWithContext(ctx context.Context) *GetClusterGroupsStatusParams
- func NewGetClusterGroupsStatusParamsWithHTTPClient(client *http.Client) *GetClusterGroupsStatusParams
- func NewGetClusterGroupsStatusParamsWithTimeout(timeout time.Duration) *GetClusterGroupsStatusParams
- func (o *GetClusterGroupsStatusParams) SetContext(ctx context.Context)
- func (o *GetClusterGroupsStatusParams) SetDefaults()
- func (o *GetClusterGroupsStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterGroupsStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterGroupsStatusParams) SetXRequestID(xRequestID *string)
- func (o *GetClusterGroupsStatusParams) WithContext(ctx context.Context) *GetClusterGroupsStatusParams
- func (o *GetClusterGroupsStatusParams) WithDefaults() *GetClusterGroupsStatusParams
- func (o *GetClusterGroupsStatusParams) WithHTTPClient(client *http.Client) *GetClusterGroupsStatusParams
- func (o *GetClusterGroupsStatusParams) WithTimeout(timeout time.Duration) *GetClusterGroupsStatusParams
- func (o *GetClusterGroupsStatusParams) WithXRequestID(xRequestID *string) *GetClusterGroupsStatusParams
- func (o *GetClusterGroupsStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterGroupsStatusReader
- type GetClusterGroupsStatusUnauthorized
- func (o *GetClusterGroupsStatusUnauthorized) Code() int
- func (o *GetClusterGroupsStatusUnauthorized) Error() string
- func (o *GetClusterGroupsStatusUnauthorized) GetPayload() *models.ZsrvResponse
- func (o *GetClusterGroupsStatusUnauthorized) IsClientError() bool
- func (o *GetClusterGroupsStatusUnauthorized) IsCode(code int) bool
- func (o *GetClusterGroupsStatusUnauthorized) IsRedirect() bool
- func (o *GetClusterGroupsStatusUnauthorized) IsServerError() bool
- func (o *GetClusterGroupsStatusUnauthorized) IsSuccess() bool
- func (o *GetClusterGroupsStatusUnauthorized) String() string
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 ¶
func (a *Client) CreateClusterGroup(params *CreateClusterGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterGroupOK, *CreateClusterGroupCreated, error)
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 ¶
func (o *CreateClusterGroupBadRequest) Code() int
Code gets the status code for the cluster groups create cluster group bad request response
func (*CreateClusterGroupBadRequest) Error ¶
func (o *CreateClusterGroupBadRequest) Error() string
func (*CreateClusterGroupBadRequest) GetPayload ¶
func (o *CreateClusterGroupBadRequest) GetPayload() *models.ZsrvResponse
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 ¶
func (o *CreateClusterGroupBadRequest) String() 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 (o *CreateClusterGroupConflict) Error() string
func (*CreateClusterGroupConflict) GetPayload ¶
func (o *CreateClusterGroupConflict) GetPayload() *models.ZsrvResponse
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 (o *CreateClusterGroupCreated) GetPayload() *models.ZsrvResponse
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 (o *CreateClusterGroupDefault) GetPayload() *models.GooglerpcStatus
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 (o *CreateClusterGroupForbidden) Error() string
func (*CreateClusterGroupForbidden) GetPayload ¶
func (o *CreateClusterGroupForbidden) GetPayload() *models.ZsrvResponse
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 ¶
func (o *CreateClusterGroupGatewayTimeout) Code() int
Code gets the status code for the cluster groups create cluster group gateway timeout response
func (*CreateClusterGroupGatewayTimeout) Error ¶
func (o *CreateClusterGroupGatewayTimeout) Error() string
func (*CreateClusterGroupGatewayTimeout) GetPayload ¶
func (o *CreateClusterGroupGatewayTimeout) GetPayload() *models.ZsrvResponse
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 ¶
func (o *CreateClusterGroupGatewayTimeout) String() 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 ¶
func (o *CreateClusterGroupInternalServerError) Code() int
Code gets the status code for the cluster groups create cluster group internal server error response
func (*CreateClusterGroupInternalServerError) Error ¶
func (o *CreateClusterGroupInternalServerError) Error() string
func (*CreateClusterGroupInternalServerError) GetPayload ¶
func (o *CreateClusterGroupInternalServerError) GetPayload() *models.ZsrvResponse
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 ¶
func (o *CreateClusterGroupInternalServerError) IsCode(code int) bool
IsCode returns true when this cluster groups create cluster group internal server error response a status code equal to that given
func (*CreateClusterGroupInternalServerError) IsRedirect ¶
func (o *CreateClusterGroupInternalServerError) IsRedirect() bool
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 ¶
func (o *CreateClusterGroupInternalServerError) IsSuccess() bool
IsSuccess returns true when this cluster groups create cluster group internal server error response has a 2xx status code
func (*CreateClusterGroupInternalServerError) String ¶
func (o *CreateClusterGroupInternalServerError) String() 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 ¶
func (o *CreateClusterGroupParams) WithBody(body *models.ClusterGroup) *CreateClusterGroupParams
WithBody adds the body to the cluster groups create cluster group params
func (*CreateClusterGroupParams) WithContext ¶
func (o *CreateClusterGroupParams) WithContext(ctx context.Context) *CreateClusterGroupParams
WithContext adds the context to the cluster groups create cluster group params
func (*CreateClusterGroupParams) WithDefaults ¶
func (o *CreateClusterGroupParams) WithDefaults() *CreateClusterGroupParams
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 ¶
func (o *CreateClusterGroupParams) WithTimeout(timeout time.Duration) *CreateClusterGroupParams
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 ¶
func (o *CreateClusterGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *CreateClusterGroupUnauthorized) Code() int
Code gets the status code for the cluster groups create cluster group unauthorized response
func (*CreateClusterGroupUnauthorized) Error ¶
func (o *CreateClusterGroupUnauthorized) Error() string
func (*CreateClusterGroupUnauthorized) GetPayload ¶
func (o *CreateClusterGroupUnauthorized) GetPayload() *models.ZsrvResponse
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 ¶
func (o *CreateClusterGroupUnauthorized) String() 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 ¶
func (o *DeleteClusterGroupBadRequest) Code() int
Code gets the status code for the cluster groups delete cluster group bad request response
func (*DeleteClusterGroupBadRequest) Error ¶
func (o *DeleteClusterGroupBadRequest) Error() string
func (*DeleteClusterGroupBadRequest) GetPayload ¶
func (o *DeleteClusterGroupBadRequest) GetPayload() *models.ZsrvResponse
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 ¶
func (o *DeleteClusterGroupBadRequest) String() 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 (o *DeleteClusterGroupConflict) Error() string
func (*DeleteClusterGroupConflict) GetPayload ¶
func (o *DeleteClusterGroupConflict) GetPayload() *models.ZsrvResponse
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 (o *DeleteClusterGroupDefault) GetPayload() *models.GooglerpcStatus
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 (o *DeleteClusterGroupForbidden) Error() string
func (*DeleteClusterGroupForbidden) GetPayload ¶
func (o *DeleteClusterGroupForbidden) GetPayload() *models.ZsrvResponse
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 ¶
func (o *DeleteClusterGroupGatewayTimeout) Code() int
Code gets the status code for the cluster groups delete cluster group gateway timeout response
func (*DeleteClusterGroupGatewayTimeout) Error ¶
func (o *DeleteClusterGroupGatewayTimeout) Error() string
func (*DeleteClusterGroupGatewayTimeout) GetPayload ¶
func (o *DeleteClusterGroupGatewayTimeout) GetPayload() *models.ZsrvResponse
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 ¶
func (o *DeleteClusterGroupGatewayTimeout) String() 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 ¶
func (o *DeleteClusterGroupInternalServerError) Code() int
Code gets the status code for the cluster groups delete cluster group internal server error response
func (*DeleteClusterGroupInternalServerError) Error ¶
func (o *DeleteClusterGroupInternalServerError) Error() string
func (*DeleteClusterGroupInternalServerError) GetPayload ¶
func (o *DeleteClusterGroupInternalServerError) GetPayload() *models.ZsrvResponse
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 ¶
func (o *DeleteClusterGroupInternalServerError) IsCode(code int) bool
IsCode returns true when this cluster groups delete cluster group internal server error response a status code equal to that given
func (*DeleteClusterGroupInternalServerError) IsRedirect ¶
func (o *DeleteClusterGroupInternalServerError) IsRedirect() bool
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 ¶
func (o *DeleteClusterGroupInternalServerError) IsSuccess() bool
IsSuccess returns true when this cluster groups delete cluster group internal server error response has a 2xx status code
func (*DeleteClusterGroupInternalServerError) String ¶
func (o *DeleteClusterGroupInternalServerError) String() 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 (o *DeleteClusterGroupNotFound) Error() string
func (*DeleteClusterGroupNotFound) GetPayload ¶
func (o *DeleteClusterGroupNotFound) GetPayload() *models.ZsrvResponse
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 ¶
func (o *DeleteClusterGroupParams) WithContext(ctx context.Context) *DeleteClusterGroupParams
WithContext adds the context to the cluster groups delete cluster group params
func (*DeleteClusterGroupParams) WithDefaults ¶
func (o *DeleteClusterGroupParams) WithDefaults() *DeleteClusterGroupParams
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 ¶
func (o *DeleteClusterGroupParams) WithTimeout(timeout time.Duration) *DeleteClusterGroupParams
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 ¶
func (o *DeleteClusterGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *DeleteClusterGroupUnauthorized) Code() int
Code gets the status code for the cluster groups delete cluster group unauthorized response
func (*DeleteClusterGroupUnauthorized) Error ¶
func (o *DeleteClusterGroupUnauthorized) Error() string
func (*DeleteClusterGroupUnauthorized) GetPayload ¶
func (o *DeleteClusterGroupUnauthorized) GetPayload() *models.ZsrvResponse
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 ¶
func (o *DeleteClusterGroupUnauthorized) String() 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 ¶
func (o *GetClusterGroupManifestBadRequest) Code() int
Code gets the status code for the cluster groups get cluster group manifest bad request response
func (*GetClusterGroupManifestBadRequest) Error ¶
func (o *GetClusterGroupManifestBadRequest) Error() string
func (*GetClusterGroupManifestBadRequest) GetPayload ¶
func (o *GetClusterGroupManifestBadRequest) GetPayload() *models.ZsrvResponse
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 ¶
func (o *GetClusterGroupManifestBadRequest) String() 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 ¶
func (o *GetClusterGroupManifestDefault) Code() int
Code gets the status code for the cluster groups get cluster group manifest default response
func (*GetClusterGroupManifestDefault) Error ¶
func (o *GetClusterGroupManifestDefault) Error() string
func (*GetClusterGroupManifestDefault) GetPayload ¶
func (o *GetClusterGroupManifestDefault) GetPayload() *models.GooglerpcStatus
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 ¶
func (o *GetClusterGroupManifestDefault) String() 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 ¶
func (o *GetClusterGroupManifestForbidden) Code() int
Code gets the status code for the cluster groups get cluster group manifest forbidden response
func (*GetClusterGroupManifestForbidden) Error ¶
func (o *GetClusterGroupManifestForbidden) Error() string
func (*GetClusterGroupManifestForbidden) GetPayload ¶
func (o *GetClusterGroupManifestForbidden) GetPayload() *models.ZsrvResponse
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 ¶
func (o *GetClusterGroupManifestForbidden) String() 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 ¶
func (o *GetClusterGroupManifestGatewayTimeout) Code() int
Code gets the status code for the cluster groups get cluster group manifest gateway timeout response
func (*GetClusterGroupManifestGatewayTimeout) Error ¶
func (o *GetClusterGroupManifestGatewayTimeout) Error() string
func (*GetClusterGroupManifestGatewayTimeout) GetPayload ¶
func (o *GetClusterGroupManifestGatewayTimeout) GetPayload() *models.ZsrvResponse
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 ¶
func (o *GetClusterGroupManifestGatewayTimeout) IsCode(code int) bool
IsCode returns true when this cluster groups get cluster group manifest gateway timeout response a status code equal to that given
func (*GetClusterGroupManifestGatewayTimeout) IsRedirect ¶
func (o *GetClusterGroupManifestGatewayTimeout) IsRedirect() bool
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 ¶
func (o *GetClusterGroupManifestGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this cluster groups get cluster group manifest gateway timeout response has a 2xx status code
func (*GetClusterGroupManifestGatewayTimeout) String ¶
func (o *GetClusterGroupManifestGatewayTimeout) String() 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 ¶
func (o *GetClusterGroupManifestInternalServerError) Code() int
Code gets the status code for the cluster groups get cluster group manifest internal server error response
func (*GetClusterGroupManifestInternalServerError) Error ¶
func (o *GetClusterGroupManifestInternalServerError) Error() string
func (*GetClusterGroupManifestInternalServerError) GetPayload ¶
func (o *GetClusterGroupManifestInternalServerError) GetPayload() *models.ZsrvResponse
func (*GetClusterGroupManifestInternalServerError) IsClientError ¶
func (o *GetClusterGroupManifestInternalServerError) IsClientError() bool
IsClientError returns true when this cluster groups get cluster group manifest internal server error response has a 4xx status code
func (*GetClusterGroupManifestInternalServerError) IsCode ¶
func (o *GetClusterGroupManifestInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetClusterGroupManifestInternalServerError) IsRedirect() bool
IsRedirect returns true when this cluster groups get cluster group manifest internal server error response has a 3xx status code
func (*GetClusterGroupManifestInternalServerError) IsServerError ¶
func (o *GetClusterGroupManifestInternalServerError) IsServerError() bool
IsServerError returns true when this cluster groups get cluster group manifest internal server error response has a 5xx status code
func (*GetClusterGroupManifestInternalServerError) IsSuccess ¶
func (o *GetClusterGroupManifestInternalServerError) IsSuccess() bool
IsSuccess returns true when this cluster groups get cluster group manifest internal server error response has a 2xx status code
func (*GetClusterGroupManifestInternalServerError) String ¶
func (o *GetClusterGroupManifestInternalServerError) String() 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 ¶
func (o *GetClusterGroupManifestNotFound) Code() int
Code gets the status code for the cluster groups get cluster group manifest not found response
func (*GetClusterGroupManifestNotFound) Error ¶
func (o *GetClusterGroupManifestNotFound) Error() string
func (*GetClusterGroupManifestNotFound) GetPayload ¶
func (o *GetClusterGroupManifestNotFound) GetPayload() *models.ZsrvResponse
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 ¶
func (o *GetClusterGroupManifestNotFound) String() 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 (o *GetClusterGroupManifestOK) GetPayload() *models.ClusterGroupManifestOutput
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 ¶
func (o *GetClusterGroupManifestParams) WithContext(ctx context.Context) *GetClusterGroupManifestParams
WithContext adds the context to the cluster groups get cluster group manifest params
func (*GetClusterGroupManifestParams) WithDefaults ¶
func (o *GetClusterGroupManifestParams) WithDefaults() *GetClusterGroupManifestParams
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 ¶
func (o *GetClusterGroupManifestParams) WithHTTPClient(client *http.Client) *GetClusterGroupManifestParams
WithHTTPClient adds the HTTPClient to the cluster groups get cluster group manifest params
func (*GetClusterGroupManifestParams) WithName ¶
func (o *GetClusterGroupManifestParams) WithName(name *string) *GetClusterGroupManifestParams
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 ¶
func (o *GetClusterGroupManifestParams) WithTimeout(timeout time.Duration) *GetClusterGroupManifestParams
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 ¶
func (o *GetClusterGroupManifestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *GetClusterGroupManifestUnauthorized) Code() int
Code gets the status code for the cluster groups get cluster group manifest unauthorized response
func (*GetClusterGroupManifestUnauthorized) Error ¶
func (o *GetClusterGroupManifestUnauthorized) Error() string
func (*GetClusterGroupManifestUnauthorized) GetPayload ¶
func (o *GetClusterGroupManifestUnauthorized) GetPayload() *models.ZsrvResponse
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 ¶
func (o *GetClusterGroupManifestUnauthorized) IsCode(code int) bool
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 ¶
func (o *GetClusterGroupManifestUnauthorized) IsSuccess() bool
IsSuccess returns true when this cluster groups get cluster group manifest unauthorized response has a 2xx status code
func (*GetClusterGroupManifestUnauthorized) String ¶
func (o *GetClusterGroupManifestUnauthorized) String() 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 ¶
func (o *GetClusterGroupsStatusBadRequest) Code() int
Code gets the status code for the cluster groups get cluster groups status bad request response
func (*GetClusterGroupsStatusBadRequest) Error ¶
func (o *GetClusterGroupsStatusBadRequest) Error() string
func (*GetClusterGroupsStatusBadRequest) GetPayload ¶
func (o *GetClusterGroupsStatusBadRequest) GetPayload() *models.ZsrvResponse
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 ¶
func (o *GetClusterGroupsStatusBadRequest) String() 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 ¶
func (o *GetClusterGroupsStatusDefault) Code() int
Code gets the status code for the cluster groups get cluster groups status default response
func (*GetClusterGroupsStatusDefault) Error ¶
func (o *GetClusterGroupsStatusDefault) Error() string
func (*GetClusterGroupsStatusDefault) GetPayload ¶
func (o *GetClusterGroupsStatusDefault) GetPayload() *models.GooglerpcStatus
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 ¶
func (o *GetClusterGroupsStatusDefault) String() 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 ¶
func (o *GetClusterGroupsStatusForbidden) Code() int
Code gets the status code for the cluster groups get cluster groups status forbidden response
func (*GetClusterGroupsStatusForbidden) Error ¶
func (o *GetClusterGroupsStatusForbidden) Error() string
func (*GetClusterGroupsStatusForbidden) GetPayload ¶
func (o *GetClusterGroupsStatusForbidden) GetPayload() *models.ZsrvResponse
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 ¶
func (o *GetClusterGroupsStatusForbidden) String() 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 ¶
func (o *GetClusterGroupsStatusGatewayTimeout) Code() int
Code gets the status code for the cluster groups get cluster groups status gateway timeout response
func (*GetClusterGroupsStatusGatewayTimeout) Error ¶
func (o *GetClusterGroupsStatusGatewayTimeout) Error() string
func (*GetClusterGroupsStatusGatewayTimeout) GetPayload ¶
func (o *GetClusterGroupsStatusGatewayTimeout) GetPayload() *models.ZsrvResponse
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 ¶
func (o *GetClusterGroupsStatusGatewayTimeout) IsCode(code int) bool
IsCode returns true when this cluster groups get cluster groups status gateway timeout response a status code equal to that given
func (*GetClusterGroupsStatusGatewayTimeout) IsRedirect ¶
func (o *GetClusterGroupsStatusGatewayTimeout) IsRedirect() bool
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 ¶
func (o *GetClusterGroupsStatusGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this cluster groups get cluster groups status gateway timeout response has a 2xx status code
func (*GetClusterGroupsStatusGatewayTimeout) String ¶
func (o *GetClusterGroupsStatusGatewayTimeout) String() 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 ¶
func (o *GetClusterGroupsStatusInternalServerError) Code() int
Code gets the status code for the cluster groups get cluster groups status internal server error response
func (*GetClusterGroupsStatusInternalServerError) Error ¶
func (o *GetClusterGroupsStatusInternalServerError) Error() string
func (*GetClusterGroupsStatusInternalServerError) GetPayload ¶
func (o *GetClusterGroupsStatusInternalServerError) GetPayload() *models.ZsrvResponse
func (*GetClusterGroupsStatusInternalServerError) IsClientError ¶
func (o *GetClusterGroupsStatusInternalServerError) IsClientError() bool
IsClientError returns true when this cluster groups get cluster groups status internal server error response has a 4xx status code
func (*GetClusterGroupsStatusInternalServerError) IsCode ¶
func (o *GetClusterGroupsStatusInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetClusterGroupsStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this cluster groups get cluster groups status internal server error response has a 3xx status code
func (*GetClusterGroupsStatusInternalServerError) IsServerError ¶
func (o *GetClusterGroupsStatusInternalServerError) IsServerError() bool
IsServerError returns true when this cluster groups get cluster groups status internal server error response has a 5xx status code
func (*GetClusterGroupsStatusInternalServerError) IsSuccess ¶
func (o *GetClusterGroupsStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this cluster groups get cluster groups status internal server error response has a 2xx status code
func (*GetClusterGroupsStatusInternalServerError) String ¶
func (o *GetClusterGroupsStatusInternalServerError) String() 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 (o *GetClusterGroupsStatusOK) GetPayload() *models.ClusterGroupStatusListResp
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 ¶
func (o *GetClusterGroupsStatusParams) WithContext(ctx context.Context) *GetClusterGroupsStatusParams
WithContext adds the context to the cluster groups get cluster groups status params
func (*GetClusterGroupsStatusParams) WithDefaults ¶
func (o *GetClusterGroupsStatusParams) WithDefaults() *GetClusterGroupsStatusParams
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 ¶
func (o *GetClusterGroupsStatusParams) WithHTTPClient(client *http.Client) *GetClusterGroupsStatusParams
WithHTTPClient adds the HTTPClient to the cluster groups get cluster groups status params
func (*GetClusterGroupsStatusParams) WithTimeout ¶
func (o *GetClusterGroupsStatusParams) WithTimeout(timeout time.Duration) *GetClusterGroupsStatusParams
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 ¶
func (o *GetClusterGroupsStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}
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 ¶
func (o *GetClusterGroupsStatusUnauthorized) Code() int
Code gets the status code for the cluster groups get cluster groups status unauthorized response
func (*GetClusterGroupsStatusUnauthorized) Error ¶
func (o *GetClusterGroupsStatusUnauthorized) Error() string
func (*GetClusterGroupsStatusUnauthorized) GetPayload ¶
func (o *GetClusterGroupsStatusUnauthorized) GetPayload() *models.ZsrvResponse
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 ¶
func (o *GetClusterGroupsStatusUnauthorized) IsCode(code int) bool
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 ¶
func (o *GetClusterGroupsStatusUnauthorized) IsSuccess() bool
IsSuccess returns true when this cluster groups get cluster groups status unauthorized response has a 2xx status code
func (*GetClusterGroupsStatusUnauthorized) String ¶
func (o *GetClusterGroupsStatusUnauthorized) String() string