discovery

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

func (*Client) GetDiscoveryAPIGroup

func (a *Client) GetDiscoveryAPIGroup(params *GetDiscoveryAPIGroupParams) (*GetDiscoveryAPIGroupOK, error)

GetDiscoveryAPIGroup 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 {
	GetDiscoveryAPIGroup(params *GetDiscoveryAPIGroupParams) (*GetDiscoveryAPIGroupOK, 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 discovery API client.

type GetDiscoveryAPIGroupOK

type GetDiscoveryAPIGroupOK struct {
	Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup
}

GetDiscoveryAPIGroupOK handles this case with default header values.

OK

func NewGetDiscoveryAPIGroupOK

func NewGetDiscoveryAPIGroupOK() *GetDiscoveryAPIGroupOK

NewGetDiscoveryAPIGroupOK creates a GetDiscoveryAPIGroupOK with default headers values

func (*GetDiscoveryAPIGroupOK) Error

func (o *GetDiscoveryAPIGroupOK) Error() string

func (*GetDiscoveryAPIGroupOK) GetPayload

type GetDiscoveryAPIGroupParams

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

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

func NewGetDiscoveryAPIGroupParams

func NewGetDiscoveryAPIGroupParams() *GetDiscoveryAPIGroupParams

NewGetDiscoveryAPIGroupParams creates a new GetDiscoveryAPIGroupParams object with the default values initialized.

func NewGetDiscoveryAPIGroupParamsWithContext

func NewGetDiscoveryAPIGroupParamsWithContext(ctx context.Context) *GetDiscoveryAPIGroupParams

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

func NewGetDiscoveryAPIGroupParamsWithHTTPClient

func NewGetDiscoveryAPIGroupParamsWithHTTPClient(client *http.Client) *GetDiscoveryAPIGroupParams

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

func NewGetDiscoveryAPIGroupParamsWithTimeout

func NewGetDiscoveryAPIGroupParamsWithTimeout(timeout time.Duration) *GetDiscoveryAPIGroupParams

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

func (*GetDiscoveryAPIGroupParams) SetContext

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

SetContext adds the context to the get discovery API group params

func (*GetDiscoveryAPIGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get discovery API group params

func (*GetDiscoveryAPIGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get discovery API group params

func (*GetDiscoveryAPIGroupParams) WithContext

WithContext adds the context to the get discovery API group params

func (*GetDiscoveryAPIGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get discovery API group params

func (*GetDiscoveryAPIGroupParams) WithTimeout

WithTimeout adds the timeout to the get discovery API group params

func (*GetDiscoveryAPIGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDiscoveryAPIGroupReader

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

GetDiscoveryAPIGroupReader is a Reader for the GetDiscoveryAPIGroup structure.

func (*GetDiscoveryAPIGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDiscoveryAPIGroupUnauthorized

type GetDiscoveryAPIGroupUnauthorized struct {
}

GetDiscoveryAPIGroupUnauthorized handles this case with default header values.

Unauthorized

func NewGetDiscoveryAPIGroupUnauthorized

func NewGetDiscoveryAPIGroupUnauthorized() *GetDiscoveryAPIGroupUnauthorized

NewGetDiscoveryAPIGroupUnauthorized creates a GetDiscoveryAPIGroupUnauthorized with default headers values

func (*GetDiscoveryAPIGroupUnauthorized) Error

Jump to

Keyboard shortcuts

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