storage

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

func (*Client) GetStorageAPIGroup

func (a *Client) GetStorageAPIGroup(params *GetStorageAPIGroupParams) (*GetStorageAPIGroupOK, error)

GetStorageAPIGroup 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 {
	GetStorageAPIGroup(params *GetStorageAPIGroupParams) (*GetStorageAPIGroupOK, 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 storage API client.

type GetStorageAPIGroupOK

type GetStorageAPIGroupOK struct {
	Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup
}

GetStorageAPIGroupOK handles this case with default header values.

OK

func NewGetStorageAPIGroupOK

func NewGetStorageAPIGroupOK() *GetStorageAPIGroupOK

NewGetStorageAPIGroupOK creates a GetStorageAPIGroupOK with default headers values

func (*GetStorageAPIGroupOK) Error

func (o *GetStorageAPIGroupOK) Error() string

func (*GetStorageAPIGroupOK) GetPayload

type GetStorageAPIGroupParams

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

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

func NewGetStorageAPIGroupParams

func NewGetStorageAPIGroupParams() *GetStorageAPIGroupParams

NewGetStorageAPIGroupParams creates a new GetStorageAPIGroupParams object with the default values initialized.

func NewGetStorageAPIGroupParamsWithContext

func NewGetStorageAPIGroupParamsWithContext(ctx context.Context) *GetStorageAPIGroupParams

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

func NewGetStorageAPIGroupParamsWithHTTPClient

func NewGetStorageAPIGroupParamsWithHTTPClient(client *http.Client) *GetStorageAPIGroupParams

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

func NewGetStorageAPIGroupParamsWithTimeout

func NewGetStorageAPIGroupParamsWithTimeout(timeout time.Duration) *GetStorageAPIGroupParams

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

func (*GetStorageAPIGroupParams) SetContext

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

SetContext adds the context to the get storage API group params

func (*GetStorageAPIGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get storage API group params

func (*GetStorageAPIGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get storage API group params

func (*GetStorageAPIGroupParams) WithContext

WithContext adds the context to the get storage API group params

func (*GetStorageAPIGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get storage API group params

func (*GetStorageAPIGroupParams) WithTimeout

WithTimeout adds the timeout to the get storage API group params

func (*GetStorageAPIGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetStorageAPIGroupReader

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

GetStorageAPIGroupReader is a Reader for the GetStorageAPIGroup structure.

func (*GetStorageAPIGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStorageAPIGroupUnauthorized

type GetStorageAPIGroupUnauthorized struct {
}

GetStorageAPIGroupUnauthorized handles this case with default header values.

Unauthorized

func NewGetStorageAPIGroupUnauthorized

func NewGetStorageAPIGroupUnauthorized() *GetStorageAPIGroupUnauthorized

NewGetStorageAPIGroupUnauthorized creates a GetStorageAPIGroupUnauthorized with default headers values

func (*GetStorageAPIGroupUnauthorized) Error

Jump to

Keyboard shortcuts

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