scheduling

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

func (*Client) GetSchedulingAPIGroup

func (a *Client) GetSchedulingAPIGroup(params *GetSchedulingAPIGroupParams) (*GetSchedulingAPIGroupOK, error)

GetSchedulingAPIGroup 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 {
	GetSchedulingAPIGroup(params *GetSchedulingAPIGroupParams) (*GetSchedulingAPIGroupOK, 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 scheduling API client.

type GetSchedulingAPIGroupOK

type GetSchedulingAPIGroupOK struct {
	Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup
}

GetSchedulingAPIGroupOK handles this case with default header values.

OK

func NewGetSchedulingAPIGroupOK

func NewGetSchedulingAPIGroupOK() *GetSchedulingAPIGroupOK

NewGetSchedulingAPIGroupOK creates a GetSchedulingAPIGroupOK with default headers values

func (*GetSchedulingAPIGroupOK) Error

func (o *GetSchedulingAPIGroupOK) Error() string

func (*GetSchedulingAPIGroupOK) GetPayload

type GetSchedulingAPIGroupParams

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

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

func NewGetSchedulingAPIGroupParams

func NewGetSchedulingAPIGroupParams() *GetSchedulingAPIGroupParams

NewGetSchedulingAPIGroupParams creates a new GetSchedulingAPIGroupParams object with the default values initialized.

func NewGetSchedulingAPIGroupParamsWithContext

func NewGetSchedulingAPIGroupParamsWithContext(ctx context.Context) *GetSchedulingAPIGroupParams

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

func NewGetSchedulingAPIGroupParamsWithHTTPClient

func NewGetSchedulingAPIGroupParamsWithHTTPClient(client *http.Client) *GetSchedulingAPIGroupParams

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

func NewGetSchedulingAPIGroupParamsWithTimeout

func NewGetSchedulingAPIGroupParamsWithTimeout(timeout time.Duration) *GetSchedulingAPIGroupParams

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

func (*GetSchedulingAPIGroupParams) SetContext

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

SetContext adds the context to the get scheduling API group params

func (*GetSchedulingAPIGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get scheduling API group params

func (*GetSchedulingAPIGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get scheduling API group params

func (*GetSchedulingAPIGroupParams) WithContext

WithContext adds the context to the get scheduling API group params

func (*GetSchedulingAPIGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get scheduling API group params

func (*GetSchedulingAPIGroupParams) WithTimeout

WithTimeout adds the timeout to the get scheduling API group params

func (*GetSchedulingAPIGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSchedulingAPIGroupReader

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

GetSchedulingAPIGroupReader is a Reader for the GetSchedulingAPIGroup structure.

func (*GetSchedulingAPIGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSchedulingAPIGroupUnauthorized

type GetSchedulingAPIGroupUnauthorized struct {
}

GetSchedulingAPIGroupUnauthorized handles this case with default header values.

Unauthorized

func NewGetSchedulingAPIGroupUnauthorized

func NewGetSchedulingAPIGroupUnauthorized() *GetSchedulingAPIGroupUnauthorized

NewGetSchedulingAPIGroupUnauthorized creates a GetSchedulingAPIGroupUnauthorized with default headers values

func (*GetSchedulingAPIGroupUnauthorized) Error

Jump to

Keyboard shortcuts

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