Documentation
¶
Index ¶
- type Client
- func (a *Client) ServeImage(params *ServeImageParams, authInfo runtime.ClientAuthInfoWriter) (*ServeImageOK, error)
- func (a *Client) ServeImages(params *ServeImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ServeImagesOK, error)
- func (a *Client) ServeProfile(params *ServeProfileParams, authInfo runtime.ClientAuthInfoWriter) (*ServeProfileOK, error)
- func (a *Client) ServeProfiles(params *ServeProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*ServeProfilesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StartInstance(params *StartInstanceParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) StopInstance(params *StopInstanceParams, authInfo runtime.ClientAuthInfoWriter) error
- type ClientService
- type ServeImageOK
- type ServeImageParams
- func (o *ServeImageParams) SetContext(ctx context.Context)
- func (o *ServeImageParams) SetFields(fields *string)
- func (o *ServeImageParams) SetHTTPClient(client *http.Client)
- func (o *ServeImageParams) SetImageLocator(imageLocator string)
- func (o *ServeImageParams) SetTimeout(timeout time.Duration)
- func (o *ServeImageParams) WithContext(ctx context.Context) *ServeImageParams
- func (o *ServeImageParams) WithFields(fields *string) *ServeImageParams
- func (o *ServeImageParams) WithHTTPClient(client *http.Client) *ServeImageParams
- func (o *ServeImageParams) WithImageLocator(imageLocator string) *ServeImageParams
- func (o *ServeImageParams) WithTimeout(timeout time.Duration) *ServeImageParams
- func (o *ServeImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServeImageReader
- type ServeImagesOK
- type ServeImagesParams
- func (o *ServeImagesParams) SetContext(ctx context.Context)
- func (o *ServeImagesParams) SetFields(fields *string)
- func (o *ServeImagesParams) SetHTTPClient(client *http.Client)
- func (o *ServeImagesParams) SetLocator(locator *string)
- func (o *ServeImagesParams) SetTimeout(timeout time.Duration)
- func (o *ServeImagesParams) WithContext(ctx context.Context) *ServeImagesParams
- func (o *ServeImagesParams) WithFields(fields *string) *ServeImagesParams
- func (o *ServeImagesParams) WithHTTPClient(client *http.Client) *ServeImagesParams
- func (o *ServeImagesParams) WithLocator(locator *string) *ServeImagesParams
- func (o *ServeImagesParams) WithTimeout(timeout time.Duration) *ServeImagesParams
- func (o *ServeImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServeImagesReader
- type ServeProfileOK
- type ServeProfileParams
- func (o *ServeProfileParams) SetContext(ctx context.Context)
- func (o *ServeProfileParams) SetFields(fields *string)
- func (o *ServeProfileParams) SetHTTPClient(client *http.Client)
- func (o *ServeProfileParams) SetProfileLocator(profileLocator string)
- func (o *ServeProfileParams) SetTimeout(timeout time.Duration)
- func (o *ServeProfileParams) WithContext(ctx context.Context) *ServeProfileParams
- func (o *ServeProfileParams) WithFields(fields *string) *ServeProfileParams
- func (o *ServeProfileParams) WithHTTPClient(client *http.Client) *ServeProfileParams
- func (o *ServeProfileParams) WithProfileLocator(profileLocator string) *ServeProfileParams
- func (o *ServeProfileParams) WithTimeout(timeout time.Duration) *ServeProfileParams
- func (o *ServeProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServeProfileReader
- type ServeProfilesOK
- type ServeProfilesParams
- func (o *ServeProfilesParams) SetContext(ctx context.Context)
- func (o *ServeProfilesParams) SetFields(fields *string)
- func (o *ServeProfilesParams) SetHTTPClient(client *http.Client)
- func (o *ServeProfilesParams) SetLocator(locator *string)
- func (o *ServeProfilesParams) SetTimeout(timeout time.Duration)
- func (o *ServeProfilesParams) WithContext(ctx context.Context) *ServeProfilesParams
- func (o *ServeProfilesParams) WithFields(fields *string) *ServeProfilesParams
- func (o *ServeProfilesParams) WithHTTPClient(client *http.Client) *ServeProfilesParams
- func (o *ServeProfilesParams) WithLocator(locator *string) *ServeProfilesParams
- func (o *ServeProfilesParams) WithTimeout(timeout time.Duration) *ServeProfilesParams
- func (o *ServeProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServeProfilesReader
- type StartInstanceDefault
- type StartInstanceParams
- func (o *StartInstanceParams) SetBody(body *models.CloudInstance)
- func (o *StartInstanceParams) SetContext(ctx context.Context)
- func (o *StartInstanceParams) SetFields(fields *string)
- func (o *StartInstanceParams) SetHTTPClient(client *http.Client)
- func (o *StartInstanceParams) SetTimeout(timeout time.Duration)
- func (o *StartInstanceParams) WithBody(body *models.CloudInstance) *StartInstanceParams
- func (o *StartInstanceParams) WithContext(ctx context.Context) *StartInstanceParams
- func (o *StartInstanceParams) WithFields(fields *string) *StartInstanceParams
- func (o *StartInstanceParams) WithHTTPClient(client *http.Client) *StartInstanceParams
- func (o *StartInstanceParams) WithTimeout(timeout time.Duration) *StartInstanceParams
- func (o *StartInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartInstanceReader
- type StopInstanceDefault
- type StopInstanceParams
- func (o *StopInstanceParams) SetContext(ctx context.Context)
- func (o *StopInstanceParams) SetHTTPClient(client *http.Client)
- func (o *StopInstanceParams) SetInstanceLocator(instanceLocator string)
- func (o *StopInstanceParams) SetTimeout(timeout time.Duration)
- func (o *StopInstanceParams) WithContext(ctx context.Context) *StopInstanceParams
- func (o *StopInstanceParams) WithHTTPClient(client *http.Client) *StopInstanceParams
- func (o *StopInstanceParams) WithInstanceLocator(instanceLocator string) *StopInstanceParams
- func (o *StopInstanceParams) WithTimeout(timeout time.Duration) *StopInstanceParams
- func (o *StopInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopInstanceReader
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 cloud instance API
func (*Client) ServeImage ¶
func (a *Client) ServeImage(params *ServeImageParams, authInfo runtime.ClientAuthInfoWriter) (*ServeImageOK, error)
ServeImage serve image API
func (*Client) ServeImages ¶
func (a *Client) ServeImages(params *ServeImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ServeImagesOK, error)
ServeImages serve images API
func (*Client) ServeProfile ¶
func (a *Client) ServeProfile(params *ServeProfileParams, authInfo runtime.ClientAuthInfoWriter) (*ServeProfileOK, error)
ServeProfile serve profile API
func (*Client) ServeProfiles ¶
func (a *Client) ServeProfiles(params *ServeProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*ServeProfilesOK, error)
ServeProfiles serve profiles API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StartInstance ¶
func (a *Client) StartInstance(params *StartInstanceParams, authInfo runtime.ClientAuthInfoWriter) error
StartInstance start instance API
func (*Client) StopInstance ¶
func (a *Client) StopInstance(params *StopInstanceParams, authInfo runtime.ClientAuthInfoWriter) error
StopInstance stop instance API
type ClientService ¶
type ClientService interface { ServeImage(params *ServeImageParams, authInfo runtime.ClientAuthInfoWriter) (*ServeImageOK, error) ServeImages(params *ServeImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ServeImagesOK, error) ServeProfile(params *ServeProfileParams, authInfo runtime.ClientAuthInfoWriter) (*ServeProfileOK, error) ServeProfiles(params *ServeProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*ServeProfilesOK, error) StartInstance(params *StartInstanceParams, authInfo runtime.ClientAuthInfoWriter) error StopInstance(params *StopInstanceParams, authInfo runtime.ClientAuthInfoWriter) 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 cloud instance API client.
type ServeImageOK ¶
type ServeImageOK struct {
Payload *models.CloudImage
}
ServeImageOK handles this case with default header values.
successful operation
func NewServeImageOK ¶
func NewServeImageOK() *ServeImageOK
NewServeImageOK creates a ServeImageOK with default headers values
func (*ServeImageOK) Error ¶
func (o *ServeImageOK) Error() string
func (*ServeImageOK) GetPayload ¶
func (o *ServeImageOK) GetPayload() *models.CloudImage
type ServeImageParams ¶
type ServeImageParams struct { /*Fields*/ Fields *string /*ImageLocator*/ ImageLocator string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServeImageParams contains all the parameters to send to the API endpoint for the serve image operation typically these are written to a http.Request
func NewServeImageParams ¶
func NewServeImageParams() *ServeImageParams
NewServeImageParams creates a new ServeImageParams object with the default values initialized.
func NewServeImageParamsWithContext ¶
func NewServeImageParamsWithContext(ctx context.Context) *ServeImageParams
NewServeImageParamsWithContext creates a new ServeImageParams object with the default values initialized, and the ability to set a context for a request
func NewServeImageParamsWithHTTPClient ¶
func NewServeImageParamsWithHTTPClient(client *http.Client) *ServeImageParams
NewServeImageParamsWithHTTPClient creates a new ServeImageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewServeImageParamsWithTimeout ¶
func NewServeImageParamsWithTimeout(timeout time.Duration) *ServeImageParams
NewServeImageParamsWithTimeout creates a new ServeImageParams object with the default values initialized, and the ability to set a timeout on a request
func (*ServeImageParams) SetContext ¶
func (o *ServeImageParams) SetContext(ctx context.Context)
SetContext adds the context to the serve image params
func (*ServeImageParams) SetFields ¶
func (o *ServeImageParams) SetFields(fields *string)
SetFields adds the fields to the serve image params
func (*ServeImageParams) SetHTTPClient ¶
func (o *ServeImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the serve image params
func (*ServeImageParams) SetImageLocator ¶
func (o *ServeImageParams) SetImageLocator(imageLocator string)
SetImageLocator adds the imageLocator to the serve image params
func (*ServeImageParams) SetTimeout ¶
func (o *ServeImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the serve image params
func (*ServeImageParams) WithContext ¶
func (o *ServeImageParams) WithContext(ctx context.Context) *ServeImageParams
WithContext adds the context to the serve image params
func (*ServeImageParams) WithFields ¶
func (o *ServeImageParams) WithFields(fields *string) *ServeImageParams
WithFields adds the fields to the serve image params
func (*ServeImageParams) WithHTTPClient ¶
func (o *ServeImageParams) WithHTTPClient(client *http.Client) *ServeImageParams
WithHTTPClient adds the HTTPClient to the serve image params
func (*ServeImageParams) WithImageLocator ¶
func (o *ServeImageParams) WithImageLocator(imageLocator string) *ServeImageParams
WithImageLocator adds the imageLocator to the serve image params
func (*ServeImageParams) WithTimeout ¶
func (o *ServeImageParams) WithTimeout(timeout time.Duration) *ServeImageParams
WithTimeout adds the timeout to the serve image params
func (*ServeImageParams) WriteToRequest ¶
func (o *ServeImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServeImageReader ¶
type ServeImageReader struct {
// contains filtered or unexported fields
}
ServeImageReader is a Reader for the ServeImage structure.
func (*ServeImageReader) ReadResponse ¶
func (o *ServeImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServeImagesOK ¶
type ServeImagesOK struct {
Payload *models.CloudImages
}
ServeImagesOK handles this case with default header values.
successful operation
func NewServeImagesOK ¶
func NewServeImagesOK() *ServeImagesOK
NewServeImagesOK creates a ServeImagesOK with default headers values
func (*ServeImagesOK) Error ¶
func (o *ServeImagesOK) Error() string
func (*ServeImagesOK) GetPayload ¶
func (o *ServeImagesOK) GetPayload() *models.CloudImages
type ServeImagesParams ¶
type ServeImagesParams struct { /*Fields*/ Fields *string /*Locator*/ Locator *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServeImagesParams contains all the parameters to send to the API endpoint for the serve images operation typically these are written to a http.Request
func NewServeImagesParams ¶
func NewServeImagesParams() *ServeImagesParams
NewServeImagesParams creates a new ServeImagesParams object with the default values initialized.
func NewServeImagesParamsWithContext ¶
func NewServeImagesParamsWithContext(ctx context.Context) *ServeImagesParams
NewServeImagesParamsWithContext creates a new ServeImagesParams object with the default values initialized, and the ability to set a context for a request
func NewServeImagesParamsWithHTTPClient ¶
func NewServeImagesParamsWithHTTPClient(client *http.Client) *ServeImagesParams
NewServeImagesParamsWithHTTPClient creates a new ServeImagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewServeImagesParamsWithTimeout ¶
func NewServeImagesParamsWithTimeout(timeout time.Duration) *ServeImagesParams
NewServeImagesParamsWithTimeout creates a new ServeImagesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ServeImagesParams) SetContext ¶
func (o *ServeImagesParams) SetContext(ctx context.Context)
SetContext adds the context to the serve images params
func (*ServeImagesParams) SetFields ¶
func (o *ServeImagesParams) SetFields(fields *string)
SetFields adds the fields to the serve images params
func (*ServeImagesParams) SetHTTPClient ¶
func (o *ServeImagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the serve images params
func (*ServeImagesParams) SetLocator ¶
func (o *ServeImagesParams) SetLocator(locator *string)
SetLocator adds the locator to the serve images params
func (*ServeImagesParams) SetTimeout ¶
func (o *ServeImagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the serve images params
func (*ServeImagesParams) WithContext ¶
func (o *ServeImagesParams) WithContext(ctx context.Context) *ServeImagesParams
WithContext adds the context to the serve images params
func (*ServeImagesParams) WithFields ¶
func (o *ServeImagesParams) WithFields(fields *string) *ServeImagesParams
WithFields adds the fields to the serve images params
func (*ServeImagesParams) WithHTTPClient ¶
func (o *ServeImagesParams) WithHTTPClient(client *http.Client) *ServeImagesParams
WithHTTPClient adds the HTTPClient to the serve images params
func (*ServeImagesParams) WithLocator ¶
func (o *ServeImagesParams) WithLocator(locator *string) *ServeImagesParams
WithLocator adds the locator to the serve images params
func (*ServeImagesParams) WithTimeout ¶
func (o *ServeImagesParams) WithTimeout(timeout time.Duration) *ServeImagesParams
WithTimeout adds the timeout to the serve images params
func (*ServeImagesParams) WriteToRequest ¶
func (o *ServeImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServeImagesReader ¶
type ServeImagesReader struct {
// contains filtered or unexported fields
}
ServeImagesReader is a Reader for the ServeImages structure.
func (*ServeImagesReader) ReadResponse ¶
func (o *ServeImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServeProfileOK ¶
type ServeProfileOK struct {
Payload *models.CloudProfile
}
ServeProfileOK handles this case with default header values.
successful operation
func NewServeProfileOK ¶
func NewServeProfileOK() *ServeProfileOK
NewServeProfileOK creates a ServeProfileOK with default headers values
func (*ServeProfileOK) Error ¶
func (o *ServeProfileOK) Error() string
func (*ServeProfileOK) GetPayload ¶
func (o *ServeProfileOK) GetPayload() *models.CloudProfile
type ServeProfileParams ¶
type ServeProfileParams struct { /*Fields*/ Fields *string /*ProfileLocator*/ ProfileLocator string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServeProfileParams contains all the parameters to send to the API endpoint for the serve profile operation typically these are written to a http.Request
func NewServeProfileParams ¶
func NewServeProfileParams() *ServeProfileParams
NewServeProfileParams creates a new ServeProfileParams object with the default values initialized.
func NewServeProfileParamsWithContext ¶
func NewServeProfileParamsWithContext(ctx context.Context) *ServeProfileParams
NewServeProfileParamsWithContext creates a new ServeProfileParams object with the default values initialized, and the ability to set a context for a request
func NewServeProfileParamsWithHTTPClient ¶
func NewServeProfileParamsWithHTTPClient(client *http.Client) *ServeProfileParams
NewServeProfileParamsWithHTTPClient creates a new ServeProfileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewServeProfileParamsWithTimeout ¶
func NewServeProfileParamsWithTimeout(timeout time.Duration) *ServeProfileParams
NewServeProfileParamsWithTimeout creates a new ServeProfileParams object with the default values initialized, and the ability to set a timeout on a request
func (*ServeProfileParams) SetContext ¶
func (o *ServeProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the serve profile params
func (*ServeProfileParams) SetFields ¶
func (o *ServeProfileParams) SetFields(fields *string)
SetFields adds the fields to the serve profile params
func (*ServeProfileParams) SetHTTPClient ¶
func (o *ServeProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the serve profile params
func (*ServeProfileParams) SetProfileLocator ¶
func (o *ServeProfileParams) SetProfileLocator(profileLocator string)
SetProfileLocator adds the profileLocator to the serve profile params
func (*ServeProfileParams) SetTimeout ¶
func (o *ServeProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the serve profile params
func (*ServeProfileParams) WithContext ¶
func (o *ServeProfileParams) WithContext(ctx context.Context) *ServeProfileParams
WithContext adds the context to the serve profile params
func (*ServeProfileParams) WithFields ¶
func (o *ServeProfileParams) WithFields(fields *string) *ServeProfileParams
WithFields adds the fields to the serve profile params
func (*ServeProfileParams) WithHTTPClient ¶
func (o *ServeProfileParams) WithHTTPClient(client *http.Client) *ServeProfileParams
WithHTTPClient adds the HTTPClient to the serve profile params
func (*ServeProfileParams) WithProfileLocator ¶
func (o *ServeProfileParams) WithProfileLocator(profileLocator string) *ServeProfileParams
WithProfileLocator adds the profileLocator to the serve profile params
func (*ServeProfileParams) WithTimeout ¶
func (o *ServeProfileParams) WithTimeout(timeout time.Duration) *ServeProfileParams
WithTimeout adds the timeout to the serve profile params
func (*ServeProfileParams) WriteToRequest ¶
func (o *ServeProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServeProfileReader ¶
type ServeProfileReader struct {
// contains filtered or unexported fields
}
ServeProfileReader is a Reader for the ServeProfile structure.
func (*ServeProfileReader) ReadResponse ¶
func (o *ServeProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServeProfilesOK ¶
type ServeProfilesOK struct {
Payload *models.CloudProfiles
}
ServeProfilesOK handles this case with default header values.
successful operation
func NewServeProfilesOK ¶
func NewServeProfilesOK() *ServeProfilesOK
NewServeProfilesOK creates a ServeProfilesOK with default headers values
func (*ServeProfilesOK) Error ¶
func (o *ServeProfilesOK) Error() string
func (*ServeProfilesOK) GetPayload ¶
func (o *ServeProfilesOK) GetPayload() *models.CloudProfiles
type ServeProfilesParams ¶
type ServeProfilesParams struct { /*Fields*/ Fields *string /*Locator*/ Locator *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServeProfilesParams contains all the parameters to send to the API endpoint for the serve profiles operation typically these are written to a http.Request
func NewServeProfilesParams ¶
func NewServeProfilesParams() *ServeProfilesParams
NewServeProfilesParams creates a new ServeProfilesParams object with the default values initialized.
func NewServeProfilesParamsWithContext ¶
func NewServeProfilesParamsWithContext(ctx context.Context) *ServeProfilesParams
NewServeProfilesParamsWithContext creates a new ServeProfilesParams object with the default values initialized, and the ability to set a context for a request
func NewServeProfilesParamsWithHTTPClient ¶
func NewServeProfilesParamsWithHTTPClient(client *http.Client) *ServeProfilesParams
NewServeProfilesParamsWithHTTPClient creates a new ServeProfilesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewServeProfilesParamsWithTimeout ¶
func NewServeProfilesParamsWithTimeout(timeout time.Duration) *ServeProfilesParams
NewServeProfilesParamsWithTimeout creates a new ServeProfilesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ServeProfilesParams) SetContext ¶
func (o *ServeProfilesParams) SetContext(ctx context.Context)
SetContext adds the context to the serve profiles params
func (*ServeProfilesParams) SetFields ¶
func (o *ServeProfilesParams) SetFields(fields *string)
SetFields adds the fields to the serve profiles params
func (*ServeProfilesParams) SetHTTPClient ¶
func (o *ServeProfilesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the serve profiles params
func (*ServeProfilesParams) SetLocator ¶
func (o *ServeProfilesParams) SetLocator(locator *string)
SetLocator adds the locator to the serve profiles params
func (*ServeProfilesParams) SetTimeout ¶
func (o *ServeProfilesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the serve profiles params
func (*ServeProfilesParams) WithContext ¶
func (o *ServeProfilesParams) WithContext(ctx context.Context) *ServeProfilesParams
WithContext adds the context to the serve profiles params
func (*ServeProfilesParams) WithFields ¶
func (o *ServeProfilesParams) WithFields(fields *string) *ServeProfilesParams
WithFields adds the fields to the serve profiles params
func (*ServeProfilesParams) WithHTTPClient ¶
func (o *ServeProfilesParams) WithHTTPClient(client *http.Client) *ServeProfilesParams
WithHTTPClient adds the HTTPClient to the serve profiles params
func (*ServeProfilesParams) WithLocator ¶
func (o *ServeProfilesParams) WithLocator(locator *string) *ServeProfilesParams
WithLocator adds the locator to the serve profiles params
func (*ServeProfilesParams) WithTimeout ¶
func (o *ServeProfilesParams) WithTimeout(timeout time.Duration) *ServeProfilesParams
WithTimeout adds the timeout to the serve profiles params
func (*ServeProfilesParams) WriteToRequest ¶
func (o *ServeProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServeProfilesReader ¶
type ServeProfilesReader struct {
// contains filtered or unexported fields
}
ServeProfilesReader is a Reader for the ServeProfiles structure.
func (*ServeProfilesReader) ReadResponse ¶
func (o *ServeProfilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartInstanceDefault ¶
type StartInstanceDefault struct {
// contains filtered or unexported fields
}
StartInstanceDefault handles this case with default header values.
successful operation
func NewStartInstanceDefault ¶
func NewStartInstanceDefault(code int) *StartInstanceDefault
NewStartInstanceDefault creates a StartInstanceDefault with default headers values
func (*StartInstanceDefault) Code ¶
func (o *StartInstanceDefault) Code() int
Code gets the status code for the start instance default response
func (*StartInstanceDefault) Error ¶
func (o *StartInstanceDefault) Error() string
type StartInstanceParams ¶
type StartInstanceParams struct { /*Body*/ Body *models.CloudInstance /*Fields*/ Fields *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartInstanceParams contains all the parameters to send to the API endpoint for the start instance operation typically these are written to a http.Request
func NewStartInstanceParams ¶
func NewStartInstanceParams() *StartInstanceParams
NewStartInstanceParams creates a new StartInstanceParams object with the default values initialized.
func NewStartInstanceParamsWithContext ¶
func NewStartInstanceParamsWithContext(ctx context.Context) *StartInstanceParams
NewStartInstanceParamsWithContext creates a new StartInstanceParams object with the default values initialized, and the ability to set a context for a request
func NewStartInstanceParamsWithHTTPClient ¶
func NewStartInstanceParamsWithHTTPClient(client *http.Client) *StartInstanceParams
NewStartInstanceParamsWithHTTPClient creates a new StartInstanceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStartInstanceParamsWithTimeout ¶
func NewStartInstanceParamsWithTimeout(timeout time.Duration) *StartInstanceParams
NewStartInstanceParamsWithTimeout creates a new StartInstanceParams object with the default values initialized, and the ability to set a timeout on a request
func (*StartInstanceParams) SetBody ¶
func (o *StartInstanceParams) SetBody(body *models.CloudInstance)
SetBody adds the body to the start instance params
func (*StartInstanceParams) SetContext ¶
func (o *StartInstanceParams) SetContext(ctx context.Context)
SetContext adds the context to the start instance params
func (*StartInstanceParams) SetFields ¶
func (o *StartInstanceParams) SetFields(fields *string)
SetFields adds the fields to the start instance params
func (*StartInstanceParams) SetHTTPClient ¶
func (o *StartInstanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start instance params
func (*StartInstanceParams) SetTimeout ¶
func (o *StartInstanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start instance params
func (*StartInstanceParams) WithBody ¶
func (o *StartInstanceParams) WithBody(body *models.CloudInstance) *StartInstanceParams
WithBody adds the body to the start instance params
func (*StartInstanceParams) WithContext ¶
func (o *StartInstanceParams) WithContext(ctx context.Context) *StartInstanceParams
WithContext adds the context to the start instance params
func (*StartInstanceParams) WithFields ¶
func (o *StartInstanceParams) WithFields(fields *string) *StartInstanceParams
WithFields adds the fields to the start instance params
func (*StartInstanceParams) WithHTTPClient ¶
func (o *StartInstanceParams) WithHTTPClient(client *http.Client) *StartInstanceParams
WithHTTPClient adds the HTTPClient to the start instance params
func (*StartInstanceParams) WithTimeout ¶
func (o *StartInstanceParams) WithTimeout(timeout time.Duration) *StartInstanceParams
WithTimeout adds the timeout to the start instance params
func (*StartInstanceParams) WriteToRequest ¶
func (o *StartInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartInstanceReader ¶
type StartInstanceReader struct {
// contains filtered or unexported fields
}
StartInstanceReader is a Reader for the StartInstance structure.
func (*StartInstanceReader) ReadResponse ¶
func (o *StartInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopInstanceDefault ¶
type StopInstanceDefault struct {
// contains filtered or unexported fields
}
StopInstanceDefault handles this case with default header values.
successful operation
func NewStopInstanceDefault ¶
func NewStopInstanceDefault(code int) *StopInstanceDefault
NewStopInstanceDefault creates a StopInstanceDefault with default headers values
func (*StopInstanceDefault) Code ¶
func (o *StopInstanceDefault) Code() int
Code gets the status code for the stop instance default response
func (*StopInstanceDefault) Error ¶
func (o *StopInstanceDefault) Error() string
type StopInstanceParams ¶
type StopInstanceParams struct { /*InstanceLocator*/ InstanceLocator string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopInstanceParams contains all the parameters to send to the API endpoint for the stop instance operation typically these are written to a http.Request
func NewStopInstanceParams ¶
func NewStopInstanceParams() *StopInstanceParams
NewStopInstanceParams creates a new StopInstanceParams object with the default values initialized.
func NewStopInstanceParamsWithContext ¶
func NewStopInstanceParamsWithContext(ctx context.Context) *StopInstanceParams
NewStopInstanceParamsWithContext creates a new StopInstanceParams object with the default values initialized, and the ability to set a context for a request
func NewStopInstanceParamsWithHTTPClient ¶
func NewStopInstanceParamsWithHTTPClient(client *http.Client) *StopInstanceParams
NewStopInstanceParamsWithHTTPClient creates a new StopInstanceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStopInstanceParamsWithTimeout ¶
func NewStopInstanceParamsWithTimeout(timeout time.Duration) *StopInstanceParams
NewStopInstanceParamsWithTimeout creates a new StopInstanceParams object with the default values initialized, and the ability to set a timeout on a request
func (*StopInstanceParams) SetContext ¶
func (o *StopInstanceParams) SetContext(ctx context.Context)
SetContext adds the context to the stop instance params
func (*StopInstanceParams) SetHTTPClient ¶
func (o *StopInstanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop instance params
func (*StopInstanceParams) SetInstanceLocator ¶
func (o *StopInstanceParams) SetInstanceLocator(instanceLocator string)
SetInstanceLocator adds the instanceLocator to the stop instance params
func (*StopInstanceParams) SetTimeout ¶
func (o *StopInstanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop instance params
func (*StopInstanceParams) WithContext ¶
func (o *StopInstanceParams) WithContext(ctx context.Context) *StopInstanceParams
WithContext adds the context to the stop instance params
func (*StopInstanceParams) WithHTTPClient ¶
func (o *StopInstanceParams) WithHTTPClient(client *http.Client) *StopInstanceParams
WithHTTPClient adds the HTTPClient to the stop instance params
func (*StopInstanceParams) WithInstanceLocator ¶
func (o *StopInstanceParams) WithInstanceLocator(instanceLocator string) *StopInstanceParams
WithInstanceLocator adds the instanceLocator to the stop instance params
func (*StopInstanceParams) WithTimeout ¶
func (o *StopInstanceParams) WithTimeout(timeout time.Duration) *StopInstanceParams
WithTimeout adds the timeout to the stop instance params
func (*StopInstanceParams) WriteToRequest ¶
func (o *StopInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopInstanceReader ¶
type StopInstanceReader struct {
// contains filtered or unexported fields
}
StopInstanceReader is a Reader for the StopInstance structure.
func (*StopInstanceReader) ReadResponse ¶
func (o *StopInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- cloud_instance_client.go
- serve_image_parameters.go
- serve_image_responses.go
- serve_images_parameters.go
- serve_images_responses.go
- serve_profile_parameters.go
- serve_profile_responses.go
- serve_profiles_parameters.go
- serve_profiles_responses.go
- start_instance_parameters.go
- start_instance_responses.go
- stop_instance_parameters.go
- stop_instance_responses.go