fleet_commander

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 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 Client

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

Client for fleet commander API

func (*Client) Func3 deprecated added in v0.51.0

func (a *Client) Func3(params *Func3Params, authInfo runtime.ClientAuthInfoWriter) (*Func3OK, error)

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

Func3 version info

func (*Client) Func3Short added in v0.51.0

func (a *Client) Func3Short(params *Func3Params, authInfo runtime.ClientAuthInfoWriter) (*Func3OK, error)

Func3Short version info

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	Func3(params *Func3Params, authInfo runtime.ClientAuthInfoWriter) (*Func3OK, error)
	Func3Short(params *Func3Params, authInfo runtime.ClientAuthInfoWriter) (*Func3OK, 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 Func3OK added in v0.51.0

type Func3OK struct {
}

Func3OK handles this case with default header values.

OK

func NewFunc3OK added in v0.51.0

func NewFunc3OK() *Func3OK

NewFunc3OK creates a Func3OK with default headers values

func (*Func3OK) Error added in v0.51.0

func (o *Func3OK) Error() string

type Func3Params added in v0.51.0

type Func3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

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

func NewFunc3Params added in v0.51.0

func NewFunc3Params() *Func3Params

NewFunc3Params creates a new Func3Params object with the default values initialized.

func NewFunc3ParamsWithContext added in v0.51.0

func NewFunc3ParamsWithContext(ctx context.Context) *Func3Params

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

func NewFunc3ParamsWithHTTPClient added in v0.51.0

func NewFunc3ParamsWithHTTPClient(client *http.Client) *Func3Params

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

func NewFunc3ParamsWithTimeout added in v0.51.0

func NewFunc3ParamsWithTimeout(timeout time.Duration) *Func3Params

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

func (*Func3Params) SetAuthInfoWriter added in v0.51.0

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

SetAuthInfoWriter adds the authInfoWriter to the func3 params

func (*Func3Params) SetContext added in v0.51.0

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

SetContext adds the context to the func3 params

func (*Func3Params) SetHTTPClient added in v0.51.0

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

SetHTTPClient adds the HTTPClient to the func3 params

func (*Func3Params) SetHTTPClientTransport added in v0.51.0

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

SetHTTPClient adds the HTTPClient Transport to the func3 params

func (*Func3Params) SetTimeout added in v0.51.0

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

SetTimeout adds the timeout to the func3 params

func (*Func3Params) WithContext added in v0.51.0

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

WithContext adds the context to the func3 params

func (*Func3Params) WithHTTPClient added in v0.51.0

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

WithHTTPClient adds the HTTPClient to the func3 params

func (*Func3Params) WithTimeout added in v0.51.0

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

WithTimeout adds the timeout to the func3 params

func (*Func3Params) WriteToRequest added in v0.51.0

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

WriteToRequest writes these params to a swagger request

type Func3Reader added in v0.51.0

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

Func3Reader is a Reader for the Func3 structure.

func (*Func3Reader) ReadResponse added in v0.51.0

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