cluster

package
v2.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for edge node cluster configuration API

func (*Client) CreateCluster

func (a *Client) CreateCluster(params *CreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOK, error)

CreateCluster creates edge node cluster

Creates an Edge-Node Cluster record.

func (*Client) DeleteCluster

func (a *Client) DeleteCluster(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOK, error)

DeleteCluster deletes edge node cluster

Delete an Edge-Node Cluster record.

func (*Client) GetCluster

func (a *Client) GetCluster(params *GetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOK, error)

GetCluster gets edge node cluster

Get the configuration of a Edge-Node Cluster record.

func (*Client) GetClusterByName

func (a *Client) GetClusterByName(params *GetByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetByNameOK, error)

GetClusterByName gets edge node cluster

Get the configuration of a Edge-Node Cluster record.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCluster

func (a *Client) UpdateCluster(params *UpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOK, error)

UpdateCluster updates edge node cluster

Update an Edge-Node Cluster record. The usual pattern to update an Edge-Node Cluster record is to retrieve the record and update with the modified values in a new body.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateCluster(params *CreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOK, error)

	DeleteCluster(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOK, error)

	GetCluster(params *GetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOK, error)

	GetClusterByName(params *GetByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetByNameOK, error)

	UpdateCluster(params *UpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOK, 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 edge node cluster configuration API client.

type CreateBadRequest

type CreateBadRequest struct {
	Payload *models.ZsrvResponse
}

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

Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.

func NewCreateBadRequest

func NewCreateBadRequest() *CreateBadRequest

NewCreateBadRequest creates a CreateBadRequest with default headers values

func (*CreateBadRequest) Code

func (o *CreateBadRequest) Code() int

Code gets the status code for the edge node cluster configuration create cluster bad request response

func (*CreateBadRequest) Error

func (o *CreateBadRequest) Error() string

func (*CreateBadRequest) GetPayload

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

func (*CreateBadRequest) IsClientError

func (o *CreateBadRequest) IsClientError() bool

IsClientError returns true when this edge node cluster configuration create cluster bad request response has a 4xx status code

func (*CreateBadRequest) IsCode

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

IsCode returns true when this edge node cluster configuration create cluster bad request response a status code equal to that given

func (*CreateBadRequest) IsRedirect

func (o *CreateBadRequest) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration create cluster bad request response has a 3xx status code

func (*CreateBadRequest) IsServerError

func (o *CreateBadRequest) IsServerError() bool

IsServerError returns true when this edge node cluster configuration create cluster bad request response has a 5xx status code

func (*CreateBadRequest) IsSuccess

func (o *CreateBadRequest) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration create cluster bad request response has a 2xx status code

func (*CreateBadRequest) String

func (o *CreateBadRequest) String() string

type CreateConflict

type CreateConflict struct {
	Payload *models.ZsrvResponse
}

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

Conflict. The API gateway did not process the request because this edge-node cluster record will conflict with an already existing edge-node cluster record.

func NewCreateConflict

func NewCreateConflict() *CreateConflict

NewCreateConflict creates a CreateConflict with default headers values

func (*CreateConflict) Code

func (o *CreateConflict) Code() int

Code gets the status code for the edge node cluster configuration create cluster conflict response

func (*CreateConflict) Error

func (o *CreateConflict) Error() string

func (*CreateConflict) GetPayload

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

func (*CreateConflict) IsClientError

func (o *CreateConflict) IsClientError() bool

IsClientError returns true when this edge node cluster configuration create cluster conflict response has a 4xx status code

func (*CreateConflict) IsCode

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

IsCode returns true when this edge node cluster configuration create cluster conflict response a status code equal to that given

func (*CreateConflict) IsRedirect

func (o *CreateConflict) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration create cluster conflict response has a 3xx status code

func (*CreateConflict) IsServerError

func (o *CreateConflict) IsServerError() bool

IsServerError returns true when this edge node cluster configuration create cluster conflict response has a 5xx status code

func (*CreateConflict) IsSuccess

func (o *CreateConflict) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration create cluster conflict response has a 2xx status code

func (*CreateConflict) String

func (o *CreateConflict) String() string

type CreateDefault

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

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

An unexpected error response.

func NewCreateDefault

func NewCreateDefault(code int) *CreateDefault

NewCreateDefault creates a CreateDefault with default headers values

func (*CreateDefault) Code

func (o *CreateDefault) Code() int

Code gets the status code for the edge node cluster configuration create cluster default response

func (*CreateDefault) Error

func (o *CreateDefault) Error() string

func (*CreateDefault) GetPayload

func (o *CreateDefault) GetPayload() *models.GooglerpcStatus

func (*CreateDefault) IsClientError

func (o *CreateDefault) IsClientError() bool

IsClientError returns true when this edge node cluster configuration create cluster default response has a 4xx status code

func (*CreateDefault) IsCode

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

IsCode returns true when this edge node cluster configuration create cluster default response a status code equal to that given

func (*CreateDefault) IsRedirect

func (o *CreateDefault) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration create cluster default response has a 3xx status code

func (*CreateDefault) IsServerError

func (o *CreateDefault) IsServerError() bool

IsServerError returns true when this edge node cluster configuration create cluster default response has a 5xx status code

func (*CreateDefault) IsSuccess

func (o *CreateDefault) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration create cluster default response has a 2xx status code

func (*CreateDefault) String

func (o *CreateDefault) String() string

type CreateForbidden

type CreateForbidden struct {
	Payload *models.ZsrvResponse
}

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

Forbidden. The API gateway did not process the request because the requestor does not have application level access permission for the operation or does not have access scope to the project.

func NewCreateForbidden

func NewCreateForbidden() *CreateForbidden

NewCreateForbidden creates a CreateForbidden with default headers values

func (*CreateForbidden) Code

func (o *CreateForbidden) Code() int

Code gets the status code for the edge node cluster configuration create cluster forbidden response

func (*CreateForbidden) Error

func (o *CreateForbidden) Error() string

func (*CreateForbidden) GetPayload

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

func (*CreateForbidden) IsClientError

func (o *CreateForbidden) IsClientError() bool

IsClientError returns true when this edge node cluster configuration create cluster forbidden response has a 4xx status code

func (*CreateForbidden) IsCode

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

IsCode returns true when this edge node cluster configuration create cluster forbidden response a status code equal to that given

func (*CreateForbidden) IsRedirect

func (o *CreateForbidden) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration create cluster forbidden response has a 3xx status code

func (*CreateForbidden) IsServerError

func (o *CreateForbidden) IsServerError() bool

IsServerError returns true when this edge node cluster configuration create cluster forbidden response has a 5xx status code

func (*CreateForbidden) IsSuccess

func (o *CreateForbidden) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration create cluster forbidden response has a 2xx status code

func (*CreateForbidden) String

func (o *CreateForbidden) String() string

type CreateGatewayTimeout

type CreateGatewayTimeout struct {
	Payload *models.ZsrvResponse
}

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

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewCreateGatewayTimeout

func NewCreateGatewayTimeout() *CreateGatewayTimeout

NewCreateGatewayTimeout creates a CreateGatewayTimeout with default headers values

func (*CreateGatewayTimeout) Code

func (o *CreateGatewayTimeout) Code() int

Code gets the status code for the edge node cluster configuration create cluster gateway timeout response

func (*CreateGatewayTimeout) Error

func (o *CreateGatewayTimeout) Error() string

func (*CreateGatewayTimeout) GetPayload

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

func (*CreateGatewayTimeout) IsClientError

func (o *CreateGatewayTimeout) IsClientError() bool

IsClientError returns true when this edge node cluster configuration create cluster gateway timeout response has a 4xx status code

func (*CreateGatewayTimeout) IsCode

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

IsCode returns true when this edge node cluster configuration create cluster gateway timeout response a status code equal to that given

func (*CreateGatewayTimeout) IsRedirect

func (o *CreateGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration create cluster gateway timeout response has a 3xx status code

func (*CreateGatewayTimeout) IsServerError

func (o *CreateGatewayTimeout) IsServerError() bool

IsServerError returns true when this edge node cluster configuration create cluster gateway timeout response has a 5xx status code

func (*CreateGatewayTimeout) IsSuccess

func (o *CreateGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration create cluster gateway timeout response has a 2xx status code

func (*CreateGatewayTimeout) String

func (o *CreateGatewayTimeout) String() string

type CreateInternalServerError

type CreateInternalServerError struct {
	Payload *models.ZsrvResponse
}

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

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewCreateInternalServerError

func NewCreateInternalServerError() *CreateInternalServerError

NewCreateInternalServerError creates a CreateInternalServerError with default headers values

func (*CreateInternalServerError) Code

func (o *CreateInternalServerError) Code() int

Code gets the status code for the edge node cluster configuration create cluster internal server error response

func (*CreateInternalServerError) Error

func (o *CreateInternalServerError) Error() string

func (*CreateInternalServerError) GetPayload

func (*CreateInternalServerError) IsClientError

func (o *CreateInternalServerError) IsClientError() bool

IsClientError returns true when this edge node cluster configuration create cluster internal server error response has a 4xx status code

func (*CreateInternalServerError) IsCode

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

IsCode returns true when this edge node cluster configuration create cluster internal server error response a status code equal to that given

func (*CreateInternalServerError) IsRedirect

func (o *CreateInternalServerError) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration create cluster internal server error response has a 3xx status code

func (*CreateInternalServerError) IsServerError

func (o *CreateInternalServerError) IsServerError() bool

IsServerError returns true when this edge node cluster configuration create cluster internal server error response has a 5xx status code

func (*CreateInternalServerError) IsSuccess

func (o *CreateInternalServerError) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration create cluster internal server error response has a 2xx status code

func (*CreateInternalServerError) String

func (o *CreateInternalServerError) String() string

type CreateNotFound

type CreateNotFound struct {
	Payload *models.ZsrvResponse
}

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

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewCreateNotFound

func NewCreateNotFound() *CreateNotFound

NewCreateNotFound creates a CreateNotFound with default headers values

func (*CreateNotFound) Code

func (o *CreateNotFound) Code() int

Code gets the status code for the edge node cluster configuration create cluster not found response

func (*CreateNotFound) Error

func (o *CreateNotFound) Error() string

func (*CreateNotFound) GetPayload

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

func (*CreateNotFound) IsClientError

func (o *CreateNotFound) IsClientError() bool

IsClientError returns true when this edge node cluster configuration create cluster not found response has a 4xx status code

func (*CreateNotFound) IsCode

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

IsCode returns true when this edge node cluster configuration create cluster not found response a status code equal to that given

func (*CreateNotFound) IsRedirect

func (o *CreateNotFound) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration create cluster not found response has a 3xx status code

func (*CreateNotFound) IsServerError

func (o *CreateNotFound) IsServerError() bool

IsServerError returns true when this edge node cluster configuration create cluster not found response has a 5xx status code

func (*CreateNotFound) IsSuccess

func (o *CreateNotFound) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration create cluster not found response has a 2xx status code

func (*CreateNotFound) String

func (o *CreateNotFound) String() string

type CreateOK

type CreateOK struct {
	Payload *models.ZsrvResponse
}

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

A successful response.

func NewCreateOK

func NewCreateOK() *CreateOK

NewCreateOK creates a CreateOK with default headers values

func (*CreateOK) Code

func (o *CreateOK) Code() int

Code gets the status code for the edge node cluster configuration create cluster o k response

func (*CreateOK) Error

func (o *CreateOK) Error() string

func (*CreateOK) GetPayload

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

func (*CreateOK) IsClientError

func (o *CreateOK) IsClientError() bool

IsClientError returns true when this edge node cluster configuration create cluster o k response has a 4xx status code

func (*CreateOK) IsCode

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

IsCode returns true when this edge node cluster configuration create cluster o k response a status code equal to that given

func (*CreateOK) IsRedirect

func (o *CreateOK) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration create cluster o k response has a 3xx status code

func (*CreateOK) IsServerError

func (o *CreateOK) IsServerError() bool

IsServerError returns true when this edge node cluster configuration create cluster o k response has a 5xx status code

func (*CreateOK) IsSuccess

func (o *CreateOK) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration create cluster o k response has a 2xx status code

func (*CreateOK) String

func (o *CreateOK) String() string

type CreateParams

type CreateParams struct {

	/* XRequestID.

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

	// Body.
	Body *models.Cluster

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

CreateParams contains all the parameters to send to the API endpoint

for the edge node cluster configuration create cluster operation.

Typically these are written to a http.Request.

func NewCreateParams

func NewCreateParams() *CreateParams

NewCreateParams creates a new CreateParams 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 NewCreateParamsWithContext

func NewCreateParamsWithContext(ctx context.Context) *CreateParams

NewCreateParamsWithContext creates a new CreateParams object with the ability to set a context for a request.

func NewCreateParamsWithHTTPClient

func NewCreateParamsWithHTTPClient(client *http.Client) *CreateParams

NewCreateParamsWithHTTPClient creates a new CreateParams object with the ability to set a custom HTTPClient for a request.

func NewCreateParamsWithTimeout

func NewCreateParamsWithTimeout(timeout time.Duration) *CreateParams

NewCreateParamsWithTimeout creates a new CreateParams object with the ability to set a timeout on a request.

func (*CreateParams) SetBody

func (o *CreateParams) SetBody(body *models.Cluster)

SetBody adds the body to the edge node cluster configuration create cluster params

func (*CreateParams) SetContext

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

SetContext adds the context to the edge node cluster configuration create cluster params

func (*CreateParams) SetDefaults

func (o *CreateParams) SetDefaults()

SetDefaults hydrates default values in the edge node cluster configuration create cluster params (not the query body).

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

func (*CreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the edge node cluster configuration create cluster params

func (*CreateParams) SetTimeout

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

SetTimeout adds the timeout to the edge node cluster configuration create cluster params

func (*CreateParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the edge node cluster configuration create cluster params

func (*CreateParams) WithBody

func (o *CreateParams) WithBody(body *models.Cluster) *CreateParams

WithBody adds the body to the edge node cluster configuration create cluster params

func (*CreateParams) WithContext

func (o *CreateParams) WithContext(ctx context.Context) *CreateParams

WithContext adds the context to the edge node cluster configuration create cluster params

func (*CreateParams) WithDefaults

func (o *CreateParams) WithDefaults() *CreateParams

WithDefaults hydrates default values in the edge node cluster configuration create cluster params (not the query body).

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

func (*CreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the edge node cluster configuration create cluster params

func (*CreateParams) WithTimeout

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

WithTimeout adds the timeout to the edge node cluster configuration create cluster params

func (*CreateParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the edge node cluster configuration create cluster params

func (*CreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreatePreconditionFailed

type CreatePreconditionFailed struct {
	Payload *models.ZsrvResponse
}

CreatePreconditionFailed describes a response with status code 412, with default header values.

Precondition failed. Some of preconditions haven't been met to start request processing.

func NewCreatePreconditionFailed

func NewCreatePreconditionFailed() *CreatePreconditionFailed

NewCreatePreconditionFailed creates a CreatePreconditionFailed with default headers values

func (*CreatePreconditionFailed) Code

func (o *CreatePreconditionFailed) Code() int

Code gets the status code for the edge node cluster configuration create cluster precondition failed response

func (*CreatePreconditionFailed) Error

func (o *CreatePreconditionFailed) Error() string

func (*CreatePreconditionFailed) GetPayload

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

func (*CreatePreconditionFailed) IsClientError

func (o *CreatePreconditionFailed) IsClientError() bool

IsClientError returns true when this edge node cluster configuration create cluster precondition failed response has a 4xx status code

func (*CreatePreconditionFailed) IsCode

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

IsCode returns true when this edge node cluster configuration create cluster precondition failed response a status code equal to that given

func (*CreatePreconditionFailed) IsRedirect

func (o *CreatePreconditionFailed) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration create cluster precondition failed response has a 3xx status code

func (*CreatePreconditionFailed) IsServerError

func (o *CreatePreconditionFailed) IsServerError() bool

IsServerError returns true when this edge node cluster configuration create cluster precondition failed response has a 5xx status code

func (*CreatePreconditionFailed) IsSuccess

func (o *CreatePreconditionFailed) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration create cluster precondition failed response has a 2xx status code

func (*CreatePreconditionFailed) String

func (o *CreatePreconditionFailed) String() string

type CreateReader

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

CreateReader is a Reader for the Create structure.

func (*CreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateUnauthorized

type CreateUnauthorized struct {
	Payload *models.ZsrvResponse
}

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

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewCreateUnauthorized

func NewCreateUnauthorized() *CreateUnauthorized

NewCreateUnauthorized creates a CreateUnauthorized with default headers values

func (*CreateUnauthorized) Code

func (o *CreateUnauthorized) Code() int

Code gets the status code for the edge node cluster configuration create cluster unauthorized response

func (*CreateUnauthorized) Error

func (o *CreateUnauthorized) Error() string

func (*CreateUnauthorized) GetPayload

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

func (*CreateUnauthorized) IsClientError

func (o *CreateUnauthorized) IsClientError() bool

IsClientError returns true when this edge node cluster configuration create cluster unauthorized response has a 4xx status code

func (*CreateUnauthorized) IsCode

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

IsCode returns true when this edge node cluster configuration create cluster unauthorized response a status code equal to that given

func (*CreateUnauthorized) IsRedirect

func (o *CreateUnauthorized) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration create cluster unauthorized response has a 3xx status code

func (*CreateUnauthorized) IsServerError

func (o *CreateUnauthorized) IsServerError() bool

IsServerError returns true when this edge node cluster configuration create cluster unauthorized response has a 5xx status code

func (*CreateUnauthorized) IsSuccess

func (o *CreateUnauthorized) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration create cluster unauthorized response has a 2xx status code

func (*CreateUnauthorized) String

func (o *CreateUnauthorized) String() string

type DeleteBadRequest

type DeleteBadRequest struct {
	Payload *models.ZsrvResponse
}

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

Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.

func NewDeleteBadRequest

func NewDeleteBadRequest() *DeleteBadRequest

NewDeleteBadRequest creates a DeleteBadRequest with default headers values

func (*DeleteBadRequest) Code

func (o *DeleteBadRequest) Code() int

Code gets the status code for the edge node cluster configuration delete cluster bad request response

func (*DeleteBadRequest) Error

func (o *DeleteBadRequest) Error() string

func (*DeleteBadRequest) GetPayload

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

func (*DeleteBadRequest) IsClientError

func (o *DeleteBadRequest) IsClientError() bool

IsClientError returns true when this edge node cluster configuration delete cluster bad request response has a 4xx status code

func (*DeleteBadRequest) IsCode

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

IsCode returns true when this edge node cluster configuration delete cluster bad request response a status code equal to that given

func (*DeleteBadRequest) IsRedirect

func (o *DeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration delete cluster bad request response has a 3xx status code

func (*DeleteBadRequest) IsServerError

func (o *DeleteBadRequest) IsServerError() bool

IsServerError returns true when this edge node cluster configuration delete cluster bad request response has a 5xx status code

func (*DeleteBadRequest) IsSuccess

func (o *DeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration delete cluster bad request response has a 2xx status code

func (*DeleteBadRequest) String

func (o *DeleteBadRequest) String() string

type DeleteConflict

type DeleteConflict struct {
	Payload *models.ZsrvResponse
}

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

Conflict. The API gateway did not process the request because this edge-node cluster record will conflict with an already existing edge-node cluster record.

func NewDeleteConflict

func NewDeleteConflict() *DeleteConflict

NewDeleteConflict creates a DeleteConflict with default headers values

func (*DeleteConflict) Code

func (o *DeleteConflict) Code() int

Code gets the status code for the edge node cluster configuration delete cluster conflict response

func (*DeleteConflict) Error

func (o *DeleteConflict) Error() string

func (*DeleteConflict) GetPayload

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

func (*DeleteConflict) IsClientError

func (o *DeleteConflict) IsClientError() bool

IsClientError returns true when this edge node cluster configuration delete cluster conflict response has a 4xx status code

func (*DeleteConflict) IsCode

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

IsCode returns true when this edge node cluster configuration delete cluster conflict response a status code equal to that given

func (*DeleteConflict) IsRedirect

func (o *DeleteConflict) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration delete cluster conflict response has a 3xx status code

func (*DeleteConflict) IsServerError

func (o *DeleteConflict) IsServerError() bool

IsServerError returns true when this edge node cluster configuration delete cluster conflict response has a 5xx status code

func (*DeleteConflict) IsSuccess

func (o *DeleteConflict) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration delete cluster conflict response has a 2xx status code

func (*DeleteConflict) String

func (o *DeleteConflict) String() string

type DeleteDefault

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

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

An unexpected error response.

func NewDeleteDefault

func NewDeleteDefault(code int) *DeleteDefault

NewDeleteDefault creates a DeleteDefault with default headers values

func (*DeleteDefault) Code

func (o *DeleteDefault) Code() int

Code gets the status code for the edge node cluster configuration delete cluster default response

func (*DeleteDefault) Error

func (o *DeleteDefault) Error() string

func (*DeleteDefault) GetPayload

func (o *DeleteDefault) GetPayload() *models.GooglerpcStatus

func (*DeleteDefault) IsClientError

func (o *DeleteDefault) IsClientError() bool

IsClientError returns true when this edge node cluster configuration delete cluster default response has a 4xx status code

func (*DeleteDefault) IsCode

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

IsCode returns true when this edge node cluster configuration delete cluster default response a status code equal to that given

func (*DeleteDefault) IsRedirect

func (o *DeleteDefault) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration delete cluster default response has a 3xx status code

func (*DeleteDefault) IsServerError

func (o *DeleteDefault) IsServerError() bool

IsServerError returns true when this edge node cluster configuration delete cluster default response has a 5xx status code

func (*DeleteDefault) IsSuccess

func (o *DeleteDefault) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration delete cluster default response has a 2xx status code

func (*DeleteDefault) String

func (o *DeleteDefault) String() string

type DeleteForbidden

type DeleteForbidden struct {
	Payload *models.ZsrvResponse
}

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

Forbidden. The API gateway did not process the request because the requestor does not have application level access permission for the operation or does not have access scope to the project.

func NewDeleteForbidden

func NewDeleteForbidden() *DeleteForbidden

NewDeleteForbidden creates a DeleteForbidden with default headers values

func (*DeleteForbidden) Code

func (o *DeleteForbidden) Code() int

Code gets the status code for the edge node cluster configuration delete cluster forbidden response

func (*DeleteForbidden) Error

func (o *DeleteForbidden) Error() string

func (*DeleteForbidden) GetPayload

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

func (*DeleteForbidden) IsClientError

func (o *DeleteForbidden) IsClientError() bool

IsClientError returns true when this edge node cluster configuration delete cluster forbidden response has a 4xx status code

func (*DeleteForbidden) IsCode

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

IsCode returns true when this edge node cluster configuration delete cluster forbidden response a status code equal to that given

func (*DeleteForbidden) IsRedirect

func (o *DeleteForbidden) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration delete cluster forbidden response has a 3xx status code

func (*DeleteForbidden) IsServerError

func (o *DeleteForbidden) IsServerError() bool

IsServerError returns true when this edge node cluster configuration delete cluster forbidden response has a 5xx status code

func (*DeleteForbidden) IsSuccess

func (o *DeleteForbidden) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration delete cluster forbidden response has a 2xx status code

func (*DeleteForbidden) String

func (o *DeleteForbidden) String() string

type DeleteGatewayTimeout

type DeleteGatewayTimeout struct {
	Payload *models.ZsrvResponse
}

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

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewDeleteGatewayTimeout

func NewDeleteGatewayTimeout() *DeleteGatewayTimeout

NewDeleteGatewayTimeout creates a DeleteGatewayTimeout with default headers values

func (*DeleteGatewayTimeout) Code

func (o *DeleteGatewayTimeout) Code() int

Code gets the status code for the edge node cluster configuration delete cluster gateway timeout response

func (*DeleteGatewayTimeout) Error

func (o *DeleteGatewayTimeout) Error() string

func (*DeleteGatewayTimeout) GetPayload

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

func (*DeleteGatewayTimeout) IsClientError

func (o *DeleteGatewayTimeout) IsClientError() bool

IsClientError returns true when this edge node cluster configuration delete cluster gateway timeout response has a 4xx status code

func (*DeleteGatewayTimeout) IsCode

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

IsCode returns true when this edge node cluster configuration delete cluster gateway timeout response a status code equal to that given

func (*DeleteGatewayTimeout) IsRedirect

func (o *DeleteGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration delete cluster gateway timeout response has a 3xx status code

func (*DeleteGatewayTimeout) IsServerError

func (o *DeleteGatewayTimeout) IsServerError() bool

IsServerError returns true when this edge node cluster configuration delete cluster gateway timeout response has a 5xx status code

func (*DeleteGatewayTimeout) IsSuccess

func (o *DeleteGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration delete cluster gateway timeout response has a 2xx status code

func (*DeleteGatewayTimeout) String

func (o *DeleteGatewayTimeout) String() string

type DeleteInternalServerError

type DeleteInternalServerError struct {
	Payload *models.ZsrvResponse
}

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

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewDeleteInternalServerError

func NewDeleteInternalServerError() *DeleteInternalServerError

NewDeleteInternalServerError creates a DeleteInternalServerError with default headers values

func (*DeleteInternalServerError) Code

func (o *DeleteInternalServerError) Code() int

Code gets the status code for the edge node cluster configuration delete cluster internal server error response

func (*DeleteInternalServerError) Error

func (o *DeleteInternalServerError) Error() string

func (*DeleteInternalServerError) GetPayload

func (*DeleteInternalServerError) IsClientError

func (o *DeleteInternalServerError) IsClientError() bool

IsClientError returns true when this edge node cluster configuration delete cluster internal server error response has a 4xx status code

func (*DeleteInternalServerError) IsCode

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

IsCode returns true when this edge node cluster configuration delete cluster internal server error response a status code equal to that given

func (*DeleteInternalServerError) IsRedirect

func (o *DeleteInternalServerError) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration delete cluster internal server error response has a 3xx status code

func (*DeleteInternalServerError) IsServerError

func (o *DeleteInternalServerError) IsServerError() bool

IsServerError returns true when this edge node cluster configuration delete cluster internal server error response has a 5xx status code

func (*DeleteInternalServerError) IsSuccess

func (o *DeleteInternalServerError) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration delete cluster internal server error response has a 2xx status code

func (*DeleteInternalServerError) String

func (o *DeleteInternalServerError) String() string

type DeleteNotFound

type DeleteNotFound struct {
	Payload *models.ZsrvResponse
}

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

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewDeleteNotFound

func NewDeleteNotFound() *DeleteNotFound

NewDeleteNotFound creates a DeleteNotFound with default headers values

func (*DeleteNotFound) Code

func (o *DeleteNotFound) Code() int

Code gets the status code for the edge node cluster configuration delete cluster not found response

func (*DeleteNotFound) Error

func (o *DeleteNotFound) Error() string

func (*DeleteNotFound) GetPayload

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

func (*DeleteNotFound) IsClientError

func (o *DeleteNotFound) IsClientError() bool

IsClientError returns true when this edge node cluster configuration delete cluster not found response has a 4xx status code

func (*DeleteNotFound) IsCode

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

IsCode returns true when this edge node cluster configuration delete cluster not found response a status code equal to that given

func (*DeleteNotFound) IsRedirect

func (o *DeleteNotFound) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration delete cluster not found response has a 3xx status code

func (*DeleteNotFound) IsServerError

func (o *DeleteNotFound) IsServerError() bool

IsServerError returns true when this edge node cluster configuration delete cluster not found response has a 5xx status code

func (*DeleteNotFound) IsSuccess

func (o *DeleteNotFound) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration delete cluster not found response has a 2xx status code

func (*DeleteNotFound) String

func (o *DeleteNotFound) String() string

type DeleteOK

type DeleteOK struct {
	Payload *models.ZsrvResponse
}

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

A successful response.

func NewDeleteOK

func NewDeleteOK() *DeleteOK

NewDeleteOK creates a DeleteOK with default headers values

func (*DeleteOK) Code

func (o *DeleteOK) Code() int

Code gets the status code for the edge node cluster configuration delete cluster o k response

func (*DeleteOK) Error

func (o *DeleteOK) Error() string

func (*DeleteOK) GetPayload

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

func (*DeleteOK) IsClientError

func (o *DeleteOK) IsClientError() bool

IsClientError returns true when this edge node cluster configuration delete cluster o k response has a 4xx status code

func (*DeleteOK) IsCode

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

IsCode returns true when this edge node cluster configuration delete cluster o k response a status code equal to that given

func (*DeleteOK) IsRedirect

func (o *DeleteOK) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration delete cluster o k response has a 3xx status code

func (*DeleteOK) IsServerError

func (o *DeleteOK) IsServerError() bool

IsServerError returns true when this edge node cluster configuration delete cluster o k response has a 5xx status code

func (*DeleteOK) IsSuccess

func (o *DeleteOK) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration delete cluster o k response has a 2xx status code

func (*DeleteOK) String

func (o *DeleteOK) String() string

type DeleteParams

type DeleteParams struct {

	/* XRequestID.

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

	/* ID.

	   System defined universally unique Id of the cluster
	*/
	ID string

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

DeleteParams contains all the parameters to send to the API endpoint

for the edge node cluster configuration delete cluster operation.

Typically these are written to a http.Request.

func NewDeleteParams

func NewDeleteParams() *DeleteParams

NewDeleteParams creates a new DeleteParams 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 NewDeleteParamsWithContext

func NewDeleteParamsWithContext(ctx context.Context) *DeleteParams

NewDeleteParamsWithContext creates a new DeleteParams object with the ability to set a context for a request.

func NewDeleteParamsWithHTTPClient

func NewDeleteParamsWithHTTPClient(client *http.Client) *DeleteParams

NewDeleteParamsWithHTTPClient creates a new DeleteParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteParamsWithTimeout

func NewDeleteParamsWithTimeout(timeout time.Duration) *DeleteParams

NewDeleteParamsWithTimeout creates a new DeleteParams object with the ability to set a timeout on a request.

func (*DeleteParams) SetContext

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

SetContext adds the context to the edge node cluster configuration delete cluster params

func (*DeleteParams) SetDefaults

func (o *DeleteParams) SetDefaults()

SetDefaults hydrates default values in the edge node cluster configuration delete cluster params (not the query body).

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

func (*DeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the edge node cluster configuration delete cluster params

func (*DeleteParams) SetID

func (o *DeleteParams) SetID(id string)

SetID adds the id to the edge node cluster configuration delete cluster params

func (*DeleteParams) SetTimeout

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

SetTimeout adds the timeout to the edge node cluster configuration delete cluster params

func (*DeleteParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the edge node cluster configuration delete cluster params

func (*DeleteParams) WithContext

func (o *DeleteParams) WithContext(ctx context.Context) *DeleteParams

WithContext adds the context to the edge node cluster configuration delete cluster params

func (*DeleteParams) WithDefaults

func (o *DeleteParams) WithDefaults() *DeleteParams

WithDefaults hydrates default values in the edge node cluster configuration delete cluster params (not the query body).

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

func (*DeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the edge node cluster configuration delete cluster params

func (*DeleteParams) WithID

func (o *DeleteParams) WithID(id string) *DeleteParams

WithID adds the id to the edge node cluster configuration delete cluster params

func (*DeleteParams) WithTimeout

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

WithTimeout adds the timeout to the edge node cluster configuration delete cluster params

func (*DeleteParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the edge node cluster configuration delete cluster params

func (*DeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeletePreconditionFailed

type DeletePreconditionFailed struct {
	Payload *models.ZsrvResponse
}

DeletePreconditionFailed describes a response with status code 412, with default header values.

Precondition failed. Some of preconditions haven't been met to start request processing.

func NewDeletePreconditionFailed

func NewDeletePreconditionFailed() *DeletePreconditionFailed

NewDeletePreconditionFailed creates a DeletePreconditionFailed with default headers values

func (*DeletePreconditionFailed) Code

func (o *DeletePreconditionFailed) Code() int

Code gets the status code for the edge node cluster configuration delete cluster precondition failed response

func (*DeletePreconditionFailed) Error

func (o *DeletePreconditionFailed) Error() string

func (*DeletePreconditionFailed) GetPayload

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

func (*DeletePreconditionFailed) IsClientError

func (o *DeletePreconditionFailed) IsClientError() bool

IsClientError returns true when this edge node cluster configuration delete cluster precondition failed response has a 4xx status code

func (*DeletePreconditionFailed) IsCode

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

IsCode returns true when this edge node cluster configuration delete cluster precondition failed response a status code equal to that given

func (*DeletePreconditionFailed) IsRedirect

func (o *DeletePreconditionFailed) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration delete cluster precondition failed response has a 3xx status code

func (*DeletePreconditionFailed) IsServerError

func (o *DeletePreconditionFailed) IsServerError() bool

IsServerError returns true when this edge node cluster configuration delete cluster precondition failed response has a 5xx status code

func (*DeletePreconditionFailed) IsSuccess

func (o *DeletePreconditionFailed) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration delete cluster precondition failed response has a 2xx status code

func (*DeletePreconditionFailed) String

func (o *DeletePreconditionFailed) String() string

type DeleteReader

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

DeleteReader is a Reader for the Delete structure.

func (*DeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUnauthorized

type DeleteUnauthorized struct {
	Payload *models.ZsrvResponse
}

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

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewDeleteUnauthorized

func NewDeleteUnauthorized() *DeleteUnauthorized

NewDeleteUnauthorized creates a DeleteUnauthorized with default headers values

func (*DeleteUnauthorized) Code

func (o *DeleteUnauthorized) Code() int

Code gets the status code for the edge node cluster configuration delete cluster unauthorized response

func (*DeleteUnauthorized) Error

func (o *DeleteUnauthorized) Error() string

func (*DeleteUnauthorized) GetPayload

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

func (*DeleteUnauthorized) IsClientError

func (o *DeleteUnauthorized) IsClientError() bool

IsClientError returns true when this edge node cluster configuration delete cluster unauthorized response has a 4xx status code

func (*DeleteUnauthorized) IsCode

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

IsCode returns true when this edge node cluster configuration delete cluster unauthorized response a status code equal to that given

func (*DeleteUnauthorized) IsRedirect

func (o *DeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration delete cluster unauthorized response has a 3xx status code

func (*DeleteUnauthorized) IsServerError

func (o *DeleteUnauthorized) IsServerError() bool

IsServerError returns true when this edge node cluster configuration delete cluster unauthorized response has a 5xx status code

func (*DeleteUnauthorized) IsSuccess

func (o *DeleteUnauthorized) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration delete cluster unauthorized response has a 2xx status code

func (*DeleteUnauthorized) String

func (o *DeleteUnauthorized) String() string

type GetByNameConflict

type GetByNameConflict struct {
	Payload *models.ZsrvResponse
}

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

Conflict. The API gateway did not process the request because this edge-node cluster record will conflict with an already existing edge-node cluster record.

func NewGetByNameConflict

func NewGetByNameConflict() *GetByNameConflict

NewGetByNameConflict creates a GetByNameConflict with default headers values

func (*GetByNameConflict) Code

func (o *GetByNameConflict) Code() int

Code gets the status code for the edge node cluster configuration get cluster by name conflict response

func (*GetByNameConflict) Error

func (o *GetByNameConflict) Error() string

func (*GetByNameConflict) GetPayload

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

func (*GetByNameConflict) IsClientError

func (o *GetByNameConflict) IsClientError() bool

IsClientError returns true when this edge node cluster configuration get cluster by name conflict response has a 4xx status code

func (*GetByNameConflict) IsCode

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

IsCode returns true when this edge node cluster configuration get cluster by name conflict response a status code equal to that given

func (*GetByNameConflict) IsRedirect

func (o *GetByNameConflict) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration get cluster by name conflict response has a 3xx status code

func (*GetByNameConflict) IsServerError

func (o *GetByNameConflict) IsServerError() bool

IsServerError returns true when this edge node cluster configuration get cluster by name conflict response has a 5xx status code

func (*GetByNameConflict) IsSuccess

func (o *GetByNameConflict) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration get cluster by name conflict response has a 2xx status code

func (*GetByNameConflict) String

func (o *GetByNameConflict) String() string

type GetByNameDefault

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

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

An unexpected error response.

func NewGetByNameDefault

func NewGetByNameDefault(code int) *GetByNameDefault

NewGetByNameDefault creates a GetByNameDefault with default headers values

func (*GetByNameDefault) Code

func (o *GetByNameDefault) Code() int

Code gets the status code for the edge node cluster configuration get cluster by name default response

func (*GetByNameDefault) Error

func (o *GetByNameDefault) Error() string

func (*GetByNameDefault) GetPayload

func (o *GetByNameDefault) GetPayload() *models.GooglerpcStatus

func (*GetByNameDefault) IsClientError

func (o *GetByNameDefault) IsClientError() bool

IsClientError returns true when this edge node cluster configuration get cluster by name default response has a 4xx status code

func (*GetByNameDefault) IsCode

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

IsCode returns true when this edge node cluster configuration get cluster by name default response a status code equal to that given

func (*GetByNameDefault) IsRedirect

func (o *GetByNameDefault) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration get cluster by name default response has a 3xx status code

func (*GetByNameDefault) IsServerError

func (o *GetByNameDefault) IsServerError() bool

IsServerError returns true when this edge node cluster configuration get cluster by name default response has a 5xx status code

func (*GetByNameDefault) IsSuccess

func (o *GetByNameDefault) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration get cluster by name default response has a 2xx status code

func (*GetByNameDefault) String

func (o *GetByNameDefault) String() string

type GetByNameForbidden

type GetByNameForbidden struct {
	Payload *models.ZsrvResponse
}

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

Forbidden. The API gateway did not process the request because the requestor does not have application level access permission for the operation or does not have access scope to the project.

func NewGetByNameForbidden

func NewGetByNameForbidden() *GetByNameForbidden

NewGetByNameForbidden creates a GetByNameForbidden with default headers values

func (*GetByNameForbidden) Code

func (o *GetByNameForbidden) Code() int

Code gets the status code for the edge node cluster configuration get cluster by name forbidden response

func (*GetByNameForbidden) Error

func (o *GetByNameForbidden) Error() string

func (*GetByNameForbidden) GetPayload

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

func (*GetByNameForbidden) IsClientError

func (o *GetByNameForbidden) IsClientError() bool

IsClientError returns true when this edge node cluster configuration get cluster by name forbidden response has a 4xx status code

func (*GetByNameForbidden) IsCode

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

IsCode returns true when this edge node cluster configuration get cluster by name forbidden response a status code equal to that given

func (*GetByNameForbidden) IsRedirect

func (o *GetByNameForbidden) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration get cluster by name forbidden response has a 3xx status code

func (*GetByNameForbidden) IsServerError

func (o *GetByNameForbidden) IsServerError() bool

IsServerError returns true when this edge node cluster configuration get cluster by name forbidden response has a 5xx status code

func (*GetByNameForbidden) IsSuccess

func (o *GetByNameForbidden) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration get cluster by name forbidden response has a 2xx status code

func (*GetByNameForbidden) String

func (o *GetByNameForbidden) String() string

type GetByNameGatewayTimeout

type GetByNameGatewayTimeout struct {
	Payload *models.ZsrvResponse
}

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

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetByNameGatewayTimeout

func NewGetByNameGatewayTimeout() *GetByNameGatewayTimeout

NewGetByNameGatewayTimeout creates a GetByNameGatewayTimeout with default headers values

func (*GetByNameGatewayTimeout) Code

func (o *GetByNameGatewayTimeout) Code() int

Code gets the status code for the edge node cluster configuration get cluster by name gateway timeout response

func (*GetByNameGatewayTimeout) Error

func (o *GetByNameGatewayTimeout) Error() string

func (*GetByNameGatewayTimeout) GetPayload

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

func (*GetByNameGatewayTimeout) IsClientError

func (o *GetByNameGatewayTimeout) IsClientError() bool

IsClientError returns true when this edge node cluster configuration get cluster by name gateway timeout response has a 4xx status code

func (*GetByNameGatewayTimeout) IsCode

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

IsCode returns true when this edge node cluster configuration get cluster by name gateway timeout response a status code equal to that given

func (*GetByNameGatewayTimeout) IsRedirect

func (o *GetByNameGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration get cluster by name gateway timeout response has a 3xx status code

func (*GetByNameGatewayTimeout) IsServerError

func (o *GetByNameGatewayTimeout) IsServerError() bool

IsServerError returns true when this edge node cluster configuration get cluster by name gateway timeout response has a 5xx status code

func (*GetByNameGatewayTimeout) IsSuccess

func (o *GetByNameGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration get cluster by name gateway timeout response has a 2xx status code

func (*GetByNameGatewayTimeout) String

func (o *GetByNameGatewayTimeout) String() string

type GetByNameInternalServerError

type GetByNameInternalServerError struct {
	Payload *models.ZsrvResponse
}

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

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetByNameInternalServerError

func NewGetByNameInternalServerError() *GetByNameInternalServerError

NewGetByNameInternalServerError creates a GetByNameInternalServerError with default headers values

func (*GetByNameInternalServerError) Code

Code gets the status code for the edge node cluster configuration get cluster by name internal server error response

func (*GetByNameInternalServerError) Error

func (*GetByNameInternalServerError) GetPayload

func (*GetByNameInternalServerError) IsClientError

func (o *GetByNameInternalServerError) IsClientError() bool

IsClientError returns true when this edge node cluster configuration get cluster by name internal server error response has a 4xx status code

func (*GetByNameInternalServerError) IsCode

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

IsCode returns true when this edge node cluster configuration get cluster by name internal server error response a status code equal to that given

func (*GetByNameInternalServerError) IsRedirect

func (o *GetByNameInternalServerError) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration get cluster by name internal server error response has a 3xx status code

func (*GetByNameInternalServerError) IsServerError

func (o *GetByNameInternalServerError) IsServerError() bool

IsServerError returns true when this edge node cluster configuration get cluster by name internal server error response has a 5xx status code

func (*GetByNameInternalServerError) IsSuccess

func (o *GetByNameInternalServerError) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration get cluster by name internal server error response has a 2xx status code

func (*GetByNameInternalServerError) String

type GetByNameNotFound

type GetByNameNotFound struct {
	Payload *models.ZsrvResponse
}

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

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewGetByNameNotFound

func NewGetByNameNotFound() *GetByNameNotFound

NewGetByNameNotFound creates a GetByNameNotFound with default headers values

func (*GetByNameNotFound) Code

func (o *GetByNameNotFound) Code() int

Code gets the status code for the edge node cluster configuration get cluster by name not found response

func (*GetByNameNotFound) Error

func (o *GetByNameNotFound) Error() string

func (*GetByNameNotFound) GetPayload

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

func (*GetByNameNotFound) IsClientError

func (o *GetByNameNotFound) IsClientError() bool

IsClientError returns true when this edge node cluster configuration get cluster by name not found response has a 4xx status code

func (*GetByNameNotFound) IsCode

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

IsCode returns true when this edge node cluster configuration get cluster by name not found response a status code equal to that given

func (*GetByNameNotFound) IsRedirect

func (o *GetByNameNotFound) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration get cluster by name not found response has a 3xx status code

func (*GetByNameNotFound) IsServerError

func (o *GetByNameNotFound) IsServerError() bool

IsServerError returns true when this edge node cluster configuration get cluster by name not found response has a 5xx status code

func (*GetByNameNotFound) IsSuccess

func (o *GetByNameNotFound) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration get cluster by name not found response has a 2xx status code

func (*GetByNameNotFound) String

func (o *GetByNameNotFound) String() string

type GetByNameOK

type GetByNameOK struct {
	Payload *models.ClusterConfigSummary
}

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

A successful response.

func NewGetByNameOK

func NewGetByNameOK() *GetByNameOK

NewGetByNameOK creates a GetByNameOK with default headers values

func (*GetByNameOK) Code

func (o *GetByNameOK) Code() int

Code gets the status code for the edge node cluster configuration get cluster by name o k response

func (*GetByNameOK) Error

func (o *GetByNameOK) Error() string

func (*GetByNameOK) GetPayload

func (o *GetByNameOK) GetPayload() *models.ClusterConfigSummary

func (*GetByNameOK) IsClientError

func (o *GetByNameOK) IsClientError() bool

IsClientError returns true when this edge node cluster configuration get cluster by name o k response has a 4xx status code

func (*GetByNameOK) IsCode

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

IsCode returns true when this edge node cluster configuration get cluster by name o k response a status code equal to that given

func (*GetByNameOK) IsRedirect

func (o *GetByNameOK) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration get cluster by name o k response has a 3xx status code

func (*GetByNameOK) IsServerError

func (o *GetByNameOK) IsServerError() bool

IsServerError returns true when this edge node cluster configuration get cluster by name o k response has a 5xx status code

func (*GetByNameOK) IsSuccess

func (o *GetByNameOK) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration get cluster by name o k response has a 2xx status code

func (*GetByNameOK) String

func (o *GetByNameOK) String() string

type GetByNameParams

type GetByNameParams struct {

	/* XRequestID.

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

	/* Name.

	   User defined name of the cluster, unique across the enterprise. Once cluster is created, name can’t be changed
	*/
	Name string

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

GetByNameParams contains all the parameters to send to the API endpoint

for the edge node cluster configuration get cluster by name operation.

Typically these are written to a http.Request.

func NewGetByNameParams

func NewGetByNameParams() *GetByNameParams

NewGetByNameParams creates a new GetByNameParams 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 NewGetByNameParamsWithContext

func NewGetByNameParamsWithContext(ctx context.Context) *GetByNameParams

NewGetByNameParamsWithContext creates a new GetByNameParams object with the ability to set a context for a request.

func NewGetByNameParamsWithHTTPClient

func NewGetByNameParamsWithHTTPClient(client *http.Client) *GetByNameParams

NewGetByNameParamsWithHTTPClient creates a new GetByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetByNameParamsWithTimeout

func NewGetByNameParamsWithTimeout(timeout time.Duration) *GetByNameParams

NewGetByNameParamsWithTimeout creates a new GetByNameParams object with the ability to set a timeout on a request.

func (*GetByNameParams) SetContext

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

SetContext adds the context to the edge node cluster configuration get cluster by name params

func (*GetByNameParams) SetDefaults

func (o *GetByNameParams) SetDefaults()

SetDefaults hydrates default values in the edge node cluster configuration get cluster by name params (not the query body).

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

func (*GetByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the edge node cluster configuration get cluster by name params

func (*GetByNameParams) SetName

func (o *GetByNameParams) SetName(name string)

SetName adds the name to the edge node cluster configuration get cluster by name params

func (*GetByNameParams) SetTimeout

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

SetTimeout adds the timeout to the edge node cluster configuration get cluster by name params

func (*GetByNameParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the edge node cluster configuration get cluster by name params

func (*GetByNameParams) WithContext

func (o *GetByNameParams) WithContext(ctx context.Context) *GetByNameParams

WithContext adds the context to the edge node cluster configuration get cluster by name params

func (*GetByNameParams) WithDefaults

func (o *GetByNameParams) WithDefaults() *GetByNameParams

WithDefaults hydrates default values in the edge node cluster configuration get cluster by name params (not the query body).

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

func (*GetByNameParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the edge node cluster configuration get cluster by name params

func (*GetByNameParams) WithName

func (o *GetByNameParams) WithName(name string) *GetByNameParams

WithName adds the name to the edge node cluster configuration get cluster by name params

func (*GetByNameParams) WithTimeout

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

WithTimeout adds the timeout to the edge node cluster configuration get cluster by name params

func (*GetByNameParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the edge node cluster configuration get cluster by name params

func (*GetByNameParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetByNamePreconditionFailed

type GetByNamePreconditionFailed struct {
	Payload *models.ZsrvResponse
}

GetByNamePreconditionFailed describes a response with status code 412, with default header values.

Precondition failed. Some of preconditions haven't been met to start request processing.

func NewGetByNamePreconditionFailed

func NewGetByNamePreconditionFailed() *GetByNamePreconditionFailed

NewGetByNamePreconditionFailed creates a GetByNamePreconditionFailed with default headers values

func (*GetByNamePreconditionFailed) Code

func (o *GetByNamePreconditionFailed) Code() int

Code gets the status code for the edge node cluster configuration get cluster by name precondition failed response

func (*GetByNamePreconditionFailed) Error

func (*GetByNamePreconditionFailed) GetPayload

func (*GetByNamePreconditionFailed) IsClientError

func (o *GetByNamePreconditionFailed) IsClientError() bool

IsClientError returns true when this edge node cluster configuration get cluster by name precondition failed response has a 4xx status code

func (*GetByNamePreconditionFailed) IsCode

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

IsCode returns true when this edge node cluster configuration get cluster by name precondition failed response a status code equal to that given

func (*GetByNamePreconditionFailed) IsRedirect

func (o *GetByNamePreconditionFailed) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration get cluster by name precondition failed response has a 3xx status code

func (*GetByNamePreconditionFailed) IsServerError

func (o *GetByNamePreconditionFailed) IsServerError() bool

IsServerError returns true when this edge node cluster configuration get cluster by name precondition failed response has a 5xx status code

func (*GetByNamePreconditionFailed) IsSuccess

func (o *GetByNamePreconditionFailed) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration get cluster by name precondition failed response has a 2xx status code

func (*GetByNamePreconditionFailed) String

func (o *GetByNamePreconditionFailed) String() string

type GetByNameReader

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

GetByNameReader is a Reader for the GetByName structure.

func (*GetByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetByNameUnauthorized

type GetByNameUnauthorized struct {
	Payload *models.ZsrvResponse
}

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

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetByNameUnauthorized

func NewGetByNameUnauthorized() *GetByNameUnauthorized

NewGetByNameUnauthorized creates a GetByNameUnauthorized with default headers values

func (*GetByNameUnauthorized) Code

func (o *GetByNameUnauthorized) Code() int

Code gets the status code for the edge node cluster configuration get cluster by name unauthorized response

func (*GetByNameUnauthorized) Error

func (o *GetByNameUnauthorized) Error() string

func (*GetByNameUnauthorized) GetPayload

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

func (*GetByNameUnauthorized) IsClientError

func (o *GetByNameUnauthorized) IsClientError() bool

IsClientError returns true when this edge node cluster configuration get cluster by name unauthorized response has a 4xx status code

func (*GetByNameUnauthorized) IsCode

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

IsCode returns true when this edge node cluster configuration get cluster by name unauthorized response a status code equal to that given

func (*GetByNameUnauthorized) IsRedirect

func (o *GetByNameUnauthorized) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration get cluster by name unauthorized response has a 3xx status code

func (*GetByNameUnauthorized) IsServerError

func (o *GetByNameUnauthorized) IsServerError() bool

IsServerError returns true when this edge node cluster configuration get cluster by name unauthorized response has a 5xx status code

func (*GetByNameUnauthorized) IsSuccess

func (o *GetByNameUnauthorized) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration get cluster by name unauthorized response has a 2xx status code

func (*GetByNameUnauthorized) String

func (o *GetByNameUnauthorized) String() string

type GetConflict

type GetConflict struct {
	Payload *models.ZsrvResponse
}

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

Conflict. The API gateway did not process the request because this edge-node cluster record will conflict with an already existing edge-node cluster record.

func NewGetConflict

func NewGetConflict() *GetConflict

NewGetConflict creates a GetConflict with default headers values

func (*GetConflict) Code

func (o *GetConflict) Code() int

Code gets the status code for the edge node cluster configuration get cluster conflict response

func (*GetConflict) Error

func (o *GetConflict) Error() string

func (*GetConflict) GetPayload

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

func (*GetConflict) IsClientError

func (o *GetConflict) IsClientError() bool

IsClientError returns true when this edge node cluster configuration get cluster conflict response has a 4xx status code

func (*GetConflict) IsCode

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

IsCode returns true when this edge node cluster configuration get cluster conflict response a status code equal to that given

func (*GetConflict) IsRedirect

func (o *GetConflict) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration get cluster conflict response has a 3xx status code

func (*GetConflict) IsServerError

func (o *GetConflict) IsServerError() bool

IsServerError returns true when this edge node cluster configuration get cluster conflict response has a 5xx status code

func (*GetConflict) IsSuccess

func (o *GetConflict) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration get cluster conflict response has a 2xx status code

func (*GetConflict) String

func (o *GetConflict) String() string

type GetDefault

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

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

An unexpected error response.

func NewGetDefault

func NewGetDefault(code int) *GetDefault

NewGetDefault creates a GetDefault with default headers values

func (*GetDefault) Code

func (o *GetDefault) Code() int

Code gets the status code for the edge node cluster configuration get cluster default response

func (*GetDefault) Error

func (o *GetDefault) Error() string

func (*GetDefault) GetPayload

func (o *GetDefault) GetPayload() *models.GooglerpcStatus

func (*GetDefault) IsClientError

func (o *GetDefault) IsClientError() bool

IsClientError returns true when this edge node cluster configuration get cluster default response has a 4xx status code

func (*GetDefault) IsCode

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

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

func (*GetDefault) IsRedirect

func (o *GetDefault) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration get cluster default response has a 3xx status code

func (*GetDefault) IsServerError

func (o *GetDefault) IsServerError() bool

IsServerError returns true when this edge node cluster configuration get cluster default response has a 5xx status code

func (*GetDefault) IsSuccess

func (o *GetDefault) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration get cluster default response has a 2xx status code

func (*GetDefault) String

func (o *GetDefault) String() string

type GetForbidden

type GetForbidden struct {
	Payload *models.ZsrvResponse
}

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

Forbidden. The API gateway did not process the request because the requestor does not have application level access permission for the operation or does not have access scope to the project.

func NewGetForbidden

func NewGetForbidden() *GetForbidden

NewGetForbidden creates a GetForbidden with default headers values

func (*GetForbidden) Code

func (o *GetForbidden) Code() int

Code gets the status code for the edge node cluster configuration get cluster forbidden response

func (*GetForbidden) Error

func (o *GetForbidden) Error() string

func (*GetForbidden) GetPayload

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

func (*GetForbidden) IsClientError

func (o *GetForbidden) IsClientError() bool

IsClientError returns true when this edge node cluster configuration get cluster forbidden response has a 4xx status code

func (*GetForbidden) IsCode

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

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

func (*GetForbidden) IsRedirect

func (o *GetForbidden) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration get cluster forbidden response has a 3xx status code

func (*GetForbidden) IsServerError

func (o *GetForbidden) IsServerError() bool

IsServerError returns true when this edge node cluster configuration get cluster forbidden response has a 5xx status code

func (*GetForbidden) IsSuccess

func (o *GetForbidden) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration get cluster forbidden response has a 2xx status code

func (*GetForbidden) String

func (o *GetForbidden) String() string

type GetGatewayTimeout

type GetGatewayTimeout struct {
	Payload *models.ZsrvResponse
}

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

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewGetGatewayTimeout

func NewGetGatewayTimeout() *GetGatewayTimeout

NewGetGatewayTimeout creates a GetGatewayTimeout with default headers values

func (*GetGatewayTimeout) Code

func (o *GetGatewayTimeout) Code() int

Code gets the status code for the edge node cluster configuration get cluster gateway timeout response

func (*GetGatewayTimeout) Error

func (o *GetGatewayTimeout) Error() string

func (*GetGatewayTimeout) GetPayload

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

func (*GetGatewayTimeout) IsClientError

func (o *GetGatewayTimeout) IsClientError() bool

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

func (*GetGatewayTimeout) IsCode

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

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

func (*GetGatewayTimeout) IsRedirect

func (o *GetGatewayTimeout) IsRedirect() bool

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

func (*GetGatewayTimeout) IsServerError

func (o *GetGatewayTimeout) IsServerError() bool

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

func (*GetGatewayTimeout) IsSuccess

func (o *GetGatewayTimeout) IsSuccess() bool

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

func (*GetGatewayTimeout) String

func (o *GetGatewayTimeout) String() string

type GetInternalServerError

type GetInternalServerError struct {
	Payload *models.ZsrvResponse
}

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

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewGetInternalServerError

func NewGetInternalServerError() *GetInternalServerError

NewGetInternalServerError creates a GetInternalServerError with default headers values

func (*GetInternalServerError) Code

func (o *GetInternalServerError) Code() int

Code gets the status code for the edge node cluster configuration get cluster internal server error response

func (*GetInternalServerError) Error

func (o *GetInternalServerError) Error() string

func (*GetInternalServerError) GetPayload

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

func (*GetInternalServerError) IsClientError

func (o *GetInternalServerError) IsClientError() bool

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

func (*GetInternalServerError) IsCode

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

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

func (*GetInternalServerError) IsRedirect

func (o *GetInternalServerError) IsRedirect() bool

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

func (*GetInternalServerError) IsServerError

func (o *GetInternalServerError) IsServerError() bool

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

func (*GetInternalServerError) IsSuccess

func (o *GetInternalServerError) IsSuccess() bool

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

func (*GetInternalServerError) String

func (o *GetInternalServerError) String() string

type GetNotFound

type GetNotFound struct {
	Payload *models.ZsrvResponse
}

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

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewGetNotFound

func NewGetNotFound() *GetNotFound

NewGetNotFound creates a GetNotFound with default headers values

func (*GetNotFound) Code

func (o *GetNotFound) Code() int

Code gets the status code for the edge node cluster configuration get cluster not found response

func (*GetNotFound) Error

func (o *GetNotFound) Error() string

func (*GetNotFound) GetPayload

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

func (*GetNotFound) IsClientError

func (o *GetNotFound) IsClientError() bool

IsClientError returns true when this edge node cluster configuration get cluster not found response has a 4xx status code

func (*GetNotFound) IsCode

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

IsCode returns true when this edge node cluster configuration get cluster not found response a status code equal to that given

func (*GetNotFound) IsRedirect

func (o *GetNotFound) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration get cluster not found response has a 3xx status code

func (*GetNotFound) IsServerError

func (o *GetNotFound) IsServerError() bool

IsServerError returns true when this edge node cluster configuration get cluster not found response has a 5xx status code

func (*GetNotFound) IsSuccess

func (o *GetNotFound) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration get cluster not found response has a 2xx status code

func (*GetNotFound) String

func (o *GetNotFound) String() string

type GetOK

type GetOK struct {
	Payload *models.ClusterConfigSummary
}

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

A successful response.

func NewGetOK

func NewGetOK() *GetOK

NewGetOK creates a GetOK with default headers values

func (*GetOK) Code

func (o *GetOK) Code() int

Code gets the status code for the edge node cluster configuration get cluster o k response

func (*GetOK) Error

func (o *GetOK) Error() string

func (*GetOK) GetPayload

func (o *GetOK) GetPayload() *models.ClusterConfigSummary

func (*GetOK) IsClientError

func (o *GetOK) IsClientError() bool

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

func (*GetOK) IsCode

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

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

func (*GetOK) IsRedirect

func (o *GetOK) IsRedirect() bool

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

func (*GetOK) IsServerError

func (o *GetOK) IsServerError() bool

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

func (*GetOK) IsSuccess

func (o *GetOK) IsSuccess() bool

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

func (*GetOK) String

func (o *GetOK) String() string

type GetParams

type GetParams struct {

	/* XRequestID.

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

	/* ID.

	   System defined universally unique Id of the cluster
	*/
	ID string

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

GetParams contains all the parameters to send to the API endpoint

for the edge node cluster configuration get cluster operation.

Typically these are written to a http.Request.

func NewGetParams

func NewGetParams() *GetParams

NewGetParams creates a new GetParams 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 NewGetParamsWithContext

func NewGetParamsWithContext(ctx context.Context) *GetParams

NewGetParamsWithContext creates a new GetParams object with the ability to set a context for a request.

func NewGetParamsWithHTTPClient

func NewGetParamsWithHTTPClient(client *http.Client) *GetParams

NewGetParamsWithHTTPClient creates a new GetParams object with the ability to set a custom HTTPClient for a request.

func NewGetParamsWithTimeout

func NewGetParamsWithTimeout(timeout time.Duration) *GetParams

NewGetParamsWithTimeout creates a new GetParams object with the ability to set a timeout on a request.

func (*GetParams) SetContext

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

SetContext adds the context to the edge node cluster configuration get cluster params

func (*GetParams) SetDefaults

func (o *GetParams) SetDefaults()

SetDefaults hydrates default values in the edge node cluster configuration get cluster params (not the query body).

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

func (*GetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the edge node cluster configuration get cluster params

func (*GetParams) SetID

func (o *GetParams) SetID(id string)

SetID adds the id to the edge node cluster configuration get cluster params

func (*GetParams) SetTimeout

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

SetTimeout adds the timeout to the edge node cluster configuration get cluster params

func (*GetParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the edge node cluster configuration get cluster params

func (*GetParams) WithContext

func (o *GetParams) WithContext(ctx context.Context) *GetParams

WithContext adds the context to the edge node cluster configuration get cluster params

func (*GetParams) WithDefaults

func (o *GetParams) WithDefaults() *GetParams

WithDefaults hydrates default values in the edge node cluster configuration get cluster params (not the query body).

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

func (*GetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the edge node cluster configuration get cluster params

func (*GetParams) WithID

func (o *GetParams) WithID(id string) *GetParams

WithID adds the id to the edge node cluster configuration get cluster params

func (*GetParams) WithTimeout

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

WithTimeout adds the timeout to the edge node cluster configuration get cluster params

func (*GetParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the edge node cluster configuration get cluster params

func (*GetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPreconditionFailed

type GetPreconditionFailed struct {
	Payload *models.ZsrvResponse
}

GetPreconditionFailed describes a response with status code 412, with default header values.

Precondition failed. Some of preconditions haven't been met to start request processing.

func NewGetPreconditionFailed

func NewGetPreconditionFailed() *GetPreconditionFailed

NewGetPreconditionFailed creates a GetPreconditionFailed with default headers values

func (*GetPreconditionFailed) Code

func (o *GetPreconditionFailed) Code() int

Code gets the status code for the edge node cluster configuration get cluster precondition failed response

func (*GetPreconditionFailed) Error

func (o *GetPreconditionFailed) Error() string

func (*GetPreconditionFailed) GetPayload

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

func (*GetPreconditionFailed) IsClientError

func (o *GetPreconditionFailed) IsClientError() bool

IsClientError returns true when this edge node cluster configuration get cluster precondition failed response has a 4xx status code

func (*GetPreconditionFailed) IsCode

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

IsCode returns true when this edge node cluster configuration get cluster precondition failed response a status code equal to that given

func (*GetPreconditionFailed) IsRedirect

func (o *GetPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration get cluster precondition failed response has a 3xx status code

func (*GetPreconditionFailed) IsServerError

func (o *GetPreconditionFailed) IsServerError() bool

IsServerError returns true when this edge node cluster configuration get cluster precondition failed response has a 5xx status code

func (*GetPreconditionFailed) IsSuccess

func (o *GetPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration get cluster precondition failed response has a 2xx status code

func (*GetPreconditionFailed) String

func (o *GetPreconditionFailed) String() string

type GetReader

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

GetReader is a Reader for the Get structure.

func (*GetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUnauthorized

type GetUnauthorized struct {
	Payload *models.ZsrvResponse
}

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

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewGetUnauthorized

func NewGetUnauthorized() *GetUnauthorized

NewGetUnauthorized creates a GetUnauthorized with default headers values

func (*GetUnauthorized) Code

func (o *GetUnauthorized) Code() int

Code gets the status code for the edge node cluster configuration get cluster unauthorized response

func (*GetUnauthorized) Error

func (o *GetUnauthorized) Error() string

func (*GetUnauthorized) GetPayload

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

func (*GetUnauthorized) IsClientError

func (o *GetUnauthorized) IsClientError() bool

IsClientError returns true when this edge node cluster configuration get cluster unauthorized response has a 4xx status code

func (*GetUnauthorized) IsCode

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

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

func (*GetUnauthorized) IsRedirect

func (o *GetUnauthorized) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration get cluster unauthorized response has a 3xx status code

func (*GetUnauthorized) IsServerError

func (o *GetUnauthorized) IsServerError() bool

IsServerError returns true when this edge node cluster configuration get cluster unauthorized response has a 5xx status code

func (*GetUnauthorized) IsSuccess

func (o *GetUnauthorized) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration get cluster unauthorized response has a 2xx status code

func (*GetUnauthorized) String

func (o *GetUnauthorized) String() string

type UpdateBadRequest

type UpdateBadRequest struct {
	Payload *models.ZsrvResponse
}

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

Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.

func NewUpdateBadRequest

func NewUpdateBadRequest() *UpdateBadRequest

NewUpdateBadRequest creates a UpdateBadRequest with default headers values

func (*UpdateBadRequest) Code

func (o *UpdateBadRequest) Code() int

Code gets the status code for the edge node cluster configuration update cluster bad request response

func (*UpdateBadRequest) Error

func (o *UpdateBadRequest) Error() string

func (*UpdateBadRequest) GetPayload

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

func (*UpdateBadRequest) IsClientError

func (o *UpdateBadRequest) IsClientError() bool

IsClientError returns true when this edge node cluster configuration update cluster bad request response has a 4xx status code

func (*UpdateBadRequest) IsCode

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

IsCode returns true when this edge node cluster configuration update cluster bad request response a status code equal to that given

func (*UpdateBadRequest) IsRedirect

func (o *UpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration update cluster bad request response has a 3xx status code

func (*UpdateBadRequest) IsServerError

func (o *UpdateBadRequest) IsServerError() bool

IsServerError returns true when this edge node cluster configuration update cluster bad request response has a 5xx status code

func (*UpdateBadRequest) IsSuccess

func (o *UpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration update cluster bad request response has a 2xx status code

func (*UpdateBadRequest) String

func (o *UpdateBadRequest) String() string

type UpdateBody

type UpdateBody struct {

	// A cluster prefix
	Prefix string `json:"clusterPrefix,omitempty"`

	// Detailed description of the cluster
	Description string `json:"description,omitempty"`

	// User defined name of the cluster, unique across the enterprise. Once cluster is created, name can’t be changed
	// Required: true
	Name *string `json:"name"`

	// A list of nodes in the cluster
	// Required: true
	Nodes []*models.ClusterNode `json:"nodes"`

	// Foreign key to the project
	// Required: true
	// Pattern: [0-9A-Za-z-]+
	ProjectID *string `json:"projectId"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// User defined title of the cluster. Title can be changed at any time
	Title string `json:"title,omitempty"`
}

UpdateBody detail // // detail swagger:model UpdateBody

func (*UpdateBody) ContextValidate

func (o *UpdateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this edge node cluster configuration update cluster body based on the context it is used

func (*UpdateBody) MarshalBinary

func (o *UpdateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateBody) UnmarshalBinary

func (o *UpdateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateBody) Validate

func (o *UpdateBody) Validate(formats strfmt.Registry) error

Validate validates this edge node cluster configuration update cluster body

type UpdateConflict

type UpdateConflict struct {
	Payload *models.ZsrvResponse
}

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

Conflict. The API gateway did not process the request because this edge-node cluster record will conflict with an already existing edge-node cluster record.

func NewUpdateConflict

func NewUpdateConflict() *UpdateConflict

NewUpdateConflict creates a UpdateConflict with default headers values

func (*UpdateConflict) Code

func (o *UpdateConflict) Code() int

Code gets the status code for the edge node cluster configuration update cluster conflict response

func (*UpdateConflict) Error

func (o *UpdateConflict) Error() string

func (*UpdateConflict) GetPayload

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

func (*UpdateConflict) IsClientError

func (o *UpdateConflict) IsClientError() bool

IsClientError returns true when this edge node cluster configuration update cluster conflict response has a 4xx status code

func (*UpdateConflict) IsCode

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

IsCode returns true when this edge node cluster configuration update cluster conflict response a status code equal to that given

func (*UpdateConflict) IsRedirect

func (o *UpdateConflict) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration update cluster conflict response has a 3xx status code

func (*UpdateConflict) IsServerError

func (o *UpdateConflict) IsServerError() bool

IsServerError returns true when this edge node cluster configuration update cluster conflict response has a 5xx status code

func (*UpdateConflict) IsSuccess

func (o *UpdateConflict) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration update cluster conflict response has a 2xx status code

func (*UpdateConflict) String

func (o *UpdateConflict) String() string

type UpdateDefault

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

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

An unexpected error response.

func NewUpdateDefault

func NewUpdateDefault(code int) *UpdateDefault

NewUpdateDefault creates a UpdateDefault with default headers values

func (*UpdateDefault) Code

func (o *UpdateDefault) Code() int

Code gets the status code for the edge node cluster configuration update cluster default response

func (*UpdateDefault) Error

func (o *UpdateDefault) Error() string

func (*UpdateDefault) GetPayload

func (o *UpdateDefault) GetPayload() *models.GooglerpcStatus

func (*UpdateDefault) IsClientError

func (o *UpdateDefault) IsClientError() bool

IsClientError returns true when this edge node cluster configuration update cluster default response has a 4xx status code

func (*UpdateDefault) IsCode

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

IsCode returns true when this edge node cluster configuration update cluster default response a status code equal to that given

func (*UpdateDefault) IsRedirect

func (o *UpdateDefault) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration update cluster default response has a 3xx status code

func (*UpdateDefault) IsServerError

func (o *UpdateDefault) IsServerError() bool

IsServerError returns true when this edge node cluster configuration update cluster default response has a 5xx status code

func (*UpdateDefault) IsSuccess

func (o *UpdateDefault) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration update cluster default response has a 2xx status code

func (*UpdateDefault) String

func (o *UpdateDefault) String() string

type UpdateForbidden

type UpdateForbidden struct {
	Payload *models.ZsrvResponse
}

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

Forbidden. The API gateway did not process the request because the requestor does not have application level access permission for the operation or does not have access scope to the project.

func NewUpdateForbidden

func NewUpdateForbidden() *UpdateForbidden

NewUpdateForbidden creates a UpdateForbidden with default headers values

func (*UpdateForbidden) Code

func (o *UpdateForbidden) Code() int

Code gets the status code for the edge node cluster configuration update cluster forbidden response

func (*UpdateForbidden) Error

func (o *UpdateForbidden) Error() string

func (*UpdateForbidden) GetPayload

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

func (*UpdateForbidden) IsClientError

func (o *UpdateForbidden) IsClientError() bool

IsClientError returns true when this edge node cluster configuration update cluster forbidden response has a 4xx status code

func (*UpdateForbidden) IsCode

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

IsCode returns true when this edge node cluster configuration update cluster forbidden response a status code equal to that given

func (*UpdateForbidden) IsRedirect

func (o *UpdateForbidden) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration update cluster forbidden response has a 3xx status code

func (*UpdateForbidden) IsServerError

func (o *UpdateForbidden) IsServerError() bool

IsServerError returns true when this edge node cluster configuration update cluster forbidden response has a 5xx status code

func (*UpdateForbidden) IsSuccess

func (o *UpdateForbidden) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration update cluster forbidden response has a 2xx status code

func (*UpdateForbidden) String

func (o *UpdateForbidden) String() string

type UpdateGatewayTimeout

type UpdateGatewayTimeout struct {
	Payload *models.ZsrvResponse
}

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

Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.

func NewUpdateGatewayTimeout

func NewUpdateGatewayTimeout() *UpdateGatewayTimeout

NewUpdateGatewayTimeout creates a UpdateGatewayTimeout with default headers values

func (*UpdateGatewayTimeout) Code

func (o *UpdateGatewayTimeout) Code() int

Code gets the status code for the edge node cluster configuration update cluster gateway timeout response

func (*UpdateGatewayTimeout) Error

func (o *UpdateGatewayTimeout) Error() string

func (*UpdateGatewayTimeout) GetPayload

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

func (*UpdateGatewayTimeout) IsClientError

func (o *UpdateGatewayTimeout) IsClientError() bool

IsClientError returns true when this edge node cluster configuration update cluster gateway timeout response has a 4xx status code

func (*UpdateGatewayTimeout) IsCode

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

IsCode returns true when this edge node cluster configuration update cluster gateway timeout response a status code equal to that given

func (*UpdateGatewayTimeout) IsRedirect

func (o *UpdateGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration update cluster gateway timeout response has a 3xx status code

func (*UpdateGatewayTimeout) IsServerError

func (o *UpdateGatewayTimeout) IsServerError() bool

IsServerError returns true when this edge node cluster configuration update cluster gateway timeout response has a 5xx status code

func (*UpdateGatewayTimeout) IsSuccess

func (o *UpdateGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration update cluster gateway timeout response has a 2xx status code

func (*UpdateGatewayTimeout) String

func (o *UpdateGatewayTimeout) String() string

type UpdateInternalServerError

type UpdateInternalServerError struct {
	Payload *models.ZsrvResponse
}

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

Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.

func NewUpdateInternalServerError

func NewUpdateInternalServerError() *UpdateInternalServerError

NewUpdateInternalServerError creates a UpdateInternalServerError with default headers values

func (*UpdateInternalServerError) Code

func (o *UpdateInternalServerError) Code() int

Code gets the status code for the edge node cluster configuration update cluster internal server error response

func (*UpdateInternalServerError) Error

func (o *UpdateInternalServerError) Error() string

func (*UpdateInternalServerError) GetPayload

func (*UpdateInternalServerError) IsClientError

func (o *UpdateInternalServerError) IsClientError() bool

IsClientError returns true when this edge node cluster configuration update cluster internal server error response has a 4xx status code

func (*UpdateInternalServerError) IsCode

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

IsCode returns true when this edge node cluster configuration update cluster internal server error response a status code equal to that given

func (*UpdateInternalServerError) IsRedirect

func (o *UpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration update cluster internal server error response has a 3xx status code

func (*UpdateInternalServerError) IsServerError

func (o *UpdateInternalServerError) IsServerError() bool

IsServerError returns true when this edge node cluster configuration update cluster internal server error response has a 5xx status code

func (*UpdateInternalServerError) IsSuccess

func (o *UpdateInternalServerError) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration update cluster internal server error response has a 2xx status code

func (*UpdateInternalServerError) String

func (o *UpdateInternalServerError) String() string

type UpdateNotFound

type UpdateNotFound struct {
	Payload *models.ZsrvResponse
}

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

Not Found. The API gateway did not process the request because the requested resource could not be found.

func NewUpdateNotFound

func NewUpdateNotFound() *UpdateNotFound

NewUpdateNotFound creates a UpdateNotFound with default headers values

func (*UpdateNotFound) Code

func (o *UpdateNotFound) Code() int

Code gets the status code for the edge node cluster configuration update cluster not found response

func (*UpdateNotFound) Error

func (o *UpdateNotFound) Error() string

func (*UpdateNotFound) GetPayload

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

func (*UpdateNotFound) IsClientError

func (o *UpdateNotFound) IsClientError() bool

IsClientError returns true when this edge node cluster configuration update cluster not found response has a 4xx status code

func (*UpdateNotFound) IsCode

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

IsCode returns true when this edge node cluster configuration update cluster not found response a status code equal to that given

func (*UpdateNotFound) IsRedirect

func (o *UpdateNotFound) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration update cluster not found response has a 3xx status code

func (*UpdateNotFound) IsServerError

func (o *UpdateNotFound) IsServerError() bool

IsServerError returns true when this edge node cluster configuration update cluster not found response has a 5xx status code

func (*UpdateNotFound) IsSuccess

func (o *UpdateNotFound) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration update cluster not found response has a 2xx status code

func (*UpdateNotFound) String

func (o *UpdateNotFound) String() string

type UpdateOK

type UpdateOK struct {
	Payload *models.ZsrvResponse
}

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

A successful response.

func NewUpdateOK

func NewUpdateOK() *UpdateOK

NewUpdateOK creates a UpdateOK with default headers values

func (*UpdateOK) Code

func (o *UpdateOK) Code() int

Code gets the status code for the edge node cluster configuration update cluster o k response

func (*UpdateOK) Error

func (o *UpdateOK) Error() string

func (*UpdateOK) GetPayload

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

func (*UpdateOK) IsClientError

func (o *UpdateOK) IsClientError() bool

IsClientError returns true when this edge node cluster configuration update cluster o k response has a 4xx status code

func (*UpdateOK) IsCode

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

IsCode returns true when this edge node cluster configuration update cluster o k response a status code equal to that given

func (*UpdateOK) IsRedirect

func (o *UpdateOK) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration update cluster o k response has a 3xx status code

func (*UpdateOK) IsServerError

func (o *UpdateOK) IsServerError() bool

IsServerError returns true when this edge node cluster configuration update cluster o k response has a 5xx status code

func (*UpdateOK) IsSuccess

func (o *UpdateOK) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration update cluster o k response has a 2xx status code

func (*UpdateOK) String

func (o *UpdateOK) String() string

type UpdateParams

type UpdateParams struct {

	/* XRequestID.

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

	// Body.
	Body *models.Cluster

	/* ID.

	   System defined universally unique Id of the cluster
	*/
	ID string

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

UpdateParams contains all the parameters to send to the API endpoint

for the edge node cluster configuration update cluster operation.

Typically these are written to a http.Request.

func NewUpdateParams

func NewUpdateParams() *UpdateParams

NewUpdateParams creates a new UpdateParams 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 NewUpdateParamsWithContext

func NewUpdateParamsWithContext(ctx context.Context) *UpdateParams

NewUpdateParamsWithContext creates a new UpdateParams object with the ability to set a context for a request.

func NewUpdateParamsWithHTTPClient

func NewUpdateParamsWithHTTPClient(client *http.Client) *UpdateParams

NewUpdateParamsWithHTTPClient creates a new UpdateParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateParamsWithTimeout

func NewUpdateParamsWithTimeout(timeout time.Duration) *UpdateParams

NewUpdateParamsWithTimeout creates a new UpdateParams object with the ability to set a timeout on a request.

func (*UpdateParams) SetBody

func (o *UpdateParams) SetBody(body *models.Cluster)

SetBody adds the body to the edge node cluster configuration update cluster params

func (*UpdateParams) SetContext

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

SetContext adds the context to the edge node cluster configuration update cluster params

func (*UpdateParams) SetDefaults

func (o *UpdateParams) SetDefaults()

SetDefaults hydrates default values in the edge node cluster configuration update cluster params (not the query body).

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

func (*UpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the edge node cluster configuration update cluster params

func (*UpdateParams) SetID

func (o *UpdateParams) SetID(id string)

SetID adds the id to the edge node cluster configuration update cluster params

func (*UpdateParams) SetTimeout

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

SetTimeout adds the timeout to the edge node cluster configuration update cluster params

func (*UpdateParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the edge node cluster configuration update cluster params

func (*UpdateParams) WithBody

func (o *UpdateParams) WithBody(body *models.Cluster) *UpdateParams

WithBody adds the body to the edge node cluster configuration update cluster params

func (*UpdateParams) WithContext

func (o *UpdateParams) WithContext(ctx context.Context) *UpdateParams

WithContext adds the context to the edge node cluster configuration update cluster params

func (*UpdateParams) WithDefaults

func (o *UpdateParams) WithDefaults() *UpdateParams

WithDefaults hydrates default values in the edge node cluster configuration update cluster params (not the query body).

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

func (*UpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the edge node cluster configuration update cluster params

func (*UpdateParams) WithID

func (o *UpdateParams) WithID(id string) *UpdateParams

WithID adds the id to the edge node cluster configuration update cluster params

func (*UpdateParams) WithTimeout

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

WithTimeout adds the timeout to the edge node cluster configuration update cluster params

func (*UpdateParams) WithXRequestID

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

WithXRequestID adds the xRequestID to the edge node cluster configuration update cluster params

func (*UpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdatePreconditionFailed

type UpdatePreconditionFailed struct {
	Payload *models.ZsrvResponse
}

UpdatePreconditionFailed describes a response with status code 412, with default header values.

Precondition failed. Some of preconditions haven't been met to start request processing.

func NewUpdatePreconditionFailed

func NewUpdatePreconditionFailed() *UpdatePreconditionFailed

NewUpdatePreconditionFailed creates a UpdatePreconditionFailed with default headers values

func (*UpdatePreconditionFailed) Code

func (o *UpdatePreconditionFailed) Code() int

Code gets the status code for the edge node cluster configuration update cluster precondition failed response

func (*UpdatePreconditionFailed) Error

func (o *UpdatePreconditionFailed) Error() string

func (*UpdatePreconditionFailed) GetPayload

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

func (*UpdatePreconditionFailed) IsClientError

func (o *UpdatePreconditionFailed) IsClientError() bool

IsClientError returns true when this edge node cluster configuration update cluster precondition failed response has a 4xx status code

func (*UpdatePreconditionFailed) IsCode

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

IsCode returns true when this edge node cluster configuration update cluster precondition failed response a status code equal to that given

func (*UpdatePreconditionFailed) IsRedirect

func (o *UpdatePreconditionFailed) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration update cluster precondition failed response has a 3xx status code

func (*UpdatePreconditionFailed) IsServerError

func (o *UpdatePreconditionFailed) IsServerError() bool

IsServerError returns true when this edge node cluster configuration update cluster precondition failed response has a 5xx status code

func (*UpdatePreconditionFailed) IsSuccess

func (o *UpdatePreconditionFailed) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration update cluster precondition failed response has a 2xx status code

func (*UpdatePreconditionFailed) String

func (o *UpdatePreconditionFailed) String() string

type UpdateReader

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

UpdateReader is a Reader for the Update structure.

func (*UpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateUnauthorized

type UpdateUnauthorized struct {
	Payload *models.ZsrvResponse
}

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

Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.

func NewUpdateUnauthorized

func NewUpdateUnauthorized() *UpdateUnauthorized

NewUpdateUnauthorized creates a UpdateUnauthorized with default headers values

func (*UpdateUnauthorized) Code

func (o *UpdateUnauthorized) Code() int

Code gets the status code for the edge node cluster configuration update cluster unauthorized response

func (*UpdateUnauthorized) Error

func (o *UpdateUnauthorized) Error() string

func (*UpdateUnauthorized) GetPayload

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

func (*UpdateUnauthorized) IsClientError

func (o *UpdateUnauthorized) IsClientError() bool

IsClientError returns true when this edge node cluster configuration update cluster unauthorized response has a 4xx status code

func (*UpdateUnauthorized) IsCode

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

IsCode returns true when this edge node cluster configuration update cluster unauthorized response a status code equal to that given

func (*UpdateUnauthorized) IsRedirect

func (o *UpdateUnauthorized) IsRedirect() bool

IsRedirect returns true when this edge node cluster configuration update cluster unauthorized response has a 3xx status code

func (*UpdateUnauthorized) IsServerError

func (o *UpdateUnauthorized) IsServerError() bool

IsServerError returns true when this edge node cluster configuration update cluster unauthorized response has a 5xx status code

func (*UpdateUnauthorized) IsSuccess

func (o *UpdateUnauthorized) IsSuccess() bool

IsSuccess returns true when this edge node cluster configuration update cluster unauthorized response has a 2xx status code

func (*UpdateUnauthorized) String

func (o *UpdateUnauthorized) String() string

Jump to

Keyboard shortcuts

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