Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetAuthorizationAPIGroupOK
- type GetAuthorizationAPIGroupParams
- func NewGetAuthorizationAPIGroupParams() *GetAuthorizationAPIGroupParams
- func NewGetAuthorizationAPIGroupParamsWithContext(ctx context.Context) *GetAuthorizationAPIGroupParams
- func NewGetAuthorizationAPIGroupParamsWithHTTPClient(client *http.Client) *GetAuthorizationAPIGroupParams
- func NewGetAuthorizationAPIGroupParamsWithTimeout(timeout time.Duration) *GetAuthorizationAPIGroupParams
- func (o *GetAuthorizationAPIGroupParams) SetContext(ctx context.Context)
- func (o *GetAuthorizationAPIGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetAuthorizationAPIGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetAuthorizationAPIGroupParams) WithContext(ctx context.Context) *GetAuthorizationAPIGroupParams
- func (o *GetAuthorizationAPIGroupParams) WithHTTPClient(client *http.Client) *GetAuthorizationAPIGroupParams
- func (o *GetAuthorizationAPIGroupParams) WithTimeout(timeout time.Duration) *GetAuthorizationAPIGroupParams
- func (o *GetAuthorizationAPIGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAuthorizationAPIGroupReader
- type GetAuthorizationAPIGroupUnauthorized
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 (o *GetAuthorizationAPIGroupOK) Error() string
func (*GetAuthorizationAPIGroupOK) GetPayload ¶
func (o *GetAuthorizationAPIGroupOK) GetPayload() *models.IoK8sApimachineryPkgApisMetaV1APIGroup
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 ¶
func (o *GetAuthorizationAPIGroupParams) WithContext(ctx context.Context) *GetAuthorizationAPIGroupParams
WithContext adds the context to the get authorization API group params
func (*GetAuthorizationAPIGroupParams) WithHTTPClient ¶
func (o *GetAuthorizationAPIGroupParams) WithHTTPClient(client *http.Client) *GetAuthorizationAPIGroupParams
WithHTTPClient adds the HTTPClient to the get authorization API group params
func (*GetAuthorizationAPIGroupParams) WithTimeout ¶
func (o *GetAuthorizationAPIGroupParams) WithTimeout(timeout time.Duration) *GetAuthorizationAPIGroupParams
WithTimeout adds the timeout to the get authorization API group params
func (*GetAuthorizationAPIGroupParams) WriteToRequest ¶
func (o *GetAuthorizationAPIGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAuthorizationAPIGroupUnauthorized) Error() string