cluster

package
v1.6.8 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const ClusterListMembersBadRequestCode int = 400

ClusterListMembersBadRequestCode is the HTTP code returned for type ClusterListMembersBadRequest

View Source
const ClusterListMembersOKCode int = 200

ClusterListMembersOKCode is the HTTP code returned for type ClusterListMembersOK

View Source
const ClusterListMembersTooManyRequestsCode int = 429

ClusterListMembersTooManyRequestsCode is the HTTP code returned for type ClusterListMembersTooManyRequests

View Source
const ClusterListMembersUnauthorizedCode int = 401

ClusterListMembersUnauthorizedCode is the HTTP code returned for type ClusterListMembersUnauthorized

View Source
const ClusterMemberAddBadRequestCode int = 400

ClusterMemberAddBadRequestCode is the HTTP code returned for type ClusterMemberAddBadRequest

View Source
const ClusterMemberAddOKCode int = 200

ClusterMemberAddOKCode is the HTTP code returned for type ClusterMemberAddOK

View Source
const ClusterMemberAddServiceUnavailableCode int = 503

ClusterMemberAddServiceUnavailableCode is the HTTP code returned for type ClusterMemberAddServiceUnavailable

View Source
const ClusterMemberAddTooManyRequestsCode int = 429

ClusterMemberAddTooManyRequestsCode is the HTTP code returned for type ClusterMemberAddTooManyRequests

View Source
const ClusterMemberAddUnauthorizedCode int = 401

ClusterMemberAddUnauthorizedCode is the HTTP code returned for type ClusterMemberAddUnauthorized

View Source
const ClusterMemberRemoveBadRequestCode int = 400

ClusterMemberRemoveBadRequestCode is the HTTP code returned for type ClusterMemberRemoveBadRequest

View Source
const ClusterMemberRemoveNotFoundCode int = 404

ClusterMemberRemoveNotFoundCode is the HTTP code returned for type ClusterMemberRemoveNotFound

View Source
const ClusterMemberRemoveOKCode int = 200

ClusterMemberRemoveOKCode is the HTTP code returned for type ClusterMemberRemoveOK

View Source
const ClusterMemberRemoveServiceUnavailableCode int = 503

ClusterMemberRemoveServiceUnavailableCode is the HTTP code returned for type ClusterMemberRemoveServiceUnavailable

View Source
const ClusterMemberRemoveTooManyRequestsCode int = 429

ClusterMemberRemoveTooManyRequestsCode is the HTTP code returned for type ClusterMemberRemoveTooManyRequests

View Source
const ClusterMemberRemoveUnauthorizedCode int = 401

ClusterMemberRemoveUnauthorizedCode is the HTTP code returned for type ClusterMemberRemoveUnauthorized

View Source
const ClusterTransferLeadershipInternalServerErrorCode int = 500

ClusterTransferLeadershipInternalServerErrorCode is the HTTP code returned for type ClusterTransferLeadershipInternalServerError

View Source
const ClusterTransferLeadershipNotFoundCode int = 404

ClusterTransferLeadershipNotFoundCode is the HTTP code returned for type ClusterTransferLeadershipNotFound

View Source
const ClusterTransferLeadershipOKCode int = 200

ClusterTransferLeadershipOKCode is the HTTP code returned for type ClusterTransferLeadershipOK

View Source
const ClusterTransferLeadershipServiceUnavailableCode int = 503

ClusterTransferLeadershipServiceUnavailableCode is the HTTP code returned for type ClusterTransferLeadershipServiceUnavailable

View Source
const ClusterTransferLeadershipTooManyRequestsCode int = 429

ClusterTransferLeadershipTooManyRequestsCode is the HTTP code returned for type ClusterTransferLeadershipTooManyRequests

View Source
const ClusterTransferLeadershipUnauthorizedCode int = 401

ClusterTransferLeadershipUnauthorizedCode is the HTTP code returned for type ClusterTransferLeadershipUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterListMembers

type ClusterListMembers struct {
	Context *middleware.Context
	Handler ClusterListMembersHandler
}
ClusterListMembers swagger:route GET /cluster/list-members Cluster clusterListMembers

Returns all members of a cluster and their current status

Returns all members of a cluster and their current status

func NewClusterListMembers

func NewClusterListMembers(ctx *middleware.Context, handler ClusterListMembersHandler) *ClusterListMembers

