Documentation ¶
Index ¶
- type Client
- type InfoNotFound
- type InfoOK
- type InfoParams
- func (o *InfoParams) SetContext(ctx context.Context)
- func (o *InfoParams) SetHTTPClient(client *http.Client)
- func (o *InfoParams) SetInputType(inputType string)
- func (o *InfoParams) SetTimeout(timeout time.Duration)
- func (o *InfoParams) WithContext(ctx context.Context) *InfoParams
- func (o *InfoParams) WithHTTPClient(client *http.Client) *InfoParams
- func (o *InfoParams) WithInputType(inputType string) *InfoParams
- func (o *InfoParams) WithTimeout(timeout time.Duration) *InfoParams
- func (o *InfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InfoReader
- type TypesOK
- type TypesParams
- func (o *TypesParams) SetContext(ctx context.Context)
- func (o *TypesParams) SetHTTPClient(client *http.Client)
- func (o *TypesParams) SetTimeout(timeout time.Duration)
- func (o *TypesParams) WithContext(ctx context.Context) *TypesParams
- func (o *TypesParams) WithHTTPClient(client *http.Client) *TypesParams
- func (o *TypesParams) WithTimeout(timeout time.Duration) *TypesParams
- func (o *TypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TypesReader
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 jobs API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new system jobs API client.
func (*Client) Info ¶
func (a *Client) Info(params *InfoParams, authInfo runtime.ClientAuthInfoWriter) (*InfoOK, error)
Info gets information about a single input type
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Types ¶
func (a *Client) Types(params *TypesParams, authInfo runtime.ClientAuthInfoWriter) (*TypesOK, error)
Types gets all available input types of this node
type InfoNotFound ¶
type InfoNotFound struct { }
InfoNotFound handles this case with default header values.
No such input type registered.
func NewInfoNotFound ¶
func NewInfoNotFound() *InfoNotFound
NewInfoNotFound creates a InfoNotFound with default headers values
func (*InfoNotFound) Error ¶
func (o *InfoNotFound) Error() string
type InfoOK ¶
type InfoOK struct {
Payload *models.InputTypeInfo
}
InfoOK handles this case with default header values.
No response was specified
type InfoParams ¶
type InfoParams struct { /*InputType*/ InputType string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InfoParams contains all the parameters to send to the API endpoint for the info operation typically these are written to a http.Request
func NewInfoParams ¶
func NewInfoParams() *InfoParams
NewInfoParams creates a new InfoParams object with the default values initialized.
func NewInfoParamsWithContext ¶
func NewInfoParamsWithContext(ctx context.Context) *InfoParams
NewInfoParamsWithContext creates a new InfoParams object with the default values initialized, and the ability to set a context for a request
func NewInfoParamsWithHTTPClient ¶
func NewInfoParamsWithHTTPClient(client *http.Client) *InfoParams
NewInfoParamsWithHTTPClient creates a new InfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInfoParamsWithTimeout ¶
func NewInfoParamsWithTimeout(timeout time.Duration) *InfoParams
NewInfoParamsWithTimeout creates a new InfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*InfoParams) SetContext ¶
func (o *InfoParams) SetContext(ctx context.Context)
SetContext adds the context to the info params
func (*InfoParams) SetHTTPClient ¶
func (o *InfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the info params
func (*InfoParams) SetInputType ¶
func (o *InfoParams) SetInputType(inputType string)
SetInputType adds the inputType to the info params
func (*InfoParams) SetTimeout ¶
func (o *InfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the info params
func (*InfoParams) WithContext ¶
func (o *InfoParams) WithContext(ctx context.Context) *InfoParams
WithContext adds the context to the info params
func (*InfoParams) WithHTTPClient ¶
func (o *InfoParams) WithHTTPClient(client *http.Client) *InfoParams
WithHTTPClient adds the HTTPClient to the info params
func (*InfoParams) WithInputType ¶
func (o *InfoParams) WithInputType(inputType string) *InfoParams
WithInputType adds the inputType to the info params
func (*InfoParams) WithTimeout ¶
func (o *InfoParams) WithTimeout(timeout time.Duration) *InfoParams
WithTimeout adds the timeout to the info params
func (*InfoParams) WriteToRequest ¶
func (o *InfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InfoReader ¶
type InfoReader struct {
// contains filtered or unexported fields
}
InfoReader is a Reader for the Info structure.
func (*InfoReader) ReadResponse ¶
func (o *InfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TypesOK ¶
type TypesOK struct {
Payload *models.InputTypesSummary
}
TypesOK handles this case with default header values.
No response was specified
func NewTypesOK ¶
func NewTypesOK() *TypesOK
NewTypesOK creates a TypesOK with default headers values
type TypesParams ¶
type TypesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TypesParams contains all the parameters to send to the API endpoint for the types operation typically these are written to a http.Request
func NewTypesParams ¶
func NewTypesParams() *TypesParams
NewTypesParams creates a new TypesParams object with the default values initialized.
func NewTypesParamsWithContext ¶
func NewTypesParamsWithContext(ctx context.Context) *TypesParams
NewTypesParamsWithContext creates a new TypesParams object with the default values initialized, and the ability to set a context for a request
func NewTypesParamsWithHTTPClient ¶
func NewTypesParamsWithHTTPClient(client *http.Client) *TypesParams
NewTypesParamsWithHTTPClient creates a new TypesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTypesParamsWithTimeout ¶
func NewTypesParamsWithTimeout(timeout time.Duration) *TypesParams
NewTypesParamsWithTimeout creates a new TypesParams object with the default values initialized, and the ability to set a timeout on a request
func (*TypesParams) SetContext ¶
func (o *TypesParams) SetContext(ctx context.Context)
SetContext adds the context to the types params
func (*TypesParams) SetHTTPClient ¶
func (o *TypesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the types params
func (*TypesParams) SetTimeout ¶
func (o *TypesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the types params
func (*TypesParams) WithContext ¶
func (o *TypesParams) WithContext(ctx context.Context) *TypesParams
WithContext adds the context to the types params
func (*TypesParams) WithHTTPClient ¶
func (o *TypesParams) WithHTTPClient(client *http.Client) *TypesParams
WithHTTPClient adds the HTTPClient to the types params
func (*TypesParams) WithTimeout ¶
func (o *TypesParams) WithTimeout(timeout time.Duration) *TypesParams
WithTimeout adds the timeout to the types params
func (*TypesParams) WriteToRequest ¶
func (o *TypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TypesReader ¶
type TypesReader struct {
// contains filtered or unexported fields
}
TypesReader is a Reader for the Types structure.
func (*TypesReader) ReadResponse ¶
func (o *TypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.