kubernetes

package
v2.17.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
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) GetResources

func (a *Client) GetResources(params *GetResourcesParams) (*GetResourcesOK, error)

GetResources gets resources returns all and available resources of a kubernetes cluster n o t e the user defined in kubeconfig for the cluster has to have rights to list and get pods from all namespaces also getting and listing nodes has to be allowed

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)

	GetResources(params *GetResourcesParams) (*GetResourcesOK, 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

func (*DetailsItems0) Validate

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

Validate validates this details items0

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

func (*GetKubernetesClusterBody) Validate

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

Validate validates this get kubernetes cluster body

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 (*GetKubernetesClusterDefault) GetPayload

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

func (*GetKubernetesClusterDefaultBody) Validate

Validate validates this get kubernetes cluster default body

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

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

func (*GetKubernetesClusterOKBody) Validate

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

Validate validates this get kubernetes cluster OK body

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

func (*GetKubernetesClusterOKBodyKubeAuth) Validate

Validate validates this get kubernetes cluster OK body kube auth

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

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

WithBody adds the body to the get kubernetes cluster params

func (*GetKubernetesClusterParams) WithContext

WithContext adds the context to the get kubernetes cluster params

func (*GetKubernetesClusterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get kubernetes cluster params

func (*GetKubernetesClusterParams) WithTimeout

WithTimeout adds the timeout to the get kubernetes cluster params

func (*GetKubernetesClusterParams) WriteToRequest

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 GetResourcesBody

type GetResourcesBody struct {

	// Kubernetes cluster name.
	KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"`
}

GetResourcesBody get resources body swagger:model GetResourcesBody

func (*GetResourcesBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetResourcesBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetResourcesBody) Validate

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

Validate validates this get resources body

type GetResourcesDefault

type GetResourcesDefault struct {
	Payload *GetResourcesDefaultBody
	// contains filtered or unexported fields
}

GetResourcesDefault handles this case with default header values.

An unexpected error response.

func NewGetResourcesDefault

func NewGetResourcesDefault(code int) *GetResourcesDefault

NewGetResourcesDefault creates a GetResourcesDefault with default headers values

func (*GetResourcesDefault) Code

func (o *GetResourcesDefault) Code() int

Code gets the status code for the get resources default response

func (*GetResourcesDefault) Error

func (o *GetResourcesDefault) Error() string

func (*GetResourcesDefault) GetPayload

type GetResourcesDefaultBody

type GetResourcesDefaultBody struct {

	// error
	Error string `json:"error,omitempty"`

	// code
	Code int32 `json:"code,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// details
	Details []*DetailsItems0 `json:"details"`
}

GetResourcesDefaultBody get resources default body swagger:model GetResourcesDefaultBody

func (*GetResourcesDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetResourcesDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetResourcesDefaultBody) Validate

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

Validate validates this get resources default body

type GetResourcesOK

type GetResourcesOK struct {
	Payload *GetResourcesOKBody
}

GetResourcesOK handles this case with default header values.

A successful response.

func NewGetResourcesOK

func NewGetResourcesOK() *GetResourcesOK

NewGetResourcesOK creates a GetResourcesOK with default headers values

func (*GetResourcesOK) Error

func (o *GetResourcesOK) Error() string

func (*GetResourcesOK) GetPayload

func (o *GetResourcesOK) GetPayload() *GetResourcesOKBody

type GetResourcesOKBody

type GetResourcesOKBody struct {

	// all
	All *GetResourcesOKBodyAll `json:"all,omitempty"`

	// available
	Available *GetResourcesOKBodyAvailable `json:"available,omitempty"`
}

GetResourcesOKBody get resources OK body swagger:model GetResourcesOKBody

func (*GetResourcesOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetResourcesOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetResourcesOKBody) Validate

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

Validate validates this get resources OK body

type GetResourcesOKBodyAll

type GetResourcesOKBodyAll struct {

	// Memory in bytes.
	MemoryBytes string `json:"memory_bytes,omitempty"`

	// CPU in millicpus. For example 0.1 of CPU is equivalent to 100 millicpus.
	// See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
	CPUm string `json:"cpu_m,omitempty"`

	// Disk size in bytes.
	DiskSize string `json:"disk_size,omitempty"`
}

GetResourcesOKBodyAll Resources contains Kubernetes cluster resources. swagger:model GetResourcesOKBodyAll

func (*GetResourcesOKBodyAll) MarshalBinary

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

MarshalBinary interface implementation

func (*GetResourcesOKBodyAll) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetResourcesOKBodyAll) Validate

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

Validate validates this get resources OK body all

type GetResourcesOKBodyAvailable

type GetResourcesOKBodyAvailable struct {

	// Memory in bytes.
	MemoryBytes string `json:"memory_bytes,omitempty"`

	// CPU in millicpus. For example 0.1 of CPU is equivalent to 100 millicpus.
	// See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.
	CPUm string `json:"cpu_m,omitempty"`

	// Disk size in bytes.
	DiskSize string `json:"disk_size,omitempty"`
}

GetResourcesOKBodyAvailable Resources contains Kubernetes cluster resources. swagger:model GetResourcesOKBodyAvailable

func (*GetResourcesOKBodyAvailable) MarshalBinary

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

MarshalBinary interface implementation

func (*GetResourcesOKBodyAvailable) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetResourcesOKBodyAvailable) Validate

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

Validate validates this get resources OK body available

type GetResourcesParams

type GetResourcesParams struct {

	/*Body*/
	Body GetResourcesBody

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

GetResourcesParams contains all the parameters to send to the API endpoint for the get resources operation typically these are written to a http.Request

func NewGetResourcesParams

func NewGetResourcesParams() *GetResourcesParams

NewGetResourcesParams creates a new GetResourcesParams object with the default values initialized.

func NewGetResourcesParamsWithContext

func NewGetResourcesParamsWithContext(ctx context.Context) *GetResourcesParams

NewGetResourcesParamsWithContext creates a new GetResourcesParams object with the default values initialized, and the ability to set a context for a request

func NewGetResourcesParamsWithHTTPClient

func NewGetResourcesParamsWithHTTPClient(client *http.Client) *GetResourcesParams

NewGetResourcesParamsWithHTTPClient creates a new GetResourcesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetResourcesParamsWithTimeout

func NewGetResourcesParamsWithTimeout(timeout time.Duration) *GetResourcesParams

NewGetResourcesParamsWithTimeout creates a new GetResourcesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetResourcesParams) SetBody

func (o *GetResourcesParams) SetBody(body GetResourcesBody)

SetBody adds the body to the get resources params

func (*GetResourcesParams) SetContext

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

SetContext adds the context to the get resources params

func (*GetResourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resources params

func (*GetResourcesParams) SetTimeout

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

SetTimeout adds the timeout to the get resources params

func (*GetResourcesParams) WithBody

WithBody adds the body to the get resources params

func (*GetResourcesParams) WithContext

WithContext adds the context to the get resources params

func (*GetResourcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get resources params

func (*GetResourcesParams) WithTimeout

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

WithTimeout adds the timeout to the get resources params

func (*GetResourcesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetResourcesReader

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

GetResourcesReader is a Reader for the GetResources structure.

func (*GetResourcesReader) ReadResponse

func (o *GetResourcesReader) 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

func (*KubernetesClustersItems0) Validate

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

Validate validates this kubernetes clusters items0

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

func (*KubernetesClustersItems0Operators) Validate

Validate validates this kubernetes clusters items0 operators

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

func (*KubernetesClustersItems0OperatorsPSMDB) Validate

Validate validates this kubernetes clusters items0 operators PSMDB

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

func (*KubernetesClustersItems0OperatorsXtradb) Validate

Validate validates this kubernetes clusters items0 operators xtradb

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

Code gets the status code for the list kubernetes clusters default response

func (*ListKubernetesClustersDefault) Error

func (*ListKubernetesClustersDefault) GetPayload

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

func (*ListKubernetesClustersDefaultBody) Validate

Validate validates this list kubernetes clusters default body

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

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

func (*ListKubernetesClustersOKBody) Validate

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

Validate validates this list kubernetes clusters OK body

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

WithContext adds the context to the list kubernetes clusters params

func (*ListKubernetesClustersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list kubernetes clusters params

func (*ListKubernetesClustersParams) WithTimeout

WithTimeout adds the timeout to the list kubernetes clusters params

func (*ListKubernetesClustersParams) WriteToRequest

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

func (*RegisterKubernetesClusterBody) Validate

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

Validate validates this register kubernetes cluster body

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

Code gets the status code for the register kubernetes cluster default response

func (*RegisterKubernetesClusterDefault) Error

func (*RegisterKubernetesClusterDefault) GetPayload

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

func (*RegisterKubernetesClusterDefaultBody) Validate

Validate validates this register kubernetes cluster default body

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 (*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

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

WithBody adds the body to the register kubernetes cluster params

func (*RegisterKubernetesClusterParams) WithContext

WithContext adds the context to the register kubernetes cluster params

func (*RegisterKubernetesClusterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the register kubernetes cluster params

func (*RegisterKubernetesClusterParams) WithTimeout

WithTimeout adds the timeout to the register kubernetes cluster params

func (*RegisterKubernetesClusterParams) WriteToRequest

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

func (*RegisterKubernetesClusterParamsBodyKubeAuth) Validate

Validate validates this register kubernetes cluster params body kube auth

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

func (*UnregisterKubernetesClusterBody) Validate

Validate validates this unregister kubernetes cluster body

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

Code gets the status code for the unregister kubernetes cluster default response

func (*UnregisterKubernetesClusterDefault) Error

func (*UnregisterKubernetesClusterDefault) GetPayload

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

func (*UnregisterKubernetesClusterDefaultBody) Validate

Validate validates this unregister kubernetes cluster default body

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 (*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

SetBody adds the body to the unregister kubernetes cluster params

func (*UnregisterKubernetesClusterParams) SetContext

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

WithBody adds the body to the unregister kubernetes cluster params

func (*UnregisterKubernetesClusterParams) WithContext

WithContext adds the context to the unregister kubernetes cluster params

func (*UnregisterKubernetesClusterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the unregister kubernetes cluster params

func (*UnregisterKubernetesClusterParams) WithTimeout

WithTimeout adds the timeout to the unregister kubernetes cluster params

func (*UnregisterKubernetesClusterParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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