install_service

package
v3.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 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 install service API

func (*Client) GetAgreement

func (a *Client) GetAgreement(params *GetAgreementParams, opts ...ClientOption) (*GetAgreementOK, error)

GetAgreement loads a textual agreement for using the software

func (*Client) GetInstall

func (a *Client) GetInstall(params *GetInstallParams, opts ...ClientOption) (*GetInstallOK, error)

GetInstall loads default values for install form

func (*Client) InstallEvents

func (a *Client) InstallEvents(params *InstallEventsParams, opts ...ClientOption) (*InstallEventsOK, error)

InstallEvents install events API

func (*Client) PerformInstallCheck

func (a *Client) PerformInstallCheck(params *PerformInstallCheckParams, opts ...ClientOption) (*PerformInstallCheckOK, error)

PerformInstallCheck performs a check during install like a valid d b connection

func (*Client) PostInstall

func (a *Client) PostInstall(params *PostInstallParams, opts ...ClientOption) (*PostInstallOK, error)

PostInstall posts values to be saved for install

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetAgreement(params *GetAgreementParams, opts ...ClientOption) (*GetAgreementOK, error)

	GetInstall(params *GetInstallParams, opts ...ClientOption) (*GetInstallOK, error)

	InstallEvents(params *InstallEventsParams, opts ...ClientOption) (*InstallEventsOK, error)

	PerformInstallCheck(params *PerformInstallCheckParams, opts ...ClientOption) (*PerformInstallCheckOK, error)

	PostInstall(params *PostInstallParams, opts ...ClientOption) (*PostInstallOK, 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 install service API client.

type GetAgreementOK

type GetAgreementOK struct {
	Payload *models.InstallGetAgreementResponse
}
GetAgreementOK describes a response with status code 200, with default header values.

GetAgreementOK get agreement o k

func NewGetAgreementOK

func NewGetAgreementOK() *GetAgreementOK

NewGetAgreementOK creates a GetAgreementOK with default headers values

func (*GetAgreementOK) Error

func (o *GetAgreementOK) Error() string

func (*GetAgreementOK) GetPayload

type GetAgreementParams

type GetAgreementParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAgreementParams contains all the parameters to send to the API endpoint

for the get agreement operation.

Typically these are written to a http.Request.

func NewGetAgreementParams

func NewGetAgreementParams() *GetAgreementParams

NewGetAgreementParams creates a new GetAgreementParams 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 NewGetAgreementParamsWithContext

func NewGetAgreementParamsWithContext(ctx context.Context) *GetAgreementParams

NewGetAgreementParamsWithContext creates a new GetAgreementParams object with the ability to set a context for a request.

func NewGetAgreementParamsWithHTTPClient

func NewGetAgreementParamsWithHTTPClient(client *http.Client) *GetAgreementParams

NewGetAgreementParamsWithHTTPClient creates a new GetAgreementParams object with the ability to set a custom HTTPClient for a request.

func NewGetAgreementParamsWithTimeout

func NewGetAgreementParamsWithTimeout(timeout time.Duration) *GetAgreementParams

NewGetAgreementParamsWithTimeout creates a new GetAgreementParams object with the ability to set a timeout on a request.

func (*GetAgreementParams) SetContext

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

SetContext adds the context to the get agreement params

func (*GetAgreementParams) SetDefaults

func (o *GetAgreementParams) SetDefaults()

SetDefaults hydrates default values in the get agreement params (not the query body).

All values with no default are reset to their zero value.

func (*GetAgreementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get agreement params

func (*GetAgreementParams) SetTimeout

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

SetTimeout adds the timeout to the get agreement params

func (*GetAgreementParams) WithContext

WithContext adds the context to the get agreement params

func (*GetAgreementParams) WithDefaults

func (o *GetAgreementParams) WithDefaults() *GetAgreementParams

WithDefaults hydrates default values in the get agreement params (not the query body).

All values with no default are reset to their zero value.

func (*GetAgreementParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get agreement params

func (*GetAgreementParams) WithTimeout

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

WithTimeout adds the timeout to the get agreement params

func (*GetAgreementParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAgreementReader

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

GetAgreementReader is a Reader for the GetAgreement structure.

func (*GetAgreementReader) ReadResponse

func (o *GetAgreementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetInstallOK

type GetInstallOK struct {
	Payload *models.InstallGetDefaultsResponse
}
GetInstallOK describes a response with status code 200, with default header values.

GetInstallOK get install o k

func NewGetInstallOK

func NewGetInstallOK() *GetInstallOK

NewGetInstallOK creates a GetInstallOK with default headers values

func (*GetInstallOK) Error

func (o *GetInstallOK) Error() string

func (*GetInstallOK) GetPayload

type GetInstallParams

type GetInstallParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetInstallParams contains all the parameters to send to the API endpoint

for the get install operation.

Typically these are written to a http.Request.

func NewGetInstallParams

func NewGetInstallParams() *GetInstallParams

NewGetInstallParams creates a new GetInstallParams 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 NewGetInstallParamsWithContext

func NewGetInstallParamsWithContext(ctx context.Context) *GetInstallParams

NewGetInstallParamsWithContext creates a new GetInstallParams object with the ability to set a context for a request.

func NewGetInstallParamsWithHTTPClient

func NewGetInstallParamsWithHTTPClient(client *http.Client) *GetInstallParams

NewGetInstallParamsWithHTTPClient creates a new GetInstallParams object with the ability to set a custom HTTPClient for a request.

func NewGetInstallParamsWithTimeout

func NewGetInstallParamsWithTimeout(timeout time.Duration) *GetInstallParams

NewGetInstallParamsWithTimeout creates a new GetInstallParams object with the ability to set a timeout on a request.

func (*GetInstallParams) SetContext

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

SetContext adds the context to the get install params

func (*GetInstallParams) SetDefaults

func (o *GetInstallParams) SetDefaults()

SetDefaults hydrates default values in the get install params (not the query body).

All values with no default are reset to their zero value.

func (*GetInstallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get install params

func (*GetInstallParams) SetTimeout

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

SetTimeout adds the timeout to the get install params

func (*GetInstallParams) WithContext

func (o *GetInstallParams) WithContext(ctx context.Context) *GetInstallParams

WithContext adds the context to the get install params

func (*GetInstallParams) WithDefaults

func (o *GetInstallParams) WithDefaults() *GetInstallParams

WithDefaults hydrates default values in the get install params (not the query body).

All values with no default are reset to their zero value.

func (*GetInstallParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get install params

func (*GetInstallParams) WithTimeout

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

WithTimeout adds the timeout to the get install params

func (*GetInstallParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetInstallReader

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

GetInstallReader is a Reader for the GetInstall structure.

func (*GetInstallReader) ReadResponse

func (o *GetInstallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type InstallEventsOK

type InstallEventsOK struct {
	Payload models.InstallInstallEventsResponse
}
InstallEventsOK describes a response with status code 200, with default header values.

InstallEventsOK install events o k

func NewInstallEventsOK

func NewInstallEventsOK() *InstallEventsOK

NewInstallEventsOK creates a InstallEventsOK with default headers values

func (*InstallEventsOK) Error

func (o *InstallEventsOK) Error() string

func (*InstallEventsOK) GetPayload

type InstallEventsParams

type InstallEventsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

InstallEventsParams contains all the parameters to send to the API endpoint

for the install events operation.

Typically these are written to a http.Request.

func NewInstallEventsParams

func NewInstallEventsParams() *InstallEventsParams

NewInstallEventsParams creates a new InstallEventsParams 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 NewInstallEventsParamsWithContext

func NewInstallEventsParamsWithContext(ctx context.Context) *InstallEventsParams

NewInstallEventsParamsWithContext creates a new InstallEventsParams object with the ability to set a context for a request.

func NewInstallEventsParamsWithHTTPClient

func NewInstallEventsParamsWithHTTPClient(client *http.Client) *InstallEventsParams

NewInstallEventsParamsWithHTTPClient creates a new InstallEventsParams object with the ability to set a custom HTTPClient for a request.

func NewInstallEventsParamsWithTimeout

func NewInstallEventsParamsWithTimeout(timeout time.Duration) *InstallEventsParams

NewInstallEventsParamsWithTimeout creates a new InstallEventsParams object with the ability to set a timeout on a request.

func (*InstallEventsParams) SetContext

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

SetContext adds the context to the install events params

func (*InstallEventsParams) SetDefaults

func (o *InstallEventsParams) SetDefaults()

SetDefaults hydrates default values in the install events params (not the query body).

All values with no default are reset to their zero value.

func (*InstallEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the install events params

func (*InstallEventsParams) SetTimeout

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

SetTimeout adds the timeout to the install events params

func (*InstallEventsParams) WithContext

WithContext adds the context to the install events params

func (*InstallEventsParams) WithDefaults

func (o *InstallEventsParams) WithDefaults() *InstallEventsParams

WithDefaults hydrates default values in the install events params (not the query body).

All values with no default are reset to their zero value.

func (*InstallEventsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the install events params

func (*InstallEventsParams) WithTimeout

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

WithTimeout adds the timeout to the install events params

func (*InstallEventsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type InstallEventsReader

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

InstallEventsReader is a Reader for the InstallEvents structure.

func (*InstallEventsReader) ReadResponse

func (o *InstallEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PerformInstallCheckOK

type PerformInstallCheckOK struct {
	Payload *models.InstallPerformCheckResponse
}
PerformInstallCheckOK describes a response with status code 200, with default header values.

PerformInstallCheckOK perform install check o k

func NewPerformInstallCheckOK

func NewPerformInstallCheckOK() *PerformInstallCheckOK

NewPerformInstallCheckOK creates a PerformInstallCheckOK with default headers values

func (*PerformInstallCheckOK) Error

func (o *PerformInstallCheckOK) Error() string

func (*PerformInstallCheckOK) GetPayload

type PerformInstallCheckParams

type PerformInstallCheckParams struct {

	// Body.
	Body *models.InstallPerformCheckRequest

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

PerformInstallCheckParams contains all the parameters to send to the API endpoint

for the perform install check operation.

Typically these are written to a http.Request.

func NewPerformInstallCheckParams

func NewPerformInstallCheckParams() *PerformInstallCheckParams

NewPerformInstallCheckParams creates a new PerformInstallCheckParams 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 NewPerformInstallCheckParamsWithContext

func NewPerformInstallCheckParamsWithContext(ctx context.Context) *PerformInstallCheckParams

NewPerformInstallCheckParamsWithContext creates a new PerformInstallCheckParams object with the ability to set a context for a request.

func NewPerformInstallCheckParamsWithHTTPClient

func NewPerformInstallCheckParamsWithHTTPClient(client *http.Client) *PerformInstallCheckParams

NewPerformInstallCheckParamsWithHTTPClient creates a new PerformInstallCheckParams object with the ability to set a custom HTTPClient for a request.

func NewPerformInstallCheckParamsWithTimeout

func NewPerformInstallCheckParamsWithTimeout(timeout time.Duration) *PerformInstallCheckParams

NewPerformInstallCheckParamsWithTimeout creates a new PerformInstallCheckParams object with the ability to set a timeout on a request.

func (*PerformInstallCheckParams) SetBody

SetBody adds the body to the perform install check params

func (*PerformInstallCheckParams) SetContext

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

SetContext adds the context to the perform install check params

func (*PerformInstallCheckParams) SetDefaults

func (o *PerformInstallCheckParams) SetDefaults()

SetDefaults hydrates default values in the perform install check params (not the query body).

All values with no default are reset to their zero value.

func (*PerformInstallCheckParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the perform install check params

func (*PerformInstallCheckParams) SetTimeout

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

SetTimeout adds the timeout to the perform install check params

func (*PerformInstallCheckParams) WithBody

WithBody adds the body to the perform install check params

func (*PerformInstallCheckParams) WithContext

WithContext adds the context to the perform install check params

func (*PerformInstallCheckParams) WithDefaults

WithDefaults hydrates default values in the perform install check params (not the query body).

All values with no default are reset to their zero value.

func (*PerformInstallCheckParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the perform install check params

func (*PerformInstallCheckParams) WithTimeout

WithTimeout adds the timeout to the perform install check params

func (*PerformInstallCheckParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PerformInstallCheckReader

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

PerformInstallCheckReader is a Reader for the PerformInstallCheck structure.

func (*PerformInstallCheckReader) ReadResponse

func (o *PerformInstallCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostInstallOK

type PostInstallOK struct {
	Payload *models.InstallInstallResponse
}
PostInstallOK describes a response with status code 200, with default header values.

PostInstallOK post install o k

func NewPostInstallOK

func NewPostInstallOK() *PostInstallOK

NewPostInstallOK creates a PostInstallOK with default headers values

func (*PostInstallOK) Error

func (o *PostInstallOK) Error() string

func (*PostInstallOK) GetPayload

func (o *PostInstallOK) GetPayload() *models.InstallInstallResponse

type PostInstallParams

type PostInstallParams struct {

	// Body.
	Body *models.InstallInstallRequest

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

PostInstallParams contains all the parameters to send to the API endpoint

for the post install operation.

Typically these are written to a http.Request.

func NewPostInstallParams

func NewPostInstallParams() *PostInstallParams

NewPostInstallParams creates a new PostInstallParams 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 NewPostInstallParamsWithContext

func NewPostInstallParamsWithContext(ctx context.Context) *PostInstallParams

NewPostInstallParamsWithContext creates a new PostInstallParams object with the ability to set a context for a request.

func NewPostInstallParamsWithHTTPClient

func NewPostInstallParamsWithHTTPClient(client *http.Client) *PostInstallParams

NewPostInstallParamsWithHTTPClient creates a new PostInstallParams object with the ability to set a custom HTTPClient for a request.

func NewPostInstallParamsWithTimeout

func NewPostInstallParamsWithTimeout(timeout time.Duration) *PostInstallParams

NewPostInstallParamsWithTimeout creates a new PostInstallParams object with the ability to set a timeout on a request.

func (*PostInstallParams) SetBody

SetBody adds the body to the post install params

func (*PostInstallParams) SetContext

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

SetContext adds the context to the post install params

func (*PostInstallParams) SetDefaults

func (o *PostInstallParams) SetDefaults()

SetDefaults hydrates default values in the post install params (not the query body).

All values with no default are reset to their zero value.

func (*PostInstallParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post install params

func (*PostInstallParams) SetTimeout

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

SetTimeout adds the timeout to the post install params

func (*PostInstallParams) WithBody

WithBody adds the body to the post install params

func (*PostInstallParams) WithContext

func (o *PostInstallParams) WithContext(ctx context.Context) *PostInstallParams

WithContext adds the context to the post install params

func (*PostInstallParams) WithDefaults

func (o *PostInstallParams) WithDefaults() *PostInstallParams

WithDefaults hydrates default values in the post install params (not the query body).

All values with no default are reset to their zero value.

func (*PostInstallParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post install params

func (*PostInstallParams) WithTimeout

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

WithTimeout adds the timeout to the post install params

func (*PostInstallParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostInstallReader

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

PostInstallReader is a Reader for the PostInstall structure.

func (*PostInstallReader) ReadResponse

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