Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter) (*CreateClusterCreated, error)
- func (a *Client) GetClusterCredentials(params *GetClusterCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GetClusterCredentialsOK, error)
- func (a *Client) GetClusterEvents(params *GetClusterEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetClusterEventsOK, error)
- func (a *Client) GetClusterInfo(params *GetClusterInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetClusterInfoOK, error)
- func (a *Client) GetOpenstackMetadata(params *GetOpenstackMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*GetOpenstackMetadataOK, error)
- func (a *Client) Info(params *InfoParams) (*InfoOK, error)
- func (a *Client) ListAPIVersions(params *ListAPIVersionsParams) (*ListAPIVersionsOK, error)
- func (a *Client) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter) (*ListClustersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ShowCluster(params *ShowClusterParams, authInfo runtime.ClientAuthInfoWriter) (*ShowClusterOK, error)
- func (a *Client) TerminateCluster(params *TerminateClusterParams, authInfo runtime.ClientAuthInfoWriter) (*TerminateClusterAccepted, error)
- func (a *Client) UpdateCluster(params *UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateClusterOK, error)
- type CreateClusterCreated
- type CreateClusterDefault
- type CreateClusterParams
- func (o *CreateClusterParams) SetBody(body *models.Kluster)
- func (o *CreateClusterParams) SetContext(ctx context.Context)
- func (o *CreateClusterParams) SetHTTPClient(client *http.Client)
- func (o *CreateClusterParams) SetTimeout(timeout time.Duration)
- func (o *CreateClusterParams) WithBody(body *models.Kluster) *CreateClusterParams
- func (o *CreateClusterParams) WithContext(ctx context.Context) *CreateClusterParams
- func (o *CreateClusterParams) WithHTTPClient(client *http.Client) *CreateClusterParams
- func (o *CreateClusterParams) WithTimeout(timeout time.Duration) *CreateClusterParams
- func (o *CreateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateClusterReader
- type GetClusterCredentialsDefault
- type GetClusterCredentialsOK
- type GetClusterCredentialsParams
- func NewGetClusterCredentialsParams() *GetClusterCredentialsParams
- func NewGetClusterCredentialsParamsWithContext(ctx context.Context) *GetClusterCredentialsParams
- func NewGetClusterCredentialsParamsWithHTTPClient(client *http.Client) *GetClusterCredentialsParams
- func NewGetClusterCredentialsParamsWithTimeout(timeout time.Duration) *GetClusterCredentialsParams
- func (o *GetClusterCredentialsParams) SetContext(ctx context.Context)
- func (o *GetClusterCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterCredentialsParams) SetName(name string)
- func (o *GetClusterCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterCredentialsParams) WithContext(ctx context.Context) *GetClusterCredentialsParams
- func (o *GetClusterCredentialsParams) WithHTTPClient(client *http.Client) *GetClusterCredentialsParams
- func (o *GetClusterCredentialsParams) WithName(name string) *GetClusterCredentialsParams
- func (o *GetClusterCredentialsParams) WithTimeout(timeout time.Duration) *GetClusterCredentialsParams
- func (o *GetClusterCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterCredentialsReader
- type GetClusterEventsDefault
- type GetClusterEventsOK
- type GetClusterEventsParams
- func NewGetClusterEventsParams() *GetClusterEventsParams
- func NewGetClusterEventsParamsWithContext(ctx context.Context) *GetClusterEventsParams
- func NewGetClusterEventsParamsWithHTTPClient(client *http.Client) *GetClusterEventsParams
- func NewGetClusterEventsParamsWithTimeout(timeout time.Duration) *GetClusterEventsParams
- func (o *GetClusterEventsParams) SetContext(ctx context.Context)
- func (o *GetClusterEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterEventsParams) SetName(name string)
- func (o *GetClusterEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterEventsParams) WithContext(ctx context.Context) *GetClusterEventsParams
- func (o *GetClusterEventsParams) WithHTTPClient(client *http.Client) *GetClusterEventsParams
- func (o *GetClusterEventsParams) WithName(name string) *GetClusterEventsParams
- func (o *GetClusterEventsParams) WithTimeout(timeout time.Duration) *GetClusterEventsParams
- func (o *GetClusterEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterEventsReader
- type GetClusterInfoDefault
- type GetClusterInfoOK
- type GetClusterInfoParams
- func NewGetClusterInfoParams() *GetClusterInfoParams
- func NewGetClusterInfoParamsWithContext(ctx context.Context) *GetClusterInfoParams
- func NewGetClusterInfoParamsWithHTTPClient(client *http.Client) *GetClusterInfoParams
- func NewGetClusterInfoParamsWithTimeout(timeout time.Duration) *GetClusterInfoParams
- func (o *GetClusterInfoParams) SetContext(ctx context.Context)
- func (o *GetClusterInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterInfoParams) SetName(name string)
- func (o *GetClusterInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterInfoParams) WithContext(ctx context.Context) *GetClusterInfoParams
- func (o *GetClusterInfoParams) WithHTTPClient(client *http.Client) *GetClusterInfoParams
- func (o *GetClusterInfoParams) WithName(name string) *GetClusterInfoParams
- func (o *GetClusterInfoParams) WithTimeout(timeout time.Duration) *GetClusterInfoParams
- func (o *GetClusterInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterInfoReader
- type GetOpenstackMetadataDefault
- type GetOpenstackMetadataOK
- type GetOpenstackMetadataParams
- func NewGetOpenstackMetadataParams() *GetOpenstackMetadataParams
- func NewGetOpenstackMetadataParamsWithContext(ctx context.Context) *GetOpenstackMetadataParams
- func NewGetOpenstackMetadataParamsWithHTTPClient(client *http.Client) *GetOpenstackMetadataParams
- func NewGetOpenstackMetadataParamsWithTimeout(timeout time.Duration) *GetOpenstackMetadataParams
- func (o *GetOpenstackMetadataParams) SetContext(ctx context.Context)
- func (o *GetOpenstackMetadataParams) SetHTTPClient(client *http.Client)
- func (o *GetOpenstackMetadataParams) SetTimeout(timeout time.Duration)
- func (o *GetOpenstackMetadataParams) WithContext(ctx context.Context) *GetOpenstackMetadataParams
- func (o *GetOpenstackMetadataParams) WithHTTPClient(client *http.Client) *GetOpenstackMetadataParams
- func (o *GetOpenstackMetadataParams) WithTimeout(timeout time.Duration) *GetOpenstackMetadataParams
- func (o *GetOpenstackMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOpenstackMetadataReader
- type InfoOK
- type InfoParams
- func (o *InfoParams) SetContext(ctx context.Context)
- func (o *InfoParams) SetHTTPClient(client *http.Client)
- func (o *InfoParams) SetTimeout(timeout time.Duration)
- func (o *InfoParams) WithContext(ctx context.Context) *InfoParams
- func (o *InfoParams) WithHTTPClient(client *http.Client) *InfoParams
- func (o *InfoParams) WithTimeout(timeout time.Duration) *InfoParams
- func (o *InfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InfoReader
- type ListAPIVersionsOK
- type ListAPIVersionsParams
- func NewListAPIVersionsParams() *ListAPIVersionsParams
- func NewListAPIVersionsParamsWithContext(ctx context.Context) *ListAPIVersionsParams
- func NewListAPIVersionsParamsWithHTTPClient(client *http.Client) *ListAPIVersionsParams
- func NewListAPIVersionsParamsWithTimeout(timeout time.Duration) *ListAPIVersionsParams
- func (o *ListAPIVersionsParams) SetContext(ctx context.Context)
- func (o *ListAPIVersionsParams) SetHTTPClient(client *http.Client)
- func (o *ListAPIVersionsParams) SetTimeout(timeout time.Duration)
- func (o *ListAPIVersionsParams) WithContext(ctx context.Context) *ListAPIVersionsParams
- func (o *ListAPIVersionsParams) WithHTTPClient(client *http.Client) *ListAPIVersionsParams
- func (o *ListAPIVersionsParams) WithTimeout(timeout time.Duration) *ListAPIVersionsParams
- func (o *ListAPIVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAPIVersionsReader
- type ListClustersDefault
- type ListClustersOK
- type ListClustersParams
- func (o *ListClustersParams) SetContext(ctx context.Context)
- func (o *ListClustersParams) SetHTTPClient(client *http.Client)
- func (o *ListClustersParams) SetTimeout(timeout time.Duration)
- func (o *ListClustersParams) WithContext(ctx context.Context) *ListClustersParams
- func (o *ListClustersParams) WithHTTPClient(client *http.Client) *ListClustersParams
- func (o *ListClustersParams) WithTimeout(timeout time.Duration) *ListClustersParams
- func (o *ListClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClustersReader
- type ShowClusterDefault
- type ShowClusterOK
- type ShowClusterParams
- func (o *ShowClusterParams) SetContext(ctx context.Context)
- func (o *ShowClusterParams) SetHTTPClient(client *http.Client)
- func (o *ShowClusterParams) SetName(name string)
- func (o *ShowClusterParams) SetTimeout(timeout time.Duration)
- func (o *ShowClusterParams) WithContext(ctx context.Context) *ShowClusterParams
- func (o *ShowClusterParams) WithHTTPClient(client *http.Client) *ShowClusterParams
- func (o *ShowClusterParams) WithName(name string) *ShowClusterParams
- func (o *ShowClusterParams) WithTimeout(timeout time.Duration) *ShowClusterParams
- func (o *ShowClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShowClusterReader
- type TerminateClusterAccepted
- type TerminateClusterAcceptedBody
- type TerminateClusterDefault
- type TerminateClusterParams
- func NewTerminateClusterParams() *TerminateClusterParams
- func NewTerminateClusterParamsWithContext(ctx context.Context) *TerminateClusterParams
- func NewTerminateClusterParamsWithHTTPClient(client *http.Client) *TerminateClusterParams
- func NewTerminateClusterParamsWithTimeout(timeout time.Duration) *TerminateClusterParams
- func (o *TerminateClusterParams) SetContext(ctx context.Context)
- func (o *TerminateClusterParams) SetHTTPClient(client *http.Client)
- func (o *TerminateClusterParams) SetName(name string)
- func (o *TerminateClusterParams) SetTimeout(timeout time.Duration)
- func (o *TerminateClusterParams) WithContext(ctx context.Context) *TerminateClusterParams
- func (o *TerminateClusterParams) WithHTTPClient(client *http.Client) *TerminateClusterParams
- func (o *TerminateClusterParams) WithName(name string) *TerminateClusterParams
- func (o *TerminateClusterParams) WithTimeout(timeout time.Duration) *TerminateClusterParams
- func (o *TerminateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TerminateClusterReader
- type UpdateClusterDefault
- type UpdateClusterOK
- type UpdateClusterParams
- func (o *UpdateClusterParams) SetBody(body *models.Kluster)
- func (o *UpdateClusterParams) SetContext(ctx context.Context)
- func (o *UpdateClusterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClusterParams) SetName(name string)
- func (o *UpdateClusterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClusterParams) WithBody(body *models.Kluster) *UpdateClusterParams
- func (o *UpdateClusterParams) WithContext(ctx context.Context) *UpdateClusterParams
- func (o *UpdateClusterParams) WithHTTPClient(client *http.Client) *UpdateClusterParams
- func (o *UpdateClusterParams) WithName(name string) *UpdateClusterParams
- func (o *UpdateClusterParams) WithTimeout(timeout time.Duration) *UpdateClusterParams
- func (o *UpdateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClusterReader
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 operations API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new operations API client.
func (*Client) CreateCluster ¶
func (a *Client) CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter) (*CreateClusterCreated, error)
CreateCluster creates a cluster
func (*Client) GetClusterCredentials ¶
func (a *Client) GetClusterCredentials(params *GetClusterCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GetClusterCredentialsOK, error)
GetClusterCredentials gets user specific credentials to access the cluster
func (*Client) GetClusterEvents ¶ added in v1.2.0
func (a *Client) GetClusterEvents(params *GetClusterEventsParams, authInfo runtime.ClientAuthInfoWriter) (*GetClusterEventsOK, error)
GetClusterEvents gets recent events about the cluster
func (*Client) GetClusterInfo ¶
func (a *Client) GetClusterInfo(params *GetClusterInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetClusterInfoOK, error)
GetClusterInfo gets user specific info about the cluster
func (*Client) GetOpenstackMetadata ¶ added in v1.2.0
func (a *Client) GetOpenstackMetadata(params *GetOpenstackMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*GetOpenstackMetadataOK, error)
GetOpenstackMetadata grabs bag of openstack metadata
func (*Client) Info ¶
func (a *Client) Info(params *InfoParams) (*InfoOK, error)
Info gets info about kubernikus
func (*Client) ListAPIVersions ¶
func (a *Client) ListAPIVersions(params *ListAPIVersionsParams) (*ListAPIVersionsOK, error)
ListAPIVersions lists available api versions
func (*Client) ListClusters ¶
func (a *Client) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter) (*ListClustersOK, error)
ListClusters lists available clusters
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) ShowCluster ¶
func (a *Client) ShowCluster(params *ShowClusterParams, authInfo runtime.ClientAuthInfoWriter) (*ShowClusterOK, error)
ShowCluster shows the specified cluser
func (*Client) TerminateCluster ¶
func (a *Client) TerminateCluster(params *TerminateClusterParams, authInfo runtime.ClientAuthInfoWriter) (*TerminateClusterAccepted, error)
TerminateCluster terminates the specified cluster
func (*Client) UpdateCluster ¶
func (a *Client) UpdateCluster(params *UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateClusterOK, error)
UpdateCluster updates the specified cluser
type CreateClusterCreated ¶
CreateClusterCreated handles this case with default header values.
OK
func NewCreateClusterCreated ¶
func NewCreateClusterCreated() *CreateClusterCreated
NewCreateClusterCreated creates a CreateClusterCreated with default headers values
func (*CreateClusterCreated) Error ¶
func (o *CreateClusterCreated) Error() string
type CreateClusterDefault ¶
type CreateClusterDefault struct { Payload *models.Error // contains filtered or unexported fields }
CreateClusterDefault handles this case with default header values.
Error
func NewCreateClusterDefault ¶
func NewCreateClusterDefault(code int) *CreateClusterDefault
NewCreateClusterDefault creates a CreateClusterDefault with default headers values
func (*CreateClusterDefault) Code ¶
func (o *CreateClusterDefault) Code() int
Code gets the status code for the create cluster default response
func (*CreateClusterDefault) Error ¶
func (o *CreateClusterDefault) Error() string
type CreateClusterParams ¶
type CreateClusterParams struct { /*Body*/ Body *models.Kluster Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateClusterParams contains all the parameters to send to the API endpoint for the create cluster operation typically these are written to a http.Request
func NewCreateClusterParams ¶
func NewCreateClusterParams() *CreateClusterParams
NewCreateClusterParams creates a new CreateClusterParams object with the default values initialized.
func NewCreateClusterParamsWithContext ¶
func NewCreateClusterParamsWithContext(ctx context.Context) *CreateClusterParams
NewCreateClusterParamsWithContext creates a new CreateClusterParams object with the default values initialized, and the ability to set a context for a request
func NewCreateClusterParamsWithHTTPClient ¶
func NewCreateClusterParamsWithHTTPClient(client *http.Client) *CreateClusterParams
NewCreateClusterParamsWithHTTPClient creates a new CreateClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateClusterParamsWithTimeout ¶
func NewCreateClusterParamsWithTimeout(timeout time.Duration) *CreateClusterParams
NewCreateClusterParamsWithTimeout creates a new CreateClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateClusterParams) SetBody ¶
func (o *CreateClusterParams) SetBody(body *models.Kluster)
SetBody adds the body to the create cluster params
func (*CreateClusterParams) SetContext ¶
func (o *CreateClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the create cluster params
func (*CreateClusterParams) SetHTTPClient ¶
func (o *CreateClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create cluster params
func (*CreateClusterParams) SetTimeout ¶
func (o *CreateClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create cluster params
func (*CreateClusterParams) WithBody ¶
func (o *CreateClusterParams) WithBody(body *models.Kluster) *CreateClusterParams
WithBody adds the body to the create cluster params
func (*CreateClusterParams) WithContext ¶
func (o *CreateClusterParams) WithContext(ctx context.Context) *CreateClusterParams
WithContext adds the context to the create cluster params
func (*CreateClusterParams) WithHTTPClient ¶
func (o *CreateClusterParams) WithHTTPClient(client *http.Client) *CreateClusterParams
WithHTTPClient adds the HTTPClient to the create cluster params
func (*CreateClusterParams) WithTimeout ¶
func (o *CreateClusterParams) WithTimeout(timeout time.Duration) *CreateClusterParams
WithTimeout adds the timeout to the create cluster params
func (*CreateClusterParams) WriteToRequest ¶
func (o *CreateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateClusterReader ¶
type CreateClusterReader struct {
// contains filtered or unexported fields
}
CreateClusterReader is a Reader for the CreateCluster structure.
func (*CreateClusterReader) ReadResponse ¶
func (o *CreateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterCredentialsDefault ¶
type GetClusterCredentialsDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetClusterCredentialsDefault handles this case with default header values.
Error
func NewGetClusterCredentialsDefault ¶
func NewGetClusterCredentialsDefault(code int) *GetClusterCredentialsDefault
NewGetClusterCredentialsDefault creates a GetClusterCredentialsDefault with default headers values
func (*GetClusterCredentialsDefault) Code ¶
func (o *GetClusterCredentialsDefault) Code() int
Code gets the status code for the get cluster credentials default response
func (*GetClusterCredentialsDefault) Error ¶
func (o *GetClusterCredentialsDefault) Error() string
type GetClusterCredentialsOK ¶
type GetClusterCredentialsOK struct {
Payload *models.Credentials
}
GetClusterCredentialsOK handles this case with default header values.
OK
func NewGetClusterCredentialsOK ¶
func NewGetClusterCredentialsOK() *GetClusterCredentialsOK
NewGetClusterCredentialsOK creates a GetClusterCredentialsOK with default headers values
func (*GetClusterCredentialsOK) Error ¶
func (o *GetClusterCredentialsOK) Error() string
type GetClusterCredentialsParams ¶
type GetClusterCredentialsParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterCredentialsParams contains all the parameters to send to the API endpoint for the get cluster credentials operation typically these are written to a http.Request
func NewGetClusterCredentialsParams ¶
func NewGetClusterCredentialsParams() *GetClusterCredentialsParams
NewGetClusterCredentialsParams creates a new GetClusterCredentialsParams object with the default values initialized.
func NewGetClusterCredentialsParamsWithContext ¶
func NewGetClusterCredentialsParamsWithContext(ctx context.Context) *GetClusterCredentialsParams
NewGetClusterCredentialsParamsWithContext creates a new GetClusterCredentialsParams object with the default values initialized, and the ability to set a context for a request
func NewGetClusterCredentialsParamsWithHTTPClient ¶
func NewGetClusterCredentialsParamsWithHTTPClient(client *http.Client) *GetClusterCredentialsParams
NewGetClusterCredentialsParamsWithHTTPClient creates a new GetClusterCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetClusterCredentialsParamsWithTimeout ¶
func NewGetClusterCredentialsParamsWithTimeout(timeout time.Duration) *GetClusterCredentialsParams
NewGetClusterCredentialsParamsWithTimeout creates a new GetClusterCredentialsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetClusterCredentialsParams) SetContext ¶
func (o *GetClusterCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster credentials params
func (*GetClusterCredentialsParams) SetHTTPClient ¶
func (o *GetClusterCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster credentials params
func (*GetClusterCredentialsParams) SetName ¶
func (o *GetClusterCredentialsParams) SetName(name string)
SetName adds the name to the get cluster credentials params
func (*GetClusterCredentialsParams) SetTimeout ¶
func (o *GetClusterCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster credentials params
func (*GetClusterCredentialsParams) WithContext ¶
func (o *GetClusterCredentialsParams) WithContext(ctx context.Context) *GetClusterCredentialsParams
WithContext adds the context to the get cluster credentials params
func (*GetClusterCredentialsParams) WithHTTPClient ¶
func (o *GetClusterCredentialsParams) WithHTTPClient(client *http.Client) *GetClusterCredentialsParams
WithHTTPClient adds the HTTPClient to the get cluster credentials params
func (*GetClusterCredentialsParams) WithName ¶
func (o *GetClusterCredentialsParams) WithName(name string) *GetClusterCredentialsParams
WithName adds the name to the get cluster credentials params
func (*GetClusterCredentialsParams) WithTimeout ¶
func (o *GetClusterCredentialsParams) WithTimeout(timeout time.Duration) *GetClusterCredentialsParams
WithTimeout adds the timeout to the get cluster credentials params
func (*GetClusterCredentialsParams) WriteToRequest ¶
func (o *GetClusterCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterCredentialsReader ¶
type GetClusterCredentialsReader struct {
// contains filtered or unexported fields
}
GetClusterCredentialsReader is a Reader for the GetClusterCredentials structure.
func (*GetClusterCredentialsReader) ReadResponse ¶
func (o *GetClusterCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterEventsDefault ¶ added in v1.2.0
type GetClusterEventsDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetClusterEventsDefault handles this case with default header values.
Error
func NewGetClusterEventsDefault ¶ added in v1.2.0
func NewGetClusterEventsDefault(code int) *GetClusterEventsDefault
NewGetClusterEventsDefault creates a GetClusterEventsDefault with default headers values
func (*GetClusterEventsDefault) Code ¶ added in v1.2.0
func (o *GetClusterEventsDefault) Code() int
Code gets the status code for the get cluster events default response
func (*GetClusterEventsDefault) Error ¶ added in v1.2.0
func (o *GetClusterEventsDefault) Error() string
type GetClusterEventsOK ¶ added in v1.2.0
GetClusterEventsOK handles this case with default header values.
OK
func NewGetClusterEventsOK ¶ added in v1.2.0
func NewGetClusterEventsOK() *GetClusterEventsOK
NewGetClusterEventsOK creates a GetClusterEventsOK with default headers values
func (*GetClusterEventsOK) Error ¶ added in v1.2.0
func (o *GetClusterEventsOK) Error() string
type GetClusterEventsParams ¶ added in v1.2.0
type GetClusterEventsParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterEventsParams contains all the parameters to send to the API endpoint for the get cluster events operation typically these are written to a http.Request
func NewGetClusterEventsParams ¶ added in v1.2.0
func NewGetClusterEventsParams() *GetClusterEventsParams
NewGetClusterEventsParams creates a new GetClusterEventsParams object with the default values initialized.
func NewGetClusterEventsParamsWithContext ¶ added in v1.2.0
func NewGetClusterEventsParamsWithContext(ctx context.Context) *GetClusterEventsParams
NewGetClusterEventsParamsWithContext creates a new GetClusterEventsParams object with the default values initialized, and the ability to set a context for a request
func NewGetClusterEventsParamsWithHTTPClient ¶ added in v1.2.0
func NewGetClusterEventsParamsWithHTTPClient(client *http.Client) *GetClusterEventsParams
NewGetClusterEventsParamsWithHTTPClient creates a new GetClusterEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetClusterEventsParamsWithTimeout ¶ added in v1.2.0
func NewGetClusterEventsParamsWithTimeout(timeout time.Duration) *GetClusterEventsParams
NewGetClusterEventsParamsWithTimeout creates a new GetClusterEventsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetClusterEventsParams) SetContext ¶ added in v1.2.0
func (o *GetClusterEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster events params
func (*GetClusterEventsParams) SetHTTPClient ¶ added in v1.2.0
func (o *GetClusterEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster events params
func (*GetClusterEventsParams) SetName ¶ added in v1.2.0
func (o *GetClusterEventsParams) SetName(name string)
SetName adds the name to the get cluster events params
func (*GetClusterEventsParams) SetTimeout ¶ added in v1.2.0
func (o *GetClusterEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster events params
func (*GetClusterEventsParams) WithContext ¶ added in v1.2.0
func (o *GetClusterEventsParams) WithContext(ctx context.Context) *GetClusterEventsParams
WithContext adds the context to the get cluster events params
func (*GetClusterEventsParams) WithHTTPClient ¶ added in v1.2.0
func (o *GetClusterEventsParams) WithHTTPClient(client *http.Client) *GetClusterEventsParams
WithHTTPClient adds the HTTPClient to the get cluster events params
func (*GetClusterEventsParams) WithName ¶ added in v1.2.0
func (o *GetClusterEventsParams) WithName(name string) *GetClusterEventsParams
WithName adds the name to the get cluster events params
func (*GetClusterEventsParams) WithTimeout ¶ added in v1.2.0
func (o *GetClusterEventsParams) WithTimeout(timeout time.Duration) *GetClusterEventsParams
WithTimeout adds the timeout to the get cluster events params
func (*GetClusterEventsParams) WriteToRequest ¶ added in v1.2.0
func (o *GetClusterEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterEventsReader ¶ added in v1.2.0
type GetClusterEventsReader struct {
// contains filtered or unexported fields
}
GetClusterEventsReader is a Reader for the GetClusterEvents structure.
func (*GetClusterEventsReader) ReadResponse ¶ added in v1.2.0
func (o *GetClusterEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterInfoDefault ¶
type GetClusterInfoDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetClusterInfoDefault handles this case with default header values.
Error
func NewGetClusterInfoDefault ¶
func NewGetClusterInfoDefault(code int) *GetClusterInfoDefault
NewGetClusterInfoDefault creates a GetClusterInfoDefault with default headers values
func (*GetClusterInfoDefault) Code ¶
func (o *GetClusterInfoDefault) Code() int
Code gets the status code for the get cluster info default response
func (*GetClusterInfoDefault) Error ¶
func (o *GetClusterInfoDefault) Error() string
type GetClusterInfoOK ¶
type GetClusterInfoOK struct {
Payload *models.KlusterInfo
}
GetClusterInfoOK handles this case with default header values.
OK
func NewGetClusterInfoOK ¶
func NewGetClusterInfoOK() *GetClusterInfoOK
NewGetClusterInfoOK creates a GetClusterInfoOK with default headers values
func (*GetClusterInfoOK) Error ¶
func (o *GetClusterInfoOK) Error() string
type GetClusterInfoParams ¶
type GetClusterInfoParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterInfoParams contains all the parameters to send to the API endpoint for the get cluster info operation typically these are written to a http.Request
func NewGetClusterInfoParams ¶
func NewGetClusterInfoParams() *GetClusterInfoParams
NewGetClusterInfoParams creates a new GetClusterInfoParams object with the default values initialized.
func NewGetClusterInfoParamsWithContext ¶
func NewGetClusterInfoParamsWithContext(ctx context.Context) *GetClusterInfoParams
NewGetClusterInfoParamsWithContext creates a new GetClusterInfoParams object with the default values initialized, and the ability to set a context for a request
func NewGetClusterInfoParamsWithHTTPClient ¶
func NewGetClusterInfoParamsWithHTTPClient(client *http.Client) *GetClusterInfoParams
NewGetClusterInfoParamsWithHTTPClient creates a new GetClusterInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetClusterInfoParamsWithTimeout ¶
func NewGetClusterInfoParamsWithTimeout(timeout time.Duration) *GetClusterInfoParams
NewGetClusterInfoParamsWithTimeout creates a new GetClusterInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetClusterInfoParams) SetContext ¶
func (o *GetClusterInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster info params
func (*GetClusterInfoParams) SetHTTPClient ¶
func (o *GetClusterInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster info params
func (*GetClusterInfoParams) SetName ¶
func (o *GetClusterInfoParams) SetName(name string)
SetName adds the name to the get cluster info params
func (*GetClusterInfoParams) SetTimeout ¶
func (o *GetClusterInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster info params
func (*GetClusterInfoParams) WithContext ¶
func (o *GetClusterInfoParams) WithContext(ctx context.Context) *GetClusterInfoParams
WithContext adds the context to the get cluster info params
func (*GetClusterInfoParams) WithHTTPClient ¶
func (o *GetClusterInfoParams) WithHTTPClient(client *http.Client) *GetClusterInfoParams
WithHTTPClient adds the HTTPClient to the get cluster info params
func (*GetClusterInfoParams) WithName ¶
func (o *GetClusterInfoParams) WithName(name string) *GetClusterInfoParams
WithName adds the name to the get cluster info params
func (*GetClusterInfoParams) WithTimeout ¶
func (o *GetClusterInfoParams) WithTimeout(timeout time.Duration) *GetClusterInfoParams
WithTimeout adds the timeout to the get cluster info params
func (*GetClusterInfoParams) WriteToRequest ¶
func (o *GetClusterInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterInfoReader ¶
type GetClusterInfoReader struct {
// contains filtered or unexported fields
}
GetClusterInfoReader is a Reader for the GetClusterInfo structure.
func (*GetClusterInfoReader) ReadResponse ¶
func (o *GetClusterInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOpenstackMetadataDefault ¶ added in v1.2.0
type GetOpenstackMetadataDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetOpenstackMetadataDefault handles this case with default header values.
Error
func NewGetOpenstackMetadataDefault ¶ added in v1.2.0
func NewGetOpenstackMetadataDefault(code int) *GetOpenstackMetadataDefault
NewGetOpenstackMetadataDefault creates a GetOpenstackMetadataDefault with default headers values
func (*GetOpenstackMetadataDefault) Code ¶ added in v1.2.0
func (o *GetOpenstackMetadataDefault) Code() int
Code gets the status code for the get openstack metadata default response
func (*GetOpenstackMetadataDefault) Error ¶ added in v1.2.0
func (o *GetOpenstackMetadataDefault) Error() string
type GetOpenstackMetadataOK ¶ added in v1.2.0
type GetOpenstackMetadataOK struct {
Payload *models.OpenstackMetadata
}
GetOpenstackMetadataOK handles this case with default header values.
OK
func NewGetOpenstackMetadataOK ¶ added in v1.2.0
func NewGetOpenstackMetadataOK() *GetOpenstackMetadataOK
NewGetOpenstackMetadataOK creates a GetOpenstackMetadataOK with default headers values
func (*GetOpenstackMetadataOK) Error ¶ added in v1.2.0
func (o *GetOpenstackMetadataOK) Error() string
type GetOpenstackMetadataParams ¶ added in v1.2.0
type GetOpenstackMetadataParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOpenstackMetadataParams contains all the parameters to send to the API endpoint for the get openstack metadata operation typically these are written to a http.Request
func NewGetOpenstackMetadataParams ¶ added in v1.2.0
func NewGetOpenstackMetadataParams() *GetOpenstackMetadataParams
NewGetOpenstackMetadataParams creates a new GetOpenstackMetadataParams object with the default values initialized.
func NewGetOpenstackMetadataParamsWithContext ¶ added in v1.2.0
func NewGetOpenstackMetadataParamsWithContext(ctx context.Context) *GetOpenstackMetadataParams
NewGetOpenstackMetadataParamsWithContext creates a new GetOpenstackMetadataParams object with the default values initialized, and the ability to set a context for a request
func NewGetOpenstackMetadataParamsWithHTTPClient ¶ added in v1.2.0
func NewGetOpenstackMetadataParamsWithHTTPClient(client *http.Client) *GetOpenstackMetadataParams
NewGetOpenstackMetadataParamsWithHTTPClient creates a new GetOpenstackMetadataParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOpenstackMetadataParamsWithTimeout ¶ added in v1.2.0
func NewGetOpenstackMetadataParamsWithTimeout(timeout time.Duration) *GetOpenstackMetadataParams
NewGetOpenstackMetadataParamsWithTimeout creates a new GetOpenstackMetadataParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOpenstackMetadataParams) SetContext ¶ added in v1.2.0
func (o *GetOpenstackMetadataParams) SetContext(ctx context.Context)
SetContext adds the context to the get openstack metadata params
func (*GetOpenstackMetadataParams) SetHTTPClient ¶ added in v1.2.0
func (o *GetOpenstackMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get openstack metadata params
func (*GetOpenstackMetadataParams) SetTimeout ¶ added in v1.2.0
func (o *GetOpenstackMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get openstack metadata params
func (*GetOpenstackMetadataParams) WithContext ¶ added in v1.2.0
func (o *GetOpenstackMetadataParams) WithContext(ctx context.Context) *GetOpenstackMetadataParams
WithContext adds the context to the get openstack metadata params
func (*GetOpenstackMetadataParams) WithHTTPClient ¶ added in v1.2.0
func (o *GetOpenstackMetadataParams) WithHTTPClient(client *http.Client) *GetOpenstackMetadataParams
WithHTTPClient adds the HTTPClient to the get openstack metadata params
func (*GetOpenstackMetadataParams) WithTimeout ¶ added in v1.2.0
func (o *GetOpenstackMetadataParams) WithTimeout(timeout time.Duration) *GetOpenstackMetadataParams
WithTimeout adds the timeout to the get openstack metadata params
func (*GetOpenstackMetadataParams) WriteToRequest ¶ added in v1.2.0
func (o *GetOpenstackMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOpenstackMetadataReader ¶ added in v1.2.0
type GetOpenstackMetadataReader struct {
// contains filtered or unexported fields
}
GetOpenstackMetadataReader is a Reader for the GetOpenstackMetadata structure.
func (*GetOpenstackMetadataReader) ReadResponse ¶ added in v1.2.0
func (o *GetOpenstackMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InfoParams ¶
type InfoParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InfoParams contains all the parameters to send to the API endpoint for the info operation typically these are written to a http.Request
func NewInfoParams ¶
func NewInfoParams() *InfoParams
NewInfoParams creates a new InfoParams object with the default values initialized.
func NewInfoParamsWithContext ¶
func NewInfoParamsWithContext(ctx context.Context) *InfoParams
NewInfoParamsWithContext creates a new InfoParams object with the default values initialized, and the ability to set a context for a request
func NewInfoParamsWithHTTPClient ¶
func NewInfoParamsWithHTTPClient(client *http.Client) *InfoParams
NewInfoParamsWithHTTPClient creates a new InfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInfoParamsWithTimeout ¶
func NewInfoParamsWithTimeout(timeout time.Duration) *InfoParams
NewInfoParamsWithTimeout creates a new InfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*InfoParams) SetContext ¶
func (o *InfoParams) SetContext(ctx context.Context)
SetContext adds the context to the info params
func (*InfoParams) SetHTTPClient ¶
func (o *InfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the info params
func (*InfoParams) SetTimeout ¶
func (o *InfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the info params
func (*InfoParams) WithContext ¶
func (o *InfoParams) WithContext(ctx context.Context) *InfoParams
WithContext adds the context to the info params
func (*InfoParams) WithHTTPClient ¶
func (o *InfoParams) WithHTTPClient(client *http.Client) *InfoParams
WithHTTPClient adds the HTTPClient to the info params
func (*InfoParams) WithTimeout ¶
func (o *InfoParams) WithTimeout(timeout time.Duration) *InfoParams
WithTimeout adds the timeout to the info params
func (*InfoParams) WriteToRequest ¶
func (o *InfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InfoReader ¶
type InfoReader struct {
// contains filtered or unexported fields
}
InfoReader is a Reader for the Info structure.
func (*InfoReader) ReadResponse ¶
func (o *InfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAPIVersionsOK ¶
type ListAPIVersionsOK struct {
Payload *models.APIVersions
}
ListAPIVersionsOK handles this case with default header values.
OK
func NewListAPIVersionsOK ¶
func NewListAPIVersionsOK() *ListAPIVersionsOK
NewListAPIVersionsOK creates a ListAPIVersionsOK with default headers values
func (*ListAPIVersionsOK) Error ¶
func (o *ListAPIVersionsOK) Error() string
type ListAPIVersionsParams ¶
type ListAPIVersionsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAPIVersionsParams contains all the parameters to send to the API endpoint for the list API versions operation typically these are written to a http.Request
func NewListAPIVersionsParams ¶
func NewListAPIVersionsParams() *ListAPIVersionsParams
NewListAPIVersionsParams creates a new ListAPIVersionsParams object with the default values initialized.
func NewListAPIVersionsParamsWithContext ¶
func NewListAPIVersionsParamsWithContext(ctx context.Context) *ListAPIVersionsParams
NewListAPIVersionsParamsWithContext creates a new ListAPIVersionsParams object with the default values initialized, and the ability to set a context for a request
func NewListAPIVersionsParamsWithHTTPClient ¶
func NewListAPIVersionsParamsWithHTTPClient(client *http.Client) *ListAPIVersionsParams
NewListAPIVersionsParamsWithHTTPClient creates a new ListAPIVersionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListAPIVersionsParamsWithTimeout ¶
func NewListAPIVersionsParamsWithTimeout(timeout time.Duration) *ListAPIVersionsParams
NewListAPIVersionsParamsWithTimeout creates a new ListAPIVersionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListAPIVersionsParams) SetContext ¶
func (o *ListAPIVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list API versions params
func (*ListAPIVersionsParams) SetHTTPClient ¶
func (o *ListAPIVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list API versions params
func (*ListAPIVersionsParams) SetTimeout ¶
func (o *ListAPIVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list API versions params
func (*ListAPIVersionsParams) WithContext ¶
func (o *ListAPIVersionsParams) WithContext(ctx context.Context) *ListAPIVersionsParams
WithContext adds the context to the list API versions params
func (*ListAPIVersionsParams) WithHTTPClient ¶
func (o *ListAPIVersionsParams) WithHTTPClient(client *http.Client) *ListAPIVersionsParams
WithHTTPClient adds the HTTPClient to the list API versions params
func (*ListAPIVersionsParams) WithTimeout ¶
func (o *ListAPIVersionsParams) WithTimeout(timeout time.Duration) *ListAPIVersionsParams
WithTimeout adds the timeout to the list API versions params
func (*ListAPIVersionsParams) WriteToRequest ¶
func (o *ListAPIVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAPIVersionsReader ¶
type ListAPIVersionsReader struct {
// contains filtered or unexported fields
}
ListAPIVersionsReader is a Reader for the ListAPIVersions structure.
func (*ListAPIVersionsReader) ReadResponse ¶
func (o *ListAPIVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListClustersDefault ¶
ListClustersDefault handles this case with default header values.
Error
func NewListClustersDefault ¶
func NewListClustersDefault(code int) *ListClustersDefault
NewListClustersDefault creates a ListClustersDefault with default headers values
func (*ListClustersDefault) Code ¶
func (o *ListClustersDefault) Code() int
Code gets the status code for the list clusters default response
func (*ListClustersDefault) Error ¶
func (o *ListClustersDefault) Error() string
type ListClustersOK ¶
ListClustersOK handles this case with default header values.
OK
func NewListClustersOK ¶
func NewListClustersOK() *ListClustersOK
NewListClustersOK creates a ListClustersOK with default headers values
func (*ListClustersOK) Error ¶
func (o *ListClustersOK) Error() string
type ListClustersParams ¶
type ListClustersParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListClustersParams contains all the parameters to send to the API endpoint for the list clusters operation typically these are written to a http.Request
func NewListClustersParams ¶
func NewListClustersParams() *ListClustersParams
NewListClustersParams creates a new ListClustersParams object with the default values initialized.
func NewListClustersParamsWithContext ¶
func NewListClustersParamsWithContext(ctx context.Context) *ListClustersParams
NewListClustersParamsWithContext creates a new ListClustersParams object with the default values initialized, and the ability to set a context for a request
func NewListClustersParamsWithHTTPClient ¶
func NewListClustersParamsWithHTTPClient(client *http.Client) *ListClustersParams
NewListClustersParamsWithHTTPClient creates a new ListClustersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListClustersParamsWithTimeout ¶
func NewListClustersParamsWithTimeout(timeout time.Duration) *ListClustersParams
NewListClustersParamsWithTimeout creates a new ListClustersParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListClustersParams) SetContext ¶
func (o *ListClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the list clusters params
func (*ListClustersParams) SetHTTPClient ¶
func (o *ListClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list clusters params
func (*ListClustersParams) SetTimeout ¶
func (o *ListClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list clusters params
func (*ListClustersParams) WithContext ¶
func (o *ListClustersParams) WithContext(ctx context.Context) *ListClustersParams
WithContext adds the context to the list clusters params
func (*ListClustersParams) WithHTTPClient ¶
func (o *ListClustersParams) WithHTTPClient(client *http.Client) *ListClustersParams
WithHTTPClient adds the HTTPClient to the list clusters params
func (*ListClustersParams) WithTimeout ¶
func (o *ListClustersParams) WithTimeout(timeout time.Duration) *ListClustersParams
WithTimeout adds the timeout to the list clusters params
func (*ListClustersParams) WriteToRequest ¶
func (o *ListClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListClustersReader ¶
type ListClustersReader struct {
// contains filtered or unexported fields
}
ListClustersReader is a Reader for the ListClusters structure.
func (*ListClustersReader) ReadResponse ¶
func (o *ListClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShowClusterDefault ¶
ShowClusterDefault handles this case with default header values.
Error
func NewShowClusterDefault ¶
func NewShowClusterDefault(code int) *ShowClusterDefault
NewShowClusterDefault creates a ShowClusterDefault with default headers values
func (*ShowClusterDefault) Code ¶
func (o *ShowClusterDefault) Code() int
Code gets the status code for the show cluster default response
func (*ShowClusterDefault) Error ¶
func (o *ShowClusterDefault) Error() string
type ShowClusterOK ¶
ShowClusterOK handles this case with default header values.
OK
func NewShowClusterOK ¶
func NewShowClusterOK() *ShowClusterOK
NewShowClusterOK creates a ShowClusterOK with default headers values
func (*ShowClusterOK) Error ¶
func (o *ShowClusterOK) Error() string
type ShowClusterParams ¶
type ShowClusterParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShowClusterParams contains all the parameters to send to the API endpoint for the show cluster operation typically these are written to a http.Request
func NewShowClusterParams ¶
func NewShowClusterParams() *ShowClusterParams
NewShowClusterParams creates a new ShowClusterParams object with the default values initialized.
func NewShowClusterParamsWithContext ¶
func NewShowClusterParamsWithContext(ctx context.Context) *ShowClusterParams
NewShowClusterParamsWithContext creates a new ShowClusterParams object with the default values initialized, and the ability to set a context for a request
func NewShowClusterParamsWithHTTPClient ¶
func NewShowClusterParamsWithHTTPClient(client *http.Client) *ShowClusterParams
NewShowClusterParamsWithHTTPClient creates a new ShowClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewShowClusterParamsWithTimeout ¶
func NewShowClusterParamsWithTimeout(timeout time.Duration) *ShowClusterParams
NewShowClusterParamsWithTimeout creates a new ShowClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*ShowClusterParams) SetContext ¶
func (o *ShowClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the show cluster params
func (*ShowClusterParams) SetHTTPClient ¶
func (o *ShowClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the show cluster params
func (*ShowClusterParams) SetName ¶
func (o *ShowClusterParams) SetName(name string)
SetName adds the name to the show cluster params
func (*ShowClusterParams) SetTimeout ¶
func (o *ShowClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the show cluster params
func (*ShowClusterParams) WithContext ¶
func (o *ShowClusterParams) WithContext(ctx context.Context) *ShowClusterParams
WithContext adds the context to the show cluster params
func (*ShowClusterParams) WithHTTPClient ¶
func (o *ShowClusterParams) WithHTTPClient(client *http.Client) *ShowClusterParams
WithHTTPClient adds the HTTPClient to the show cluster params
func (*ShowClusterParams) WithName ¶
func (o *ShowClusterParams) WithName(name string) *ShowClusterParams
WithName adds the name to the show cluster params
func (*ShowClusterParams) WithTimeout ¶
func (o *ShowClusterParams) WithTimeout(timeout time.Duration) *ShowClusterParams
WithTimeout adds the timeout to the show cluster params
func (*ShowClusterParams) WriteToRequest ¶
func (o *ShowClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShowClusterReader ¶
type ShowClusterReader struct {
// contains filtered or unexported fields
}
ShowClusterReader is a Reader for the ShowCluster structure.
func (*ShowClusterReader) ReadResponse ¶
func (o *ShowClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TerminateClusterAccepted ¶
type TerminateClusterAccepted struct {
Payload TerminateClusterAcceptedBody
}
TerminateClusterAccepted handles this case with default header values.
OK
func NewTerminateClusterAccepted ¶
func NewTerminateClusterAccepted() *TerminateClusterAccepted
NewTerminateClusterAccepted creates a TerminateClusterAccepted with default headers values
func (*TerminateClusterAccepted) Error ¶
func (o *TerminateClusterAccepted) Error() string
type TerminateClusterAcceptedBody ¶
type TerminateClusterAcceptedBody interface{}
type TerminateClusterDefault ¶
type TerminateClusterDefault struct { Payload *models.Error // contains filtered or unexported fields }
TerminateClusterDefault handles this case with default header values.
Error
func NewTerminateClusterDefault ¶
func NewTerminateClusterDefault(code int) *TerminateClusterDefault
NewTerminateClusterDefault creates a TerminateClusterDefault with default headers values
func (*TerminateClusterDefault) Code ¶
func (o *TerminateClusterDefault) Code() int
Code gets the status code for the terminate cluster default response
func (*TerminateClusterDefault) Error ¶
func (o *TerminateClusterDefault) Error() string
type TerminateClusterParams ¶
type TerminateClusterParams struct { /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TerminateClusterParams contains all the parameters to send to the API endpoint for the terminate cluster operation typically these are written to a http.Request
func NewTerminateClusterParams ¶
func NewTerminateClusterParams() *TerminateClusterParams
NewTerminateClusterParams creates a new TerminateClusterParams object with the default values initialized.
func NewTerminateClusterParamsWithContext ¶
func NewTerminateClusterParamsWithContext(ctx context.Context) *TerminateClusterParams
NewTerminateClusterParamsWithContext creates a new TerminateClusterParams object with the default values initialized, and the ability to set a context for a request
func NewTerminateClusterParamsWithHTTPClient ¶
func NewTerminateClusterParamsWithHTTPClient(client *http.Client) *TerminateClusterParams
NewTerminateClusterParamsWithHTTPClient creates a new TerminateClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTerminateClusterParamsWithTimeout ¶
func NewTerminateClusterParamsWithTimeout(timeout time.Duration) *TerminateClusterParams
NewTerminateClusterParamsWithTimeout creates a new TerminateClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*TerminateClusterParams) SetContext ¶
func (o *TerminateClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the terminate cluster params
func (*TerminateClusterParams) SetHTTPClient ¶
func (o *TerminateClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the terminate cluster params
func (*TerminateClusterParams) SetName ¶
func (o *TerminateClusterParams) SetName(name string)
SetName adds the name to the terminate cluster params
func (*TerminateClusterParams) SetTimeout ¶
func (o *TerminateClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the terminate cluster params
func (*TerminateClusterParams) WithContext ¶
func (o *TerminateClusterParams) WithContext(ctx context.Context) *TerminateClusterParams
WithContext adds the context to the terminate cluster params
func (*TerminateClusterParams) WithHTTPClient ¶
func (o *TerminateClusterParams) WithHTTPClient(client *http.Client) *TerminateClusterParams
WithHTTPClient adds the HTTPClient to the terminate cluster params
func (*TerminateClusterParams) WithName ¶
func (o *TerminateClusterParams) WithName(name string) *TerminateClusterParams
WithName adds the name to the terminate cluster params
func (*TerminateClusterParams) WithTimeout ¶
func (o *TerminateClusterParams) WithTimeout(timeout time.Duration) *TerminateClusterParams
WithTimeout adds the timeout to the terminate cluster params
func (*TerminateClusterParams) WriteToRequest ¶
func (o *TerminateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TerminateClusterReader ¶
type TerminateClusterReader struct {
// contains filtered or unexported fields
}
TerminateClusterReader is a Reader for the TerminateCluster structure.
func (*TerminateClusterReader) ReadResponse ¶
func (o *TerminateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateClusterDefault ¶
type UpdateClusterDefault struct { Payload *models.Error // contains filtered or unexported fields }
UpdateClusterDefault handles this case with default header values.
Error
func NewUpdateClusterDefault ¶
func NewUpdateClusterDefault(code int) *UpdateClusterDefault
NewUpdateClusterDefault creates a UpdateClusterDefault with default headers values
func (*UpdateClusterDefault) Code ¶
func (o *UpdateClusterDefault) Code() int
Code gets the status code for the update cluster default response
func (*UpdateClusterDefault) Error ¶
func (o *UpdateClusterDefault) Error() string
type UpdateClusterOK ¶
UpdateClusterOK handles this case with default header values.
OK
func NewUpdateClusterOK ¶
func NewUpdateClusterOK() *UpdateClusterOK
NewUpdateClusterOK creates a UpdateClusterOK with default headers values
func (*UpdateClusterOK) Error ¶
func (o *UpdateClusterOK) Error() string
type UpdateClusterParams ¶
type UpdateClusterParams struct { /*Body*/ Body *models.Kluster /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateClusterParams contains all the parameters to send to the API endpoint for the update cluster operation typically these are written to a http.Request
func NewUpdateClusterParams ¶
func NewUpdateClusterParams() *UpdateClusterParams
NewUpdateClusterParams creates a new UpdateClusterParams object with the default values initialized.
func NewUpdateClusterParamsWithContext ¶
func NewUpdateClusterParamsWithContext(ctx context.Context) *UpdateClusterParams
NewUpdateClusterParamsWithContext creates a new UpdateClusterParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateClusterParamsWithHTTPClient ¶
func NewUpdateClusterParamsWithHTTPClient(client *http.Client) *UpdateClusterParams
NewUpdateClusterParamsWithHTTPClient creates a new UpdateClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateClusterParamsWithTimeout ¶
func NewUpdateClusterParamsWithTimeout(timeout time.Duration) *UpdateClusterParams
NewUpdateClusterParamsWithTimeout creates a new UpdateClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateClusterParams) SetBody ¶
func (o *UpdateClusterParams) SetBody(body *models.Kluster)
SetBody adds the body to the update cluster params
func (*UpdateClusterParams) SetContext ¶
func (o *UpdateClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the update cluster params
func (*UpdateClusterParams) SetHTTPClient ¶
func (o *UpdateClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update cluster params
func (*UpdateClusterParams) SetName ¶
func (o *UpdateClusterParams) SetName(name string)
SetName adds the name to the update cluster params
func (*UpdateClusterParams) SetTimeout ¶
func (o *UpdateClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update cluster params
func (*UpdateClusterParams) WithBody ¶
func (o *UpdateClusterParams) WithBody(body *models.Kluster) *UpdateClusterParams
WithBody adds the body to the update cluster params
func (*UpdateClusterParams) WithContext ¶
func (o *UpdateClusterParams) WithContext(ctx context.Context) *UpdateClusterParams
WithContext adds the context to the update cluster params
func (*UpdateClusterParams) WithHTTPClient ¶
func (o *UpdateClusterParams) WithHTTPClient(client *http.Client) *UpdateClusterParams
WithHTTPClient adds the HTTPClient to the update cluster params
func (*UpdateClusterParams) WithName ¶
func (o *UpdateClusterParams) WithName(name string) *UpdateClusterParams
WithName adds the name to the update cluster params
func (*UpdateClusterParams) WithTimeout ¶
func (o *UpdateClusterParams) WithTimeout(timeout time.Duration) *UpdateClusterParams
WithTimeout adds the timeout to the update cluster params
func (*UpdateClusterParams) WriteToRequest ¶
func (o *UpdateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateClusterReader ¶
type UpdateClusterReader struct {
// contains filtered or unexported fields
}
UpdateClusterReader is a Reader for the UpdateCluster structure.
func (*UpdateClusterReader) ReadResponse ¶
func (o *UpdateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_cluster_parameters.go
- create_cluster_responses.go
- get_cluster_credentials_parameters.go
- get_cluster_credentials_responses.go
- get_cluster_events_parameters.go
- get_cluster_events_responses.go
- get_cluster_info_parameters.go
- get_cluster_info_responses.go
- get_openstack_metadata_parameters.go
- get_openstack_metadata_responses.go
- info_parameters.go
- info_responses.go
- list_api_versions_parameters.go
- list_api_versions_responses.go
- list_clusters_parameters.go
- list_clusters_responses.go
- operations_client.go
- show_cluster_parameters.go
- show_cluster_responses.go
- terminate_cluster_parameters.go
- terminate_cluster_responses.go
- update_cluster_parameters.go
- update_cluster_responses.go