events

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

func (*Client) GetEventsAPIGroup

func (a *Client) GetEventsAPIGroup(params *GetEventsAPIGroupParams) (*GetEventsAPIGroupOK, error)

GetEventsAPIGroup 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 {
	GetEventsAPIGroup(params *GetEventsAPIGroupParams) (*GetEventsAPIGroupOK, 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 events API client.

type GetEventsAPIGroupOK

type GetEventsAPIGroupOK struct {
	Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup
}

GetEventsAPIGroupOK handles this case with default header values.

OK

func NewGetEventsAPIGroupOK

func NewGetEventsAPIGroupOK() *GetEventsAPIGroupOK

NewGetEventsAPIGroupOK creates a GetEventsAPIGroupOK with default headers values

func (*GetEventsAPIGroupOK) Error

func (o *GetEventsAPIGroupOK) Error() string

func (*GetEventsAPIGroupOK) GetPayload

type GetEventsAPIGroupParams

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

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

func NewGetEventsAPIGroupParams

func NewGetEventsAPIGroupParams() *GetEventsAPIGroupParams

NewGetEventsAPIGroupParams creates a new GetEventsAPIGroupParams object with the default values initialized.

func NewGetEventsAPIGroupParamsWithContext

func NewGetEventsAPIGroupParamsWithContext(ctx context.Context) *GetEventsAPIGroupParams

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

func NewGetEventsAPIGroupParamsWithHTTPClient

func NewGetEventsAPIGroupParamsWithHTTPClient(client *http.Client) *GetEventsAPIGroupParams

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

func NewGetEventsAPIGroupParamsWithTimeout

func NewGetEventsAPIGroupParamsWithTimeout(timeout time.Duration) *GetEventsAPIGroupParams

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

func (*GetEventsAPIGroupParams) SetContext

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

SetContext adds the context to the get events API group params

func (*GetEventsAPIGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get events API group params

func (*GetEventsAPIGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get events API group params

func (*GetEventsAPIGroupParams) WithContext

WithContext adds the context to the get events API group params

func (*GetEventsAPIGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get events API group params

func (*GetEventsAPIGroupParams) WithTimeout

WithTimeout adds the timeout to the get events API group params

func (*GetEventsAPIGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEventsAPIGroupReader

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

GetEventsAPIGroupReader is a Reader for the GetEventsAPIGroup structure.

func (*GetEventsAPIGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEventsAPIGroupUnauthorized

type GetEventsAPIGroupUnauthorized struct {
}

GetEventsAPIGroupUnauthorized handles this case with default header values.

Unauthorized

func NewGetEventsAPIGroupUnauthorized

func NewGetEventsAPIGroupUnauthorized() *GetEventsAPIGroupUnauthorized

NewGetEventsAPIGroupUnauthorized creates a GetEventsAPIGroupUnauthorized with default headers values

func (*GetEventsAPIGroupUnauthorized) Error

Jump to

Keyboard shortcuts

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