bootstrap

package
v0.0.0-...-d3fc958 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 8 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 bootstrap API

func (*Client) GetV1Bootstrap

func (a *Client) GetV1Bootstrap(params *GetV1BootstrapParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1BootstrapOK, error)

GetV1Bootstrap get v1 bootstrap API

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 {
	GetV1Bootstrap(params *GetV1BootstrapParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1BootstrapOK, 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 bootstrap API client.

type GetV1BootstrapOK

type GetV1BootstrapOK struct {
}

GetV1BootstrapOK describes a response with status code 200, with default header values.

get Bootstrap(s)

func NewGetV1BootstrapOK

func NewGetV1BootstrapOK() *GetV1BootstrapOK

NewGetV1BootstrapOK creates a GetV1BootstrapOK with default headers values

func (*GetV1BootstrapOK) Error

func (o *GetV1BootstrapOK) Error() string

func (*GetV1BootstrapOK) IsClientError

func (o *GetV1BootstrapOK) IsClientError() bool

IsClientError returns true when this get v1 bootstrap o k response has a 4xx status code

func (*GetV1BootstrapOK) IsCode

func (o *GetV1BootstrapOK) IsCode(code int) bool

IsCode returns true when this get v1 bootstrap o k response a status code equal to that given

func (*GetV1BootstrapOK) IsRedirect

func (o *GetV1BootstrapOK) IsRedirect() bool

IsRedirect returns true when this get v1 bootstrap o k response has a 3xx status code

func (*GetV1BootstrapOK) IsServerError

func (o *GetV1BootstrapOK) IsServerError() bool

IsServerError returns true when this get v1 bootstrap o k response has a 5xx status code

func (*GetV1BootstrapOK) IsSuccess

func (o *GetV1BootstrapOK) IsSuccess() bool

IsSuccess returns true when this get v1 bootstrap o k response has a 2xx status code

func (*GetV1BootstrapOK) String

func (o *GetV1BootstrapOK) String() string

type GetV1BootstrapParams

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

GetV1BootstrapParams contains all the parameters to send to the API endpoint

for the get v1 bootstrap operation.

Typically these are written to a http.Request.

func NewGetV1BootstrapParams

func NewGetV1BootstrapParams() *GetV1BootstrapParams

NewGetV1BootstrapParams creates a new GetV1BootstrapParams 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 NewGetV1BootstrapParamsWithContext

func NewGetV1BootstrapParamsWithContext(ctx context.Context) *GetV1BootstrapParams

NewGetV1BootstrapParamsWithContext creates a new GetV1BootstrapParams object with the ability to set a context for a request.

func NewGetV1BootstrapParamsWithHTTPClient

func NewGetV1BootstrapParamsWithHTTPClient(client *http.Client) *GetV1BootstrapParams

NewGetV1BootstrapParamsWithHTTPClient creates a new GetV1BootstrapParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1BootstrapParamsWithTimeout

func NewGetV1BootstrapParamsWithTimeout(timeout time.Duration) *GetV1BootstrapParams

NewGetV1BootstrapParamsWithTimeout creates a new GetV1BootstrapParams object with the ability to set a timeout on a request.

func (*GetV1BootstrapParams) SetContext

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

SetContext adds the context to the get v1 bootstrap params

func (*GetV1BootstrapParams) SetDefaults

func (o *GetV1BootstrapParams) SetDefaults()

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

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

func (*GetV1BootstrapParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 bootstrap params

func (*GetV1BootstrapParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 bootstrap params

func (*GetV1BootstrapParams) WithContext

WithContext adds the context to the get v1 bootstrap params

func (*GetV1BootstrapParams) WithDefaults

func (o *GetV1BootstrapParams) WithDefaults() *GetV1BootstrapParams

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

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

func (*GetV1BootstrapParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get v1 bootstrap params

func (*GetV1BootstrapParams) WithTimeout

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

WithTimeout adds the timeout to the get v1 bootstrap params

func (*GetV1BootstrapParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetV1BootstrapReader

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

GetV1BootstrapReader is a Reader for the GetV1Bootstrap structure.

func (*GetV1BootstrapReader) ReadResponse

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