system_jobs

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2018 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

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

func NewInfoOK

func NewInfoOK() *InfoOK

NewInfoOK creates a InfoOK with default headers values

func (*InfoOK) Error

func (o *InfoOK) Error() string

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

func (*TypesOK) Error

func (o *TypesOK) Error() string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL