orchestra_api

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2020 License: MIT 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 orchestra api API

func (*Client) ExecCreate

func (a *Client) ExecCreate(params *ExecCreateParams) (*ExecCreateOK, error)

ExecCreate exec create API

func (*Client) ExecFind

func (a *Client) ExecFind(params *ExecFindParams) (*ExecFindOK, error)

ExecFind exec find API

func (*Client) ExecGet

func (a *Client) ExecGet(params *ExecGetParams) (*ExecGetOK, error)

ExecGet exec get API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ExecCreate(params *ExecCreateParams) (*ExecCreateOK, error)

	ExecFind(params *ExecFindParams) (*ExecFindOK, error)

	ExecGet(params *ExecGetParams) (*ExecGetOK, 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 orchestra api API client.

type ExecCreateOK

type ExecCreateOK struct {
	Payload *models.ProtoOrchestraCommonResponse
}

ExecCreateOK handles this case with default header values.

A successful response.

func NewExecCreateOK

func NewExecCreateOK() *ExecCreateOK

NewExecCreateOK creates a ExecCreateOK with default headers values

func (*ExecCreateOK) Error

func (o *ExecCreateOK) Error() string

func (*ExecCreateOK) GetPayload

type ExecCreateParams

type ExecCreateParams struct {

	/*Body*/
	Body *models.ProtoOrchestraCommonRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExecCreateParams contains all the parameters to send to the API endpoint for the exec create operation typically these are written to a http.Request

func NewExecCreateParams

func NewExecCreateParams() *ExecCreateParams

NewExecCreateParams creates a new ExecCreateParams object with the default values initialized.

func NewExecCreateParamsWithContext

func NewExecCreateParamsWithContext(ctx context.Context) *ExecCreateParams

NewExecCreateParamsWithContext creates a new ExecCreateParams object with the default values initialized, and the ability to set a context for a request

func NewExecCreateParamsWithHTTPClient

func NewExecCreateParamsWithHTTPClient(client *http.Client) *ExecCreateParams

NewExecCreateParamsWithHTTPClient creates a new ExecCreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewExecCreateParamsWithTimeout

func NewExecCreateParamsWithTimeout(timeout time.Duration) *ExecCreateParams

NewExecCreateParamsWithTimeout creates a new ExecCreateParams object with the default values initialized, and the ability to set a timeout on a request

func (*ExecCreateParams) SetBody

SetBody adds the body to the exec create params

func (*ExecCreateParams) SetContext

func (o *ExecCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the exec create params

func (*ExecCreateParams) SetHTTPClient

func (o *ExecCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the exec create params

func (*ExecCreateParams) SetTimeout

func (o *ExecCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the exec create params

func (*ExecCreateParams) WithBody

WithBody adds the body to the exec create params

func (*ExecCreateParams) WithContext

func (o *ExecCreateParams) WithContext(ctx context.Context) *ExecCreateParams

WithContext adds the context to the exec create params

func (*ExecCreateParams) WithHTTPClient

func (o *ExecCreateParams) WithHTTPClient(client *http.Client) *ExecCreateParams

WithHTTPClient adds the HTTPClient to the exec create params

func (*ExecCreateParams) WithTimeout

func (o *ExecCreateParams) WithTimeout(timeout time.Duration) *ExecCreateParams

WithTimeout adds the timeout to the exec create params

func (*ExecCreateParams) WriteToRequest

func (o *ExecCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExecCreateReader

type ExecCreateReader struct {
	// contains filtered or unexported fields
}

ExecCreateReader is a Reader for the ExecCreate structure.

func (*ExecCreateReader) ReadResponse

func (o *ExecCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ExecFindOK

type ExecFindOK struct {
	Payload *models.ProtoOrchestraCommonResponse
}

ExecFindOK handles this case with default header values.

A successful response.

func NewExecFindOK

func NewExecFindOK() *ExecFindOK

NewExecFindOK creates a ExecFindOK with default headers values

func (*ExecFindOK) Error

func (o *ExecFindOK) Error() string

func (*ExecFindOK) GetPayload

type ExecFindParams

type ExecFindParams struct {

	/*Body*/
	Body *models.ProtoOrchestraCommonRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExecFindParams contains all the parameters to send to the API endpoint for the exec find operation typically these are written to a http.Request

func NewExecFindParams

func NewExecFindParams() *ExecFindParams

NewExecFindParams creates a new ExecFindParams object with the default values initialized.

func NewExecFindParamsWithContext

func NewExecFindParamsWithContext(ctx context.Context) *ExecFindParams

NewExecFindParamsWithContext creates a new ExecFindParams object with the default values initialized, and the ability to set a context for a request

func NewExecFindParamsWithHTTPClient

func NewExecFindParamsWithHTTPClient(client *http.Client) *ExecFindParams

NewExecFindParamsWithHTTPClient creates a new ExecFindParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewExecFindParamsWithTimeout

func NewExecFindParamsWithTimeout(timeout time.Duration) *ExecFindParams

NewExecFindParamsWithTimeout creates a new ExecFindParams object with the default values initialized, and the ability to set a timeout on a request

func (*ExecFindParams) SetBody

SetBody adds the body to the exec find params

func (*ExecFindParams) SetContext

func (o *ExecFindParams) SetContext(ctx context.Context)

SetContext adds the context to the exec find params

func (*ExecFindParams) SetHTTPClient

func (o *ExecFindParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the exec find params

func (*ExecFindParams) SetTimeout

func (o *ExecFindParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the exec find params

func (*ExecFindParams) WithBody

WithBody adds the body to the exec find params

func (*ExecFindParams) WithContext

func (o *ExecFindParams) WithContext(ctx context.Context) *ExecFindParams

WithContext adds the context to the exec find params

func (*ExecFindParams) WithHTTPClient

func (o *ExecFindParams) WithHTTPClient(client *http.Client) *ExecFindParams

WithHTTPClient adds the HTTPClient to the exec find params

func (*ExecFindParams) WithTimeout

func (o *ExecFindParams) WithTimeout(timeout time.Duration) *ExecFindParams

WithTimeout adds the timeout to the exec find params

func (*ExecFindParams) WriteToRequest

func (o *ExecFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExecFindReader

type ExecFindReader struct {
	// contains filtered or unexported fields
}

ExecFindReader is a Reader for the ExecFind structure.

func (*ExecFindReader) ReadResponse

func (o *ExecFindReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ExecGetOK

type ExecGetOK struct {
	Payload *models.ProtoOrchestraCommonResponse
}

ExecGetOK handles this case with default header values.

A successful response.

func NewExecGetOK

func NewExecGetOK() *ExecGetOK

NewExecGetOK creates a ExecGetOK with default headers values

func (*ExecGetOK) Error

func (o *ExecGetOK) Error() string

func (*ExecGetOK) GetPayload

type ExecGetParams

type ExecGetParams struct {

	/*Body*/
	Body *models.ProtoOrchestraCommonRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExecGetParams contains all the parameters to send to the API endpoint for the exec get operation typically these are written to a http.Request

func NewExecGetParams

func NewExecGetParams() *ExecGetParams

NewExecGetParams creates a new ExecGetParams object with the default values initialized.

func NewExecGetParamsWithContext

func NewExecGetParamsWithContext(ctx context.Context) *ExecGetParams

NewExecGetParamsWithContext creates a new ExecGetParams object with the default values initialized, and the ability to set a context for a request

func NewExecGetParamsWithHTTPClient

func NewExecGetParamsWithHTTPClient(client *http.Client) *ExecGetParams

NewExecGetParamsWithHTTPClient creates a new ExecGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewExecGetParamsWithTimeout

func NewExecGetParamsWithTimeout(timeout time.Duration) *ExecGetParams

NewExecGetParamsWithTimeout creates a new ExecGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*ExecGetParams) SetBody

SetBody adds the body to the exec get params

func (*ExecGetParams) SetContext

func (o *ExecGetParams) SetContext(ctx context.Context)

SetContext adds the context to the exec get params

func (*ExecGetParams) SetHTTPClient

func (o *ExecGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the exec get params

func (*ExecGetParams) SetTimeout

func (o *ExecGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the exec get params

func (*ExecGetParams) WithBody

WithBody adds the body to the exec get params

func (*ExecGetParams) WithContext

func (o *ExecGetParams) WithContext(ctx context.Context) *ExecGetParams

WithContext adds the context to the exec get params

func (*ExecGetParams) WithHTTPClient

func (o *ExecGetParams) WithHTTPClient(client *http.Client) *ExecGetParams

WithHTTPClient adds the HTTPClient to the exec get params

func (*ExecGetParams) WithTimeout

func (o *ExecGetParams) WithTimeout(timeout time.Duration) *ExecGetParams

WithTimeout adds the timeout to the exec get params

func (*ExecGetParams) WriteToRequest

func (o *ExecGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExecGetReader

type ExecGetReader struct {
	// contains filtered or unexported fields
}

ExecGetReader is a Reader for the ExecGet structure.

func (*ExecGetReader) ReadResponse

func (o *ExecGetReader) 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