Documentation ¶
Index ¶
- type Client
- type StartOK
- type StartParams
- func (o *StartParams) SetBody(body *models.VirhalProject)
- func (o *StartParams) SetContext(ctx context.Context)
- func (o *StartParams) SetHTTPClient(client *http.Client)
- func (o *StartParams) SetTimeout(timeout time.Duration)
- func (o *StartParams) WithBody(body *models.VirhalProject) *StartParams
- func (o *StartParams) WithContext(ctx context.Context) *StartParams
- func (o *StartParams) WithHTTPClient(client *http.Client) *StartParams
- func (o *StartParams) WithTimeout(timeout time.Duration) *StartParams
- func (o *StartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartReader
- type StatusOK
- type StatusParams
- func (o *StatusParams) SetContext(ctx context.Context)
- func (o *StatusParams) SetHTTPClient(client *http.Client)
- func (o *StatusParams) SetName(name string)
- func (o *StatusParams) SetTimeout(timeout time.Duration)
- func (o *StatusParams) SetVersion(version *string)
- func (o *StatusParams) WithContext(ctx context.Context) *StatusParams
- func (o *StatusParams) WithHTTPClient(client *http.Client) *StatusParams
- func (o *StatusParams) WithName(name string) *StatusParams
- func (o *StatusParams) WithTimeout(timeout time.Duration) *StatusParams
- func (o *StatusParams) WithVersion(version *string) *StatusParams
- func (o *StatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusReader
- type StopOK
- type StopParams
- func (o *StopParams) SetContext(ctx context.Context)
- func (o *StopParams) SetHTTPClient(client *http.Client)
- func (o *StopParams) SetName(name string)
- func (o *StopParams) SetTimeout(timeout time.Duration)
- func (o *StopParams) WithContext(ctx context.Context) *StopParams
- func (o *StopParams) WithHTTPClient(client *http.Client) *StopParams
- func (o *StopParams) WithName(name string) *StopParams
- func (o *StopParams) WithTimeout(timeout time.Duration) *StopParams
- func (o *StopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopReader
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
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
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
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
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.