policy

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

func (*Client) GetPolicyAPIGroup

func (a *Client) GetPolicyAPIGroup(params *GetPolicyAPIGroupParams) (*GetPolicyAPIGroupOK, error)

GetPolicyAPIGroup 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 {
	GetPolicyAPIGroup(params *GetPolicyAPIGroupParams) (*GetPolicyAPIGroupOK, 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 policy API client.

type GetPolicyAPIGroupOK

type GetPolicyAPIGroupOK struct {
	Payload *models.IoK8sApimachineryPkgApisMetaV1APIGroup
}

GetPolicyAPIGroupOK handles this case with default header values.

OK

func NewGetPolicyAPIGroupOK

func NewGetPolicyAPIGroupOK() *GetPolicyAPIGroupOK

NewGetPolicyAPIGroupOK creates a GetPolicyAPIGroupOK with default headers values

func (*GetPolicyAPIGroupOK) Error

func (o *GetPolicyAPIGroupOK) Error() string

func (*GetPolicyAPIGroupOK) GetPayload

type GetPolicyAPIGroupParams

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

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

func NewGetPolicyAPIGroupParams

func NewGetPolicyAPIGroupParams() *GetPolicyAPIGroupParams

NewGetPolicyAPIGroupParams creates a new GetPolicyAPIGroupParams object with the default values initialized.

func NewGetPolicyAPIGroupParamsWithContext

func NewGetPolicyAPIGroupParamsWithContext(ctx context.Context) *GetPolicyAPIGroupParams

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

func NewGetPolicyAPIGroupParamsWithHTTPClient

func NewGetPolicyAPIGroupParamsWithHTTPClient(client *http.Client) *GetPolicyAPIGroupParams

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

func NewGetPolicyAPIGroupParamsWithTimeout

func NewGetPolicyAPIGroupParamsWithTimeout(timeout time.Duration) *GetPolicyAPIGroupParams

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

func (*GetPolicyAPIGroupParams) SetContext

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

SetContext adds the context to the get policy API group params

func (*GetPolicyAPIGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get policy API group params

func (*GetPolicyAPIGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get policy API group params

func (*GetPolicyAPIGroupParams) WithContext

WithContext adds the context to the get policy API group params

func (*GetPolicyAPIGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get policy API group params

func (*GetPolicyAPIGroupParams) WithTimeout

WithTimeout adds the timeout to the get policy API group params

func (*GetPolicyAPIGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPolicyAPIGroupReader

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

GetPolicyAPIGroupReader is a Reader for the GetPolicyAPIGroup structure.

func (*GetPolicyAPIGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPolicyAPIGroupUnauthorized

type GetPolicyAPIGroupUnauthorized struct {
}

GetPolicyAPIGroupUnauthorized handles this case with default header values.

Unauthorized

func NewGetPolicyAPIGroupUnauthorized

func NewGetPolicyAPIGroupUnauthorized() *GetPolicyAPIGroupUnauthorized

NewGetPolicyAPIGroupUnauthorized creates a GetPolicyAPIGroupUnauthorized with default headers values

func (*GetPolicyAPIGroupUnauthorized) Error

Jump to

Keyboard shortcuts

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