Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) GetKubernetesCluster(params *GetKubernetesClusterParams) (*GetKubernetesClusterOK, error)
- func (a *Client) ListKubernetesClusters(params *ListKubernetesClustersParams) (*ListKubernetesClustersOK, error)
- func (a *Client) RegisterKubernetesCluster(params *RegisterKubernetesClusterParams) (*RegisterKubernetesClusterOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UnregisterKubernetesCluster(params *UnregisterKubernetesClusterParams) (*UnregisterKubernetesClusterOK, error)
- type ClientService
- type DetailsItems0
- type GetKubernetesClusterBody
- type GetKubernetesClusterDefault
- type GetKubernetesClusterDefaultBody
- type GetKubernetesClusterOK
- type GetKubernetesClusterOKBody
- type GetKubernetesClusterOKBodyKubeAuth
- type GetKubernetesClusterParams
- func NewGetKubernetesClusterParams() *GetKubernetesClusterParams
- func NewGetKubernetesClusterParamsWithContext(ctx context.Context) *GetKubernetesClusterParams
- func NewGetKubernetesClusterParamsWithHTTPClient(client *http.Client) *GetKubernetesClusterParams
- func NewGetKubernetesClusterParamsWithTimeout(timeout time.Duration) *GetKubernetesClusterParams
- func (o *GetKubernetesClusterParams) SetBody(body GetKubernetesClusterBody)
- func (o *GetKubernetesClusterParams) SetContext(ctx context.Context)
- func (o *GetKubernetesClusterParams) SetHTTPClient(client *http.Client)
- func (o *GetKubernetesClusterParams) SetTimeout(timeout time.Duration)
- func (o *GetKubernetesClusterParams) WithBody(body GetKubernetesClusterBody) *GetKubernetesClusterParams
- func (o *GetKubernetesClusterParams) WithContext(ctx context.Context) *GetKubernetesClusterParams
- func (o *GetKubernetesClusterParams) WithHTTPClient(client *http.Client) *GetKubernetesClusterParams
- func (o *GetKubernetesClusterParams) WithTimeout(timeout time.Duration) *GetKubernetesClusterParams
- func (o *GetKubernetesClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKubernetesClusterReader
- type KubernetesClustersItems0
- type KubernetesClustersItems0Operators
- type KubernetesClustersItems0OperatorsPSMDB
- type KubernetesClustersItems0OperatorsXtradb
- type ListKubernetesClustersDefault
- type ListKubernetesClustersDefaultBody
- type ListKubernetesClustersOK
- type ListKubernetesClustersOKBody
- type ListKubernetesClustersParams
- func NewListKubernetesClustersParams() *ListKubernetesClustersParams
- func NewListKubernetesClustersParamsWithContext(ctx context.Context) *ListKubernetesClustersParams
- func NewListKubernetesClustersParamsWithHTTPClient(client *http.Client) *ListKubernetesClustersParams
- func NewListKubernetesClustersParamsWithTimeout(timeout time.Duration) *ListKubernetesClustersParams
- func (o *ListKubernetesClustersParams) SetBody(body interface{})
- func (o *ListKubernetesClustersParams) SetContext(ctx context.Context)
- func (o *ListKubernetesClustersParams) SetHTTPClient(client *http.Client)
- func (o *ListKubernetesClustersParams) SetTimeout(timeout time.Duration)
- func (o *ListKubernetesClustersParams) WithBody(body interface{}) *ListKubernetesClustersParams
- func (o *ListKubernetesClustersParams) WithContext(ctx context.Context) *ListKubernetesClustersParams
- func (o *ListKubernetesClustersParams) WithHTTPClient(client *http.Client) *ListKubernetesClustersParams
- func (o *ListKubernetesClustersParams) WithTimeout(timeout time.Duration) *ListKubernetesClustersParams
- func (o *ListKubernetesClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListKubernetesClustersReader
- type RegisterKubernetesClusterBody
- type RegisterKubernetesClusterDefault
- type RegisterKubernetesClusterDefaultBody
- type RegisterKubernetesClusterOK
- type RegisterKubernetesClusterParams
- func NewRegisterKubernetesClusterParams() *RegisterKubernetesClusterParams
- func NewRegisterKubernetesClusterParamsWithContext(ctx context.Context) *RegisterKubernetesClusterParams
- func NewRegisterKubernetesClusterParamsWithHTTPClient(client *http.Client) *RegisterKubernetesClusterParams
- func NewRegisterKubernetesClusterParamsWithTimeout(timeout time.Duration) *RegisterKubernetesClusterParams
- func (o *RegisterKubernetesClusterParams) SetBody(body RegisterKubernetesClusterBody)
- func (o *RegisterKubernetesClusterParams) SetContext(ctx context.Context)
- func (o *RegisterKubernetesClusterParams) SetHTTPClient(client *http.Client)
- func (o *RegisterKubernetesClusterParams) SetTimeout(timeout time.Duration)
- func (o *RegisterKubernetesClusterParams) WithBody(body RegisterKubernetesClusterBody) *RegisterKubernetesClusterParams
- func (o *RegisterKubernetesClusterParams) WithContext(ctx context.Context) *RegisterKubernetesClusterParams
- func (o *RegisterKubernetesClusterParams) WithHTTPClient(client *http.Client) *RegisterKubernetesClusterParams
- func (o *RegisterKubernetesClusterParams) WithTimeout(timeout time.Duration) *RegisterKubernetesClusterParams
- func (o *RegisterKubernetesClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegisterKubernetesClusterParamsBodyKubeAuth
- type RegisterKubernetesClusterReader
- type UnregisterKubernetesClusterBody
- type UnregisterKubernetesClusterDefault
- type UnregisterKubernetesClusterDefaultBody
- type UnregisterKubernetesClusterOK
- type UnregisterKubernetesClusterParams
- func NewUnregisterKubernetesClusterParams() *UnregisterKubernetesClusterParams
- func NewUnregisterKubernetesClusterParamsWithContext(ctx context.Context) *UnregisterKubernetesClusterParams
- func NewUnregisterKubernetesClusterParamsWithHTTPClient(client *http.Client) *UnregisterKubernetesClusterParams
- func NewUnregisterKubernetesClusterParamsWithTimeout(timeout time.Duration) *UnregisterKubernetesClusterParams
- func (o *UnregisterKubernetesClusterParams) SetBody(body UnregisterKubernetesClusterBody)
- func (o *UnregisterKubernetesClusterParams) SetContext(ctx context.Context)
- func (o *UnregisterKubernetesClusterParams) SetHTTPClient(client *http.Client)
- func (o *UnregisterKubernetesClusterParams) SetTimeout(timeout time.Duration)
- func (o *UnregisterKubernetesClusterParams) WithBody(body UnregisterKubernetesClusterBody) *UnregisterKubernetesClusterParams
- func (o *UnregisterKubernetesClusterParams) WithContext(ctx context.Context) *UnregisterKubernetesClusterParams
- func (o *UnregisterKubernetesClusterParams) WithHTTPClient(client *http.Client) *UnregisterKubernetesClusterParams
- func (o *UnregisterKubernetesClusterParams) WithTimeout(timeout time.Duration) *UnregisterKubernetesClusterParams
- func (o *UnregisterKubernetesClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnregisterKubernetesClusterReader
Constants ¶
const ( // KubernetesClustersItems0StatusKUBERNETESCLUSTERSTATUSINVALID captures enum value "KUBERNETES_CLUSTER_STATUS_INVALID" KubernetesClustersItems0StatusKUBERNETESCLUSTERSTATUSINVALID string = "KUBERNETES_CLUSTER_STATUS_INVALID" // KubernetesClustersItems0StatusKUBERNETESCLUSTERSTATUSOK captures enum value "KUBERNETES_CLUSTER_STATUS_OK" KubernetesClustersItems0StatusKUBERNETESCLUSTERSTATUSOK string = "KUBERNETES_CLUSTER_STATUS_OK" // KubernetesClustersItems0StatusKUBERNETESCLUSTERSTATUSUNAVAILABLE captures enum value "KUBERNETES_CLUSTER_STATUS_UNAVAILABLE" KubernetesClustersItems0StatusKUBERNETESCLUSTERSTATUSUNAVAILABLE string = "KUBERNETES_CLUSTER_STATUS_UNAVAILABLE" )
const ( // KubernetesClustersItems0OperatorsPSMDBStatusOPERATORSSTATUSINVALID captures enum value "OPERATORS_STATUS_INVALID" KubernetesClustersItems0OperatorsPSMDBStatusOPERATORSSTATUSINVALID string = "OPERATORS_STATUS_INVALID" // KubernetesClustersItems0OperatorsPSMDBStatusOPERATORSSTATUSOK captures enum value "OPERATORS_STATUS_OK" KubernetesClustersItems0OperatorsPSMDBStatusOPERATORSSTATUSOK string = "OPERATORS_STATUS_OK" // KubernetesClustersItems0OperatorsPSMDBStatusOPERATORSSTATUSUNSUPPORTED captures enum value "OPERATORS_STATUS_UNSUPPORTED" KubernetesClustersItems0OperatorsPSMDBStatusOPERATORSSTATUSUNSUPPORTED string = "OPERATORS_STATUS_UNSUPPORTED" // KubernetesClustersItems0OperatorsPSMDBStatusOPERATORSSTATUSNOTINSTALLED captures enum value "OPERATORS_STATUS_NOT_INSTALLED" KubernetesClustersItems0OperatorsPSMDBStatusOPERATORSSTATUSNOTINSTALLED string = "OPERATORS_STATUS_NOT_INSTALLED" )
const ( // KubernetesClustersItems0OperatorsXtradbStatusOPERATORSSTATUSINVALID captures enum value "OPERATORS_STATUS_INVALID" KubernetesClustersItems0OperatorsXtradbStatusOPERATORSSTATUSINVALID string = "OPERATORS_STATUS_INVALID" // KubernetesClustersItems0OperatorsXtradbStatusOPERATORSSTATUSOK captures enum value "OPERATORS_STATUS_OK" KubernetesClustersItems0OperatorsXtradbStatusOPERATORSSTATUSOK string = "OPERATORS_STATUS_OK" // KubernetesClustersItems0OperatorsXtradbStatusOPERATORSSTATUSUNSUPPORTED captures enum value "OPERATORS_STATUS_UNSUPPORTED" KubernetesClustersItems0OperatorsXtradbStatusOPERATORSSTATUSUNSUPPORTED string = "OPERATORS_STATUS_UNSUPPORTED" // KubernetesClustersItems0OperatorsXtradbStatusOPERATORSSTATUSNOTINSTALLED captures enum value "OPERATORS_STATUS_NOT_INSTALLED" KubernetesClustersItems0OperatorsXtradbStatusOPERATORSSTATUSNOTINSTALLED string = "OPERATORS_STATUS_NOT_INSTALLED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for kubernetes API
func (*Client) GetKubernetesCluster ¶
func (a *Client) GetKubernetesCluster(params *GetKubernetesClusterParams) (*GetKubernetesClusterOK, error)
GetKubernetesCluster gets kubernetes cluster return kube auth with kubernetes config
func (*Client) ListKubernetesClusters ¶
func (a *Client) ListKubernetesClusters(params *ListKubernetesClustersParams) (*ListKubernetesClustersOK, error)
ListKubernetesClusters lists kubernetes clusters returns a list of all registered kubernetes clusters
func (*Client) RegisterKubernetesCluster ¶
func (a *Client) RegisterKubernetesCluster(params *RegisterKubernetesClusterParams) (*RegisterKubernetesClusterOK, error)
RegisterKubernetesCluster registers kubernetes cluster registers an existing kubernetes cluster in PMM
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UnregisterKubernetesCluster ¶
func (a *Client) UnregisterKubernetesCluster(params *UnregisterKubernetesClusterParams) (*UnregisterKubernetesClusterOK, error)
UnregisterKubernetesCluster unregisters kubernetes cluster removes a registered kubernetes cluster from PMM
type ClientService ¶
type ClientService interface { GetKubernetesCluster(params *GetKubernetesClusterParams) (*GetKubernetesClusterOK, error) ListKubernetesClusters(params *ListKubernetesClustersParams) (*ListKubernetesClustersOK, error) RegisterKubernetesCluster(params *RegisterKubernetesClusterParams) (*RegisterKubernetesClusterOK, error) UnregisterKubernetesCluster(params *UnregisterKubernetesClusterParams) (*UnregisterKubernetesClusterOK, 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 kubernetes API client.
type DetailsItems0 ¶
type DetailsItems0 struct { // type url TypeURL string `json:"type_url,omitempty"` // value // Format: byte Value strfmt.Base64 `json:"value,omitempty"` }
DetailsItems0 details items0 swagger:model DetailsItems0
func (*DetailsItems0) MarshalBinary ¶
func (o *DetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DetailsItems0) UnmarshalBinary ¶
func (o *DetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetKubernetesClusterBody ¶
type GetKubernetesClusterBody struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` }
GetKubernetesClusterBody get kubernetes cluster body swagger:model GetKubernetesClusterBody
func (*GetKubernetesClusterBody) MarshalBinary ¶
func (o *GetKubernetesClusterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetKubernetesClusterBody) UnmarshalBinary ¶
func (o *GetKubernetesClusterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetKubernetesClusterDefault ¶
type GetKubernetesClusterDefault struct { Payload *GetKubernetesClusterDefaultBody // contains filtered or unexported fields }
GetKubernetesClusterDefault handles this case with default header values.
An unexpected error response.
func NewGetKubernetesClusterDefault ¶
func NewGetKubernetesClusterDefault(code int) *GetKubernetesClusterDefault
NewGetKubernetesClusterDefault creates a GetKubernetesClusterDefault with default headers values
func (*GetKubernetesClusterDefault) Code ¶
func (o *GetKubernetesClusterDefault) Code() int
Code gets the status code for the get kubernetes cluster default response
func (*GetKubernetesClusterDefault) Error ¶
func (o *GetKubernetesClusterDefault) Error() string
func (*GetKubernetesClusterDefault) GetPayload ¶
func (o *GetKubernetesClusterDefault) GetPayload() *GetKubernetesClusterDefaultBody
type GetKubernetesClusterDefaultBody ¶
type GetKubernetesClusterDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
GetKubernetesClusterDefaultBody get kubernetes cluster default body swagger:model GetKubernetesClusterDefaultBody
func (*GetKubernetesClusterDefaultBody) MarshalBinary ¶
func (o *GetKubernetesClusterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetKubernetesClusterDefaultBody) UnmarshalBinary ¶
func (o *GetKubernetesClusterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetKubernetesClusterOK ¶
type GetKubernetesClusterOK struct {
Payload *GetKubernetesClusterOKBody
}
GetKubernetesClusterOK handles this case with default header values.
A successful response.
func NewGetKubernetesClusterOK ¶
func NewGetKubernetesClusterOK() *GetKubernetesClusterOK
NewGetKubernetesClusterOK creates a GetKubernetesClusterOK with default headers values
func (*GetKubernetesClusterOK) Error ¶
func (o *GetKubernetesClusterOK) Error() string
func (*GetKubernetesClusterOK) GetPayload ¶
func (o *GetKubernetesClusterOK) GetPayload() *GetKubernetesClusterOKBody
type GetKubernetesClusterOKBody ¶
type GetKubernetesClusterOKBody struct { // kube auth KubeAuth *GetKubernetesClusterOKBodyKubeAuth `json:"kube_auth,omitempty"` }
GetKubernetesClusterOKBody get kubernetes cluster OK body swagger:model GetKubernetesClusterOKBody
func (*GetKubernetesClusterOKBody) MarshalBinary ¶
func (o *GetKubernetesClusterOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetKubernetesClusterOKBody) UnmarshalBinary ¶
func (o *GetKubernetesClusterOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetKubernetesClusterOKBodyKubeAuth ¶
type GetKubernetesClusterOKBodyKubeAuth struct { // Kubeconfig file content. Kubeconfig string `json:"kubeconfig,omitempty"` }
GetKubernetesClusterOKBodyKubeAuth KubeAuth represents Kubernetes / kubectl authentication and authorization information. swagger:model GetKubernetesClusterOKBodyKubeAuth
func (*GetKubernetesClusterOKBodyKubeAuth) MarshalBinary ¶
func (o *GetKubernetesClusterOKBodyKubeAuth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetKubernetesClusterOKBodyKubeAuth) UnmarshalBinary ¶
func (o *GetKubernetesClusterOKBodyKubeAuth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetKubernetesClusterParams ¶
type GetKubernetesClusterParams struct { /*Body*/ Body GetKubernetesClusterBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetKubernetesClusterParams contains all the parameters to send to the API endpoint for the get kubernetes cluster operation typically these are written to a http.Request
func NewGetKubernetesClusterParams ¶
func NewGetKubernetesClusterParams() *GetKubernetesClusterParams
NewGetKubernetesClusterParams creates a new GetKubernetesClusterParams object with the default values initialized.
func NewGetKubernetesClusterParamsWithContext ¶
func NewGetKubernetesClusterParamsWithContext(ctx context.Context) *GetKubernetesClusterParams
NewGetKubernetesClusterParamsWithContext creates a new GetKubernetesClusterParams object with the default values initialized, and the ability to set a context for a request
func NewGetKubernetesClusterParamsWithHTTPClient ¶
func NewGetKubernetesClusterParamsWithHTTPClient(client *http.Client) *GetKubernetesClusterParams
NewGetKubernetesClusterParamsWithHTTPClient creates a new GetKubernetesClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetKubernetesClusterParamsWithTimeout ¶
func NewGetKubernetesClusterParamsWithTimeout(timeout time.Duration) *GetKubernetesClusterParams
NewGetKubernetesClusterParamsWithTimeout creates a new GetKubernetesClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetKubernetesClusterParams) SetBody ¶
func (o *GetKubernetesClusterParams) SetBody(body GetKubernetesClusterBody)
SetBody adds the body to the get kubernetes cluster params
func (*GetKubernetesClusterParams) SetContext ¶
func (o *GetKubernetesClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the get kubernetes cluster params
func (*GetKubernetesClusterParams) SetHTTPClient ¶
func (o *GetKubernetesClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get kubernetes cluster params
func (*GetKubernetesClusterParams) SetTimeout ¶
func (o *GetKubernetesClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get kubernetes cluster params
func (*GetKubernetesClusterParams) WithBody ¶
func (o *GetKubernetesClusterParams) WithBody(body GetKubernetesClusterBody) *GetKubernetesClusterParams
WithBody adds the body to the get kubernetes cluster params
func (*GetKubernetesClusterParams) WithContext ¶
func (o *GetKubernetesClusterParams) WithContext(ctx context.Context) *GetKubernetesClusterParams
WithContext adds the context to the get kubernetes cluster params
func (*GetKubernetesClusterParams) WithHTTPClient ¶
func (o *GetKubernetesClusterParams) WithHTTPClient(client *http.Client) *GetKubernetesClusterParams
WithHTTPClient adds the HTTPClient to the get kubernetes cluster params
func (*GetKubernetesClusterParams) WithTimeout ¶
func (o *GetKubernetesClusterParams) WithTimeout(timeout time.Duration) *GetKubernetesClusterParams
WithTimeout adds the timeout to the get kubernetes cluster params
func (*GetKubernetesClusterParams) WriteToRequest ¶
func (o *GetKubernetesClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetKubernetesClusterReader ¶
type GetKubernetesClusterReader struct {
// contains filtered or unexported fields
}
GetKubernetesClusterReader is a Reader for the GetKubernetesCluster structure.
func (*GetKubernetesClusterReader) ReadResponse ¶
func (o *GetKubernetesClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type KubernetesClustersItems0 ¶
type KubernetesClustersItems0 struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` // KubernetesClusterStatus defines status of Kubernetes cluster. // // - KUBERNETES_CLUSTER_STATUS_INVALID: KUBERNETES_CLUSTER_STATUS_INVALID represents unknown state. // - KUBERNETES_CLUSTER_STATUS_OK: KUBERNETES_CLUSTER_STATUS_OK represents that Kubernetes cluster is accessible. // - KUBERNETES_CLUSTER_STATUS_UNAVAILABLE: KUBERNETES_CLUSTER_STATUS_UNAVAILABLE represents that Kubernetes cluster is not accessible. // Enum: [KUBERNETES_CLUSTER_STATUS_INVALID KUBERNETES_CLUSTER_STATUS_OK KUBERNETES_CLUSTER_STATUS_UNAVAILABLE] Status *string `json:"status,omitempty"` // operators Operators *KubernetesClustersItems0Operators `json:"operators,omitempty"` }
KubernetesClustersItems0 Cluster contains public info about Kubernetes cluster. // TODO Do not use inner messages in all public APIs (for consistency). swagger:model KubernetesClustersItems0
func (*KubernetesClustersItems0) MarshalBinary ¶
func (o *KubernetesClustersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KubernetesClustersItems0) UnmarshalBinary ¶
func (o *KubernetesClustersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KubernetesClustersItems0Operators ¶
type KubernetesClustersItems0Operators struct { // psmdb PSMDB *KubernetesClustersItems0OperatorsPSMDB `json:"psmdb,omitempty"` // xtradb Xtradb *KubernetesClustersItems0OperatorsXtradb `json:"xtradb,omitempty"` }
KubernetesClustersItems0Operators Operators contains list of operators installed in Kubernetes cluster. swagger:model KubernetesClustersItems0Operators
func (*KubernetesClustersItems0Operators) MarshalBinary ¶
func (o *KubernetesClustersItems0Operators) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KubernetesClustersItems0Operators) UnmarshalBinary ¶
func (o *KubernetesClustersItems0Operators) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KubernetesClustersItems0OperatorsPSMDB ¶
type KubernetesClustersItems0OperatorsPSMDB struct { // OperatorsStatus defines status of operators installed in Kubernetes cluster. // // - OPERATORS_STATUS_INVALID: OPERATORS_STATUS_INVALID represents unknown state. // - OPERATORS_STATUS_OK: OPERATORS_STATUS_OK represents that operators are installed and have supported API version. // - OPERATORS_STATUS_UNSUPPORTED: OPERATORS_STATUS_UNSUPPORTED represents that operators are installed, but doesn't have supported API version. // - OPERATORS_STATUS_NOT_INSTALLED: OPERATORS_STATUS_NOT_INSTALLED represents that operators are not installed. // Enum: [OPERATORS_STATUS_INVALID OPERATORS_STATUS_OK OPERATORS_STATUS_UNSUPPORTED OPERATORS_STATUS_NOT_INSTALLED] Status *string `json:"status,omitempty"` }
KubernetesClustersItems0OperatorsPSMDB Operator contains all information about operator installed in Kubernetes cluster. swagger:model KubernetesClustersItems0OperatorsPSMDB
func (*KubernetesClustersItems0OperatorsPSMDB) MarshalBinary ¶
func (o *KubernetesClustersItems0OperatorsPSMDB) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KubernetesClustersItems0OperatorsPSMDB) UnmarshalBinary ¶
func (o *KubernetesClustersItems0OperatorsPSMDB) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KubernetesClustersItems0OperatorsXtradb ¶
type KubernetesClustersItems0OperatorsXtradb struct { // OperatorsStatus defines status of operators installed in Kubernetes cluster. // // - OPERATORS_STATUS_INVALID: OPERATORS_STATUS_INVALID represents unknown state. // - OPERATORS_STATUS_OK: OPERATORS_STATUS_OK represents that operators are installed and have supported API version. // - OPERATORS_STATUS_UNSUPPORTED: OPERATORS_STATUS_UNSUPPORTED represents that operators are installed, but doesn't have supported API version. // - OPERATORS_STATUS_NOT_INSTALLED: OPERATORS_STATUS_NOT_INSTALLED represents that operators are not installed. // Enum: [OPERATORS_STATUS_INVALID OPERATORS_STATUS_OK OPERATORS_STATUS_UNSUPPORTED OPERATORS_STATUS_NOT_INSTALLED] Status *string `json:"status,omitempty"` }
KubernetesClustersItems0OperatorsXtradb Operator contains all information about operator installed in Kubernetes cluster. swagger:model KubernetesClustersItems0OperatorsXtradb
func (*KubernetesClustersItems0OperatorsXtradb) MarshalBinary ¶
func (o *KubernetesClustersItems0OperatorsXtradb) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KubernetesClustersItems0OperatorsXtradb) UnmarshalBinary ¶
func (o *KubernetesClustersItems0OperatorsXtradb) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListKubernetesClustersDefault ¶
type ListKubernetesClustersDefault struct { Payload *ListKubernetesClustersDefaultBody // contains filtered or unexported fields }
ListKubernetesClustersDefault handles this case with default header values.
An unexpected error response.
func NewListKubernetesClustersDefault ¶
func NewListKubernetesClustersDefault(code int) *ListKubernetesClustersDefault
NewListKubernetesClustersDefault creates a ListKubernetesClustersDefault with default headers values
func (*ListKubernetesClustersDefault) Code ¶
func (o *ListKubernetesClustersDefault) Code() int
Code gets the status code for the list kubernetes clusters default response
func (*ListKubernetesClustersDefault) Error ¶
func (o *ListKubernetesClustersDefault) Error() string
func (*ListKubernetesClustersDefault) GetPayload ¶
func (o *ListKubernetesClustersDefault) GetPayload() *ListKubernetesClustersDefaultBody
type ListKubernetesClustersDefaultBody ¶
type ListKubernetesClustersDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
ListKubernetesClustersDefaultBody list kubernetes clusters default body swagger:model ListKubernetesClustersDefaultBody
func (*ListKubernetesClustersDefaultBody) MarshalBinary ¶
func (o *ListKubernetesClustersDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListKubernetesClustersDefaultBody) UnmarshalBinary ¶
func (o *ListKubernetesClustersDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListKubernetesClustersOK ¶
type ListKubernetesClustersOK struct {
Payload *ListKubernetesClustersOKBody
}
ListKubernetesClustersOK handles this case with default header values.
A successful response.
func NewListKubernetesClustersOK ¶
func NewListKubernetesClustersOK() *ListKubernetesClustersOK
NewListKubernetesClustersOK creates a ListKubernetesClustersOK with default headers values
func (*ListKubernetesClustersOK) Error ¶
func (o *ListKubernetesClustersOK) Error() string
func (*ListKubernetesClustersOK) GetPayload ¶
func (o *ListKubernetesClustersOK) GetPayload() *ListKubernetesClustersOKBody
type ListKubernetesClustersOKBody ¶
type ListKubernetesClustersOKBody struct { // Kubernetes clusters. KubernetesClusters []*KubernetesClustersItems0 `json:"kubernetes_clusters"` }
ListKubernetesClustersOKBody list kubernetes clusters OK body swagger:model ListKubernetesClustersOKBody
func (*ListKubernetesClustersOKBody) MarshalBinary ¶
func (o *ListKubernetesClustersOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListKubernetesClustersOKBody) UnmarshalBinary ¶
func (o *ListKubernetesClustersOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListKubernetesClustersParams ¶
type ListKubernetesClustersParams struct { /*Body*/ Body interface{} Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListKubernetesClustersParams contains all the parameters to send to the API endpoint for the list kubernetes clusters operation typically these are written to a http.Request
func NewListKubernetesClustersParams ¶
func NewListKubernetesClustersParams() *ListKubernetesClustersParams
NewListKubernetesClustersParams creates a new ListKubernetesClustersParams object with the default values initialized.
func NewListKubernetesClustersParamsWithContext ¶
func NewListKubernetesClustersParamsWithContext(ctx context.Context) *ListKubernetesClustersParams
NewListKubernetesClustersParamsWithContext creates a new ListKubernetesClustersParams object with the default values initialized, and the ability to set a context for a request
func NewListKubernetesClustersParamsWithHTTPClient ¶
func NewListKubernetesClustersParamsWithHTTPClient(client *http.Client) *ListKubernetesClustersParams
NewListKubernetesClustersParamsWithHTTPClient creates a new ListKubernetesClustersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListKubernetesClustersParamsWithTimeout ¶
func NewListKubernetesClustersParamsWithTimeout(timeout time.Duration) *ListKubernetesClustersParams
NewListKubernetesClustersParamsWithTimeout creates a new ListKubernetesClustersParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListKubernetesClustersParams) SetBody ¶
func (o *ListKubernetesClustersParams) SetBody(body interface{})
SetBody adds the body to the list kubernetes clusters params
func (*ListKubernetesClustersParams) SetContext ¶
func (o *ListKubernetesClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the list kubernetes clusters params
func (*ListKubernetesClustersParams) SetHTTPClient ¶
func (o *ListKubernetesClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list kubernetes clusters params
func (*ListKubernetesClustersParams) SetTimeout ¶
func (o *ListKubernetesClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list kubernetes clusters params
func (*ListKubernetesClustersParams) WithBody ¶
func (o *ListKubernetesClustersParams) WithBody(body interface{}) *ListKubernetesClustersParams
WithBody adds the body to the list kubernetes clusters params
func (*ListKubernetesClustersParams) WithContext ¶
func (o *ListKubernetesClustersParams) WithContext(ctx context.Context) *ListKubernetesClustersParams
WithContext adds the context to the list kubernetes clusters params
func (*ListKubernetesClustersParams) WithHTTPClient ¶
func (o *ListKubernetesClustersParams) WithHTTPClient(client *http.Client) *ListKubernetesClustersParams
WithHTTPClient adds the HTTPClient to the list kubernetes clusters params
func (*ListKubernetesClustersParams) WithTimeout ¶
func (o *ListKubernetesClustersParams) WithTimeout(timeout time.Duration) *ListKubernetesClustersParams
WithTimeout adds the timeout to the list kubernetes clusters params
func (*ListKubernetesClustersParams) WriteToRequest ¶
func (o *ListKubernetesClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListKubernetesClustersReader ¶
type ListKubernetesClustersReader struct {
// contains filtered or unexported fields
}
ListKubernetesClustersReader is a Reader for the ListKubernetesClusters structure.
func (*ListKubernetesClustersReader) ReadResponse ¶
func (o *ListKubernetesClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegisterKubernetesClusterBody ¶
type RegisterKubernetesClusterBody struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` // kube auth KubeAuth *RegisterKubernetesClusterParamsBodyKubeAuth `json:"kube_auth,omitempty"` }
RegisterKubernetesClusterBody register kubernetes cluster body swagger:model RegisterKubernetesClusterBody
func (*RegisterKubernetesClusterBody) MarshalBinary ¶
func (o *RegisterKubernetesClusterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegisterKubernetesClusterBody) UnmarshalBinary ¶
func (o *RegisterKubernetesClusterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegisterKubernetesClusterDefault ¶
type RegisterKubernetesClusterDefault struct { Payload *RegisterKubernetesClusterDefaultBody // contains filtered or unexported fields }
RegisterKubernetesClusterDefault handles this case with default header values.
An unexpected error response.
func NewRegisterKubernetesClusterDefault ¶
func NewRegisterKubernetesClusterDefault(code int) *RegisterKubernetesClusterDefault
NewRegisterKubernetesClusterDefault creates a RegisterKubernetesClusterDefault with default headers values
func (*RegisterKubernetesClusterDefault) Code ¶
func (o *RegisterKubernetesClusterDefault) Code() int
Code gets the status code for the register kubernetes cluster default response
func (*RegisterKubernetesClusterDefault) Error ¶
func (o *RegisterKubernetesClusterDefault) Error() string
func (*RegisterKubernetesClusterDefault) GetPayload ¶
func (o *RegisterKubernetesClusterDefault) GetPayload() *RegisterKubernetesClusterDefaultBody
type RegisterKubernetesClusterDefaultBody ¶
type RegisterKubernetesClusterDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
RegisterKubernetesClusterDefaultBody register kubernetes cluster default body swagger:model RegisterKubernetesClusterDefaultBody
func (*RegisterKubernetesClusterDefaultBody) MarshalBinary ¶
func (o *RegisterKubernetesClusterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegisterKubernetesClusterDefaultBody) UnmarshalBinary ¶
func (o *RegisterKubernetesClusterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegisterKubernetesClusterOK ¶
type RegisterKubernetesClusterOK struct {
Payload interface{}
}
RegisterKubernetesClusterOK handles this case with default header values.
A successful response.
func NewRegisterKubernetesClusterOK ¶
func NewRegisterKubernetesClusterOK() *RegisterKubernetesClusterOK
NewRegisterKubernetesClusterOK creates a RegisterKubernetesClusterOK with default headers values
func (*RegisterKubernetesClusterOK) Error ¶
func (o *RegisterKubernetesClusterOK) Error() string
func (*RegisterKubernetesClusterOK) GetPayload ¶
func (o *RegisterKubernetesClusterOK) GetPayload() interface{}
type RegisterKubernetesClusterParams ¶
type RegisterKubernetesClusterParams struct { /*Body*/ Body RegisterKubernetesClusterBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegisterKubernetesClusterParams contains all the parameters to send to the API endpoint for the register kubernetes cluster operation typically these are written to a http.Request
func NewRegisterKubernetesClusterParams ¶
func NewRegisterKubernetesClusterParams() *RegisterKubernetesClusterParams
NewRegisterKubernetesClusterParams creates a new RegisterKubernetesClusterParams object with the default values initialized.
func NewRegisterKubernetesClusterParamsWithContext ¶
func NewRegisterKubernetesClusterParamsWithContext(ctx context.Context) *RegisterKubernetesClusterParams
NewRegisterKubernetesClusterParamsWithContext creates a new RegisterKubernetesClusterParams object with the default values initialized, and the ability to set a context for a request
func NewRegisterKubernetesClusterParamsWithHTTPClient ¶
func NewRegisterKubernetesClusterParamsWithHTTPClient(client *http.Client) *RegisterKubernetesClusterParams
NewRegisterKubernetesClusterParamsWithHTTPClient creates a new RegisterKubernetesClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRegisterKubernetesClusterParamsWithTimeout ¶
func NewRegisterKubernetesClusterParamsWithTimeout(timeout time.Duration) *RegisterKubernetesClusterParams
NewRegisterKubernetesClusterParamsWithTimeout creates a new RegisterKubernetesClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*RegisterKubernetesClusterParams) SetBody ¶
func (o *RegisterKubernetesClusterParams) SetBody(body RegisterKubernetesClusterBody)
SetBody adds the body to the register kubernetes cluster params
func (*RegisterKubernetesClusterParams) SetContext ¶
func (o *RegisterKubernetesClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the register kubernetes cluster params
func (*RegisterKubernetesClusterParams) SetHTTPClient ¶
func (o *RegisterKubernetesClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the register kubernetes cluster params
func (*RegisterKubernetesClusterParams) SetTimeout ¶
func (o *RegisterKubernetesClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the register kubernetes cluster params
func (*RegisterKubernetesClusterParams) WithBody ¶
func (o *RegisterKubernetesClusterParams) WithBody(body RegisterKubernetesClusterBody) *RegisterKubernetesClusterParams
WithBody adds the body to the register kubernetes cluster params
func (*RegisterKubernetesClusterParams) WithContext ¶
func (o *RegisterKubernetesClusterParams) WithContext(ctx context.Context) *RegisterKubernetesClusterParams
WithContext adds the context to the register kubernetes cluster params
func (*RegisterKubernetesClusterParams) WithHTTPClient ¶
func (o *RegisterKubernetesClusterParams) WithHTTPClient(client *http.Client) *RegisterKubernetesClusterParams
WithHTTPClient adds the HTTPClient to the register kubernetes cluster params
func (*RegisterKubernetesClusterParams) WithTimeout ¶
func (o *RegisterKubernetesClusterParams) WithTimeout(timeout time.Duration) *RegisterKubernetesClusterParams
WithTimeout adds the timeout to the register kubernetes cluster params
func (*RegisterKubernetesClusterParams) WriteToRequest ¶
func (o *RegisterKubernetesClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegisterKubernetesClusterParamsBodyKubeAuth ¶
type RegisterKubernetesClusterParamsBodyKubeAuth struct { // Kubeconfig file content. Kubeconfig string `json:"kubeconfig,omitempty"` }
RegisterKubernetesClusterParamsBodyKubeAuth KubeAuth represents Kubernetes / kubectl authentication and authorization information. swagger:model RegisterKubernetesClusterParamsBodyKubeAuth
func (*RegisterKubernetesClusterParamsBodyKubeAuth) MarshalBinary ¶
func (o *RegisterKubernetesClusterParamsBodyKubeAuth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegisterKubernetesClusterParamsBodyKubeAuth) UnmarshalBinary ¶
func (o *RegisterKubernetesClusterParamsBodyKubeAuth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegisterKubernetesClusterReader ¶
type RegisterKubernetesClusterReader struct {
// contains filtered or unexported fields
}
RegisterKubernetesClusterReader is a Reader for the RegisterKubernetesCluster structure.
func (*RegisterKubernetesClusterReader) ReadResponse ¶
func (o *RegisterKubernetesClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnregisterKubernetesClusterBody ¶
type UnregisterKubernetesClusterBody struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` // If true then Kubernetes cluster will be deleted // even if it contains database clusters. Force bool `json:"force,omitempty"` }
UnregisterKubernetesClusterBody unregister kubernetes cluster body swagger:model UnregisterKubernetesClusterBody
func (*UnregisterKubernetesClusterBody) MarshalBinary ¶
func (o *UnregisterKubernetesClusterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnregisterKubernetesClusterBody) UnmarshalBinary ¶
func (o *UnregisterKubernetesClusterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnregisterKubernetesClusterDefault ¶
type UnregisterKubernetesClusterDefault struct { Payload *UnregisterKubernetesClusterDefaultBody // contains filtered or unexported fields }
UnregisterKubernetesClusterDefault handles this case with default header values.
An unexpected error response.
func NewUnregisterKubernetesClusterDefault ¶
func NewUnregisterKubernetesClusterDefault(code int) *UnregisterKubernetesClusterDefault
NewUnregisterKubernetesClusterDefault creates a UnregisterKubernetesClusterDefault with default headers values
func (*UnregisterKubernetesClusterDefault) Code ¶
func (o *UnregisterKubernetesClusterDefault) Code() int
Code gets the status code for the unregister kubernetes cluster default response
func (*UnregisterKubernetesClusterDefault) Error ¶
func (o *UnregisterKubernetesClusterDefault) Error() string
func (*UnregisterKubernetesClusterDefault) GetPayload ¶
func (o *UnregisterKubernetesClusterDefault) GetPayload() *UnregisterKubernetesClusterDefaultBody
type UnregisterKubernetesClusterDefaultBody ¶
type UnregisterKubernetesClusterDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
UnregisterKubernetesClusterDefaultBody unregister kubernetes cluster default body swagger:model UnregisterKubernetesClusterDefaultBody
func (*UnregisterKubernetesClusterDefaultBody) MarshalBinary ¶
func (o *UnregisterKubernetesClusterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnregisterKubernetesClusterDefaultBody) UnmarshalBinary ¶
func (o *UnregisterKubernetesClusterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnregisterKubernetesClusterOK ¶
type UnregisterKubernetesClusterOK struct {
Payload interface{}
}
UnregisterKubernetesClusterOK handles this case with default header values.
A successful response.
func NewUnregisterKubernetesClusterOK ¶
func NewUnregisterKubernetesClusterOK() *UnregisterKubernetesClusterOK
NewUnregisterKubernetesClusterOK creates a UnregisterKubernetesClusterOK with default headers values
func (*UnregisterKubernetesClusterOK) Error ¶
func (o *UnregisterKubernetesClusterOK) Error() string
func (*UnregisterKubernetesClusterOK) GetPayload ¶
func (o *UnregisterKubernetesClusterOK) GetPayload() interface{}
type UnregisterKubernetesClusterParams ¶
type UnregisterKubernetesClusterParams struct { /*Body*/ Body UnregisterKubernetesClusterBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnregisterKubernetesClusterParams contains all the parameters to send to the API endpoint for the unregister kubernetes cluster operation typically these are written to a http.Request
func NewUnregisterKubernetesClusterParams ¶
func NewUnregisterKubernetesClusterParams() *UnregisterKubernetesClusterParams
NewUnregisterKubernetesClusterParams creates a new UnregisterKubernetesClusterParams object with the default values initialized.
func NewUnregisterKubernetesClusterParamsWithContext ¶
func NewUnregisterKubernetesClusterParamsWithContext(ctx context.Context) *UnregisterKubernetesClusterParams
NewUnregisterKubernetesClusterParamsWithContext creates a new UnregisterKubernetesClusterParams object with the default values initialized, and the ability to set a context for a request
func NewUnregisterKubernetesClusterParamsWithHTTPClient ¶
func NewUnregisterKubernetesClusterParamsWithHTTPClient(client *http.Client) *UnregisterKubernetesClusterParams
NewUnregisterKubernetesClusterParamsWithHTTPClient creates a new UnregisterKubernetesClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUnregisterKubernetesClusterParamsWithTimeout ¶
func NewUnregisterKubernetesClusterParamsWithTimeout(timeout time.Duration) *UnregisterKubernetesClusterParams
NewUnregisterKubernetesClusterParamsWithTimeout creates a new UnregisterKubernetesClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*UnregisterKubernetesClusterParams) SetBody ¶
func (o *UnregisterKubernetesClusterParams) SetBody(body UnregisterKubernetesClusterBody)
SetBody adds the body to the unregister kubernetes cluster params
func (*UnregisterKubernetesClusterParams) SetContext ¶
func (o *UnregisterKubernetesClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the unregister kubernetes cluster params
func (*UnregisterKubernetesClusterParams) SetHTTPClient ¶
func (o *UnregisterKubernetesClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unregister kubernetes cluster params
func (*UnregisterKubernetesClusterParams) SetTimeout ¶
func (o *UnregisterKubernetesClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unregister kubernetes cluster params
func (*UnregisterKubernetesClusterParams) WithBody ¶
func (o *UnregisterKubernetesClusterParams) WithBody(body UnregisterKubernetesClusterBody) *UnregisterKubernetesClusterParams
WithBody adds the body to the unregister kubernetes cluster params
func (*UnregisterKubernetesClusterParams) WithContext ¶
func (o *UnregisterKubernetesClusterParams) WithContext(ctx context.Context) *UnregisterKubernetesClusterParams
WithContext adds the context to the unregister kubernetes cluster params
func (*UnregisterKubernetesClusterParams) WithHTTPClient ¶
func (o *UnregisterKubernetesClusterParams) WithHTTPClient(client *http.Client) *UnregisterKubernetesClusterParams
WithHTTPClient adds the HTTPClient to the unregister kubernetes cluster params
func (*UnregisterKubernetesClusterParams) WithTimeout ¶
func (o *UnregisterKubernetesClusterParams) WithTimeout(timeout time.Duration) *UnregisterKubernetesClusterParams
WithTimeout adds the timeout to the unregister kubernetes cluster params
func (*UnregisterKubernetesClusterParams) WriteToRequest ¶
func (o *UnregisterKubernetesClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnregisterKubernetesClusterReader ¶
type UnregisterKubernetesClusterReader struct {
// contains filtered or unexported fields
}
UnregisterKubernetesClusterReader is a Reader for the UnregisterKubernetesCluster structure.
func (*UnregisterKubernetesClusterReader) ReadResponse ¶
func (o *UnregisterKubernetesClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- get_kubernetes_cluster_parameters.go
- get_kubernetes_cluster_responses.go
- kubernetes_client.go
- list_kubernetes_clusters_parameters.go
- list_kubernetes_clusters_responses.go
- register_kubernetes_cluster_parameters.go
- register_kubernetes_cluster_responses.go
- unregister_kubernetes_cluster_parameters.go
- unregister_kubernetes_cluster_responses.go