authorization

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

func (*Client) GetAuthorizationAPIGroup

func (a *Client) GetAuthorizationAPIGroup(params *GetAuthorizationAPIGroupParams) (*GetAuthorizationAPIGroupOK, error)

GetAuthorizationAPIGroup 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 {
	GetAuthorizationAPIGroup(params *GetAuthorizationAPIGroupParams) (*GetAuthorizationAPIGroupOK, 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 authorization API client.

type GetAuthorizationAPIGroupOK

type GetAuthorizationAPIGroupOK struct {
	Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup
}

GetAuthorizationAPIGroupOK handles this case with default header values.

OK

func NewGetAuthorizationAPIGroupOK

func NewGetAuthorizationAPIGroupOK() *GetAuthorizationAPIGroupOK

NewGetAuthorizationAPIGroupOK creates a GetAuthorizationAPIGroupOK with default headers values

func (*GetAuthorizationAPIGroupOK) Error

func (*GetAuthorizationAPIGroupOK) GetPayload

type GetAuthorizationAPIGroupParams

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

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

func NewGetAuthorizationAPIGroupParams

func NewGetAuthorizationAPIGroupParams() *GetAuthorizationAPIGroupParams

NewGetAuthorizationAPIGroupParams creates a new GetAuthorizationAPIGroupParams object with the default values initialized.

func NewGetAuthorizationAPIGroupParamsWithContext

func NewGetAuthorizationAPIGroupParamsWithContext(ctx context.Context) *GetAuthorizationAPIGroupParams

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

func NewGetAuthorizationAPIGroupParamsWithHTTPClient

func NewGetAuthorizationAPIGroupParamsWithHTTPClient(client *http.Client) *GetAuthorizationAPIGroupParams

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

func NewGetAuthorizationAPIGroupParamsWithTimeout

func NewGetAuthorizationAPIGroupParamsWithTimeout(timeout time.Duration) *GetAuthorizationAPIGroupParams

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

func (*GetAuthorizationAPIGroupParams) SetContext

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

SetContext adds the context to the get authorization API group params

func (*GetAuthorizationAPIGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get authorization API group params

func (*GetAuthorizationAPIGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get authorization API group params

func (*GetAuthorizationAPIGroupParams) WithContext

WithContext adds the context to the get authorization API group params

func (*GetAuthorizationAPIGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get authorization API group params

func (*GetAuthorizationAPIGroupParams) WithTimeout

WithTimeout adds the timeout to the get authorization API group params

func (*GetAuthorizationAPIGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAuthorizationAPIGroupReader

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

GetAuthorizationAPIGroupReader is a Reader for the GetAuthorizationAPIGroup structure.

func (*GetAuthorizationAPIGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAuthorizationAPIGroupUnauthorized

type GetAuthorizationAPIGroupUnauthorized struct {
}

GetAuthorizationAPIGroupUnauthorized handles this case with default header values.

Unauthorized

func NewGetAuthorizationAPIGroupUnauthorized

func NewGetAuthorizationAPIGroupUnauthorized() *GetAuthorizationAPIGroupUnauthorized

NewGetAuthorizationAPIGroupUnauthorized creates a GetAuthorizationAPIGroupUnauthorized with default headers values

func (*GetAuthorizationAPIGroupUnauthorized) Error

Jump to

Keyboard shortcuts

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