fleet_commander

package
v0.49.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 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) 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) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	Func1(params *Func1Params, authInfo runtime.ClientAuthInfoWriter) (*Func1OK, error)
	Func1Short(params *Func1Params, authInfo runtime.ClientAuthInfoWriter) (*Func1OK, 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.

Jump to

Keyboard shortcuts

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