Documentation ¶
Index ¶
- type Client
- type ConfigSchemaOK
- type ConfigSchemaParams
- func (o *ConfigSchemaParams) SetContext(ctx context.Context)
- func (o *ConfigSchemaParams) SetHTTPClient(client *http.Client)
- func (o *ConfigSchemaParams) SetStrategy(strategy string)
- func (o *ConfigSchemaParams) SetTimeout(timeout time.Duration)
- func (o *ConfigSchemaParams) WithContext(ctx context.Context) *ConfigSchemaParams
- func (o *ConfigSchemaParams) WithHTTPClient(client *http.Client) *ConfigSchemaParams
- func (o *ConfigSchemaParams) WithStrategy(strategy string) *ConfigSchemaParams
- func (o *ConfigSchemaParams) WithTimeout(timeout time.Duration) *ConfigSchemaParams
- func (o *ConfigSchemaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConfigSchemaReader
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 inputstates API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new system inputstates API client.
func (*Client) ConfigSchema ¶
func (a *Client) ConfigSchema(params *ConfigSchemaParams, authInfo runtime.ClientAuthInfoWriter) (*ConfigSchemaOK, error)
ConfigSchema shows JSON schema for configuration of given rotation strategies
This resource returns a JSON schema for the configuration of the given rotation strategy.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ConfigSchemaOK ¶
type ConfigSchemaOK struct {
Payload *models.RotationStrategyDescription
}
ConfigSchemaOK handles this case with default header values.
No response was specified
func NewConfigSchemaOK ¶
func NewConfigSchemaOK() *ConfigSchemaOK
NewConfigSchemaOK creates a ConfigSchemaOK with default headers values
func (*ConfigSchemaOK) Error ¶
func (o *ConfigSchemaOK) Error() string
type ConfigSchemaParams ¶
type ConfigSchemaParams struct { /*Strategy The name of the rotation strategy */ Strategy string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConfigSchemaParams contains all the parameters to send to the API endpoint for the config schema operation typically these are written to a http.Request
func NewConfigSchemaParams ¶
func NewConfigSchemaParams() *ConfigSchemaParams
NewConfigSchemaParams creates a new ConfigSchemaParams object with the default values initialized.
func NewConfigSchemaParamsWithContext ¶
func NewConfigSchemaParamsWithContext(ctx context.Context) *ConfigSchemaParams
NewConfigSchemaParamsWithContext creates a new ConfigSchemaParams object with the default values initialized, and the ability to set a context for a request
func NewConfigSchemaParamsWithHTTPClient ¶
func NewConfigSchemaParamsWithHTTPClient(client *http.Client) *ConfigSchemaParams
NewConfigSchemaParamsWithHTTPClient creates a new ConfigSchemaParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewConfigSchemaParamsWithTimeout ¶
func NewConfigSchemaParamsWithTimeout(timeout time.Duration) *ConfigSchemaParams
NewConfigSchemaParamsWithTimeout creates a new ConfigSchemaParams object with the default values initialized, and the ability to set a timeout on a request
func (*ConfigSchemaParams) SetContext ¶
func (o *ConfigSchemaParams) SetContext(ctx context.Context)
SetContext adds the context to the config schema params
func (*ConfigSchemaParams) SetHTTPClient ¶
func (o *ConfigSchemaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the config schema params
func (*ConfigSchemaParams) SetStrategy ¶
func (o *ConfigSchemaParams) SetStrategy(strategy string)
SetStrategy adds the strategy to the config schema params
func (*ConfigSchemaParams) SetTimeout ¶
func (o *ConfigSchemaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the config schema params
func (*ConfigSchemaParams) WithContext ¶
func (o *ConfigSchemaParams) WithContext(ctx context.Context) *ConfigSchemaParams
WithContext adds the context to the config schema params
func (*ConfigSchemaParams) WithHTTPClient ¶
func (o *ConfigSchemaParams) WithHTTPClient(client *http.Client) *ConfigSchemaParams
WithHTTPClient adds the HTTPClient to the config schema params
func (*ConfigSchemaParams) WithStrategy ¶
func (o *ConfigSchemaParams) WithStrategy(strategy string) *ConfigSchemaParams
WithStrategy adds the strategy to the config schema params
func (*ConfigSchemaParams) WithTimeout ¶
func (o *ConfigSchemaParams) WithTimeout(timeout time.Duration) *ConfigSchemaParams
WithTimeout adds the timeout to the config schema params
func (*ConfigSchemaParams) WriteToRequest ¶
func (o *ConfigSchemaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConfigSchemaReader ¶
type ConfigSchemaReader struct {
// contains filtered or unexported fields
}
ConfigSchemaReader is a Reader for the ConfigSchema structure.
func (*ConfigSchemaReader) ReadResponse ¶
func (o *ConfigSchemaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.