Documentation
¶
Index ¶
- type Client
- type SchemaOK
- type SchemaOKBody
- type SchemaParams
- func (o *SchemaParams) SetConfigClass(configClass string)
- func (o *SchemaParams) SetContext(ctx context.Context)
- func (o *SchemaParams) SetHTTPClient(client *http.Client)
- func (o *SchemaParams) SetTimeout(timeout time.Duration)
- func (o *SchemaParams) WithConfigClass(configClass string) *SchemaParams
- func (o *SchemaParams) WithContext(ctx context.Context) *SchemaParams
- func (o *SchemaParams) WithHTTPClient(client *http.Client) *SchemaParams
- func (o *SchemaParams) WithTimeout(timeout time.Duration) *SchemaParams
- func (o *SchemaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SchemaReader
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 system cluster stats API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new system cluster stats API client.
func (*Client) Schema ¶
func (a *Client) Schema(params *SchemaParams, authInfo runtime.ClientAuthInfoWriter) (*SchemaOK, error)
Schema gets JSON schema of configuration class
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type SchemaOK ¶
type SchemaOK struct {
Payload SchemaOKBody
}
SchemaOK handles this case with default header values.
No response was specified
func NewSchemaOK ¶
func NewSchemaOK() *SchemaOK
NewSchemaOK creates a SchemaOK with default headers values
type SchemaOKBody ¶
type SchemaOKBody interface{}
SchemaOKBody schema o k body swagger:model SchemaOKBody
type SchemaParams ¶
type SchemaParams struct { /*ConfigClass The name of the cluster configuration class */ ConfigClass string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SchemaParams contains all the parameters to send to the API endpoint for the schema operation typically these are written to a http.Request
func NewSchemaParams ¶
func NewSchemaParams() *SchemaParams
NewSchemaParams creates a new SchemaParams object with the default values initialized.
func NewSchemaParamsWithContext ¶
func NewSchemaParamsWithContext(ctx context.Context) *SchemaParams
NewSchemaParamsWithContext creates a new SchemaParams object with the default values initialized, and the ability to set a context for a request
func NewSchemaParamsWithHTTPClient ¶
func NewSchemaParamsWithHTTPClient(client *http.Client) *SchemaParams
NewSchemaParamsWithHTTPClient creates a new SchemaParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSchemaParamsWithTimeout ¶
func NewSchemaParamsWithTimeout(timeout time.Duration) *SchemaParams
NewSchemaParamsWithTimeout creates a new SchemaParams object with the default values initialized, and the ability to set a timeout on a request
func (*SchemaParams) SetConfigClass ¶
func (o *SchemaParams) SetConfigClass(configClass string)
SetConfigClass adds the configClass to the schema params
func (*SchemaParams) SetContext ¶
func (o *SchemaParams) SetContext(ctx context.Context)
SetContext adds the context to the schema params
func (*SchemaParams) SetHTTPClient ¶
func (o *SchemaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the schema params
func (*SchemaParams) SetTimeout ¶
func (o *SchemaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the schema params
func (*SchemaParams) WithConfigClass ¶
func (o *SchemaParams) WithConfigClass(configClass string) *SchemaParams
WithConfigClass adds the configClass to the schema params
func (*SchemaParams) WithContext ¶
func (o *SchemaParams) WithContext(ctx context.Context) *SchemaParams
WithContext adds the context to the schema params
func (*SchemaParams) WithHTTPClient ¶
func (o *SchemaParams) WithHTTPClient(client *http.Client) *SchemaParams
WithHTTPClient adds the HTTPClient to the schema params
func (*SchemaParams) WithTimeout ¶
func (o *SchemaParams) WithTimeout(timeout time.Duration) *SchemaParams
WithTimeout adds the timeout to the schema params
func (*SchemaParams) WriteToRequest ¶
func (o *SchemaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SchemaReader ¶
type SchemaReader struct {
// contains filtered or unexported fields
}
SchemaReader is a Reader for the Schema structure.
func (*SchemaReader) ReadResponse ¶
func (o *SchemaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.