Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetCoreAPIVersionsOK
- type GetCoreAPIVersionsParams
- func NewGetCoreAPIVersionsParams() *GetCoreAPIVersionsParams
- func NewGetCoreAPIVersionsParamsWithContext(ctx context.Context) *GetCoreAPIVersionsParams
- func NewGetCoreAPIVersionsParamsWithHTTPClient(client *http.Client) *GetCoreAPIVersionsParams
- func NewGetCoreAPIVersionsParamsWithTimeout(timeout time.Duration) *GetCoreAPIVersionsParams
- func (o *GetCoreAPIVersionsParams) SetContext(ctx context.Context)
- func (o *GetCoreAPIVersionsParams) SetHTTPClient(client *http.Client)
- func (o *GetCoreAPIVersionsParams) SetTimeout(timeout time.Duration)
- func (o *GetCoreAPIVersionsParams) WithContext(ctx context.Context) *GetCoreAPIVersionsParams
- func (o *GetCoreAPIVersionsParams) WithHTTPClient(client *http.Client) *GetCoreAPIVersionsParams
- func (o *GetCoreAPIVersionsParams) WithTimeout(timeout time.Duration) *GetCoreAPIVersionsParams
- func (o *GetCoreAPIVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCoreAPIVersionsReader
- type GetCoreAPIVersionsUnauthorized
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 core API
func (*Client) GetCoreAPIVersions ¶
func (a *Client) GetCoreAPIVersions(params *GetCoreAPIVersionsParams) (*GetCoreAPIVersionsOK, error)
GetCoreAPIVersions get available API versions
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetCoreAPIVersions(params *GetCoreAPIVersionsParams) (*GetCoreAPIVersionsOK, 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 core API client.
type GetCoreAPIVersionsOK ¶
type GetCoreAPIVersionsOK struct {
Payload *models.IoK8sApimachineryPkgApisMetaV1APIVersions
}
GetCoreAPIVersionsOK handles this case with default header values.
OK
func NewGetCoreAPIVersionsOK ¶
func NewGetCoreAPIVersionsOK() *GetCoreAPIVersionsOK
NewGetCoreAPIVersionsOK creates a GetCoreAPIVersionsOK with default headers values
func (*GetCoreAPIVersionsOK) Error ¶
func (o *GetCoreAPIVersionsOK) Error() string
func (*GetCoreAPIVersionsOK) GetPayload ¶
func (o *GetCoreAPIVersionsOK) GetPayload() *models.IoK8sApimachineryPkgApisMetaV1APIVersions
type GetCoreAPIVersionsParams ¶
type GetCoreAPIVersionsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCoreAPIVersionsParams contains all the parameters to send to the API endpoint for the get core API versions operation typically these are written to a http.Request
func NewGetCoreAPIVersionsParams ¶
func NewGetCoreAPIVersionsParams() *GetCoreAPIVersionsParams
NewGetCoreAPIVersionsParams creates a new GetCoreAPIVersionsParams object with the default values initialized.
func NewGetCoreAPIVersionsParamsWithContext ¶
func NewGetCoreAPIVersionsParamsWithContext(ctx context.Context) *GetCoreAPIVersionsParams
NewGetCoreAPIVersionsParamsWithContext creates a new GetCoreAPIVersionsParams object with the default values initialized, and the ability to set a context for a request
func NewGetCoreAPIVersionsParamsWithHTTPClient ¶
func NewGetCoreAPIVersionsParamsWithHTTPClient(client *http.Client) *GetCoreAPIVersionsParams
NewGetCoreAPIVersionsParamsWithHTTPClient creates a new GetCoreAPIVersionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCoreAPIVersionsParamsWithTimeout ¶
func NewGetCoreAPIVersionsParamsWithTimeout(timeout time.Duration) *GetCoreAPIVersionsParams
NewGetCoreAPIVersionsParamsWithTimeout creates a new GetCoreAPIVersionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCoreAPIVersionsParams) SetContext ¶
func (o *GetCoreAPIVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get core API versions params
func (*GetCoreAPIVersionsParams) SetHTTPClient ¶
func (o *GetCoreAPIVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get core API versions params
func (*GetCoreAPIVersionsParams) SetTimeout ¶
func (o *GetCoreAPIVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get core API versions params
func (*GetCoreAPIVersionsParams) WithContext ¶
func (o *GetCoreAPIVersionsParams) WithContext(ctx context.Context) *GetCoreAPIVersionsParams
WithContext adds the context to the get core API versions params
func (*GetCoreAPIVersionsParams) WithHTTPClient ¶
func (o *GetCoreAPIVersionsParams) WithHTTPClient(client *http.Client) *GetCoreAPIVersionsParams
WithHTTPClient adds the HTTPClient to the get core API versions params
func (*GetCoreAPIVersionsParams) WithTimeout ¶
func (o *GetCoreAPIVersionsParams) WithTimeout(timeout time.Duration) *GetCoreAPIVersionsParams
WithTimeout adds the timeout to the get core API versions params
func (*GetCoreAPIVersionsParams) WriteToRequest ¶
func (o *GetCoreAPIVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCoreAPIVersionsReader ¶
type GetCoreAPIVersionsReader struct {
// contains filtered or unexported fields
}
GetCoreAPIVersionsReader is a Reader for the GetCoreAPIVersions structure.
func (*GetCoreAPIVersionsReader) ReadResponse ¶
func (o *GetCoreAPIVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCoreAPIVersionsUnauthorized ¶
type GetCoreAPIVersionsUnauthorized struct { }
GetCoreAPIVersionsUnauthorized handles this case with default header values.
Unauthorized
func NewGetCoreAPIVersionsUnauthorized ¶
func NewGetCoreAPIVersionsUnauthorized() *GetCoreAPIVersionsUnauthorized
NewGetCoreAPIVersionsUnauthorized creates a GetCoreAPIVersionsUnauthorized with default headers values
func (*GetCoreAPIVersionsUnauthorized) Error ¶
func (o *GetCoreAPIVersionsUnauthorized) Error() string