node

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

func (*Client) GetNodeAPIGroup

func (a *Client) GetNodeAPIGroup(params *GetNodeAPIGroupParams) (*GetNodeAPIGroupOK, error)

GetNodeAPIGroup 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 {
	GetNodeAPIGroup(params *GetNodeAPIGroupParams) (*GetNodeAPIGroupOK, 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 node API client.

type GetNodeAPIGroupOK

type GetNodeAPIGroupOK struct {
	Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup
}

GetNodeAPIGroupOK handles this case with default header values.

OK

func NewGetNodeAPIGroupOK

func NewGetNodeAPIGroupOK() *GetNodeAPIGroupOK

NewGetNodeAPIGroupOK creates a GetNodeAPIGroupOK with default headers values

func (*GetNodeAPIGroupOK) Error

func (o *GetNodeAPIGroupOK) Error() string

func (*GetNodeAPIGroupOK) GetPayload

type GetNodeAPIGroupParams

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

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

func NewGetNodeAPIGroupParams

func NewGetNodeAPIGroupParams() *GetNodeAPIGroupParams

NewGetNodeAPIGroupParams creates a new GetNodeAPIGroupParams object with the default values initialized.

func NewGetNodeAPIGroupParamsWithContext

func NewGetNodeAPIGroupParamsWithContext(ctx context.Context) *GetNodeAPIGroupParams

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

func NewGetNodeAPIGroupParamsWithHTTPClient

func NewGetNodeAPIGroupParamsWithHTTPClient(client *http.Client) *GetNodeAPIGroupParams

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

func NewGetNodeAPIGroupParamsWithTimeout

func NewGetNodeAPIGroupParamsWithTimeout(timeout time.Duration) *GetNodeAPIGroupParams

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

func (*GetNodeAPIGroupParams) SetContext

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

SetContext adds the context to the get node API group params

func (*GetNodeAPIGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get node API group params

func (*GetNodeAPIGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get node API group params

func (*GetNodeAPIGroupParams) WithContext

WithContext adds the context to the get node API group params

func (*GetNodeAPIGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get node API group params

func (*GetNodeAPIGroupParams) WithTimeout

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

WithTimeout adds the timeout to the get node API group params

func (*GetNodeAPIGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetNodeAPIGroupReader

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

GetNodeAPIGroupReader is a Reader for the GetNodeAPIGroup structure.

func (*GetNodeAPIGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNodeAPIGroupUnauthorized

type GetNodeAPIGroupUnauthorized struct {
}

GetNodeAPIGroupUnauthorized handles this case with default header values.

Unauthorized

func NewGetNodeAPIGroupUnauthorized

func NewGetNodeAPIGroupUnauthorized() *GetNodeAPIGroupUnauthorized

NewGetNodeAPIGroupUnauthorized creates a GetNodeAPIGroupUnauthorized with default headers values

func (*GetNodeAPIGroupUnauthorized) Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