core

package
v0.0.0-...-1e5aeb1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 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 core API

func (*Client) GetCoreAPIVersions

func (a *Client) GetCoreAPIVersions(params *GetCoreAPIVersionsParams) (*GetCoreAPIVersionsOK, error)

GetCoreAPIVersions get available API versions

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetCoreAPIVersions(params *GetCoreAPIVersionsParams) (*GetCoreAPIVersionsOK, 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 core API client.

type GetCoreAPIVersionsOK

type GetCoreAPIVersionsOK struct {
	Payload *models.IoK8sApimachineryPkgApisMetaV1APIVersions
}

GetCoreAPIVersionsOK handles this case with default header values.

OK

func NewGetCoreAPIVersionsOK

func NewGetCoreAPIVersionsOK() *GetCoreAPIVersionsOK

NewGetCoreAPIVersionsOK creates a GetCoreAPIVersionsOK with default headers values

func (*GetCoreAPIVersionsOK) Error

func (o *GetCoreAPIVersionsOK) Error() string

func (*GetCoreAPIVersionsOK) GetPayload

type GetCoreAPIVersionsParams

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

GetCoreAPIVersionsParams contains all the parameters to send to the API endpoint for the get core API versions operation typically these are written to a http.Request

func NewGetCoreAPIVersionsParams

func NewGetCoreAPIVersionsParams() *GetCoreAPIVersionsParams

NewGetCoreAPIVersionsParams creates a new GetCoreAPIVersionsParams object with the default values initialized.

func NewGetCoreAPIVersionsParamsWithContext

func NewGetCoreAPIVersionsParamsWithContext(ctx context.Context) *GetCoreAPIVersionsParams

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

func NewGetCoreAPIVersionsParamsWithHTTPClient

func NewGetCoreAPIVersionsParamsWithHTTPClient(client *http.Client) *GetCoreAPIVersionsParams

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

func NewGetCoreAPIVersionsParamsWithTimeout

func NewGetCoreAPIVersionsParamsWithTimeout(timeout time.Duration) *GetCoreAPIVersionsParams

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

func (*GetCoreAPIVersionsParams) SetContext

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

SetContext adds the context to the get core API versions params

func (*GetCoreAPIVersionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get core API versions params

func (*GetCoreAPIVersionsParams) SetTimeout

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

SetTimeout adds the timeout to the get core API versions params

func (*GetCoreAPIVersionsParams) WithContext

WithContext adds the context to the get core API versions params

func (*GetCoreAPIVersionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get core API versions params

func (*GetCoreAPIVersionsParams) WithTimeout

WithTimeout adds the timeout to the get core API versions params

func (*GetCoreAPIVersionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCoreAPIVersionsReader

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

GetCoreAPIVersionsReader is a Reader for the GetCoreAPIVersions structure.

func (*GetCoreAPIVersionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCoreAPIVersionsUnauthorized

type GetCoreAPIVersionsUnauthorized struct {
}

GetCoreAPIVersionsUnauthorized handles this case with default header values.

Unauthorized

func NewGetCoreAPIVersionsUnauthorized

func NewGetCoreAPIVersionsUnauthorized() *GetCoreAPIVersionsUnauthorized

NewGetCoreAPIVersionsUnauthorized creates a GetCoreAPIVersionsUnauthorized with default headers values

func (*GetCoreAPIVersionsUnauthorized) Error

Jump to

Keyboard shortcuts

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