Documentation
¶
Index ¶
- type Client
- type ClientService
- type GetPolicyAPIGroupOK
- type GetPolicyAPIGroupParams
- func NewGetPolicyAPIGroupParams() *GetPolicyAPIGroupParams
- func NewGetPolicyAPIGroupParamsWithContext(ctx context.Context) *GetPolicyAPIGroupParams
- func NewGetPolicyAPIGroupParamsWithHTTPClient(client *http.Client) *GetPolicyAPIGroupParams
- func NewGetPolicyAPIGroupParamsWithTimeout(timeout time.Duration) *GetPolicyAPIGroupParams
- func (o *GetPolicyAPIGroupParams) SetContext(ctx context.Context)
- func (o *GetPolicyAPIGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetPolicyAPIGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetPolicyAPIGroupParams) WithContext(ctx context.Context) *GetPolicyAPIGroupParams
- func (o *GetPolicyAPIGroupParams) WithHTTPClient(client *http.Client) *GetPolicyAPIGroupParams
- func (o *GetPolicyAPIGroupParams) WithTimeout(timeout time.Duration) *GetPolicyAPIGroupParams
- func (o *GetPolicyAPIGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPolicyAPIGroupReader
- type GetPolicyAPIGroupUnauthorized
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 ¶
func (o *GetPolicyAPIGroupOK) GetPayload() *models.IoK8sApimachineryPkgApisMetaV1APIGroup
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 ¶
func (o *GetPolicyAPIGroupParams) WithContext(ctx context.Context) *GetPolicyAPIGroupParams
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 ¶
func (o *GetPolicyAPIGroupParams) WithTimeout(timeout time.Duration) *GetPolicyAPIGroupParams
WithTimeout adds the timeout to the get policy API group params
func (*GetPolicyAPIGroupParams) WriteToRequest ¶
func (o *GetPolicyAPIGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPolicyAPIGroupUnauthorized) Error() string