fleet_commander

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicHealthCheckOK added in v0.52.0

type BasicHealthCheckOK struct {
}

BasicHealthCheckOK handles this case with default header values.

OK

func NewBasicHealthCheckOK added in v0.52.0

func NewBasicHealthCheckOK() *BasicHealthCheckOK

NewBasicHealthCheckOK creates a BasicHealthCheckOK with default headers values

func (*BasicHealthCheckOK) Error added in v0.52.0

func (o *BasicHealthCheckOK) Error() string

type BasicHealthCheckParams added in v0.52.0

type BasicHealthCheckParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

BasicHealthCheckParams contains all the parameters to send to the API endpoint for the basic health check operation typically these are written to a http.Request

func NewBasicHealthCheckParams added in v0.52.0

func NewBasicHealthCheckParams() *BasicHealthCheckParams

NewBasicHealthCheckParams creates a new BasicHealthCheckParams object with the default values initialized.

func NewBasicHealthCheckParamsWithContext added in v0.52.0

func NewBasicHealthCheckParamsWithContext(ctx context.Context) *BasicHealthCheckParams

NewBasicHealthCheckParamsWithContext creates a new BasicHealthCheckParams object with the default values initialized, and the ability to set a context for a request

func NewBasicHealthCheckParamsWithHTTPClient added in v0.52.0

func NewBasicHealthCheckParamsWithHTTPClient(client *http.Client) *BasicHealthCheckParams

NewBasicHealthCheckParamsWithHTTPClient creates a new BasicHealthCheckParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewBasicHealthCheckParamsWithTimeout added in v0.52.0

func NewBasicHealthCheckParamsWithTimeout(timeout time.Duration) *BasicHealthCheckParams

NewBasicHealthCheckParamsWithTimeout creates a new BasicHealthCheckParams object with the default values initialized, and the ability to set a timeout on a request

func (*BasicHealthCheckParams) SetAuthInfoWriter added in v0.52.0