NewClusterListMembers creates a new http.Handler for the cluster list members operation

func (*ClusterListMembers) ServeHTTP

func (o *ClusterListMembers) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ClusterListMembersBadRequest

type ClusterListMembersBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterListMembersBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response clusterListMembersBadRequest

func NewClusterListMembersBadRequest

func NewClusterListMembersBadRequest() *ClusterListMembersBadRequest

NewClusterListMembersBadRequest creates ClusterListMembersBadRequest with default headers values

func (*ClusterListMembersBadRequest) SetPayload

SetPayload sets the payload to the cluster list members bad request response

func (*ClusterListMembersBadRequest) WithPayload

WithPayload adds the payload to the cluster list members bad request response

func (*ClusterListMembersBadRequest) WriteResponse

func (o *ClusterListMembersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ClusterListMembersHandler

type ClusterListMembersHandler interface {
	Handle(ClusterListMembersParams) middleware.Responder
}

ClusterListMembersHandler interface for that can handle valid cluster list members params

type ClusterListMembersHandlerFunc

type ClusterListMembersHandlerFunc func(ClusterListMembersParams) middleware.Responder

ClusterListMembersHandlerFunc turns a function with the right signature into a cluster list members handler

func (ClusterListMembersHandlerFunc) Handle

Handle executing the request and returning a response

type ClusterListMembersOK

type ClusterListMembersOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ClusterMemberListResponse `json:"body,omitempty"`
}

ClusterListMembersOK A response to a cluster list-members request

swagger:response clusterListMembersOK

func NewClusterListMembersOK

func NewClusterListMembersOK() *ClusterListMembersOK

NewClusterListMembersOK creates ClusterListMembersOK with default headers values

func (*ClusterListMembersOK) SetPayload

SetPayload sets the payload to the cluster list members o k response

func (*ClusterListMembersOK) WithPayload

WithPayload adds the payload to the cluster list members o k response

func (*ClusterListMembersOK) WriteResponse

