installers

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

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

WithContext adds the context to the get installer using get params

func (*GetInstallerUsingGETParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get installer using get params

func (*GetInstallerUsingGETParams) WithID

WithID adds the id to the get installer using get params

func (*GetInstallerUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get installer using get params

func (*GetInstallerUsingGETParams) WriteToRequest

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 (*GetKubernetesPropertiesUsingGETForbidden) IsClientError

IsClientError returns true when this get kubernetes properties using g e t forbidden response has a 4xx status code

func (*GetKubernetesPropertiesUsingGETForbidden) IsCode

IsCode returns true when this get kubernetes properties using g e t forbidden response a status code equal to that given

func (*GetKubernetesPropertiesUsingGETForbidden) IsRedirect

IsRedirect returns true when this get kubernetes properties using g e t forbidden response has a 3xx status code

func (*GetKubernetesPropertiesUsingGETForbidden) IsServerError

IsServerError returns true when this get kubernetes properties using g e t forbidden response has a 5xx status code

func (*GetKubernetesPropertiesUsingGETForbidden) IsSuccess

IsSuccess returns true when this get kubernetes properties using g e t forbidden response has a 2xx status code

func (*GetKubernetesPropertiesUsingGETForbidden) String

type GetKubernetesPropertiesUsingGETOK

type GetKubernetesPropertiesUsingGETOK struct {
	Payload map[string]string
}

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

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

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

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

WithContext adds the context to the get kubernetes properties using get params

func (*GetKubernetesPropertiesUsingGETParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get kubernetes properties using get params

func (*GetKubernetesPropertiesUsingGETParams) WithID

WithID adds the id to the get kubernetes properties using get params

func (*GetKubernetesPropertiesUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get kubernetes properties using get params

func (*GetKubernetesPropertiesUsingGETParams) WriteToRequest

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

WithContext adds the context to the install using p o s t params

func (*InstallUsingPOSTParams) WithDefaults

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

WithID adds the id to the install using p o s t params

func (*InstallUsingPOSTParams) WithTimeout

WithTimeout adds the timeout to the install using p o s t params

func (*InstallUsingPOSTParams) WriteToRequest

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

WithContext adds the context to the uninstall using p o s t params

func (*UninstallUsingPOSTParams) WithDefaults

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

WithID adds the id to the uninstall using p o s t params

func (*UninstallUsingPOSTParams) WithTimeout

WithTimeout adds the timeout to the uninstall using p o s t params

func (*UninstallUsingPOSTParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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