settings

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

func (*Client) GetSettingsAPIGroup

func (a *Client) GetSettingsAPIGroup(params *GetSettingsAPIGroupParams) (*GetSettingsAPIGroupOK, error)

GetSettingsAPIGroup 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 {
	GetSettingsAPIGroup(params *GetSettingsAPIGroupParams) (*GetSettingsAPIGroupOK, 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 settings API client.

type GetSettingsAPIGroupOK

type GetSettingsAPIGroupOK struct {
	Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup
}

GetSettingsAPIGroupOK handles this case with default header values.

OK

func NewGetSettingsAPIGroupOK

func NewGetSettingsAPIGroupOK() *GetSettingsAPIGroupOK

NewGetSettingsAPIGroupOK creates a GetSettingsAPIGroupOK with default headers values

func (*GetSettingsAPIGroupOK) Error

func (o *GetSettingsAPIGroupOK) Error() string

func (*GetSettingsAPIGroupOK) GetPayload

type GetSettingsAPIGroupParams

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

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

func NewGetSettingsAPIGroupParams

func NewGetSettingsAPIGroupParams() *GetSettingsAPIGroupParams

NewGetSettingsAPIGroupParams creates a new GetSettingsAPIGroupParams object with the default values initialized.

func NewGetSettingsAPIGroupParamsWithContext

func NewGetSettingsAPIGroupParamsWithContext(ctx context.Context) *GetSettingsAPIGroupParams

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

func NewGetSettingsAPIGroupParamsWithHTTPClient

func NewGetSettingsAPIGroupParamsWithHTTPClient(client *http.Client) *GetSettingsAPIGroupParams

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

func NewGetSettingsAPIGroupParamsWithTimeout

func NewGetSettingsAPIGroupParamsWithTimeout(timeout time.Duration) *GetSettingsAPIGroupParams

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

func (*GetSettingsAPIGroupParams) SetContext

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

SetContext adds the context to the get settings API group params

func (*GetSettingsAPIGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get settings API group params

func (*GetSettingsAPIGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get settings API group params

func (*GetSettingsAPIGroupParams) WithContext

WithContext adds the context to the get settings API group params

func (*GetSettingsAPIGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get settings API group params

func (*GetSettingsAPIGroupParams) WithTimeout

WithTimeout adds the timeout to the get settings API group params

func (*GetSettingsAPIGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSettingsAPIGroupReader

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

GetSettingsAPIGroupReader is a Reader for the GetSettingsAPIGroup structure.

func (*GetSettingsAPIGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSettingsAPIGroupUnauthorized

type GetSettingsAPIGroupUnauthorized struct {
}

GetSettingsAPIGroupUnauthorized handles this case with default header values.

Unauthorized

func NewGetSettingsAPIGroupUnauthorized

func NewGetSettingsAPIGroupUnauthorized() *GetSettingsAPIGroupUnauthorized

NewGetSettingsAPIGroupUnauthorized creates a GetSettingsAPIGroupUnauthorized with default headers values

func (*GetSettingsAPIGroupUnauthorized) Error

Jump to

Keyboard shortcuts

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