func (o *ClusterListMembersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ClusterListMembersParams

type ClusterListMembersParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

ClusterListMembersParams contains all the bound params for the cluster list members operation typically these are obtained from a http.Request

swagger:parameters clusterListMembers

func NewClusterListMembersParams

func NewClusterListMembersParams() ClusterListMembersParams

NewClusterListMembersParams creates a new ClusterListMembersParams object

There are no default values defined in the spec.

func (*ClusterListMembersParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewClusterListMembersParams() beforehand.

type ClusterListMembersTooManyRequests

type ClusterListMembersTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterListMembersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response clusterListMembersTooManyRequests

func NewClusterListMembersTooManyRequests

func NewClusterListMembersTooManyRequests() *ClusterListMembersTooManyRequests

NewClusterListMembersTooManyRequests creates ClusterListMembersTooManyRequests with default headers values

func (*ClusterListMembersTooManyRequests) SetPayload

SetPayload sets the payload to the cluster list members too many requests response

func (*ClusterListMembersTooManyRequests) WithPayload

WithPayload adds the payload to the cluster list members too many requests response

func (*ClusterListMembersTooManyRequests) WriteResponse

func (o *ClusterListMembersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ClusterListMembersURL

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

ClusterListMembersURL generates an URL for the cluster list members operation

func (*ClusterListMembersURL) Build

func (o *ClusterListMembersURL) Build() (*url.URL, error)

Build a url path and query string

func (*ClusterListMembersURL) BuildFull

func (o *ClusterListMembersURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ClusterListMembersURL) Must

func (o *ClusterListMembersURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ClusterListMembersURL) SetBasePath

func (o *ClusterListMembersURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ClusterListMembersURL) String

func (o *ClusterListMembersURL) String() string

String returns the string representation of the path with query string

func (*ClusterListMembersURL) StringFull

func (o *ClusterListMembersURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ClusterListMembersURL) WithBasePath

func (o *ClusterListMembersURL) WithBasePath(bp string) *ClusterListMembersURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ClusterListMembersUnauthorized

type ClusterListMembersUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterListMembersUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response clusterListMembersUnauthorized

func NewClusterListMembersUnauthorized

func NewClusterListMembersUnauthorized() *ClusterListMembersUnauthorized

NewClusterListMembersUnauthorized creates ClusterListMembersUnauthorized with default headers values

func (*ClusterListMembersUnauthorized) SetPayload

SetPayload sets the payload to the cluster list members unauthorized response

func (*ClusterListMembersUnauthorized) WithPayload

WithPayload adds the payload to the cluster list members unauthorized response

func (*ClusterListMembersUnauthorized) WriteResponse

func (o *ClusterListMembersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ClusterMemberAdd

type ClusterMemberAdd struct {
	Context *middleware.Context
	Handler ClusterMemberAddHandler
}
ClusterMemberAdd swagger:route POST /cluster/add-member Cluster clusterMemberAdd

Add a member to the controller cluster

Add a member to the controller cluster. Requires admin access.

func NewClusterMemberAdd

func NewClusterMemberAdd(ctx *middleware.Context, handler ClusterMemberAddHandler) *ClusterMemberAdd

NewClusterMemberAdd creates a new http.Handler for the cluster member add operation

func (*ClusterMemberAdd) ServeHTTP

func (o *ClusterMemberAdd) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ClusterMemberAddBadRequest

type ClusterMemberAddBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterMemberAddBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response clusterMemberAddBadRequest

func NewClusterMemberAddBadRequest

func NewClusterMemberAddBadRequest() *ClusterMemberAddBadRequest

NewClusterMemberAddBadRequest creates ClusterMemberAddBadRequest with default headers values

func (*ClusterMemberAddBadRequest) SetPayload

func (o *ClusterMemberAddBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the cluster member add bad request response

func (*ClusterMemberAddBadRequest) WithPayload

WithPayload adds the payload to the cluster member add bad request response

func (*ClusterMemberAddBadRequest) WriteResponse

func (o *ClusterMemberAddBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ClusterMemberAddHandler

type ClusterMemberAddHandler interface {
	Handle(ClusterMemberAddParams) middleware.Responder
}

ClusterMemberAddHandler interface for that can handle valid cluster member add params

type ClusterMemberAddHandlerFunc

type ClusterMemberAddHandlerFunc func(ClusterMemberAddParams) middleware.Responder

ClusterMemberAddHandlerFunc turns a function with the right signature into a cluster member add handler

func (ClusterMemberAddHandlerFunc) Handle

Handle executing the request and returning a response

type ClusterMemberAddOK

type ClusterMemberAddOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

ClusterMemberAddOK Base empty response

swagger:response clusterMemberAddOK

func NewClusterMemberAddOK

func NewClusterMemberAddOK() *ClusterMemberAddOK

NewClusterMemberAddOK creates ClusterMemberAddOK with default headers values

func (*ClusterMemberAddOK) SetPayload

func (o *ClusterMemberAddOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the cluster member add o k response

func (*ClusterMemberAddOK) WithPayload

func (o *ClusterMemberAddOK) WithPayload(payload *rest_model.Empty) *ClusterMemberAddOK

WithPayload adds the payload to the cluster member add o k response

func (*ClusterMemberAddOK) WriteResponse

func (o *ClusterMemberAddOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ClusterMemberAddParams

type ClusterMemberAddParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*member parameters
	  Required: true
	  In: body
	*/
	Member *rest_model.ClusterMemberAdd
}

ClusterMemberAddParams contains all the bound params for the cluster member add operation typically these are obtained from a http.Request

swagger:parameters clusterMemberAdd

func NewClusterMemberAddParams

func NewClusterMemberAddParams() ClusterMemberAddParams

NewClusterMemberAddParams creates a new ClusterMemberAddParams object

There are no default values defined in the spec.

func (*ClusterMemberAddParams) BindRequest

func (o *ClusterMemberAddParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewClusterMemberAddParams() beforehand.

type ClusterMemberAddServiceUnavailable

type ClusterMemberAddServiceUnavailable struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterMemberAddServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response clusterMemberAddServiceUnavailable

func NewClusterMemberAddServiceUnavailable

func NewClusterMemberAddServiceUnavailable() *ClusterMemberAddServiceUnavailable

NewClusterMemberAddServiceUnavailable creates ClusterMemberAddServiceUnavailable with default headers values

func (*ClusterMemberAddServiceUnavailable) SetPayload

SetPayload sets the payload to the cluster member add service unavailable response

func (*ClusterMemberAddServiceUnavailable) WithPayload

WithPayload adds the payload to the cluster member add service unavailable response

func (*ClusterMemberAddServiceUnavailable) WriteResponse

WriteResponse to the client

type ClusterMemberAddTooManyRequests

type ClusterMemberAddTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterMemberAddTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response clusterMemberAddTooManyRequests

func NewClusterMemberAddTooManyRequests

func NewClusterMemberAddTooManyRequests() *ClusterMemberAddTooManyRequests

NewClusterMemberAddTooManyRequests creates ClusterMemberAddTooManyRequests with default headers values

func (*ClusterMemberAddTooManyRequests) SetPayload

SetPayload sets the payload to the cluster member add too many requests response

func (*ClusterMemberAddTooManyRequests) WithPayload

WithPayload adds the payload to the cluster member add too many requests response

func (*ClusterMemberAddTooManyRequests) WriteResponse

func (o *ClusterMemberAddTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ClusterMemberAddURL

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

ClusterMemberAddURL generates an URL for the cluster member add operation

func (*ClusterMemberAddURL) Build

func (o *ClusterMemberAddURL) Build() (*url.URL, error)

Build a url path and query string

func (*ClusterMemberAddURL) BuildFull

func (o *ClusterMemberAddURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ClusterMemberAddURL) Must

func (o *ClusterMemberAddURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ClusterMemberAddURL) SetBasePath

func (o *ClusterMemberAddURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ClusterMemberAddURL) String

func (o *ClusterMemberAddURL) String() string

String returns the string representation of the path with query string

func (*ClusterMemberAddURL) StringFull

func (o *ClusterMemberAddURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ClusterMemberAddURL) WithBasePath

func (o *ClusterMemberAddURL) WithBasePath(bp string) *ClusterMemberAddURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ClusterMemberAddUnauthorized

type ClusterMemberAddUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterMemberAddUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response clusterMemberAddUnauthorized

func NewClusterMemberAddUnauthorized

func NewClusterMemberAddUnauthorized() *ClusterMemberAddUnauthorized

NewClusterMemberAddUnauthorized creates ClusterMemberAddUnauthorized with default headers values

func (*ClusterMemberAddUnauthorized) SetPayload

SetPayload sets the payload to the cluster member add unauthorized response

func (*ClusterMemberAddUnauthorized) WithPayload

WithPayload adds the payload to the cluster member add unauthorized response

func (*ClusterMemberAddUnauthorized) WriteResponse

func (o *ClusterMemberAddUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ClusterMemberRemove

type ClusterMemberRemove struct {
	Context *middleware.Context
	Handler ClusterMemberRemoveHandler
}
ClusterMemberRemove swagger:route POST /cluster/remove-member Cluster clusterMemberRemove

Remove a member from the controller cluster

Remove a member from the controller cluster. Requires admin access.

func NewClusterMemberRemove

func NewClusterMemberRemove(ctx *middleware.Context, handler ClusterMemberRemoveHandler) *ClusterMemberRemove

NewClusterMemberRemove creates a new http.Handler for the cluster member remove operation

func (*ClusterMemberRemove) ServeHTTP

func (o *ClusterMemberRemove) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ClusterMemberRemoveBadRequest

type ClusterMemberRemoveBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterMemberRemoveBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response clusterMemberRemoveBadRequest

func NewClusterMemberRemoveBadRequest

func NewClusterMemberRemoveBadRequest() *ClusterMemberRemoveBadRequest

NewClusterMemberRemoveBadRequest creates ClusterMemberRemoveBadRequest with default headers values

func (*ClusterMemberRemoveBadRequest) SetPayload

SetPayload sets the payload to the cluster member remove bad request response

func (*ClusterMemberRemoveBadRequest) WithPayload

WithPayload adds the payload to the cluster member remove bad request response

func (*ClusterMemberRemoveBadRequest) WriteResponse

func (o *ClusterMemberRemoveBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ClusterMemberRemoveHandler

type ClusterMemberRemoveHandler interface {
	Handle(ClusterMemberRemoveParams) middleware.Responder
}

ClusterMemberRemoveHandler interface for that can handle valid cluster member remove params

type ClusterMemberRemoveHandlerFunc

type ClusterMemberRemoveHandlerFunc func(ClusterMemberRemoveParams) middleware.Responder

ClusterMemberRemoveHandlerFunc turns a function with the right signature into a cluster member remove handler

func (ClusterMemberRemoveHandlerFunc) Handle

Handle executing the request and returning a response

type ClusterMemberRemoveNotFound

type ClusterMemberRemoveNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterMemberRemoveNotFound The requested resource does not exist

swagger:response clusterMemberRemoveNotFound

func NewClusterMemberRemoveNotFound

func NewClusterMemberRemoveNotFound() *ClusterMemberRemoveNotFound

NewClusterMemberRemoveNotFound creates ClusterMemberRemoveNotFound with default headers values

func (*ClusterMemberRemoveNotFound) SetPayload

SetPayload sets the payload to the cluster member remove not found response

func (*ClusterMemberRemoveNotFound) WithPayload

WithPayload adds the payload to the cluster member remove not found response

func (*ClusterMemberRemoveNotFound) WriteResponse

func (o *ClusterMemberRemoveNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ClusterMemberRemoveOK

type ClusterMemberRemoveOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

ClusterMemberRemoveOK Base empty response

swagger:response clusterMemberRemoveOK

func NewClusterMemberRemoveOK

func NewClusterMemberRemoveOK() *ClusterMemberRemoveOK

NewClusterMemberRemoveOK creates ClusterMemberRemoveOK with default headers values

func (*ClusterMemberRemoveOK) SetPayload

func (o *ClusterMemberRemoveOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the cluster member remove o k response

func (*ClusterMemberRemoveOK) WithPayload

func (o *ClusterMemberRemoveOK) WithPayload(payload *rest_model.Empty) *ClusterMemberRemoveOK

WithPayload adds the payload to the cluster member remove o k response

func (*ClusterMemberRemoveOK) WriteResponse

func (o *ClusterMemberRemoveOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ClusterMemberRemoveParams

type ClusterMemberRemoveParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*member parameters
	  Required: true
	  In: body
	*/
	Member *rest_model.ClusterMemberRemove
}

ClusterMemberRemoveParams contains all the bound params for the cluster member remove operation typically these are obtained from a http.Request

swagger:parameters clusterMemberRemove

func NewClusterMemberRemoveParams

func NewClusterMemberRemoveParams() ClusterMemberRemoveParams

NewClusterMemberRemoveParams creates a new ClusterMemberRemoveParams object

There are no default values defined in the spec.

func (*ClusterMemberRemoveParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewClusterMemberRemoveParams() beforehand.

type ClusterMemberRemoveServiceUnavailable

type ClusterMemberRemoveServiceUnavailable struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterMemberRemoveServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response clusterMemberRemoveServiceUnavailable

func NewClusterMemberRemoveServiceUnavailable

func NewClusterMemberRemoveServiceUnavailable() *ClusterMemberRemoveServiceUnavailable

NewClusterMemberRemoveServiceUnavailable creates ClusterMemberRemoveServiceUnavailable with default headers values

func (*ClusterMemberRemoveServiceUnavailable) SetPayload

SetPayload sets the payload to the cluster member remove service unavailable response

func (*ClusterMemberRemoveServiceUnavailable) WithPayload

WithPayload adds the payload to the cluster member remove service unavailable response

func (*ClusterMemberRemoveServiceUnavailable) WriteResponse

WriteResponse to the client

type ClusterMemberRemoveTooManyRequests

type ClusterMemberRemoveTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterMemberRemoveTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response clusterMemberRemoveTooManyRequests

func NewClusterMemberRemoveTooManyRequests

func NewClusterMemberRemoveTooManyRequests() *ClusterMemberRemoveTooManyRequests

NewClusterMemberRemoveTooManyRequests creates ClusterMemberRemoveTooManyRequests with default headers values

func (*ClusterMemberRemoveTooManyRequests) SetPayload

SetPayload sets the payload to the cluster member remove too many requests response

func (*ClusterMemberRemoveTooManyRequests) WithPayload

WithPayload adds the payload to the cluster member remove too many requests response

func (*ClusterMemberRemoveTooManyRequests) WriteResponse

WriteResponse to the client

type ClusterMemberRemoveURL

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

ClusterMemberRemoveURL generates an URL for the cluster member remove operation

func (*ClusterMemberRemoveURL) Build

func (o *ClusterMemberRemoveURL) Build() (*url.URL, error)

Build a url path and query string

func (*ClusterMemberRemoveURL) BuildFull

func (o *ClusterMemberRemoveURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ClusterMemberRemoveURL) Must

func (o *ClusterMemberRemoveURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ClusterMemberRemoveURL) SetBasePath

func (o *ClusterMemberRemoveURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ClusterMemberRemoveURL) String

func (o *ClusterMemberRemoveURL) String() string

String returns the string representation of the path with query string

func (*ClusterMemberRemoveURL) StringFull

func (o *ClusterMemberRemoveURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ClusterMemberRemoveURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ClusterMemberRemoveUnauthorized

type ClusterMemberRemoveUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterMemberRemoveUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response clusterMemberRemoveUnauthorized

func NewClusterMemberRemoveUnauthorized

func NewClusterMemberRemoveUnauthorized() *ClusterMemberRemoveUnauthorized

NewClusterMemberRemoveUnauthorized creates ClusterMemberRemoveUnauthorized with default headers values

func (*ClusterMemberRemoveUnauthorized) SetPayload

SetPayload sets the payload to the cluster member remove unauthorized response

func (*ClusterMemberRemoveUnauthorized) WithPayload

WithPayload adds the payload to the cluster member remove unauthorized response

func (*ClusterMemberRemoveUnauthorized) WriteResponse

func (o *ClusterMemberRemoveUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ClusterTransferLeadership

type ClusterTransferLeadership struct {
	Context *middleware.Context
	Handler ClusterTransferLeadershipHandler
}
ClusterTransferLeadership swagger:route POST /cluster/transfer-leadership Cluster clusterTransferLeadership

Attempts to transfer leadership to a different member of the cluster

Attempts to transfer leadership to a different member of the cluster. Requires admin access.

func NewClusterTransferLeadership

func NewClusterTransferLeadership(ctx *middleware.Context, handler ClusterTransferLeadershipHandler) *ClusterTransferLeadership

NewClusterTransferLeadership creates a new http.Handler for the cluster transfer leadership operation

func (*ClusterTransferLeadership) ServeHTTP

type ClusterTransferLeadershipHandler

type ClusterTransferLeadershipHandler interface {
	Handle(ClusterTransferLeadershipParams) middleware.Responder
}

ClusterTransferLeadershipHandler interface for that can handle valid cluster transfer leadership params

type ClusterTransferLeadershipHandlerFunc

type ClusterTransferLeadershipHandlerFunc func(ClusterTransferLeadershipParams) middleware.Responder

ClusterTransferLeadershipHandlerFunc turns a function with the right signature into a cluster transfer leadership handler

func (ClusterTransferLeadershipHandlerFunc) Handle

Handle executing the request and returning a response

type ClusterTransferLeadershipInternalServerError

type ClusterTransferLeadershipInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterTransferLeadershipInternalServerError The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response clusterTransferLeadershipInternalServerError

func NewClusterTransferLeadershipInternalServerError

func NewClusterTransferLeadershipInternalServerError() *ClusterTransferLeadershipInternalServerError

NewClusterTransferLeadershipInternalServerError creates ClusterTransferLeadershipInternalServerError with default headers values

func (*ClusterTransferLeadershipInternalServerError) SetPayload

SetPayload sets the payload to the cluster transfer leadership internal server error response

func (*ClusterTransferLeadershipInternalServerError) WithPayload

WithPayload adds the payload to the cluster transfer leadership internal server error response

func (*ClusterTransferLeadershipInternalServerError) WriteResponse

WriteResponse to the client

type ClusterTransferLeadershipNotFound

type ClusterTransferLeadershipNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterTransferLeadershipNotFound The requested resource does not exist

swagger:response clusterTransferLeadershipNotFound

func NewClusterTransferLeadershipNotFound

func NewClusterTransferLeadershipNotFound() *ClusterTransferLeadershipNotFound

NewClusterTransferLeadershipNotFound creates ClusterTransferLeadershipNotFound with default headers values

func (*ClusterTransferLeadershipNotFound) SetPayload

SetPayload sets the payload to the cluster transfer leadership not found response

func (*ClusterTransferLeadershipNotFound) WithPayload

WithPayload adds the payload to the cluster transfer leadership not found response

func (*ClusterTransferLeadershipNotFound) WriteResponse

func (o *ClusterTransferLeadershipNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ClusterTransferLeadershipOK

type ClusterTransferLeadershipOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

ClusterTransferLeadershipOK Base empty response

swagger:response clusterTransferLeadershipOK

func NewClusterTransferLeadershipOK

func NewClusterTransferLeadershipOK() *ClusterTransferLeadershipOK

NewClusterTransferLeadershipOK creates ClusterTransferLeadershipOK with default headers values

func (*ClusterTransferLeadershipOK) SetPayload

func (o *ClusterTransferLeadershipOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the cluster transfer leadership o k response

func (*ClusterTransferLeadershipOK) WithPayload

WithPayload adds the payload to the cluster transfer leadership o k response

func (*ClusterTransferLeadershipOK) WriteResponse

func (o *ClusterTransferLeadershipOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ClusterTransferLeadershipParams

type ClusterTransferLeadershipParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*transfer operation parameters
	  Required: true
	  In: body
	*/
	Member *rest_model.ClusterTransferLeadership
}

ClusterTransferLeadershipParams contains all the bound params for the cluster transfer leadership operation typically these are obtained from a http.Request

swagger:parameters clusterTransferLeadership

func NewClusterTransferLeadershipParams

func NewClusterTransferLeadershipParams() ClusterTransferLeadershipParams

NewClusterTransferLeadershipParams creates a new ClusterTransferLeadershipParams object

There are no default values defined in the spec.

func (*ClusterTransferLeadershipParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewClusterTransferLeadershipParams() beforehand.

type ClusterTransferLeadershipServiceUnavailable

type ClusterTransferLeadershipServiceUnavailable struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterTransferLeadershipServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response clusterTransferLeadershipServiceUnavailable

func NewClusterTransferLeadershipServiceUnavailable

func NewClusterTransferLeadershipServiceUnavailable() *ClusterTransferLeadershipServiceUnavailable

NewClusterTransferLeadershipServiceUnavailable creates ClusterTransferLeadershipServiceUnavailable with default headers values

func (*ClusterTransferLeadershipServiceUnavailable) SetPayload

SetPayload sets the payload to the cluster transfer leadership service unavailable response

func (*ClusterTransferLeadershipServiceUnavailable) WithPayload

WithPayload adds the payload to the cluster transfer leadership service unavailable response

func (*ClusterTransferLeadershipServiceUnavailable) WriteResponse

WriteResponse to the client

type ClusterTransferLeadershipTooManyRequests

type ClusterTransferLeadershipTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterTransferLeadershipTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response clusterTransferLeadershipTooManyRequests

func NewClusterTransferLeadershipTooManyRequests

func NewClusterTransferLeadershipTooManyRequests() *ClusterTransferLeadershipTooManyRequests

NewClusterTransferLeadershipTooManyRequests creates ClusterTransferLeadershipTooManyRequests with default headers values

func (*ClusterTransferLeadershipTooManyRequests) SetPayload

SetPayload sets the payload to the cluster transfer leadership too many requests response

func (*ClusterTransferLeadershipTooManyRequests) WithPayload

WithPayload adds the payload to the cluster transfer leadership too many requests response

func (*ClusterTransferLeadershipTooManyRequests) WriteResponse

WriteResponse to the client

type ClusterTransferLeadershipURL

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

ClusterTransferLeadershipURL generates an URL for the cluster transfer leadership operation

func (*ClusterTransferLeadershipURL) Build

func (o *ClusterTransferLeadershipURL) Build() (*url.URL, error)

Build a url path and query string

func (*ClusterTransferLeadershipURL) BuildFull

func (o *ClusterTransferLeadershipURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ClusterTransferLeadershipURL) Must

func (o *ClusterTransferLeadershipURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ClusterTransferLeadershipURL) SetBasePath

func (o *ClusterTransferLeadershipURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ClusterTransferLeadershipURL) String

String returns the string representation of the path with query string

func (*ClusterTransferLeadershipURL) StringFull

func (o *ClusterTransferLeadershipURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ClusterTransferLeadershipURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ClusterTransferLeadershipUnauthorized

type ClusterTransferLeadershipUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ClusterTransferLeadershipUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response clusterTransferLeadershipUnauthorized

func NewClusterTransferLeadershipUnauthorized

func NewClusterTransferLeadershipUnauthorized() *ClusterTransferLeadershipUnauthorized

NewClusterTransferLeadershipUnauthorized creates ClusterTransferLeadershipUnauthorized with default headers values

func (*ClusterTransferLeadershipUnauthorized) SetPayload

SetPayload sets the payload to the cluster transfer leadership unauthorized response

func (*ClusterTransferLeadershipUnauthorized) WithPayload

WithPayload adds the payload to the cluster transfer leadership unauthorized response

func (*ClusterTransferLeadershipUnauthorized) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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