Documentation ¶
Index ¶
- type Client
- 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 KubernetesClustersItems0
- 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 ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for kubernetes API
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 { 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 KubernetesClustersItems0 ¶
type KubernetesClustersItems0 struct { // Kubernetes cluster name. KubernetesClusterName string `json:"kubernetes_cluster_name,omitempty"` }
KubernetesClustersItems0 Cluster contains public info about kubernetes cluster. 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 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"` }
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.