extensions

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 extensions API

func (*Client) GetExtensionsAPIGroup

func (a *Client) GetExtensionsAPIGroup(params *GetExtensionsAPIGroupParams) (*GetExtensionsAPIGroupOK, error)

GetExtensionsAPIGroup get information of a group

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetExtensionsAPIGroup(params *GetExtensionsAPIGroupParams) (*GetExtensionsAPIGroupOK, 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 extensions API client.

type GetExtensionsAPIGroupOK

type GetExtensionsAPIGroupOK struct {
	Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup
}

GetExtensionsAPIGroupOK handles this case with default header values.

OK

func NewGetExtensionsAPIGroupOK

func NewGetExtensionsAPIGroupOK() *GetExtensionsAPIGroupOK

NewGetExtensionsAPIGroupOK creates a GetExtensionsAPIGroupOK with default headers values

func (*GetExtensionsAPIGroupOK) Error

func (o *GetExtensionsAPIGroupOK) Error() string

func (*GetExtensionsAPIGroupOK) GetPayload

type GetExtensionsAPIGroupParams

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

GetExtensionsAPIGroupParams contains all the parameters to send to the API endpoint for the get extensions API group operation typically these are written to a http.Request

func NewGetExtensionsAPIGroupParams

func NewGetExtensionsAPIGroupParams() *GetExtensionsAPIGroupParams

NewGetExtensionsAPIGroupParams creates a new GetExtensionsAPIGroupParams object with the default values initialized.

func NewGetExtensionsAPIGroupParamsWithContext

func NewGetExtensionsAPIGroupParamsWithContext(ctx context.Context) *GetExtensionsAPIGroupParams

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

func NewGetExtensionsAPIGroupParamsWithHTTPClient

func NewGetExtensionsAPIGroupParamsWithHTTPClient(client *http.Client) *GetExtensionsAPIGroupParams

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

func NewGetExtensionsAPIGroupParamsWithTimeout

func NewGetExtensionsAPIGroupParamsWithTimeout(timeout time.Duration) *GetExtensionsAPIGroupParams

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

func (*GetExtensionsAPIGroupParams) SetContext

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

SetContext adds the context to the get extensions API group params

func (*GetExtensionsAPIGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get extensions API group params

func (*GetExtensionsAPIGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get extensions API group params

func (*GetExtensionsAPIGroupParams) WithContext

WithContext adds the context to the get extensions API group params

func (*GetExtensionsAPIGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get extensions API group params

func (*GetExtensionsAPIGroupParams) WithTimeout

WithTimeout adds the timeout to the get extensions API group params

func (*GetExtensionsAPIGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetExtensionsAPIGroupReader

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

GetExtensionsAPIGroupReader is a Reader for the GetExtensionsAPIGroup structure.

func (*GetExtensionsAPIGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetExtensionsAPIGroupUnauthorized

type GetExtensionsAPIGroupUnauthorized struct {
}

GetExtensionsAPIGroupUnauthorized handles this case with default header values.

Unauthorized

func NewGetExtensionsAPIGroupUnauthorized

func NewGetExtensionsAPIGroupUnauthorized() *GetExtensionsAPIGroupUnauthorized

NewGetExtensionsAPIGroupUnauthorized creates a GetExtensionsAPIGroupUnauthorized with default headers values

func (*GetExtensionsAPIGroupUnauthorized) Error

Jump to

Keyboard shortcuts

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