Documentation ¶
Index ¶
- type Client
- func (a *Client) GetInstallerUsingGET(params *GetInstallerUsingGETParams, opts ...ClientOption) (*GetInstallerUsingGETOK, error)
- func (a *Client) GetKubernetesPropertiesUsingGET(params *GetKubernetesPropertiesUsingGETParams, opts ...ClientOption) (*GetKubernetesPropertiesUsingGETOK, error)
- func (a *Client) InstallUsingPOST(params *InstallUsingPOSTParams, opts ...ClientOption) (*InstallUsingPOSTOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UninstallUsingPOST(params *UninstallUsingPOSTParams, opts ...ClientOption) (*UninstallUsingPOSTOK, error)
- type ClientOption
- type ClientService
- type GetInstallerUsingGETForbidden
- func (o *GetInstallerUsingGETForbidden) Error() string
- func (o *GetInstallerUsingGETForbidden) IsClientError() bool
- func (o *GetInstallerUsingGETForbidden) IsCode(code int) bool
- func (o *GetInstallerUsingGETForbidden) IsRedirect() bool
- func (o *GetInstallerUsingGETForbidden) IsServerError() bool
- func (o *GetInstallerUsingGETForbidden) IsSuccess() bool
- func (o *GetInstallerUsingGETForbidden) String() string
- type GetInstallerUsingGETOK
- func (o *GetInstallerUsingGETOK) Error() string
- func (o *GetInstallerUsingGETOK) GetPayload() *models.K8SInstaller
- func (o *GetInstallerUsingGETOK) IsClientError() bool
- func (o *GetInstallerUsingGETOK) IsCode(code int) bool
- func (o *GetInstallerUsingGETOK) IsRedirect() bool
- func (o *GetInstallerUsingGETOK) IsServerError() bool
- func (o *GetInstallerUsingGETOK) IsSuccess() bool
- func (o *GetInstallerUsingGETOK) String() string
- type GetInstallerUsingGETParams
- func NewGetInstallerUsingGETParams() *GetInstallerUsingGETParams
- func NewGetInstallerUsingGETParamsWithContext(ctx context.Context) *GetInstallerUsingGETParams
- func NewGetInstallerUsingGETParamsWithHTTPClient(client *http.Client) *GetInstallerUsingGETParams
- func NewGetInstallerUsingGETParamsWithTimeout(timeout time.Duration) *GetInstallerUsingGETParams
- func (o *GetInstallerUsingGETParams) SetContext(ctx context.Context)
- func (o *GetInstallerUsingGETParams) SetDefaults()
- func (o *GetInstallerUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetInstallerUsingGETParams) SetID(id strfmt.UUID)
- func (o *GetInstallerUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetInstallerUsingGETParams) WithContext(ctx context.Context) *GetInstallerUsingGETParams
- func (o *GetInstallerUsingGETParams) WithDefaults() *GetInstallerUsingGETParams
- func (o *GetInstallerUsingGETParams) WithHTTPClient(client *http.Client) *GetInstallerUsingGETParams
- func (o *GetInstallerUsingGETParams) WithID(id strfmt.UUID) *GetInstallerUsingGETParams
- func (o *GetInstallerUsingGETParams) WithTimeout(timeout time.Duration) *GetInstallerUsingGETParams
- func (o *GetInstallerUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInstallerUsingGETReader
- type GetKubernetesPropertiesUsingGETForbidden
- func (o *GetKubernetesPropertiesUsingGETForbidden) Error() string
- func (o *GetKubernetesPropertiesUsingGETForbidden) IsClientError() bool
- func (o *GetKubernetesPropertiesUsingGETForbidden) IsCode(code int) bool
- func (o *GetKubernetesPropertiesUsingGETForbidden) IsRedirect() bool
- func (o *GetKubernetesPropertiesUsingGETForbidden) IsServerError() bool
- func (o *GetKubernetesPropertiesUsingGETForbidden) IsSuccess() bool
- func (o *GetKubernetesPropertiesUsingGETForbidden) String() string
- type GetKubernetesPropertiesUsingGETOK
- func (o *GetKubernetesPropertiesUsingGETOK) Error() string
- func (o *GetKubernetesPropertiesUsingGETOK) GetPayload() map[string]string
- func (o *GetKubernetesPropertiesUsingGETOK) IsClientError() bool
- func (o *GetKubernetesPropertiesUsingGETOK) IsCode(code int) bool
- func (o *GetKubernetesPropertiesUsingGETOK) IsRedirect() bool
- func (o *GetKubernetesPropertiesUsingGETOK) IsServerError() bool
- func (o *GetKubernetesPropertiesUsingGETOK) IsSuccess() bool
- func (o *GetKubernetesPropertiesUsingGETOK) String() string
- type GetKubernetesPropertiesUsingGETParams
- func NewGetKubernetesPropertiesUsingGETParams() *GetKubernetesPropertiesUsingGETParams
- func NewGetKubernetesPropertiesUsingGETParamsWithContext(ctx context.Context) *GetKubernetesPropertiesUsingGETParams
- func NewGetKubernetesPropertiesUsingGETParamsWithHTTPClient(client *http.Client) *GetKubernetesPropertiesUsingGETParams
- func NewGetKubernetesPropertiesUsingGETParamsWithTimeout(timeout time.Duration) *GetKubernetesPropertiesUsingGETParams
- func (o *GetKubernetesPropertiesUsingGETParams) SetContext(ctx context.Context)
- func (o *GetKubernetesPropertiesUsingGETParams) SetDefaults()
- func (o *GetKubernetesPropertiesUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetKubernetesPropertiesUsingGETParams) SetID(id strfmt.UUID)
- func (o *GetKubernetesPropertiesUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetKubernetesPropertiesUsingGETParams) WithContext(ctx context.Context) *GetKubernetesPropertiesUsingGETParams
- func (o *GetKubernetesPropertiesUsingGETParams) WithDefaults() *GetKubernetesPropertiesUsingGETParams
- func (o *GetKubernetesPropertiesUsingGETParams) WithHTTPClient(client *http.Client) *GetKubernetesPropertiesUsingGETParams
- func (o *GetKubernetesPropertiesUsingGETParams) WithID(id strfmt.UUID) *GetKubernetesPropertiesUsingGETParams
- func (o *GetKubernetesPropertiesUsingGETParams) WithTimeout(timeout time.Duration) *GetKubernetesPropertiesUsingGETParams
- func (o *GetKubernetesPropertiesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKubernetesPropertiesUsingGETReader
- type InstallUsingPOSTForbidden
- func (o *InstallUsingPOSTForbidden) Error() string
- func (o *InstallUsingPOSTForbidden) IsClientError() bool
- func (o *InstallUsingPOSTForbidden) IsCode(code int) bool
- func (o *InstallUsingPOSTForbidden) IsRedirect() bool
- func (o *InstallUsingPOSTForbidden) IsServerError() bool
- func (o *InstallUsingPOSTForbidden) IsSuccess() bool
- func (o *InstallUsingPOSTForbidden) String() string
- type InstallUsingPOSTOK
- func (o *InstallUsingPOSTOK) Error() string
- func (o *InstallUsingPOSTOK) GetPayload() *models.K8SInstaller
- func (o *InstallUsingPOSTOK) IsClientError() bool
- func (o *InstallUsingPOSTOK) IsCode(code int) bool
- func (o *InstallUsingPOSTOK) IsRedirect() bool
- func (o *InstallUsingPOSTOK) IsServerError() bool
- func (o *InstallUsingPOSTOK) IsSuccess() bool
- func (o *InstallUsingPOSTOK) String() string
- type InstallUsingPOSTParams
- func NewInstallUsingPOSTParams() *InstallUsingPOSTParams
- func NewInstallUsingPOSTParamsWithContext(ctx context.Context) *InstallUsingPOSTParams
- func NewInstallUsingPOSTParamsWithHTTPClient(client *http.Client) *InstallUsingPOSTParams
- func NewInstallUsingPOSTParamsWithTimeout(timeout time.Duration) *InstallUsingPOSTParams
- func (o *InstallUsingPOSTParams) SetContext(ctx context.Context)
- func (o *InstallUsingPOSTParams) SetDefaults()
- func (o *InstallUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *InstallUsingPOSTParams) SetID(id strfmt.UUID)
- func (o *InstallUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *InstallUsingPOSTParams) WithContext(ctx context.Context) *InstallUsingPOSTParams
- func (o *InstallUsingPOSTParams) WithDefaults() *InstallUsingPOSTParams
- func (o *InstallUsingPOSTParams) WithHTTPClient(client *http.Client) *InstallUsingPOSTParams
- func (o *InstallUsingPOSTParams) WithID(id strfmt.UUID) *InstallUsingPOSTParams
- func (o *InstallUsingPOSTParams) WithTimeout(timeout time.Duration) *InstallUsingPOSTParams
- func (o *InstallUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InstallUsingPOSTReader
- type UninstallUsingPOSTForbidden
- func (o *UninstallUsingPOSTForbidden) Error() string
- func (o *UninstallUsingPOSTForbidden) IsClientError() bool
- func (o *UninstallUsingPOSTForbidden) IsCode(code int) bool
- func (o *UninstallUsingPOSTForbidden) IsRedirect() bool
- func (o *UninstallUsingPOSTForbidden) IsServerError() bool
- func (o *UninstallUsingPOSTForbidden) IsSuccess() bool
- func (o *UninstallUsingPOSTForbidden) String() string
- type UninstallUsingPOSTOK
- func (o *UninstallUsingPOSTOK) Error() string
- func (o *UninstallUsingPOSTOK) GetPayload() *models.K8SInstaller
- func (o *UninstallUsingPOSTOK) IsClientError() bool
- func (o *UninstallUsingPOSTOK) IsCode(code int) bool
- func (o *UninstallUsingPOSTOK) IsRedirect() bool
- func (o *UninstallUsingPOSTOK) IsServerError() bool
- func (o *UninstallUsingPOSTOK) IsSuccess() bool
- func (o *UninstallUsingPOSTOK) String() string
- type UninstallUsingPOSTParams
- func NewUninstallUsingPOSTParams() *UninstallUsingPOSTParams
- func NewUninstallUsingPOSTParamsWithContext(ctx context.Context) *UninstallUsingPOSTParams
- func NewUninstallUsingPOSTParamsWithHTTPClient(client *http.Client) *UninstallUsingPOSTParams
- func NewUninstallUsingPOSTParamsWithTimeout(timeout time.Duration) *UninstallUsingPOSTParams
- func (o *UninstallUsingPOSTParams) SetContext(ctx context.Context)
- func (o *UninstallUsingPOSTParams) SetDefaults()
- func (o *UninstallUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *UninstallUsingPOSTParams) SetID(id strfmt.UUID)
- func (o *UninstallUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *UninstallUsingPOSTParams) WithContext(ctx context.Context) *UninstallUsingPOSTParams
- func (o *UninstallUsingPOSTParams) WithDefaults() *UninstallUsingPOSTParams
- func (o *UninstallUsingPOSTParams) WithHTTPClient(client *http.Client) *UninstallUsingPOSTParams
- func (o *UninstallUsingPOSTParams) WithID(id strfmt.UUID) *UninstallUsingPOSTParams
- func (o *UninstallUsingPOSTParams) WithTimeout(timeout time.Duration) *UninstallUsingPOSTParams
- func (o *UninstallUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UninstallUsingPOSTReader
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 installers API
func (*Client) GetInstallerUsingGET ¶
func (a *Client) GetInstallerUsingGET(params *GetInstallerUsingGETParams, opts ...ClientOption) (*GetInstallerUsingGETOK, error)
GetInstallerUsingGET finds a kubernetes installer by id
Retrieve a K8S Installer by id
func (*Client) GetKubernetesPropertiesUsingGET ¶
func (a *Client) GetKubernetesPropertiesUsingGET(params *GetKubernetesPropertiesUsingGETParams, opts ...ClientOption) (*GetKubernetesPropertiesUsingGETOK, error)
GetKubernetesPropertiesUsingGET finds installation properties by installer id
Retrieve installation properties by id
func (*Client) InstallUsingPOST ¶
func (a *Client) InstallUsingPOST(params *InstallUsingPOSTParams, opts ...ClientOption) (*InstallUsingPOSTOK, error)
InstallUsingPOST installs a k8 s installer
Install a K8S Installer
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UninstallUsingPOST ¶
func (a *Client) UninstallUsingPOST(params *UninstallUsingPOSTParams, opts ...ClientOption) (*UninstallUsingPOSTOK, error)
UninstallUsingPOST uninstalls a k8 s installer
Uninstall a K8S Installer
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetInstallerUsingGET(params *GetInstallerUsingGETParams, opts ...ClientOption) (*GetInstallerUsingGETOK, error) GetKubernetesPropertiesUsingGET(params *GetKubernetesPropertiesUsingGETParams, opts ...ClientOption) (*GetKubernetesPropertiesUsingGETOK, error) InstallUsingPOST(params *InstallUsingPOSTParams, opts ...ClientOption) (*InstallUsingPOSTOK, error) UninstallUsingPOST(params *UninstallUsingPOSTParams, opts ...ClientOption) (*UninstallUsingPOSTOK, 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 installers API client.
type GetInstallerUsingGETForbidden ¶
type GetInstallerUsingGETForbidden struct { }
GetInstallerUsingGETForbidden describes a response with status code 403, with default header values.
Forbidden, the user lacks permissions
func NewGetInstallerUsingGETForbidden ¶
func NewGetInstallerUsingGETForbidden() *GetInstallerUsingGETForbidden
NewGetInstallerUsingGETForbidden creates a GetInstallerUsingGETForbidden with default headers values
func (*GetInstallerUsingGETForbidden) Error ¶
func (o *GetInstallerUsingGETForbidden) Error() string
func (*GetInstallerUsingGETForbidden) IsClientError ¶
func (o *GetInstallerUsingGETForbidden) IsClientError() bool
IsClientError returns true when this get installer using g e t forbidden response has a 4xx status code
func (*GetInstallerUsingGETForbidden) IsCode ¶
func (o *GetInstallerUsingGETForbidden) IsCode(code int) bool
IsCode returns true when this get installer using g e t forbidden response a status code equal to that given
func (*GetInstallerUsingGETForbidden) IsRedirect ¶
func (o *GetInstallerUsingGETForbidden) IsRedirect() bool
IsRedirect returns true when this get installer using g e t forbidden response has a 3xx status code
func (*GetInstallerUsingGETForbidden) IsServerError ¶
func (o *GetInstallerUsingGETForbidden) IsServerError() bool
IsServerError returns true when this get installer using g e t forbidden response has a 5xx status code
func (*GetInstallerUsingGETForbidden) IsSuccess ¶
func (o *GetInstallerUsingGETForbidden) IsSuccess() bool
IsSuccess returns true when this get installer using g e t forbidden response has a 2xx status code
func (*GetInstallerUsingGETForbidden) String ¶
func (o *GetInstallerUsingGETForbidden) String() string
type GetInstallerUsingGETOK ¶
type GetInstallerUsingGETOK struct {
Payload *models.K8SInstaller
}
GetInstallerUsingGETOK describes a response with status code 200, with default header values.
OK
func NewGetInstallerUsingGETOK ¶
func NewGetInstallerUsingGETOK() *GetInstallerUsingGETOK
NewGetInstallerUsingGETOK creates a GetInstallerUsingGETOK with default headers values
func (*GetInstallerUsingGETOK) Error ¶
func (o *GetInstallerUsingGETOK) Error() string
func (*GetInstallerUsingGETOK) GetPayload ¶
func (o *GetInstallerUsingGETOK) GetPayload() *models.K8SInstaller
func (*GetInstallerUsingGETOK) IsClientError ¶
func (o *GetInstallerUsingGETOK) IsClientError() bool
IsClientError returns true when this get installer using g e t o k response has a 4xx status code
func (*GetInstallerUsingGETOK) IsCode ¶
func (o *GetInstallerUsingGETOK) IsCode(code int) bool
IsCode returns true when this get installer using g e t o k response a status code equal to that given
func (*GetInstallerUsingGETOK) IsRedirect ¶
func (o *GetInstallerUsingGETOK) IsRedirect() bool
IsRedirect returns true when this get installer using g e t o k response has a 3xx status code
func (*GetInstallerUsingGETOK) IsServerError ¶
func (o *GetInstallerUsingGETOK) IsServerError() bool
IsServerError returns true when this get installer using g e t o k response has a 5xx status code
func (*GetInstallerUsingGETOK) IsSuccess ¶
func (o *GetInstallerUsingGETOK) IsSuccess() bool
IsSuccess returns true when this get installer using g e t o k response has a 2xx status code
func (*GetInstallerUsingGETOK) String ¶
func (o *GetInstallerUsingGETOK) String() string
type GetInstallerUsingGETParams ¶
type GetInstallerUsingGETParams struct { /* ID. id Format: uuid */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInstallerUsingGETParams contains all the parameters to send to the API endpoint
for the get installer using g e t operation. Typically these are written to a http.Request.
func NewGetInstallerUsingGETParams ¶
func NewGetInstallerUsingGETParams() *GetInstallerUsingGETParams
NewGetInstallerUsingGETParams creates a new GetInstallerUsingGETParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetInstallerUsingGETParamsWithContext ¶
func NewGetInstallerUsingGETParamsWithContext(ctx context.Context) *GetInstallerUsingGETParams
NewGetInstallerUsingGETParamsWithContext creates a new GetInstallerUsingGETParams object with the ability to set a context for a request.
func NewGetInstallerUsingGETParamsWithHTTPClient ¶
func NewGetInstallerUsingGETParamsWithHTTPClient(client *http.Client) *GetInstallerUsingGETParams
NewGetInstallerUsingGETParamsWithHTTPClient creates a new GetInstallerUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewGetInstallerUsingGETParamsWithTimeout ¶
func NewGetInstallerUsingGETParamsWithTimeout(timeout time.Duration) *GetInstallerUsingGETParams
NewGetInstallerUsingGETParamsWithTimeout creates a new GetInstallerUsingGETParams object with the ability to set a timeout on a request.
func (*GetInstallerUsingGETParams) SetContext ¶
func (o *GetInstallerUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get installer using get params
func (*GetInstallerUsingGETParams) SetDefaults ¶
func (o *GetInstallerUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get installer using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetInstallerUsingGETParams) SetHTTPClient ¶
func (o *GetInstallerUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get installer using get params
func (*GetInstallerUsingGETParams) SetID ¶
func (o *GetInstallerUsingGETParams) SetID(id strfmt.UUID)
SetID adds the id to the get installer using get params
func (*GetInstallerUsingGETParams) SetTimeout ¶
func (o *GetInstallerUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get installer using get params
func (*GetInstallerUsingGETParams) WithContext ¶
func (o *GetInstallerUsingGETParams) WithContext(ctx context.Context) *GetInstallerUsingGETParams
WithContext adds the context to the get installer using get params
func (*GetInstallerUsingGETParams) WithDefaults ¶
func (o *GetInstallerUsingGETParams) WithDefaults() *GetInstallerUsingGETParams
WithDefaults hydrates default values in the get installer using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetInstallerUsingGETParams) WithHTTPClient ¶
func (o *GetInstallerUsingGETParams) WithHTTPClient(client *http.Client) *GetInstallerUsingGETParams
WithHTTPClient adds the HTTPClient to the get installer using get params
func (*GetInstallerUsingGETParams) WithID ¶
func (o *GetInstallerUsingGETParams) WithID(id strfmt.UUID) *GetInstallerUsingGETParams
WithID adds the id to the get installer using get params
func (*GetInstallerUsingGETParams) WithTimeout ¶
func (o *GetInstallerUsingGETParams) WithTimeout(timeout time.Duration) *GetInstallerUsingGETParams
WithTimeout adds the timeout to the get installer using get params
func (*GetInstallerUsingGETParams) WriteToRequest ¶
func (o *GetInstallerUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInstallerUsingGETReader ¶
type GetInstallerUsingGETReader struct {
// contains filtered or unexported fields
}
GetInstallerUsingGETReader is a Reader for the GetInstallerUsingGET structure.
func (*GetInstallerUsingGETReader) ReadResponse ¶
func (o *GetInstallerUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetKubernetesPropertiesUsingGETForbidden ¶
type GetKubernetesPropertiesUsingGETForbidden struct { }
GetKubernetesPropertiesUsingGETForbidden describes a response with status code 403, with default header values.
Forbidden, the user lacks permissions
func NewGetKubernetesPropertiesUsingGETForbidden ¶
func NewGetKubernetesPropertiesUsingGETForbidden() *GetKubernetesPropertiesUsingGETForbidden
NewGetKubernetesPropertiesUsingGETForbidden creates a GetKubernetesPropertiesUsingGETForbidden with default headers values
func (*GetKubernetesPropertiesUsingGETForbidden) Error ¶
func (o *GetKubernetesPropertiesUsingGETForbidden) Error() string
func (*GetKubernetesPropertiesUsingGETForbidden) IsClientError ¶
func (o *GetKubernetesPropertiesUsingGETForbidden) IsClientError() bool
IsClientError returns true when this get kubernetes properties using g e t forbidden response has a 4xx status code
func (*GetKubernetesPropertiesUsingGETForbidden) IsCode ¶
func (o *GetKubernetesPropertiesUsingGETForbidden) IsCode(code int) bool
IsCode returns true when this get kubernetes properties using g e t forbidden response a status code equal to that given
func (*GetKubernetesPropertiesUsingGETForbidden) IsRedirect ¶
func (o *GetKubernetesPropertiesUsingGETForbidden) IsRedirect() bool
IsRedirect returns true when this get kubernetes properties using g e t forbidden response has a 3xx status code
func (*GetKubernetesPropertiesUsingGETForbidden) IsServerError ¶
func (o *GetKubernetesPropertiesUsingGETForbidden) IsServerError() bool
IsServerError returns true when this get kubernetes properties using g e t forbidden response has a 5xx status code
func (*GetKubernetesPropertiesUsingGETForbidden) IsSuccess ¶
func (o *GetKubernetesPropertiesUsingGETForbidden) IsSuccess() bool
IsSuccess returns true when this get kubernetes properties using g e t forbidden response has a 2xx status code
func (*GetKubernetesPropertiesUsingGETForbidden) String ¶
func (o *GetKubernetesPropertiesUsingGETForbidden) String() string
type GetKubernetesPropertiesUsingGETOK ¶
GetKubernetesPropertiesUsingGETOK describes a response with status code 200, with default header values.
OK
func NewGetKubernetesPropertiesUsingGETOK ¶
func NewGetKubernetesPropertiesUsingGETOK() *GetKubernetesPropertiesUsingGETOK
NewGetKubernetesPropertiesUsingGETOK creates a GetKubernetesPropertiesUsingGETOK with default headers values
func (*GetKubernetesPropertiesUsingGETOK) Error ¶
func (o *GetKubernetesPropertiesUsingGETOK) Error() string
func (*GetKubernetesPropertiesUsingGETOK) GetPayload ¶
func (o *GetKubernetesPropertiesUsingGETOK) GetPayload() map[string]string
func (*GetKubernetesPropertiesUsingGETOK) IsClientError ¶
func (o *GetKubernetesPropertiesUsingGETOK) IsClientError() bool
IsClientError returns true when this get kubernetes properties using g e t o k response has a 4xx status code
func (*GetKubernetesPropertiesUsingGETOK) IsCode ¶
func (o *GetKubernetesPropertiesUsingGETOK) IsCode(code int) bool
IsCode returns true when this get kubernetes properties using g e t o k response a status code equal to that given
func (*GetKubernetesPropertiesUsingGETOK) IsRedirect ¶
func (o *GetKubernetesPropertiesUsingGETOK) IsRedirect() bool
IsRedirect returns true when this get kubernetes properties using g e t o k response has a 3xx status code
func (*GetKubernetesPropertiesUsingGETOK) IsServerError ¶
func (o *GetKubernetesPropertiesUsingGETOK) IsServerError() bool
IsServerError returns true when this get kubernetes properties using g e t o k response has a 5xx status code
func (*GetKubernetesPropertiesUsingGETOK) IsSuccess ¶
func (o *GetKubernetesPropertiesUsingGETOK) IsSuccess() bool
IsSuccess returns true when this get kubernetes properties using g e t o k response has a 2xx status code
func (*GetKubernetesPropertiesUsingGETOK) String ¶
func (o *GetKubernetesPropertiesUsingGETOK) String() string
type GetKubernetesPropertiesUsingGETParams ¶
type GetKubernetesPropertiesUsingGETParams struct { /* ID. id Format: uuid */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetKubernetesPropertiesUsingGETParams contains all the parameters to send to the API endpoint
for the get kubernetes properties using g e t operation. Typically these are written to a http.Request.
func NewGetKubernetesPropertiesUsingGETParams ¶
func NewGetKubernetesPropertiesUsingGETParams() *GetKubernetesPropertiesUsingGETParams
NewGetKubernetesPropertiesUsingGETParams creates a new GetKubernetesPropertiesUsingGETParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetKubernetesPropertiesUsingGETParamsWithContext ¶
func NewGetKubernetesPropertiesUsingGETParamsWithContext(ctx context.Context) *GetKubernetesPropertiesUsingGETParams
NewGetKubernetesPropertiesUsingGETParamsWithContext creates a new GetKubernetesPropertiesUsingGETParams object with the ability to set a context for a request.
func NewGetKubernetesPropertiesUsingGETParamsWithHTTPClient ¶
func NewGetKubernetesPropertiesUsingGETParamsWithHTTPClient(client *http.Client) *GetKubernetesPropertiesUsingGETParams
NewGetKubernetesPropertiesUsingGETParamsWithHTTPClient creates a new GetKubernetesPropertiesUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewGetKubernetesPropertiesUsingGETParamsWithTimeout ¶
func NewGetKubernetesPropertiesUsingGETParamsWithTimeout(timeout time.Duration) *GetKubernetesPropertiesUsingGETParams
NewGetKubernetesPropertiesUsingGETParamsWithTimeout creates a new GetKubernetesPropertiesUsingGETParams object with the ability to set a timeout on a request.
func (*GetKubernetesPropertiesUsingGETParams) SetContext ¶
func (o *GetKubernetesPropertiesUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get kubernetes properties using get params
func (*GetKubernetesPropertiesUsingGETParams) SetDefaults ¶
func (o *GetKubernetesPropertiesUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the get kubernetes properties using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetKubernetesPropertiesUsingGETParams) SetHTTPClient ¶
func (o *GetKubernetesPropertiesUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get kubernetes properties using get params
func (*GetKubernetesPropertiesUsingGETParams) SetID ¶
func (o *GetKubernetesPropertiesUsingGETParams) SetID(id strfmt.UUID)
SetID adds the id to the get kubernetes properties using get params
func (*GetKubernetesPropertiesUsingGETParams) SetTimeout ¶
func (o *GetKubernetesPropertiesUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get kubernetes properties using get params
func (*GetKubernetesPropertiesUsingGETParams) WithContext ¶
func (o *GetKubernetesPropertiesUsingGETParams) WithContext(ctx context.Context) *GetKubernetesPropertiesUsingGETParams
WithContext adds the context to the get kubernetes properties using get params
func (*GetKubernetesPropertiesUsingGETParams) WithDefaults ¶
func (o *GetKubernetesPropertiesUsingGETParams) WithDefaults() *GetKubernetesPropertiesUsingGETParams
WithDefaults hydrates default values in the get kubernetes properties using get params (not the query body).
All values with no default are reset to their zero value.
func (*GetKubernetesPropertiesUsingGETParams) WithHTTPClient ¶
func (o *GetKubernetesPropertiesUsingGETParams) WithHTTPClient(client *http.Client) *GetKubernetesPropertiesUsingGETParams
WithHTTPClient adds the HTTPClient to the get kubernetes properties using get params
func (*GetKubernetesPropertiesUsingGETParams) WithID ¶
func (o *GetKubernetesPropertiesUsingGETParams) WithID(id strfmt.UUID) *GetKubernetesPropertiesUsingGETParams
WithID adds the id to the get kubernetes properties using get params
func (*GetKubernetesPropertiesUsingGETParams) WithTimeout ¶
func (o *GetKubernetesPropertiesUsingGETParams) WithTimeout(timeout time.Duration) *GetKubernetesPropertiesUsingGETParams
WithTimeout adds the timeout to the get kubernetes properties using get params
func (*GetKubernetesPropertiesUsingGETParams) WriteToRequest ¶
func (o *GetKubernetesPropertiesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetKubernetesPropertiesUsingGETReader ¶
type GetKubernetesPropertiesUsingGETReader struct {
// contains filtered or unexported fields
}
GetKubernetesPropertiesUsingGETReader is a Reader for the GetKubernetesPropertiesUsingGET structure.
func (*GetKubernetesPropertiesUsingGETReader) ReadResponse ¶
func (o *GetKubernetesPropertiesUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InstallUsingPOSTForbidden ¶
type InstallUsingPOSTForbidden struct { }
InstallUsingPOSTForbidden describes a response with status code 403, with default header values.
Forbidden, the user lacks permissions
func NewInstallUsingPOSTForbidden ¶
func NewInstallUsingPOSTForbidden() *InstallUsingPOSTForbidden
NewInstallUsingPOSTForbidden creates a InstallUsingPOSTForbidden with default headers values
func (*InstallUsingPOSTForbidden) Error ¶
func (o *InstallUsingPOSTForbidden) Error() string
func (*InstallUsingPOSTForbidden) IsClientError ¶
func (o *InstallUsingPOSTForbidden) IsClientError() bool
IsClientError returns true when this install using p o s t forbidden response has a 4xx status code
func (*InstallUsingPOSTForbidden) IsCode ¶
func (o *InstallUsingPOSTForbidden) IsCode(code int) bool
IsCode returns true when this install using p o s t forbidden response a status code equal to that given
func (*InstallUsingPOSTForbidden) IsRedirect ¶
func (o *InstallUsingPOSTForbidden) IsRedirect() bool
IsRedirect returns true when this install using p o s t forbidden response has a 3xx status code
func (*InstallUsingPOSTForbidden) IsServerError ¶
func (o *InstallUsingPOSTForbidden) IsServerError() bool
IsServerError returns true when this install using p o s t forbidden response has a 5xx status code
func (*InstallUsingPOSTForbidden) IsSuccess ¶
func (o *InstallUsingPOSTForbidden) IsSuccess() bool
IsSuccess returns true when this install using p o s t forbidden response has a 2xx status code
func (*InstallUsingPOSTForbidden) String ¶
func (o *InstallUsingPOSTForbidden) String() string
type InstallUsingPOSTOK ¶
type InstallUsingPOSTOK struct {
Payload *models.K8SInstaller
}
InstallUsingPOSTOK describes a response with status code 200, with default header values.
OK
func NewInstallUsingPOSTOK ¶
func NewInstallUsingPOSTOK() *InstallUsingPOSTOK
NewInstallUsingPOSTOK creates a InstallUsingPOSTOK with default headers values
func (*InstallUsingPOSTOK) Error ¶
func (o *InstallUsingPOSTOK) Error() string
func (*InstallUsingPOSTOK) GetPayload ¶
func (o *InstallUsingPOSTOK) GetPayload() *models.K8SInstaller
func (*InstallUsingPOSTOK) IsClientError ¶
func (o *InstallUsingPOSTOK) IsClientError() bool
IsClientError returns true when this install using p o s t o k response has a 4xx status code
func (*InstallUsingPOSTOK) IsCode ¶
func (o *InstallUsingPOSTOK) IsCode(code int) bool
IsCode returns true when this install using p o s t o k response a status code equal to that given
func (*InstallUsingPOSTOK) IsRedirect ¶
func (o *InstallUsingPOSTOK) IsRedirect() bool
IsRedirect returns true when this install using p o s t o k response has a 3xx status code
func (*InstallUsingPOSTOK) IsServerError ¶
func (o *InstallUsingPOSTOK) IsServerError() bool
IsServerError returns true when this install using p o s t o k response has a 5xx status code
func (*InstallUsingPOSTOK) IsSuccess ¶
func (o *InstallUsingPOSTOK) IsSuccess() bool
IsSuccess returns true when this install using p o s t o k response has a 2xx status code
func (*InstallUsingPOSTOK) String ¶
func (o *InstallUsingPOSTOK) String() string
type InstallUsingPOSTParams ¶
type InstallUsingPOSTParams struct { /* ID. id Format: uuid */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InstallUsingPOSTParams contains all the parameters to send to the API endpoint
for the install using p o s t operation. Typically these are written to a http.Request.
func NewInstallUsingPOSTParams ¶
func NewInstallUsingPOSTParams() *InstallUsingPOSTParams
NewInstallUsingPOSTParams creates a new InstallUsingPOSTParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInstallUsingPOSTParamsWithContext ¶
func NewInstallUsingPOSTParamsWithContext(ctx context.Context) *InstallUsingPOSTParams
NewInstallUsingPOSTParamsWithContext creates a new InstallUsingPOSTParams object with the ability to set a context for a request.
func NewInstallUsingPOSTParamsWithHTTPClient ¶
func NewInstallUsingPOSTParamsWithHTTPClient(client *http.Client) *InstallUsingPOSTParams
NewInstallUsingPOSTParamsWithHTTPClient creates a new InstallUsingPOSTParams object with the ability to set a custom HTTPClient for a request.
func NewInstallUsingPOSTParamsWithTimeout ¶
func NewInstallUsingPOSTParamsWithTimeout(timeout time.Duration) *InstallUsingPOSTParams
NewInstallUsingPOSTParamsWithTimeout creates a new InstallUsingPOSTParams object with the ability to set a timeout on a request.
func (*InstallUsingPOSTParams) SetContext ¶
func (o *InstallUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the install using p o s t params
func (*InstallUsingPOSTParams) SetDefaults ¶
func (o *InstallUsingPOSTParams) SetDefaults()
SetDefaults hydrates default values in the install using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*InstallUsingPOSTParams) SetHTTPClient ¶
func (o *InstallUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the install using p o s t params
func (*InstallUsingPOSTParams) SetID ¶
func (o *InstallUsingPOSTParams) SetID(id strfmt.UUID)
SetID adds the id to the install using p o s t params
func (*InstallUsingPOSTParams) SetTimeout ¶
func (o *InstallUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the install using p o s t params
func (*InstallUsingPOSTParams) WithContext ¶
func (o *InstallUsingPOSTParams) WithContext(ctx context.Context) *InstallUsingPOSTParams
WithContext adds the context to the install using p o s t params
func (*InstallUsingPOSTParams) WithDefaults ¶
func (o *InstallUsingPOSTParams) WithDefaults() *InstallUsingPOSTParams
WithDefaults hydrates default values in the install using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*InstallUsingPOSTParams) WithHTTPClient ¶
func (o *InstallUsingPOSTParams) WithHTTPClient(client *http.Client) *InstallUsingPOSTParams
WithHTTPClient adds the HTTPClient to the install using p o s t params
func (*InstallUsingPOSTParams) WithID ¶
func (o *InstallUsingPOSTParams) WithID(id strfmt.UUID) *InstallUsingPOSTParams
WithID adds the id to the install using p o s t params
func (*InstallUsingPOSTParams) WithTimeout ¶
func (o *InstallUsingPOSTParams) WithTimeout(timeout time.Duration) *InstallUsingPOSTParams
WithTimeout adds the timeout to the install using p o s t params
func (*InstallUsingPOSTParams) WriteToRequest ¶
func (o *InstallUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InstallUsingPOSTReader ¶
type InstallUsingPOSTReader struct {
// contains filtered or unexported fields
}
InstallUsingPOSTReader is a Reader for the InstallUsingPOST structure.
func (*InstallUsingPOSTReader) ReadResponse ¶
func (o *InstallUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UninstallUsingPOSTForbidden ¶
type UninstallUsingPOSTForbidden struct { }
UninstallUsingPOSTForbidden describes a response with status code 403, with default header values.
Forbidden, the user lacks permissions
func NewUninstallUsingPOSTForbidden ¶
func NewUninstallUsingPOSTForbidden() *UninstallUsingPOSTForbidden
NewUninstallUsingPOSTForbidden creates a UninstallUsingPOSTForbidden with default headers values
func (*UninstallUsingPOSTForbidden) Error ¶
func (o *UninstallUsingPOSTForbidden) Error() string
func (*UninstallUsingPOSTForbidden) IsClientError ¶
func (o *UninstallUsingPOSTForbidden) IsClientError() bool
IsClientError returns true when this uninstall using p o s t forbidden response has a 4xx status code
func (*UninstallUsingPOSTForbidden) IsCode ¶
func (o *UninstallUsingPOSTForbidden) IsCode(code int) bool
IsCode returns true when this uninstall using p o s t forbidden response a status code equal to that given
func (*UninstallUsingPOSTForbidden) IsRedirect ¶
func (o *UninstallUsingPOSTForbidden) IsRedirect() bool
IsRedirect returns true when this uninstall using p o s t forbidden response has a 3xx status code
func (*UninstallUsingPOSTForbidden) IsServerError ¶
func (o *UninstallUsingPOSTForbidden) IsServerError() bool
IsServerError returns true when this uninstall using p o s t forbidden response has a 5xx status code
func (*UninstallUsingPOSTForbidden) IsSuccess ¶
func (o *UninstallUsingPOSTForbidden) IsSuccess() bool
IsSuccess returns true when this uninstall using p o s t forbidden response has a 2xx status code
func (*UninstallUsingPOSTForbidden) String ¶
func (o *UninstallUsingPOSTForbidden) String() string
type UninstallUsingPOSTOK ¶
type UninstallUsingPOSTOK struct {
Payload *models.K8SInstaller
}
UninstallUsingPOSTOK describes a response with status code 200, with default header values.
OK
func NewUninstallUsingPOSTOK ¶
func NewUninstallUsingPOSTOK() *UninstallUsingPOSTOK
NewUninstallUsingPOSTOK creates a UninstallUsingPOSTOK with default headers values
func (*UninstallUsingPOSTOK) Error ¶
func (o *UninstallUsingPOSTOK) Error() string
func (*UninstallUsingPOSTOK) GetPayload ¶
func (o *UninstallUsingPOSTOK) GetPayload() *models.K8SInstaller
func (*UninstallUsingPOSTOK) IsClientError ¶
func (o *UninstallUsingPOSTOK) IsClientError() bool
IsClientError returns true when this uninstall using p o s t o k response has a 4xx status code
func (*UninstallUsingPOSTOK) IsCode ¶
func (o *UninstallUsingPOSTOK) IsCode(code int) bool
IsCode returns true when this uninstall using p o s t o k response a status code equal to that given
func (*UninstallUsingPOSTOK) IsRedirect ¶
func (o *UninstallUsingPOSTOK) IsRedirect() bool
IsRedirect returns true when this uninstall using p o s t o k response has a 3xx status code
func (*UninstallUsingPOSTOK) IsServerError ¶
func (o *UninstallUsingPOSTOK) IsServerError() bool
IsServerError returns true when this uninstall using p o s t o k response has a 5xx status code
func (*UninstallUsingPOSTOK) IsSuccess ¶
func (o *UninstallUsingPOSTOK) IsSuccess() bool
IsSuccess returns true when this uninstall using p o s t o k response has a 2xx status code
func (*UninstallUsingPOSTOK) String ¶
func (o *UninstallUsingPOSTOK) String() string
type UninstallUsingPOSTParams ¶
type UninstallUsingPOSTParams struct { /* ID. id Format: uuid */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UninstallUsingPOSTParams contains all the parameters to send to the API endpoint
for the uninstall using p o s t operation. Typically these are written to a http.Request.
func NewUninstallUsingPOSTParams ¶
func NewUninstallUsingPOSTParams() *UninstallUsingPOSTParams
NewUninstallUsingPOSTParams creates a new UninstallUsingPOSTParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUninstallUsingPOSTParamsWithContext ¶
func NewUninstallUsingPOSTParamsWithContext(ctx context.Context) *UninstallUsingPOSTParams
NewUninstallUsingPOSTParamsWithContext creates a new UninstallUsingPOSTParams object with the ability to set a context for a request.
func NewUninstallUsingPOSTParamsWithHTTPClient ¶
func NewUninstallUsingPOSTParamsWithHTTPClient(client *http.Client) *UninstallUsingPOSTParams
NewUninstallUsingPOSTParamsWithHTTPClient creates a new UninstallUsingPOSTParams object with the ability to set a custom HTTPClient for a request.
func NewUninstallUsingPOSTParamsWithTimeout ¶
func NewUninstallUsingPOSTParamsWithTimeout(timeout time.Duration) *UninstallUsingPOSTParams
NewUninstallUsingPOSTParamsWithTimeout creates a new UninstallUsingPOSTParams object with the ability to set a timeout on a request.
func (*UninstallUsingPOSTParams) SetContext ¶
func (o *UninstallUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the uninstall using p o s t params
func (*UninstallUsingPOSTParams) SetDefaults ¶
func (o *UninstallUsingPOSTParams) SetDefaults()
SetDefaults hydrates default values in the uninstall using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*UninstallUsingPOSTParams) SetHTTPClient ¶
func (o *UninstallUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the uninstall using p o s t params
func (*UninstallUsingPOSTParams) SetID ¶
func (o *UninstallUsingPOSTParams) SetID(id strfmt.UUID)
SetID adds the id to the uninstall using p o s t params
func (*UninstallUsingPOSTParams) SetTimeout ¶
func (o *UninstallUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the uninstall using p o s t params
func (*UninstallUsingPOSTParams) WithContext ¶
func (o *UninstallUsingPOSTParams) WithContext(ctx context.Context) *UninstallUsingPOSTParams
WithContext adds the context to the uninstall using p o s t params
func (*UninstallUsingPOSTParams) WithDefaults ¶
func (o *UninstallUsingPOSTParams) WithDefaults() *UninstallUsingPOSTParams
WithDefaults hydrates default values in the uninstall using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*UninstallUsingPOSTParams) WithHTTPClient ¶
func (o *UninstallUsingPOSTParams) WithHTTPClient(client *http.Client) *UninstallUsingPOSTParams
WithHTTPClient adds the HTTPClient to the uninstall using p o s t params
func (*UninstallUsingPOSTParams) WithID ¶
func (o *UninstallUsingPOSTParams) WithID(id strfmt.UUID) *UninstallUsingPOSTParams
WithID adds the id to the uninstall using p o s t params
func (*UninstallUsingPOSTParams) WithTimeout ¶
func (o *UninstallUsingPOSTParams) WithTimeout(timeout time.Duration) *UninstallUsingPOSTParams
WithTimeout adds the timeout to the uninstall using p o s t params
func (*UninstallUsingPOSTParams) WriteToRequest ¶
func (o *UninstallUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UninstallUsingPOSTReader ¶
type UninstallUsingPOSTReader struct {
// contains filtered or unexported fields
}
UninstallUsingPOSTReader is a Reader for the UninstallUsingPOST structure.
func (*UninstallUsingPOSTReader) ReadResponse ¶
func (o *UninstallUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- get_installer_using_get_parameters.go
- get_installer_using_get_responses.go
- get_kubernetes_properties_using_get_parameters.go
- get_kubernetes_properties_using_get_responses.go
- install_using_post_parameters.go
- install_using_post_responses.go
- installers_client.go
- uninstall_using_post_parameters.go
- uninstall_using_post_responses.go