apiextensions

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

func (*Client) GetApiextensionsAPIGroup

func (a *Client) GetApiextensionsAPIGroup(params *GetApiextensionsAPIGroupParams) (*GetApiextensionsAPIGroupOK, error)

GetApiextensionsAPIGroup 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 {
	GetApiextensionsAPIGroup(params *GetApiextensionsAPIGroupParams) (*GetApiextensionsAPIGroupOK, 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 apiextensions API client.

type GetApiextensionsAPIGroupOK

type GetApiextensionsAPIGroupOK struct {
	Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup
}

GetApiextensionsAPIGroupOK handles this case with default header values.

OK

func NewGetApiextensionsAPIGroupOK

func NewGetApiextensionsAPIGroupOK() *GetApiextensionsAPIGroupOK

NewGetApiextensionsAPIGroupOK creates a GetApiextensionsAPIGroupOK with default headers values

func (*GetApiextensionsAPIGroupOK) Error

func (*GetApiextensionsAPIGroupOK) GetPayload

type GetApiextensionsAPIGroupParams

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

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

func NewGetApiextensionsAPIGroupParams

func NewGetApiextensionsAPIGroupParams() *GetApiextensionsAPIGroupParams

NewGetApiextensionsAPIGroupParams creates a new GetApiextensionsAPIGroupParams object with the default values initialized.

func NewGetApiextensionsAPIGroupParamsWithContext

func NewGetApiextensionsAPIGroupParamsWithContext(ctx context.Context) *GetApiextensionsAPIGroupParams

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

func NewGetApiextensionsAPIGroupParamsWithHTTPClient

func NewGetApiextensionsAPIGroupParamsWithHTTPClient(client *http.Client) *GetApiextensionsAPIGroupParams

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

func NewGetApiextensionsAPIGroupParamsWithTimeout

func NewGetApiextensionsAPIGroupParamsWithTimeout(timeout time.Duration) *GetApiextensionsAPIGroupParams

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

func (*GetApiextensionsAPIGroupParams) SetContext

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

SetContext adds the context to the get apiextensions API group params

func (*GetApiextensionsAPIGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get apiextensions API group params

func (*GetApiextensionsAPIGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get apiextensions API group params

func (*GetApiextensionsAPIGroupParams) WithContext

WithContext adds the context to the get apiextensions API group params

func (*GetApiextensionsAPIGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get apiextensions API group params

func (*GetApiextensionsAPIGroupParams) WithTimeout

WithTimeout adds the timeout to the get apiextensions API group params

func (*GetApiextensionsAPIGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetApiextensionsAPIGroupReader

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

GetApiextensionsAPIGroupReader is a Reader for the GetApiextensionsAPIGroup structure.

func (*GetApiextensionsAPIGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApiextensionsAPIGroupUnauthorized

type GetApiextensionsAPIGroupUnauthorized struct {
}

GetApiextensionsAPIGroupUnauthorized handles this case with default header values.

Unauthorized

func NewGetApiextensionsAPIGroupUnauthorized

func NewGetApiextensionsAPIGroupUnauthorized() *GetApiextensionsAPIGroupUnauthorized

NewGetApiextensionsAPIGroupUnauthorized creates a GetApiextensionsAPIGroupUnauthorized with default headers values

func (*GetApiextensionsAPIGroupUnauthorized) Error

Jump to

Keyboard shortcuts

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