project_service

package
v0.0.0-...-0704e8f Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2018 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 project service API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new project service API client.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Start

func (a *Client) Start(params *StartParams) (*StartOK, error)

Start start API

func (*Client) Status

func (a *Client) Status(params *StatusParams) (*StatusOK, error)

Status status API

func (*Client) Stop

func (a *Client) Stop(params *StopParams) (*StopOK, error)

Stop stop API

type StartOK

type StartOK struct {
	Payload *models.VirhalResponse
}

StartOK handles this case with default header values.

StartOK start o k

func NewStartOK

func NewStartOK() *StartOK

NewStartOK creates a StartOK with default headers values

func (*StartOK) Error

func (o *StartOK) Error() string

type StartParams

type StartParams struct {

	/*Body*/
	Body *models.VirhalProject

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

StartParams contains all the parameters to send to the API endpoint for the start operation typically these are written to a http.Request

func NewStartParams

func NewStartParams() *StartParams

NewStartParams creates a new StartParams object with the default values initialized.

func NewStartParamsWithContext

func NewStartParamsWithContext(ctx context.Context) *StartParams

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

func NewStartParamsWithHTTPClient

func NewStartParamsWithHTTPClient(client *http.Client) *StartParams

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

func NewStartParamsWithTimeout

func NewStartParamsWithTimeout(timeout time.Duration) *StartParams

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

func (*StartParams) SetBody

func (o *StartParams) SetBody(body *models.VirhalProject)

SetBody adds the body to the start params

func (*StartParams) SetContext

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

SetContext adds the context to the start params

func (*StartParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the start params

func (*StartParams) SetTimeout

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

SetTimeout adds the timeout to the start params

func (*StartParams) WithBody

func (o *StartParams) WithBody(body *models.VirhalProject) *StartParams

WithBody adds the body to the start params

func (*StartParams) WithContext

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

WithContext adds the context to the start params

func (*StartParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the start params

func (*StartParams) WithTimeout

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

WithTimeout adds the timeout to the start params

func (*StartParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StartReader

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

StartReader is a Reader for the Start structure.

func (*StartReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StatusOK

type StatusOK struct {
	Payload *models.VirhalResponse
}

StatusOK handles this case with default header values.

StatusOK status o k

func NewStatusOK

func NewStatusOK() *StatusOK

NewStatusOK creates a StatusOK with default headers values

func (*StatusOK) Error

func (o *StatusOK) Error() string

type StatusParams

type StatusParams struct {

	/*Name*/
	Name string
	/*Version*/
	Version *string

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

StatusParams contains all the parameters to send to the API endpoint for the status operation typically these are written to a http.Request

func NewStatusParams

func NewStatusParams() *StatusParams

NewStatusParams creates a new StatusParams object with the default values initialized.

func NewStatusParamsWithContext

func NewStatusParamsWithContext(ctx context.Context) *StatusParams

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

func NewStatusParamsWithHTTPClient

func NewStatusParamsWithHTTPClient(client *http.Client) *StatusParams

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

func NewStatusParamsWithTimeout

func NewStatusParamsWithTimeout(timeout time.Duration) *StatusParams

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

func (*StatusParams) SetContext

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

SetContext adds the context to the status params

func (*StatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the status params

func (*StatusParams) SetName

func (o *StatusParams) SetName(name string)

SetName adds the name to the status params

func (*StatusParams) SetTimeout

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

SetTimeout adds the timeout to the status params

func (*StatusParams) SetVersion

func (o *StatusParams) SetVersion(version *string)

SetVersion adds the version to the status params

func (*StatusParams) WithContext

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

WithContext adds the context to the status params

func (*StatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the status params

func (*StatusParams) WithName

func (o *StatusParams) WithName(name string) *StatusParams

WithName adds the name to the status params

func (*StatusParams) WithTimeout

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

WithTimeout adds the timeout to the status params

func (*StatusParams) WithVersion

func (o *StatusParams) WithVersion(version *string) *StatusParams

WithVersion adds the version to the status params

func (*StatusParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StatusReader

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

StatusReader is a Reader for the Status structure.

func (*StatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopOK

type StopOK struct {
	Payload *models.VirhalResponse
}

StopOK handles this case with default header values.

StopOK stop o k

func NewStopOK

func NewStopOK() *StopOK

NewStopOK creates a StopOK with default headers values

func (*StopOK) Error

func (o *StopOK) Error() string

type StopParams

type StopParams struct {

	/*Name*/
	Name string

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

StopParams contains all the parameters to send to the API endpoint for the stop operation typically these are written to a http.Request

func NewStopParams

func NewStopParams() *StopParams

NewStopParams creates a new StopParams object with the default values initialized.

func NewStopParamsWithContext

func NewStopParamsWithContext(ctx context.Context) *StopParams

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

func NewStopParamsWithHTTPClient

func NewStopParamsWithHTTPClient(client *http.Client) *StopParams

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

func NewStopParamsWithTimeout

func NewStopParamsWithTimeout(timeout time.Duration) *StopParams

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

func (*StopParams) SetContext

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

SetContext adds the context to the stop params

func (*StopParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop params

func (*StopParams) SetName

func (o *StopParams) SetName(name string)

SetName adds the name to the stop params

func (*StopParams) SetTimeout

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

SetTimeout adds the timeout to the stop params

func (*StopParams) WithContext

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

WithContext adds the context to the stop params

func (*StopParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stop params

func (*StopParams) WithName

func (o *StopParams) WithName(name string) *StopParams

WithName adds the name to the stop params

func (*StopParams) WithTimeout

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

WithTimeout adds the timeout to the stop params

func (*StopParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StopReader

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

StopReader is a Reader for the Stop structure.

func (*StopReader) ReadResponse

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