func (o *BasicHealthCheckParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the basic health check params

func (*BasicHealthCheckParams) SetContext added in v0.52.0

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

SetContext adds the context to the basic health check params

func (*BasicHealthCheckParams) SetHTTPClient added in v0.52.0

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

SetHTTPClient adds the HTTPClient to the basic health check params

func (*BasicHealthCheckParams) SetHTTPClientTransport added in v0.52.0

func (o *BasicHealthCheckParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the basic health check params

func (*BasicHealthCheckParams) SetTimeout added in v0.52.0

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

SetTimeout adds the timeout to the basic health check params

func (*BasicHealthCheckParams) WithContext added in v0.52.0

WithContext adds the context to the basic health check params

func (*BasicHealthCheckParams) WithHTTPClient added in v0.52.0

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

WithHTTPClient adds the HTTPClient to the basic health check params

func (*BasicHealthCheckParams) WithTimeout added in v0.52.0

WithTimeout adds the timeout to the basic health check params

func (*BasicHealthCheckParams) WriteToRequest added in v0.52.0

WriteToRequest writes these params to a swagger request

type BasicHealthCheckReader added in v0.52.0

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

BasicHealthCheckReader is a Reader for the BasicHealthCheck structure.

func (*BasicHealthCheckReader) ReadResponse added in v0.52.0

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

ReadResponse reads a server response into the received o.

type Client

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

Client for fleet commander API

func (*Client) BasicHealthCheck deprecated added in v0.52.0

func (a *Client) BasicHealthCheck(params *BasicHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*BasicHealthCheckOK, error)

Deprecated: 2022-08-10 - Use BasicHealthCheckShort instead.

BasicHealthCheck health check

func (*Client) BasicHealthCheckShort added in v0.52.0

func (a *Client) BasicHealthCheckShort(params *BasicHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*BasicHealthCheckOK, error)

BasicHealthCheckShort health check

func (*Client) Func1 deprecated

func (a *Client) Func1(params *Func1Params, authInfo runtime.ClientAuthInfoWriter) (*Func1OK, error)

Deprecated: 2022-08-10 - Use Func1Short instead.

Func1 version info

func (*Client) Func1Short

func (a *Client) Func1Short(params *Func1Params, authInfo runtime.ClientAuthInfoWriter) (*Func1OK, error)

Func1Short version info

func (*Client) PortalHealthCheck deprecated added in v0.52.0

func (a *Client) PortalHealthCheck(params *PortalHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*PortalHealthCheckOK, error)

Deprecated: 2022-08-10 - Use PortalHealthCheckShort instead.

PortalHealthCheck health check

func (*Client) PortalHealthCheckShort added in v0.52.0

func (a *Client) PortalHealthCheckShort(params *PortalHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*PortalHealthCheckOK, error)

PortalHealthCheckShort health check

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	PortalHealthCheck(params *PortalHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*PortalHealthCheckOK, error)
	PortalHealthCheckShort(params *PortalHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*PortalHealthCheckOK, error)
	Func1(params *Func1Params, authInfo runtime.ClientAuthInfoWriter) (*Func1OK, error)
	Func1Short(params *Func1Params, authInfo runtime.ClientAuthInfoWriter) (*Func1OK, error)
	BasicHealthCheck(params *BasicHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*BasicHealthCheckOK, error)
	BasicHealthCheckShort(params *BasicHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*BasicHealthCheckOK, 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 fleet commander API client.

type Func1OK

type Func1OK struct {
}

Func1OK handles this case with default header values.

OK

func NewFunc1OK

func NewFunc1OK() *Func1OK

NewFunc1OK creates a Func1OK with default headers values

func (*Func1OK) Error

func (o *Func1OK) Error() string

type Func1Params

type Func1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

Func1Params contains all the parameters to send to the API endpoint for the func1 operation typically these are written to a http.Request

func NewFunc1Params

func NewFunc1Params() *Func1Params

NewFunc1Params creates a new Func1Params object with the default values initialized.

func NewFunc1ParamsWithContext

func NewFunc1ParamsWithContext(ctx context.Context) *Func1Params

NewFunc1ParamsWithContext creates a new Func1Params object with the default values initialized, and the ability to set a context for a request

func NewFunc1ParamsWithHTTPClient

func NewFunc1ParamsWithHTTPClient(client *http.Client) *Func1Params

NewFunc1ParamsWithHTTPClient creates a new Func1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewFunc1ParamsWithTimeout

func NewFunc1ParamsWithTimeout(timeout time.Duration) *Func1Params

NewFunc1ParamsWithTimeout creates a new Func1Params object with the default values initialized, and the ability to set a timeout on a request

func (*Func1Params) SetAuthInfoWriter

func (o *Func1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the func1 params

func (*Func1Params) SetContext

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

SetContext adds the context to the func1 params

func (*Func1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the func1 params

func (*Func1Params) SetHTTPClientTransport

func (o *Func1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the func1 params

func (*Func1Params) SetTimeout

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

SetTimeout adds the timeout to the func1 params

func (*Func1Params) WithContext

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

WithContext adds the context to the func1 params

func (*Func1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the func1 params

func (*Func1Params) WithTimeout

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

WithTimeout adds the timeout to the func1 params

func (*Func1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Func1Reader

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

Func1Reader is a Reader for the Func1 structure.

func (*Func1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PortalHealthCheckOK added in v0.52.0

type PortalHealthCheckOK struct {
}

PortalHealthCheckOK handles this case with default header values.

OK

func NewPortalHealthCheckOK added in v0.52.0

func NewPortalHealthCheckOK() *PortalHealthCheckOK

NewPortalHealthCheckOK creates a PortalHealthCheckOK with default headers values

func (*PortalHealthCheckOK) Error added in v0.52.0

func (o *PortalHealthCheckOK) Error() string

type PortalHealthCheckParams added in v0.52.0

type PortalHealthCheckParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

PortalHealthCheckParams contains all the parameters to send to the API endpoint for the portal health check operation typically these are written to a http.Request

func NewPortalHealthCheckParams added in v0.52.0

func NewPortalHealthCheckParams() *PortalHealthCheckParams

NewPortalHealthCheckParams creates a new PortalHealthCheckParams object with the default values initialized.

func NewPortalHealthCheckParamsWithContext added in v0.52.0

func NewPortalHealthCheckParamsWithContext(ctx context.Context) *PortalHealthCheckParams

NewPortalHealthCheckParamsWithContext creates a new PortalHealthCheckParams object with the default values initialized, and the ability to set a context for a request

func NewPortalHealthCheckParamsWithHTTPClient added in v0.52.0

func NewPortalHealthCheckParamsWithHTTPClient(client *http.Client) *PortalHealthCheckParams

NewPortalHealthCheckParamsWithHTTPClient creates a new PortalHealthCheckParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPortalHealthCheckParamsWithTimeout added in v0.52.0

func NewPortalHealthCheckParamsWithTimeout(timeout time.Duration) *PortalHealthCheckParams

NewPortalHealthCheckParamsWithTimeout creates a new PortalHealthCheckParams object with the default values initialized, and the ability to set a timeout on a request

func (*PortalHealthCheckParams) SetAuthInfoWriter added in v0.52.0

func (o *PortalHealthCheckParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the portal health check params

func (*PortalHealthCheckParams) SetContext added in v0.52.0

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

SetContext adds the context to the portal health check params

func (*PortalHealthCheckParams) SetHTTPClient added in v0.52.0

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

SetHTTPClient adds the HTTPClient to the portal health check params

func (*PortalHealthCheckParams) SetHTTPClientTransport added in v0.52.0

func (o *PortalHealthCheckParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the portal health check params

func (*PortalHealthCheckParams) SetTimeout added in v0.52.0

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

SetTimeout adds the timeout to the portal health check params

func (*PortalHealthCheckParams) WithContext added in v0.52.0

WithContext adds the context to the portal health check params

func (*PortalHealthCheckParams) WithHTTPClient added in v0.52.0

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

WithHTTPClient adds the HTTPClient to the portal health check params

func (*PortalHealthCheckParams) WithTimeout added in v0.52.0

WithTimeout adds the timeout to the portal health check params

func (*PortalHealthCheckParams) WriteToRequest added in v0.52.0

WriteToRequest writes these params to a swagger request

type PortalHealthCheckReader added in v0.52.0

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

PortalHealthCheckReader is a Reader for the PortalHealthCheck structure.

func (*PortalHealthCheckReader) ReadResponse added in v0.52.0

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