Documentation ¶
Index ¶
- type BulkCreateCPUGeneratorsBody
- func (o *BulkCreateCPUGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkCreateCPUGeneratorsBody) MarshalBinary() ([]byte, error)
- func (o *BulkCreateCPUGeneratorsBody) UnmarshalBinary(b []byte) error
- func (o *BulkCreateCPUGeneratorsBody) Validate(formats strfmt.Registry) error
- type BulkCreateCPUGeneratorsOK
- type BulkCreateCPUGeneratorsParams
- func NewBulkCreateCPUGeneratorsParams() *BulkCreateCPUGeneratorsParams
- func NewBulkCreateCPUGeneratorsParamsWithContext(ctx context.Context) *BulkCreateCPUGeneratorsParams
- func NewBulkCreateCPUGeneratorsParamsWithHTTPClient(client *http.Client) *BulkCreateCPUGeneratorsParams
- func NewBulkCreateCPUGeneratorsParamsWithTimeout(timeout time.Duration) *BulkCreateCPUGeneratorsParams
- func (o *BulkCreateCPUGeneratorsParams) SetContext(ctx context.Context)
- func (o *BulkCreateCPUGeneratorsParams) SetCreate(create BulkCreateCPUGeneratorsBody)
- func (o *BulkCreateCPUGeneratorsParams) SetDefaults()
- func (o *BulkCreateCPUGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *BulkCreateCPUGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *BulkCreateCPUGeneratorsParams) WithContext(ctx context.Context) *BulkCreateCPUGeneratorsParams
- func (o *BulkCreateCPUGeneratorsParams) WithCreate(create BulkCreateCPUGeneratorsBody) *BulkCreateCPUGeneratorsParams
- func (o *BulkCreateCPUGeneratorsParams) WithDefaults() *BulkCreateCPUGeneratorsParams
- func (o *BulkCreateCPUGeneratorsParams) WithHTTPClient(client *http.Client) *BulkCreateCPUGeneratorsParams
- func (o *BulkCreateCPUGeneratorsParams) WithTimeout(timeout time.Duration) *BulkCreateCPUGeneratorsParams
- func (o *BulkCreateCPUGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkCreateCPUGeneratorsReader
- type BulkDeleteCPUGeneratorsBody
- func (o *BulkDeleteCPUGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkDeleteCPUGeneratorsBody) MarshalBinary() ([]byte, error)
- func (o *BulkDeleteCPUGeneratorsBody) UnmarshalBinary(b []byte) error
- func (o *BulkDeleteCPUGeneratorsBody) Validate(formats strfmt.Registry) error
- type BulkDeleteCPUGeneratorsNoContent
- type BulkDeleteCPUGeneratorsParams
- func NewBulkDeleteCPUGeneratorsParams() *BulkDeleteCPUGeneratorsParams
- func NewBulkDeleteCPUGeneratorsParamsWithContext(ctx context.Context) *BulkDeleteCPUGeneratorsParams
- func NewBulkDeleteCPUGeneratorsParamsWithHTTPClient(client *http.Client) *BulkDeleteCPUGeneratorsParams
- func NewBulkDeleteCPUGeneratorsParamsWithTimeout(timeout time.Duration) *BulkDeleteCPUGeneratorsParams
- func (o *BulkDeleteCPUGeneratorsParams) SetContext(ctx context.Context)
- func (o *BulkDeleteCPUGeneratorsParams) SetDefaults()
- func (o *BulkDeleteCPUGeneratorsParams) SetDelete(delete BulkDeleteCPUGeneratorsBody)
- func (o *BulkDeleteCPUGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *BulkDeleteCPUGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *BulkDeleteCPUGeneratorsParams) WithContext(ctx context.Context) *BulkDeleteCPUGeneratorsParams
- func (o *BulkDeleteCPUGeneratorsParams) WithDefaults() *BulkDeleteCPUGeneratorsParams
- func (o *BulkDeleteCPUGeneratorsParams) WithDelete(delete BulkDeleteCPUGeneratorsBody) *BulkDeleteCPUGeneratorsParams
- func (o *BulkDeleteCPUGeneratorsParams) WithHTTPClient(client *http.Client) *BulkDeleteCPUGeneratorsParams
- func (o *BulkDeleteCPUGeneratorsParams) WithTimeout(timeout time.Duration) *BulkDeleteCPUGeneratorsParams
- func (o *BulkDeleteCPUGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkDeleteCPUGeneratorsReader
- type BulkStartCPUGeneratorsOK
- type BulkStartCPUGeneratorsParams
- func NewBulkStartCPUGeneratorsParams() *BulkStartCPUGeneratorsParams
- func NewBulkStartCPUGeneratorsParamsWithContext(ctx context.Context) *BulkStartCPUGeneratorsParams
- func NewBulkStartCPUGeneratorsParamsWithHTTPClient(client *http.Client) *BulkStartCPUGeneratorsParams
- func NewBulkStartCPUGeneratorsParamsWithTimeout(timeout time.Duration) *BulkStartCPUGeneratorsParams
- func (o *BulkStartCPUGeneratorsParams) SetBulkStart(bulkStart *models.BulkStartCPUGeneratorsRequest)
- func (o *BulkStartCPUGeneratorsParams) SetContext(ctx context.Context)
- func (o *BulkStartCPUGeneratorsParams) SetDefaults()
- func (o *BulkStartCPUGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *BulkStartCPUGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *BulkStartCPUGeneratorsParams) WithBulkStart(bulkStart *models.BulkStartCPUGeneratorsRequest) *BulkStartCPUGeneratorsParams
- func (o *BulkStartCPUGeneratorsParams) WithContext(ctx context.Context) *BulkStartCPUGeneratorsParams
- func (o *BulkStartCPUGeneratorsParams) WithDefaults() *BulkStartCPUGeneratorsParams
- func (o *BulkStartCPUGeneratorsParams) WithHTTPClient(client *http.Client) *BulkStartCPUGeneratorsParams
- func (o *BulkStartCPUGeneratorsParams) WithTimeout(timeout time.Duration) *BulkStartCPUGeneratorsParams
- func (o *BulkStartCPUGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkStartCPUGeneratorsReader
- type BulkStopCPUGeneratorsBody
- func (o *BulkStopCPUGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkStopCPUGeneratorsBody) MarshalBinary() ([]byte, error)
- func (o *BulkStopCPUGeneratorsBody) UnmarshalBinary(b []byte) error
- func (o *BulkStopCPUGeneratorsBody) Validate(formats strfmt.Registry) error
- type BulkStopCPUGeneratorsNoContent
- type BulkStopCPUGeneratorsParams
- func NewBulkStopCPUGeneratorsParams() *BulkStopCPUGeneratorsParams
- func NewBulkStopCPUGeneratorsParamsWithContext(ctx context.Context) *BulkStopCPUGeneratorsParams
- func NewBulkStopCPUGeneratorsParamsWithHTTPClient(client *http.Client) *BulkStopCPUGeneratorsParams
- func NewBulkStopCPUGeneratorsParamsWithTimeout(timeout time.Duration) *BulkStopCPUGeneratorsParams
- func (o *BulkStopCPUGeneratorsParams) SetBulkStop(bulkStop BulkStopCPUGeneratorsBody)
- func (o *BulkStopCPUGeneratorsParams) SetContext(ctx context.Context)
- func (o *BulkStopCPUGeneratorsParams) SetDefaults()
- func (o *BulkStopCPUGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *BulkStopCPUGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *BulkStopCPUGeneratorsParams) WithBulkStop(bulkStop BulkStopCPUGeneratorsBody) *BulkStopCPUGeneratorsParams
- func (o *BulkStopCPUGeneratorsParams) WithContext(ctx context.Context) *BulkStopCPUGeneratorsParams
- func (o *BulkStopCPUGeneratorsParams) WithDefaults() *BulkStopCPUGeneratorsParams
- func (o *BulkStopCPUGeneratorsParams) WithHTTPClient(client *http.Client) *BulkStopCPUGeneratorsParams
- func (o *BulkStopCPUGeneratorsParams) WithTimeout(timeout time.Duration) *BulkStopCPUGeneratorsParams
- func (o *BulkStopCPUGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkStopCPUGeneratorsReader
- type Client
- func (a *Client) BulkCreateCPUGenerators(params *BulkCreateCPUGeneratorsParams, opts ...ClientOption) (*BulkCreateCPUGeneratorsOK, error)
- func (a *Client) BulkDeleteCPUGenerators(params *BulkDeleteCPUGeneratorsParams, opts ...ClientOption) (*BulkDeleteCPUGeneratorsNoContent, error)
- func (a *Client) BulkStartCPUGenerators(params *BulkStartCPUGeneratorsParams, opts ...ClientOption) (*BulkStartCPUGeneratorsOK, error)
- func (a *Client) BulkStopCPUGenerators(params *BulkStopCPUGeneratorsParams, opts ...ClientOption) (*BulkStopCPUGeneratorsNoContent, error)
- func (a *Client) CreateCPUGenerator(params *CreateCPUGeneratorParams, opts ...ClientOption) (*CreateCPUGeneratorCreated, error)
- func (a *Client) DeleteCPUGenerator(params *DeleteCPUGeneratorParams, opts ...ClientOption) (*DeleteCPUGeneratorNoContent, error)
- func (a *Client) DeleteCPUGeneratorResult(params *DeleteCPUGeneratorResultParams, opts ...ClientOption) (*DeleteCPUGeneratorResultNoContent, error)
- func (a *Client) GetCPUGenerator(params *GetCPUGeneratorParams, opts ...ClientOption) (*GetCPUGeneratorOK, error)
- func (a *Client) GetCPUGeneratorResult(params *GetCPUGeneratorResultParams, opts ...ClientOption) (*GetCPUGeneratorResultOK, error)
- func (a *Client) GetCPUInfo(params *GetCPUInfoParams, opts ...ClientOption) (*GetCPUInfoOK, error)
- func (a *Client) ListCPUGeneratorResults(params *ListCPUGeneratorResultsParams, opts ...ClientOption) (*ListCPUGeneratorResultsOK, error)
- func (a *Client) ListCPUGenerators(params *ListCPUGeneratorsParams, opts ...ClientOption) (*ListCPUGeneratorsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StartCPUGenerator(params *StartCPUGeneratorParams, opts ...ClientOption) (*StartCPUGeneratorCreated, error)
- func (a *Client) StopCPUGenerator(params *StopCPUGeneratorParams, opts ...ClientOption) (*StopCPUGeneratorNoContent, error)
- type ClientOption
- type ClientService
- type CreateCPUGeneratorCreated
- type CreateCPUGeneratorParams
- func NewCreateCPUGeneratorParams() *CreateCPUGeneratorParams
- func NewCreateCPUGeneratorParamsWithContext(ctx context.Context) *CreateCPUGeneratorParams
- func NewCreateCPUGeneratorParamsWithHTTPClient(client *http.Client) *CreateCPUGeneratorParams
- func NewCreateCPUGeneratorParamsWithTimeout(timeout time.Duration) *CreateCPUGeneratorParams
- func (o *CreateCPUGeneratorParams) SetContext(ctx context.Context)
- func (o *CreateCPUGeneratorParams) SetDefaults()
- func (o *CreateCPUGeneratorParams) SetGenerator(generator *models.CPUGenerator)
- func (o *CreateCPUGeneratorParams) SetHTTPClient(client *http.Client)
- func (o *CreateCPUGeneratorParams) SetTimeout(timeout time.Duration)
- func (o *CreateCPUGeneratorParams) WithContext(ctx context.Context) *CreateCPUGeneratorParams
- func (o *CreateCPUGeneratorParams) WithDefaults() *CreateCPUGeneratorParams
- func (o *CreateCPUGeneratorParams) WithGenerator(generator *models.CPUGenerator) *CreateCPUGeneratorParams
- func (o *CreateCPUGeneratorParams) WithHTTPClient(client *http.Client) *CreateCPUGeneratorParams
- func (o *CreateCPUGeneratorParams) WithTimeout(timeout time.Duration) *CreateCPUGeneratorParams
- func (o *CreateCPUGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCPUGeneratorReader
- type DeleteCPUGeneratorNoContent
- type DeleteCPUGeneratorParams
- func NewDeleteCPUGeneratorParams() *DeleteCPUGeneratorParams
- func NewDeleteCPUGeneratorParamsWithContext(ctx context.Context) *DeleteCPUGeneratorParams
- func NewDeleteCPUGeneratorParamsWithHTTPClient(client *http.Client) *DeleteCPUGeneratorParams
- func NewDeleteCPUGeneratorParamsWithTimeout(timeout time.Duration) *DeleteCPUGeneratorParams
- func (o *DeleteCPUGeneratorParams) SetContext(ctx context.Context)
- func (o *DeleteCPUGeneratorParams) SetDefaults()
- func (o *DeleteCPUGeneratorParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCPUGeneratorParams) SetID(id string)
- func (o *DeleteCPUGeneratorParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCPUGeneratorParams) WithContext(ctx context.Context) *DeleteCPUGeneratorParams
- func (o *DeleteCPUGeneratorParams) WithDefaults() *DeleteCPUGeneratorParams
- func (o *DeleteCPUGeneratorParams) WithHTTPClient(client *http.Client) *DeleteCPUGeneratorParams
- func (o *DeleteCPUGeneratorParams) WithID(id string) *DeleteCPUGeneratorParams
- func (o *DeleteCPUGeneratorParams) WithTimeout(timeout time.Duration) *DeleteCPUGeneratorParams
- func (o *DeleteCPUGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCPUGeneratorReader
- type DeleteCPUGeneratorResultNoContent
- type DeleteCPUGeneratorResultParams
- func NewDeleteCPUGeneratorResultParams() *DeleteCPUGeneratorResultParams
- func NewDeleteCPUGeneratorResultParamsWithContext(ctx context.Context) *DeleteCPUGeneratorResultParams
- func NewDeleteCPUGeneratorResultParamsWithHTTPClient(client *http.Client) *DeleteCPUGeneratorResultParams
- func NewDeleteCPUGeneratorResultParamsWithTimeout(timeout time.Duration) *DeleteCPUGeneratorResultParams
- func (o *DeleteCPUGeneratorResultParams) SetContext(ctx context.Context)
- func (o *DeleteCPUGeneratorResultParams) SetDefaults()
- func (o *DeleteCPUGeneratorResultParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCPUGeneratorResultParams) SetID(id string)
- func (o *DeleteCPUGeneratorResultParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCPUGeneratorResultParams) WithContext(ctx context.Context) *DeleteCPUGeneratorResultParams
- func (o *DeleteCPUGeneratorResultParams) WithDefaults() *DeleteCPUGeneratorResultParams
- func (o *DeleteCPUGeneratorResultParams) WithHTTPClient(client *http.Client) *DeleteCPUGeneratorResultParams
- func (o *DeleteCPUGeneratorResultParams) WithID(id string) *DeleteCPUGeneratorResultParams
- func (o *DeleteCPUGeneratorResultParams) WithTimeout(timeout time.Duration) *DeleteCPUGeneratorResultParams
- func (o *DeleteCPUGeneratorResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCPUGeneratorResultReader
- type GetCPUGeneratorOK
- type GetCPUGeneratorParams
- func NewGetCPUGeneratorParams() *GetCPUGeneratorParams
- func NewGetCPUGeneratorParamsWithContext(ctx context.Context) *GetCPUGeneratorParams
- func NewGetCPUGeneratorParamsWithHTTPClient(client *http.Client) *GetCPUGeneratorParams
- func NewGetCPUGeneratorParamsWithTimeout(timeout time.Duration) *GetCPUGeneratorParams
- func (o *GetCPUGeneratorParams) SetContext(ctx context.Context)
- func (o *GetCPUGeneratorParams) SetDefaults()
- func (o *GetCPUGeneratorParams) SetHTTPClient(client *http.Client)
- func (o *GetCPUGeneratorParams) SetID(id string)
- func (o *GetCPUGeneratorParams) SetTimeout(timeout time.Duration)
- func (o *GetCPUGeneratorParams) WithContext(ctx context.Context) *GetCPUGeneratorParams
- func (o *GetCPUGeneratorParams) WithDefaults() *GetCPUGeneratorParams
- func (o *GetCPUGeneratorParams) WithHTTPClient(client *http.Client) *GetCPUGeneratorParams
- func (o *GetCPUGeneratorParams) WithID(id string) *GetCPUGeneratorParams
- func (o *GetCPUGeneratorParams) WithTimeout(timeout time.Duration) *GetCPUGeneratorParams
- func (o *GetCPUGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCPUGeneratorReader
- type GetCPUGeneratorResultOK
- type GetCPUGeneratorResultParams
- func NewGetCPUGeneratorResultParams() *GetCPUGeneratorResultParams
- func NewGetCPUGeneratorResultParamsWithContext(ctx context.Context) *GetCPUGeneratorResultParams
- func NewGetCPUGeneratorResultParamsWithHTTPClient(client *http.Client) *GetCPUGeneratorResultParams
- func NewGetCPUGeneratorResultParamsWithTimeout(timeout time.Duration) *GetCPUGeneratorResultParams
- func (o *GetCPUGeneratorResultParams) SetContext(ctx context.Context)
- func (o *GetCPUGeneratorResultParams) SetDefaults()
- func (o *GetCPUGeneratorResultParams) SetHTTPClient(client *http.Client)
- func (o *GetCPUGeneratorResultParams) SetID(id string)
- func (o *GetCPUGeneratorResultParams) SetTimeout(timeout time.Duration)
- func (o *GetCPUGeneratorResultParams) WithContext(ctx context.Context) *GetCPUGeneratorResultParams
- func (o *GetCPUGeneratorResultParams) WithDefaults() *GetCPUGeneratorResultParams
- func (o *GetCPUGeneratorResultParams) WithHTTPClient(client *http.Client) *GetCPUGeneratorResultParams
- func (o *GetCPUGeneratorResultParams) WithID(id string) *GetCPUGeneratorResultParams
- func (o *GetCPUGeneratorResultParams) WithTimeout(timeout time.Duration) *GetCPUGeneratorResultParams
- func (o *GetCPUGeneratorResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCPUGeneratorResultReader
- type GetCPUInfoOK
- type GetCPUInfoOKBody
- type GetCPUInfoParams
- func (o *GetCPUInfoParams) SetContext(ctx context.Context)
- func (o *GetCPUInfoParams) SetDefaults()
- func (o *GetCPUInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetCPUInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetCPUInfoParams) WithContext(ctx context.Context) *GetCPUInfoParams
- func (o *GetCPUInfoParams) WithDefaults() *GetCPUInfoParams
- func (o *GetCPUInfoParams) WithHTTPClient(client *http.Client) *GetCPUInfoParams
- func (o *GetCPUInfoParams) WithTimeout(timeout time.Duration) *GetCPUInfoParams
- func (o *GetCPUInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCPUInfoReader
- type ListCPUGeneratorResultsOK
- type ListCPUGeneratorResultsParams
- func NewListCPUGeneratorResultsParams() *ListCPUGeneratorResultsParams
- func NewListCPUGeneratorResultsParamsWithContext(ctx context.Context) *ListCPUGeneratorResultsParams
- func NewListCPUGeneratorResultsParamsWithHTTPClient(client *http.Client) *ListCPUGeneratorResultsParams
- func NewListCPUGeneratorResultsParamsWithTimeout(timeout time.Duration) *ListCPUGeneratorResultsParams
- func (o *ListCPUGeneratorResultsParams) SetContext(ctx context.Context)
- func (o *ListCPUGeneratorResultsParams) SetDefaults()
- func (o *ListCPUGeneratorResultsParams) SetHTTPClient(client *http.Client)
- func (o *ListCPUGeneratorResultsParams) SetTimeout(timeout time.Duration)
- func (o *ListCPUGeneratorResultsParams) WithContext(ctx context.Context) *ListCPUGeneratorResultsParams
- func (o *ListCPUGeneratorResultsParams) WithDefaults() *ListCPUGeneratorResultsParams
- func (o *ListCPUGeneratorResultsParams) WithHTTPClient(client *http.Client) *ListCPUGeneratorResultsParams
- func (o *ListCPUGeneratorResultsParams) WithTimeout(timeout time.Duration) *ListCPUGeneratorResultsParams
- func (o *ListCPUGeneratorResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListCPUGeneratorResultsReader
- type ListCPUGeneratorsOK
- type ListCPUGeneratorsParams
- func NewListCPUGeneratorsParams() *ListCPUGeneratorsParams
- func NewListCPUGeneratorsParamsWithContext(ctx context.Context) *ListCPUGeneratorsParams
- func NewListCPUGeneratorsParamsWithHTTPClient(client *http.Client) *ListCPUGeneratorsParams
- func NewListCPUGeneratorsParamsWithTimeout(timeout time.Duration) *ListCPUGeneratorsParams
- func (o *ListCPUGeneratorsParams) SetContext(ctx context.Context)
- func (o *ListCPUGeneratorsParams) SetDefaults()
- func (o *ListCPUGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *ListCPUGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *ListCPUGeneratorsParams) WithContext(ctx context.Context) *ListCPUGeneratorsParams
- func (o *ListCPUGeneratorsParams) WithDefaults() *ListCPUGeneratorsParams
- func (o *ListCPUGeneratorsParams) WithHTTPClient(client *http.Client) *ListCPUGeneratorsParams
- func (o *ListCPUGeneratorsParams) WithTimeout(timeout time.Duration) *ListCPUGeneratorsParams
- func (o *ListCPUGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListCPUGeneratorsReader
- type StartCPUGeneratorCreated
- type StartCPUGeneratorParams
- func NewStartCPUGeneratorParams() *StartCPUGeneratorParams
- func NewStartCPUGeneratorParamsWithContext(ctx context.Context) *StartCPUGeneratorParams
- func NewStartCPUGeneratorParamsWithHTTPClient(client *http.Client) *StartCPUGeneratorParams
- func NewStartCPUGeneratorParamsWithTimeout(timeout time.Duration) *StartCPUGeneratorParams
- func (o *StartCPUGeneratorParams) SetContext(ctx context.Context)
- func (o *StartCPUGeneratorParams) SetDefaults()
- func (o *StartCPUGeneratorParams) SetDynamicResults(dynamicResults *models.DynamicResultsConfig)
- func (o *StartCPUGeneratorParams) SetHTTPClient(client *http.Client)
- func (o *StartCPUGeneratorParams) SetID(id string)
- func (o *StartCPUGeneratorParams) SetTimeout(timeout time.Duration)
- func (o *StartCPUGeneratorParams) WithContext(ctx context.Context) *StartCPUGeneratorParams
- func (o *StartCPUGeneratorParams) WithDefaults() *StartCPUGeneratorParams
- func (o *StartCPUGeneratorParams) WithDynamicResults(dynamicResults *models.DynamicResultsConfig) *StartCPUGeneratorParams
- func (o *StartCPUGeneratorParams) WithHTTPClient(client *http.Client) *StartCPUGeneratorParams
- func (o *StartCPUGeneratorParams) WithID(id string) *StartCPUGeneratorParams
- func (o *StartCPUGeneratorParams) WithTimeout(timeout time.Duration) *StartCPUGeneratorParams
- func (o *StartCPUGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartCPUGeneratorReader
- type StopCPUGeneratorNoContent
- type StopCPUGeneratorParams
- func NewStopCPUGeneratorParams() *StopCPUGeneratorParams
- func NewStopCPUGeneratorParamsWithContext(ctx context.Context) *StopCPUGeneratorParams
- func NewStopCPUGeneratorParamsWithHTTPClient(client *http.Client) *StopCPUGeneratorParams
- func NewStopCPUGeneratorParamsWithTimeout(timeout time.Duration) *StopCPUGeneratorParams
- func (o *StopCPUGeneratorParams) SetContext(ctx context.Context)
- func (o *StopCPUGeneratorParams) SetDefaults()
- func (o *StopCPUGeneratorParams) SetHTTPClient(client *http.Client)
- func (o *StopCPUGeneratorParams) SetID(id string)
- func (o *StopCPUGeneratorParams) SetTimeout(timeout time.Duration)
- func (o *StopCPUGeneratorParams) WithContext(ctx context.Context) *StopCPUGeneratorParams
- func (o *StopCPUGeneratorParams) WithDefaults() *StopCPUGeneratorParams
- func (o *StopCPUGeneratorParams) WithHTTPClient(client *http.Client) *StopCPUGeneratorParams
- func (o *StopCPUGeneratorParams) WithID(id string) *StopCPUGeneratorParams
- func (o *StopCPUGeneratorParams) WithTimeout(timeout time.Duration) *StopCPUGeneratorParams
- func (o *StopCPUGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopCPUGeneratorReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkCreateCPUGeneratorsBody ¶
type BulkCreateCPUGeneratorsBody struct { // List of CPU generators // Required: true // Min Items: 1 Items []*models.CPUGenerator `json:"items"` }
BulkCreateCPUGeneratorsBody BulkCreateCpuGeneratorsRequest // // Parameters for the bulk create operation swagger:model BulkCreateCPUGeneratorsBody
func (*BulkCreateCPUGeneratorsBody) ContextValidate ¶
func (o *BulkCreateCPUGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this bulk create CPU generators body based on the context it is used
func (*BulkCreateCPUGeneratorsBody) MarshalBinary ¶
func (o *BulkCreateCPUGeneratorsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkCreateCPUGeneratorsBody) UnmarshalBinary ¶
func (o *BulkCreateCPUGeneratorsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkCreateCPUGeneratorsOK ¶
type BulkCreateCPUGeneratorsOK struct {
Payload []*models.CPUGenerator
}
BulkCreateCPUGeneratorsOK describes a response with status code 200, with default header values.
Success
func NewBulkCreateCPUGeneratorsOK ¶
func NewBulkCreateCPUGeneratorsOK() *BulkCreateCPUGeneratorsOK
NewBulkCreateCPUGeneratorsOK creates a BulkCreateCPUGeneratorsOK with default headers values
func (*BulkCreateCPUGeneratorsOK) Error ¶
func (o *BulkCreateCPUGeneratorsOK) Error() string
func (*BulkCreateCPUGeneratorsOK) GetPayload ¶
func (o *BulkCreateCPUGeneratorsOK) GetPayload() []*models.CPUGenerator
type BulkCreateCPUGeneratorsParams ¶
type BulkCreateCPUGeneratorsParams struct { /* Create. Bulk creation */ Create BulkCreateCPUGeneratorsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BulkCreateCPUGeneratorsParams contains all the parameters to send to the API endpoint
for the bulk create Cpu generators operation. Typically these are written to a http.Request.
func NewBulkCreateCPUGeneratorsParams ¶
func NewBulkCreateCPUGeneratorsParams() *BulkCreateCPUGeneratorsParams
NewBulkCreateCPUGeneratorsParams creates a new BulkCreateCPUGeneratorsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBulkCreateCPUGeneratorsParamsWithContext ¶
func NewBulkCreateCPUGeneratorsParamsWithContext(ctx context.Context) *BulkCreateCPUGeneratorsParams
NewBulkCreateCPUGeneratorsParamsWithContext creates a new BulkCreateCPUGeneratorsParams object with the ability to set a context for a request.
func NewBulkCreateCPUGeneratorsParamsWithHTTPClient ¶
func NewBulkCreateCPUGeneratorsParamsWithHTTPClient(client *http.Client) *BulkCreateCPUGeneratorsParams
NewBulkCreateCPUGeneratorsParamsWithHTTPClient creates a new BulkCreateCPUGeneratorsParams object with the ability to set a custom HTTPClient for a request.
func NewBulkCreateCPUGeneratorsParamsWithTimeout ¶
func NewBulkCreateCPUGeneratorsParamsWithTimeout(timeout time.Duration) *BulkCreateCPUGeneratorsParams
NewBulkCreateCPUGeneratorsParamsWithTimeout creates a new BulkCreateCPUGeneratorsParams object with the ability to set a timeout on a request.
func (*BulkCreateCPUGeneratorsParams) SetContext ¶
func (o *BulkCreateCPUGeneratorsParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk create Cpu generators params
func (*BulkCreateCPUGeneratorsParams) SetCreate ¶
func (o *BulkCreateCPUGeneratorsParams) SetCreate(create BulkCreateCPUGeneratorsBody)
SetCreate adds the create to the bulk create Cpu generators params
func (*BulkCreateCPUGeneratorsParams) SetDefaults ¶
func (o *BulkCreateCPUGeneratorsParams) SetDefaults()
SetDefaults hydrates default values in the bulk create Cpu generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkCreateCPUGeneratorsParams) SetHTTPClient ¶
func (o *BulkCreateCPUGeneratorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk create Cpu generators params
func (*BulkCreateCPUGeneratorsParams) SetTimeout ¶
func (o *BulkCreateCPUGeneratorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk create Cpu generators params
func (*BulkCreateCPUGeneratorsParams) WithContext ¶
func (o *BulkCreateCPUGeneratorsParams) WithContext(ctx context.Context) *BulkCreateCPUGeneratorsParams
WithContext adds the context to the bulk create Cpu generators params
func (*BulkCreateCPUGeneratorsParams) WithCreate ¶
func (o *BulkCreateCPUGeneratorsParams) WithCreate(create BulkCreateCPUGeneratorsBody) *BulkCreateCPUGeneratorsParams
WithCreate adds the create to the bulk create Cpu generators params
func (*BulkCreateCPUGeneratorsParams) WithDefaults ¶
func (o *BulkCreateCPUGeneratorsParams) WithDefaults() *BulkCreateCPUGeneratorsParams
WithDefaults hydrates default values in the bulk create Cpu generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkCreateCPUGeneratorsParams) WithHTTPClient ¶
func (o *BulkCreateCPUGeneratorsParams) WithHTTPClient(client *http.Client) *BulkCreateCPUGeneratorsParams
WithHTTPClient adds the HTTPClient to the bulk create Cpu generators params
func (*BulkCreateCPUGeneratorsParams) WithTimeout ¶
func (o *BulkCreateCPUGeneratorsParams) WithTimeout(timeout time.Duration) *BulkCreateCPUGeneratorsParams
WithTimeout adds the timeout to the bulk create Cpu generators params
func (*BulkCreateCPUGeneratorsParams) WriteToRequest ¶
func (o *BulkCreateCPUGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkCreateCPUGeneratorsReader ¶
type BulkCreateCPUGeneratorsReader struct {
// contains filtered or unexported fields
}
BulkCreateCPUGeneratorsReader is a Reader for the BulkCreateCPUGenerators structure.
func (*BulkCreateCPUGeneratorsReader) ReadResponse ¶
func (o *BulkCreateCPUGeneratorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BulkDeleteCPUGeneratorsBody ¶
type BulkDeleteCPUGeneratorsBody struct { // List of CPU generator ids // Required: true // Min Items: 1 Ids []string `json:"ids"` }
BulkDeleteCPUGeneratorsBody BulkDeleteCpuGeneratorsRequest // // Parameters for the bulk delete operation swagger:model BulkDeleteCPUGeneratorsBody
func (*BulkDeleteCPUGeneratorsBody) ContextValidate ¶
func (o *BulkDeleteCPUGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this bulk delete CPU generators body based on context it is used
func (*BulkDeleteCPUGeneratorsBody) MarshalBinary ¶
func (o *BulkDeleteCPUGeneratorsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkDeleteCPUGeneratorsBody) UnmarshalBinary ¶
func (o *BulkDeleteCPUGeneratorsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkDeleteCPUGeneratorsNoContent ¶
type BulkDeleteCPUGeneratorsNoContent struct { }
BulkDeleteCPUGeneratorsNoContent describes a response with status code 204, with default header values.
No Content
func NewBulkDeleteCPUGeneratorsNoContent ¶
func NewBulkDeleteCPUGeneratorsNoContent() *BulkDeleteCPUGeneratorsNoContent
NewBulkDeleteCPUGeneratorsNoContent creates a BulkDeleteCPUGeneratorsNoContent with default headers values
func (*BulkDeleteCPUGeneratorsNoContent) Error ¶
func (o *BulkDeleteCPUGeneratorsNoContent) Error() string
type BulkDeleteCPUGeneratorsParams ¶
type BulkDeleteCPUGeneratorsParams struct { /* Delete. Bulk delete */ Delete BulkDeleteCPUGeneratorsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BulkDeleteCPUGeneratorsParams contains all the parameters to send to the API endpoint
for the bulk delete Cpu generators operation. Typically these are written to a http.Request.
func NewBulkDeleteCPUGeneratorsParams ¶
func NewBulkDeleteCPUGeneratorsParams() *BulkDeleteCPUGeneratorsParams
NewBulkDeleteCPUGeneratorsParams creates a new BulkDeleteCPUGeneratorsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBulkDeleteCPUGeneratorsParamsWithContext ¶
func NewBulkDeleteCPUGeneratorsParamsWithContext(ctx context.Context) *BulkDeleteCPUGeneratorsParams
NewBulkDeleteCPUGeneratorsParamsWithContext creates a new BulkDeleteCPUGeneratorsParams object with the ability to set a context for a request.
func NewBulkDeleteCPUGeneratorsParamsWithHTTPClient ¶
func NewBulkDeleteCPUGeneratorsParamsWithHTTPClient(client *http.Client) *BulkDeleteCPUGeneratorsParams
NewBulkDeleteCPUGeneratorsParamsWithHTTPClient creates a new BulkDeleteCPUGeneratorsParams object with the ability to set a custom HTTPClient for a request.
func NewBulkDeleteCPUGeneratorsParamsWithTimeout ¶
func NewBulkDeleteCPUGeneratorsParamsWithTimeout(timeout time.Duration) *BulkDeleteCPUGeneratorsParams
NewBulkDeleteCPUGeneratorsParamsWithTimeout creates a new BulkDeleteCPUGeneratorsParams object with the ability to set a timeout on a request.
func (*BulkDeleteCPUGeneratorsParams) SetContext ¶
func (o *BulkDeleteCPUGeneratorsParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk delete Cpu generators params
func (*BulkDeleteCPUGeneratorsParams) SetDefaults ¶
func (o *BulkDeleteCPUGeneratorsParams) SetDefaults()
SetDefaults hydrates default values in the bulk delete Cpu generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkDeleteCPUGeneratorsParams) SetDelete ¶
func (o *BulkDeleteCPUGeneratorsParams) SetDelete(delete BulkDeleteCPUGeneratorsBody)
SetDelete adds the delete to the bulk delete Cpu generators params
func (*BulkDeleteCPUGeneratorsParams) SetHTTPClient ¶
func (o *BulkDeleteCPUGeneratorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk delete Cpu generators params
func (*BulkDeleteCPUGeneratorsParams) SetTimeout ¶
func (o *BulkDeleteCPUGeneratorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk delete Cpu generators params
func (*BulkDeleteCPUGeneratorsParams) WithContext ¶
func (o *BulkDeleteCPUGeneratorsParams) WithContext(ctx context.Context) *BulkDeleteCPUGeneratorsParams
WithContext adds the context to the bulk delete Cpu generators params
func (*BulkDeleteCPUGeneratorsParams) WithDefaults ¶
func (o *BulkDeleteCPUGeneratorsParams) WithDefaults() *BulkDeleteCPUGeneratorsParams
WithDefaults hydrates default values in the bulk delete Cpu generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkDeleteCPUGeneratorsParams) WithDelete ¶
func (o *BulkDeleteCPUGeneratorsParams) WithDelete(delete BulkDeleteCPUGeneratorsBody) *BulkDeleteCPUGeneratorsParams
WithDelete adds the delete to the bulk delete Cpu generators params
func (*BulkDeleteCPUGeneratorsParams) WithHTTPClient ¶
func (o *BulkDeleteCPUGeneratorsParams) WithHTTPClient(client *http.Client) *BulkDeleteCPUGeneratorsParams
WithHTTPClient adds the HTTPClient to the bulk delete Cpu generators params
func (*BulkDeleteCPUGeneratorsParams) WithTimeout ¶
func (o *BulkDeleteCPUGeneratorsParams) WithTimeout(timeout time.Duration) *BulkDeleteCPUGeneratorsParams
WithTimeout adds the timeout to the bulk delete Cpu generators params
func (*BulkDeleteCPUGeneratorsParams) WriteToRequest ¶
func (o *BulkDeleteCPUGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkDeleteCPUGeneratorsReader ¶
type BulkDeleteCPUGeneratorsReader struct {
// contains filtered or unexported fields
}
BulkDeleteCPUGeneratorsReader is a Reader for the BulkDeleteCPUGenerators structure.
func (*BulkDeleteCPUGeneratorsReader) ReadResponse ¶
func (o *BulkDeleteCPUGeneratorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BulkStartCPUGeneratorsOK ¶
type BulkStartCPUGeneratorsOK struct {
Payload []*models.CPUGeneratorResult
}
BulkStartCPUGeneratorsOK describes a response with status code 200, with default header values.
Success
func NewBulkStartCPUGeneratorsOK ¶
func NewBulkStartCPUGeneratorsOK() *BulkStartCPUGeneratorsOK
NewBulkStartCPUGeneratorsOK creates a BulkStartCPUGeneratorsOK with default headers values
func (*BulkStartCPUGeneratorsOK) Error ¶
func (o *BulkStartCPUGeneratorsOK) Error() string
func (*BulkStartCPUGeneratorsOK) GetPayload ¶
func (o *BulkStartCPUGeneratorsOK) GetPayload() []*models.CPUGeneratorResult
type BulkStartCPUGeneratorsParams ¶
type BulkStartCPUGeneratorsParams struct { /* BulkStart. Bulk start */ BulkStart *models.BulkStartCPUGeneratorsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BulkStartCPUGeneratorsParams contains all the parameters to send to the API endpoint
for the bulk start Cpu generators operation. Typically these are written to a http.Request.
func NewBulkStartCPUGeneratorsParams ¶
func NewBulkStartCPUGeneratorsParams() *BulkStartCPUGeneratorsParams
NewBulkStartCPUGeneratorsParams creates a new BulkStartCPUGeneratorsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBulkStartCPUGeneratorsParamsWithContext ¶
func NewBulkStartCPUGeneratorsParamsWithContext(ctx context.Context) *BulkStartCPUGeneratorsParams
NewBulkStartCPUGeneratorsParamsWithContext creates a new BulkStartCPUGeneratorsParams object with the ability to set a context for a request.
func NewBulkStartCPUGeneratorsParamsWithHTTPClient ¶
func NewBulkStartCPUGeneratorsParamsWithHTTPClient(client *http.Client) *BulkStartCPUGeneratorsParams
NewBulkStartCPUGeneratorsParamsWithHTTPClient creates a new BulkStartCPUGeneratorsParams object with the ability to set a custom HTTPClient for a request.
func NewBulkStartCPUGeneratorsParamsWithTimeout ¶
func NewBulkStartCPUGeneratorsParamsWithTimeout(timeout time.Duration) *BulkStartCPUGeneratorsParams
NewBulkStartCPUGeneratorsParamsWithTimeout creates a new BulkStartCPUGeneratorsParams object with the ability to set a timeout on a request.
func (*BulkStartCPUGeneratorsParams) SetBulkStart ¶
func (o *BulkStartCPUGeneratorsParams) SetBulkStart(bulkStart *models.BulkStartCPUGeneratorsRequest)
SetBulkStart adds the bulkStart to the bulk start Cpu generators params
func (*BulkStartCPUGeneratorsParams) SetContext ¶
func (o *BulkStartCPUGeneratorsParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk start Cpu generators params
func (*BulkStartCPUGeneratorsParams) SetDefaults ¶
func (o *BulkStartCPUGeneratorsParams) SetDefaults()
SetDefaults hydrates default values in the bulk start Cpu generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkStartCPUGeneratorsParams) SetHTTPClient ¶
func (o *BulkStartCPUGeneratorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk start Cpu generators params
func (*BulkStartCPUGeneratorsParams) SetTimeout ¶
func (o *BulkStartCPUGeneratorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk start Cpu generators params
func (*BulkStartCPUGeneratorsParams) WithBulkStart ¶
func (o *BulkStartCPUGeneratorsParams) WithBulkStart(bulkStart *models.BulkStartCPUGeneratorsRequest) *BulkStartCPUGeneratorsParams
WithBulkStart adds the bulkStart to the bulk start Cpu generators params
func (*BulkStartCPUGeneratorsParams) WithContext ¶
func (o *BulkStartCPUGeneratorsParams) WithContext(ctx context.Context) *BulkStartCPUGeneratorsParams
WithContext adds the context to the bulk start Cpu generators params
func (*BulkStartCPUGeneratorsParams) WithDefaults ¶
func (o *BulkStartCPUGeneratorsParams) WithDefaults() *BulkStartCPUGeneratorsParams
WithDefaults hydrates default values in the bulk start Cpu generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkStartCPUGeneratorsParams) WithHTTPClient ¶
func (o *BulkStartCPUGeneratorsParams) WithHTTPClient(client *http.Client) *BulkStartCPUGeneratorsParams
WithHTTPClient adds the HTTPClient to the bulk start Cpu generators params
func (*BulkStartCPUGeneratorsParams) WithTimeout ¶
func (o *BulkStartCPUGeneratorsParams) WithTimeout(timeout time.Duration) *BulkStartCPUGeneratorsParams
WithTimeout adds the timeout to the bulk start Cpu generators params
func (*BulkStartCPUGeneratorsParams) WriteToRequest ¶
func (o *BulkStartCPUGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkStartCPUGeneratorsReader ¶
type BulkStartCPUGeneratorsReader struct {
// contains filtered or unexported fields
}
BulkStartCPUGeneratorsReader is a Reader for the BulkStartCPUGenerators structure.
func (*BulkStartCPUGeneratorsReader) ReadResponse ¶
func (o *BulkStartCPUGeneratorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BulkStopCPUGeneratorsBody ¶
type BulkStopCPUGeneratorsBody struct { // List of CPU generator identifiers // Required: true // Min Items: 1 Ids []string `json:"ids"` }
BulkStopCPUGeneratorsBody BulkStopCpuGeneratorsRequest // // Parameters for the bulk stop operation swagger:model BulkStopCPUGeneratorsBody
func (*BulkStopCPUGeneratorsBody) ContextValidate ¶
func (o *BulkStopCPUGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this bulk stop CPU generators body based on context it is used
func (*BulkStopCPUGeneratorsBody) MarshalBinary ¶
func (o *BulkStopCPUGeneratorsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkStopCPUGeneratorsBody) UnmarshalBinary ¶
func (o *BulkStopCPUGeneratorsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkStopCPUGeneratorsNoContent ¶
type BulkStopCPUGeneratorsNoContent struct { }
BulkStopCPUGeneratorsNoContent describes a response with status code 204, with default header values.
No Content
func NewBulkStopCPUGeneratorsNoContent ¶
func NewBulkStopCPUGeneratorsNoContent() *BulkStopCPUGeneratorsNoContent
NewBulkStopCPUGeneratorsNoContent creates a BulkStopCPUGeneratorsNoContent with default headers values
func (*BulkStopCPUGeneratorsNoContent) Error ¶
func (o *BulkStopCPUGeneratorsNoContent) Error() string
type BulkStopCPUGeneratorsParams ¶
type BulkStopCPUGeneratorsParams struct { /* BulkStop. Bulk stop */ BulkStop BulkStopCPUGeneratorsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BulkStopCPUGeneratorsParams contains all the parameters to send to the API endpoint
for the bulk stop Cpu generators operation. Typically these are written to a http.Request.
func NewBulkStopCPUGeneratorsParams ¶
func NewBulkStopCPUGeneratorsParams() *BulkStopCPUGeneratorsParams
NewBulkStopCPUGeneratorsParams creates a new BulkStopCPUGeneratorsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBulkStopCPUGeneratorsParamsWithContext ¶
func NewBulkStopCPUGeneratorsParamsWithContext(ctx context.Context) *BulkStopCPUGeneratorsParams
NewBulkStopCPUGeneratorsParamsWithContext creates a new BulkStopCPUGeneratorsParams object with the ability to set a context for a request.
func NewBulkStopCPUGeneratorsParamsWithHTTPClient ¶
func NewBulkStopCPUGeneratorsParamsWithHTTPClient(client *http.Client) *BulkStopCPUGeneratorsParams
NewBulkStopCPUGeneratorsParamsWithHTTPClient creates a new BulkStopCPUGeneratorsParams object with the ability to set a custom HTTPClient for a request.
func NewBulkStopCPUGeneratorsParamsWithTimeout ¶
func NewBulkStopCPUGeneratorsParamsWithTimeout(timeout time.Duration) *BulkStopCPUGeneratorsParams
NewBulkStopCPUGeneratorsParamsWithTimeout creates a new BulkStopCPUGeneratorsParams object with the ability to set a timeout on a request.
func (*BulkStopCPUGeneratorsParams) SetBulkStop ¶
func (o *BulkStopCPUGeneratorsParams) SetBulkStop(bulkStop BulkStopCPUGeneratorsBody)
SetBulkStop adds the bulkStop to the bulk stop Cpu generators params
func (*BulkStopCPUGeneratorsParams) SetContext ¶
func (o *BulkStopCPUGeneratorsParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk stop Cpu generators params
func (*BulkStopCPUGeneratorsParams) SetDefaults ¶
func (o *BulkStopCPUGeneratorsParams) SetDefaults()
SetDefaults hydrates default values in the bulk stop Cpu generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkStopCPUGeneratorsParams) SetHTTPClient ¶
func (o *BulkStopCPUGeneratorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk stop Cpu generators params
func (*BulkStopCPUGeneratorsParams) SetTimeout ¶
func (o *BulkStopCPUGeneratorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk stop Cpu generators params
func (*BulkStopCPUGeneratorsParams) WithBulkStop ¶
func (o *BulkStopCPUGeneratorsParams) WithBulkStop(bulkStop BulkStopCPUGeneratorsBody) *BulkStopCPUGeneratorsParams
WithBulkStop adds the bulkStop to the bulk stop Cpu generators params
func (*BulkStopCPUGeneratorsParams) WithContext ¶
func (o *BulkStopCPUGeneratorsParams) WithContext(ctx context.Context) *BulkStopCPUGeneratorsParams
WithContext adds the context to the bulk stop Cpu generators params
func (*BulkStopCPUGeneratorsParams) WithDefaults ¶
func (o *BulkStopCPUGeneratorsParams) WithDefaults() *BulkStopCPUGeneratorsParams
WithDefaults hydrates default values in the bulk stop Cpu generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkStopCPUGeneratorsParams) WithHTTPClient ¶
func (o *BulkStopCPUGeneratorsParams) WithHTTPClient(client *http.Client) *BulkStopCPUGeneratorsParams
WithHTTPClient adds the HTTPClient to the bulk stop Cpu generators params
func (*BulkStopCPUGeneratorsParams) WithTimeout ¶
func (o *BulkStopCPUGeneratorsParams) WithTimeout(timeout time.Duration) *BulkStopCPUGeneratorsParams
WithTimeout adds the timeout to the bulk stop Cpu generators params
func (*BulkStopCPUGeneratorsParams) WriteToRequest ¶
func (o *BulkStopCPUGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkStopCPUGeneratorsReader ¶
type BulkStopCPUGeneratorsReader struct {
// contains filtered or unexported fields
}
BulkStopCPUGeneratorsReader is a Reader for the BulkStopCPUGenerators structure.
func (*BulkStopCPUGeneratorsReader) ReadResponse ¶
func (o *BulkStopCPUGeneratorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for cpu generator API
func (*Client) BulkCreateCPUGenerators ¶
func (a *Client) BulkCreateCPUGenerators(params *BulkCreateCPUGeneratorsParams, opts ...ClientOption) (*BulkCreateCPUGeneratorsOK, error)
BulkCreateCPUGenerators bulks create CPU generators Create multiple CPU generators. Requests are processed in an
all-or-nothing manner, i.e. a single CPU generator creation failure causes all creations for this request to fail.
func (*Client) BulkDeleteCPUGenerators ¶
func (a *Client) BulkDeleteCPUGenerators(params *BulkDeleteCPUGeneratorsParams, opts ...ClientOption) (*BulkDeleteCPUGeneratorsNoContent, error)
BulkDeleteCPUGenerators bulks delete CPU generators Delete multiple CPU generators in a best-effort manner. Non-existant CPU generators ids
do not cause errors. Idempotent.
func (*Client) BulkStartCPUGenerators ¶
func (a *Client) BulkStartCPUGenerators(params *BulkStartCPUGeneratorsParams, opts ...ClientOption) (*BulkStartCPUGeneratorsOK, error)
BulkStartCPUGenerators tells multiple CPU generators to start
Start multiple CPU generators.
func (*Client) BulkStopCPUGenerators ¶
func (a *Client) BulkStopCPUGenerators(params *BulkStopCPUGeneratorsParams, opts ...ClientOption) (*BulkStopCPUGeneratorsNoContent, error)
BulkStopCPUGenerators bulks stop CPU generators
Best-effort stop multiple CPU generators. Non-existent CPU generator ids do not cause errors. Idempotent.
func (*Client) CreateCPUGenerator ¶
func (a *Client) CreateCPUGenerator(params *CreateCPUGeneratorParams, opts ...ClientOption) (*CreateCPUGeneratorCreated, error)
CreateCPUGenerator creates a CPU generator
Create a new CPU generator
func (*Client) DeleteCPUGenerator ¶
func (a *Client) DeleteCPUGenerator(params *DeleteCPUGeneratorParams, opts ...ClientOption) (*DeleteCPUGeneratorNoContent, error)
DeleteCPUGenerator deletes a CPU generator
Deletes an existing CPU generator. Idempotent.
func (*Client) DeleteCPUGeneratorResult ¶
func (a *Client) DeleteCPUGeneratorResult(params *DeleteCPUGeneratorResultParams, opts ...ClientOption) (*DeleteCPUGeneratorResultNoContent, error)
DeleteCPUGeneratorResult deletes results from a CPU generator idempotent
func (*Client) GetCPUGenerator ¶
func (a *Client) GetCPUGenerator(params *GetCPUGeneratorParams, opts ...ClientOption) (*GetCPUGeneratorOK, error)
GetCPUGenerator gets a CPU generator
Returns a CPU generator, by id.
func (*Client) GetCPUGeneratorResult ¶
func (a *Client) GetCPUGeneratorResult(params *GetCPUGeneratorResultParams, opts ...ClientOption) (*GetCPUGeneratorResultOK, error)
GetCPUGeneratorResult gets a result from a CPU generator
Returns results from a CPU generator by result id.
func (*Client) GetCPUInfo ¶
func (a *Client) GetCPUInfo(params *GetCPUInfoParams, opts ...ClientOption) (*GetCPUInfoOK, error)
GetCPUInfo gets a CPU info
The `cpu-info` endpoint returns CPU system info
func (*Client) ListCPUGeneratorResults ¶
func (a *Client) ListCPUGeneratorResults(params *ListCPUGeneratorResultsParams, opts ...ClientOption) (*ListCPUGeneratorResultsOK, error)
ListCPUGeneratorResults lists CPU generator results
The `cpu-generator-results` endpoint returns all of the results produced by running CPU generators.
func (*Client) ListCPUGenerators ¶
func (a *Client) ListCPUGenerators(params *ListCPUGeneratorsParams, opts ...ClientOption) (*ListCPUGeneratorsOK, error)
ListCPUGenerators lists CPU generators
The `cpu-generators` endpoint returns all of the configured CPU generators.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StartCPUGenerator ¶
func (a *Client) StartCPUGenerator(params *StartCPUGeneratorParams, opts ...ClientOption) (*StartCPUGeneratorCreated, error)
StartCPUGenerator starts a CPU generator
Start an existing CPU generator.
func (*Client) StopCPUGenerator ¶
func (a *Client) StopCPUGenerator(params *StopCPUGeneratorParams, opts ...ClientOption) (*StopCPUGeneratorNoContent, error)
StopCPUGenerator stops a CPU generator
Stop a running CPU generator. Idempotent.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { BulkCreateCPUGenerators(params *BulkCreateCPUGeneratorsParams, opts ...ClientOption) (*BulkCreateCPUGeneratorsOK, error) BulkDeleteCPUGenerators(params *BulkDeleteCPUGeneratorsParams, opts ...ClientOption) (*BulkDeleteCPUGeneratorsNoContent, error) BulkStartCPUGenerators(params *BulkStartCPUGeneratorsParams, opts ...ClientOption) (*BulkStartCPUGeneratorsOK, error) BulkStopCPUGenerators(params *BulkStopCPUGeneratorsParams, opts ...ClientOption) (*BulkStopCPUGeneratorsNoContent, error) CreateCPUGenerator(params *CreateCPUGeneratorParams, opts ...ClientOption) (*CreateCPUGeneratorCreated, error) DeleteCPUGenerator(params *DeleteCPUGeneratorParams, opts ...ClientOption) (*DeleteCPUGeneratorNoContent, error) DeleteCPUGeneratorResult(params *DeleteCPUGeneratorResultParams, opts ...ClientOption) (*DeleteCPUGeneratorResultNoContent, error) GetCPUGenerator(params *GetCPUGeneratorParams, opts ...ClientOption) (*GetCPUGeneratorOK, error) GetCPUGeneratorResult(params *GetCPUGeneratorResultParams, opts ...ClientOption) (*GetCPUGeneratorResultOK, error) GetCPUInfo(params *GetCPUInfoParams, opts ...ClientOption) (*GetCPUInfoOK, error) ListCPUGeneratorResults(params *ListCPUGeneratorResultsParams, opts ...ClientOption) (*ListCPUGeneratorResultsOK, error) ListCPUGenerators(params *ListCPUGeneratorsParams, opts ...ClientOption) (*ListCPUGeneratorsOK, error) StartCPUGenerator(params *StartCPUGeneratorParams, opts ...ClientOption) (*StartCPUGeneratorCreated, error) StopCPUGenerator(params *StopCPUGeneratorParams, opts ...ClientOption) (*StopCPUGeneratorNoContent, 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 cpu generator API client.
type CreateCPUGeneratorCreated ¶
type CreateCPUGeneratorCreated struct { /* URI of created CPU generator */ Location string Payload *models.CPUGenerator }
CreateCPUGeneratorCreated describes a response with status code 201, with default header values.
Created
func NewCreateCPUGeneratorCreated ¶
func NewCreateCPUGeneratorCreated() *CreateCPUGeneratorCreated
NewCreateCPUGeneratorCreated creates a CreateCPUGeneratorCreated with default headers values
func (*CreateCPUGeneratorCreated) Error ¶
func (o *CreateCPUGeneratorCreated) Error() string
func (*CreateCPUGeneratorCreated) GetPayload ¶
func (o *CreateCPUGeneratorCreated) GetPayload() *models.CPUGenerator
type CreateCPUGeneratorParams ¶
type CreateCPUGeneratorParams struct { /* Generator. New CPU generator */ Generator *models.CPUGenerator Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateCPUGeneratorParams contains all the parameters to send to the API endpoint
for the create Cpu generator operation. Typically these are written to a http.Request.
func NewCreateCPUGeneratorParams ¶
func NewCreateCPUGeneratorParams() *CreateCPUGeneratorParams
NewCreateCPUGeneratorParams creates a new CreateCPUGeneratorParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateCPUGeneratorParamsWithContext ¶
func NewCreateCPUGeneratorParamsWithContext(ctx context.Context) *CreateCPUGeneratorParams
NewCreateCPUGeneratorParamsWithContext creates a new CreateCPUGeneratorParams object with the ability to set a context for a request.
func NewCreateCPUGeneratorParamsWithHTTPClient ¶
func NewCreateCPUGeneratorParamsWithHTTPClient(client *http.Client) *CreateCPUGeneratorParams
NewCreateCPUGeneratorParamsWithHTTPClient creates a new CreateCPUGeneratorParams object with the ability to set a custom HTTPClient for a request.
func NewCreateCPUGeneratorParamsWithTimeout ¶
func NewCreateCPUGeneratorParamsWithTimeout(timeout time.Duration) *CreateCPUGeneratorParams
NewCreateCPUGeneratorParamsWithTimeout creates a new CreateCPUGeneratorParams object with the ability to set a timeout on a request.
func (*CreateCPUGeneratorParams) SetContext ¶
func (o *CreateCPUGeneratorParams) SetContext(ctx context.Context)
SetContext adds the context to the create Cpu generator params
func (*CreateCPUGeneratorParams) SetDefaults ¶
func (o *CreateCPUGeneratorParams) SetDefaults()
SetDefaults hydrates default values in the create Cpu generator params (not the query body).
All values with no default are reset to their zero value.
func (*CreateCPUGeneratorParams) SetGenerator ¶
func (o *CreateCPUGeneratorParams) SetGenerator(generator *models.CPUGenerator)
SetGenerator adds the generator to the create Cpu generator params
func (*CreateCPUGeneratorParams) SetHTTPClient ¶
func (o *CreateCPUGeneratorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create Cpu generator params
func (*CreateCPUGeneratorParams) SetTimeout ¶
func (o *CreateCPUGeneratorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create Cpu generator params
func (*CreateCPUGeneratorParams) WithContext ¶
func (o *CreateCPUGeneratorParams) WithContext(ctx context.Context) *CreateCPUGeneratorParams
WithContext adds the context to the create Cpu generator params
func (*CreateCPUGeneratorParams) WithDefaults ¶
func (o *CreateCPUGeneratorParams) WithDefaults() *CreateCPUGeneratorParams
WithDefaults hydrates default values in the create Cpu generator params (not the query body).
All values with no default are reset to their zero value.
func (*CreateCPUGeneratorParams) WithGenerator ¶
func (o *CreateCPUGeneratorParams) WithGenerator(generator *models.CPUGenerator) *CreateCPUGeneratorParams
WithGenerator adds the generator to the create Cpu generator params
func (*CreateCPUGeneratorParams) WithHTTPClient ¶
func (o *CreateCPUGeneratorParams) WithHTTPClient(client *http.Client) *CreateCPUGeneratorParams
WithHTTPClient adds the HTTPClient to the create Cpu generator params
func (*CreateCPUGeneratorParams) WithTimeout ¶
func (o *CreateCPUGeneratorParams) WithTimeout(timeout time.Duration) *CreateCPUGeneratorParams
WithTimeout adds the timeout to the create Cpu generator params
func (*CreateCPUGeneratorParams) WriteToRequest ¶
func (o *CreateCPUGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateCPUGeneratorReader ¶
type CreateCPUGeneratorReader struct {
// contains filtered or unexported fields
}
CreateCPUGeneratorReader is a Reader for the CreateCPUGenerator structure.
func (*CreateCPUGeneratorReader) ReadResponse ¶
func (o *CreateCPUGeneratorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteCPUGeneratorNoContent ¶
type DeleteCPUGeneratorNoContent struct { }
DeleteCPUGeneratorNoContent describes a response with status code 204, with default header values.
No Content
func NewDeleteCPUGeneratorNoContent ¶
func NewDeleteCPUGeneratorNoContent() *DeleteCPUGeneratorNoContent
NewDeleteCPUGeneratorNoContent creates a DeleteCPUGeneratorNoContent with default headers values
func (*DeleteCPUGeneratorNoContent) Error ¶
func (o *DeleteCPUGeneratorNoContent) Error() string
type DeleteCPUGeneratorParams ¶
type DeleteCPUGeneratorParams struct { /* ID. Unique resource identifier Format: string */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCPUGeneratorParams contains all the parameters to send to the API endpoint
for the delete Cpu generator operation. Typically these are written to a http.Request.
func NewDeleteCPUGeneratorParams ¶
func NewDeleteCPUGeneratorParams() *DeleteCPUGeneratorParams
NewDeleteCPUGeneratorParams creates a new DeleteCPUGeneratorParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteCPUGeneratorParamsWithContext ¶
func NewDeleteCPUGeneratorParamsWithContext(ctx context.Context) *DeleteCPUGeneratorParams
NewDeleteCPUGeneratorParamsWithContext creates a new DeleteCPUGeneratorParams object with the ability to set a context for a request.
func NewDeleteCPUGeneratorParamsWithHTTPClient ¶
func NewDeleteCPUGeneratorParamsWithHTTPClient(client *http.Client) *DeleteCPUGeneratorParams
NewDeleteCPUGeneratorParamsWithHTTPClient creates a new DeleteCPUGeneratorParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteCPUGeneratorParamsWithTimeout ¶
func NewDeleteCPUGeneratorParamsWithTimeout(timeout time.Duration) *DeleteCPUGeneratorParams
NewDeleteCPUGeneratorParamsWithTimeout creates a new DeleteCPUGeneratorParams object with the ability to set a timeout on a request.
func (*DeleteCPUGeneratorParams) SetContext ¶
func (o *DeleteCPUGeneratorParams) SetContext(ctx context.Context)
SetContext adds the context to the delete Cpu generator params
func (*DeleteCPUGeneratorParams) SetDefaults ¶
func (o *DeleteCPUGeneratorParams) SetDefaults()
SetDefaults hydrates default values in the delete Cpu generator params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCPUGeneratorParams) SetHTTPClient ¶
func (o *DeleteCPUGeneratorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete Cpu generator params
func (*DeleteCPUGeneratorParams) SetID ¶
func (o *DeleteCPUGeneratorParams) SetID(id string)
SetID adds the id to the delete Cpu generator params
func (*DeleteCPUGeneratorParams) SetTimeout ¶
func (o *DeleteCPUGeneratorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete Cpu generator params
func (*DeleteCPUGeneratorParams) WithContext ¶
func (o *DeleteCPUGeneratorParams) WithContext(ctx context.Context) *DeleteCPUGeneratorParams
WithContext adds the context to the delete Cpu generator params
func (*DeleteCPUGeneratorParams) WithDefaults ¶
func (o *DeleteCPUGeneratorParams) WithDefaults() *DeleteCPUGeneratorParams
WithDefaults hydrates default values in the delete Cpu generator params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCPUGeneratorParams) WithHTTPClient ¶
func (o *DeleteCPUGeneratorParams) WithHTTPClient(client *http.Client) *DeleteCPUGeneratorParams
WithHTTPClient adds the HTTPClient to the delete Cpu generator params
func (*DeleteCPUGeneratorParams) WithID ¶
func (o *DeleteCPUGeneratorParams) WithID(id string) *DeleteCPUGeneratorParams
WithID adds the id to the delete Cpu generator params
func (*DeleteCPUGeneratorParams) WithTimeout ¶
func (o *DeleteCPUGeneratorParams) WithTimeout(timeout time.Duration) *DeleteCPUGeneratorParams
WithTimeout adds the timeout to the delete Cpu generator params
func (*DeleteCPUGeneratorParams) WriteToRequest ¶
func (o *DeleteCPUGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCPUGeneratorReader ¶
type DeleteCPUGeneratorReader struct {
// contains filtered or unexported fields
}
DeleteCPUGeneratorReader is a Reader for the DeleteCPUGenerator structure.
func (*DeleteCPUGeneratorReader) ReadResponse ¶
func (o *DeleteCPUGeneratorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteCPUGeneratorResultNoContent ¶
type DeleteCPUGeneratorResultNoContent struct { }
DeleteCPUGeneratorResultNoContent describes a response with status code 204, with default header values.
No Content
func NewDeleteCPUGeneratorResultNoContent ¶
func NewDeleteCPUGeneratorResultNoContent() *DeleteCPUGeneratorResultNoContent
NewDeleteCPUGeneratorResultNoContent creates a DeleteCPUGeneratorResultNoContent with default headers values
func (*DeleteCPUGeneratorResultNoContent) Error ¶
func (o *DeleteCPUGeneratorResultNoContent) Error() string
type DeleteCPUGeneratorResultParams ¶
type DeleteCPUGeneratorResultParams struct { /* ID. Unique resource identifier Format: string */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCPUGeneratorResultParams contains all the parameters to send to the API endpoint
for the delete Cpu generator result operation. Typically these are written to a http.Request.
func NewDeleteCPUGeneratorResultParams ¶
func NewDeleteCPUGeneratorResultParams() *DeleteCPUGeneratorResultParams
NewDeleteCPUGeneratorResultParams creates a new DeleteCPUGeneratorResultParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteCPUGeneratorResultParamsWithContext ¶
func NewDeleteCPUGeneratorResultParamsWithContext(ctx context.Context) *DeleteCPUGeneratorResultParams
NewDeleteCPUGeneratorResultParamsWithContext creates a new DeleteCPUGeneratorResultParams object with the ability to set a context for a request.
func NewDeleteCPUGeneratorResultParamsWithHTTPClient ¶
func NewDeleteCPUGeneratorResultParamsWithHTTPClient(client *http.Client) *DeleteCPUGeneratorResultParams
NewDeleteCPUGeneratorResultParamsWithHTTPClient creates a new DeleteCPUGeneratorResultParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteCPUGeneratorResultParamsWithTimeout ¶
func NewDeleteCPUGeneratorResultParamsWithTimeout(timeout time.Duration) *DeleteCPUGeneratorResultParams
NewDeleteCPUGeneratorResultParamsWithTimeout creates a new DeleteCPUGeneratorResultParams object with the ability to set a timeout on a request.
func (*DeleteCPUGeneratorResultParams) SetContext ¶
func (o *DeleteCPUGeneratorResultParams) SetContext(ctx context.Context)
SetContext adds the context to the delete Cpu generator result params
func (*DeleteCPUGeneratorResultParams) SetDefaults ¶
func (o *DeleteCPUGeneratorResultParams) SetDefaults()
SetDefaults hydrates default values in the delete Cpu generator result params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCPUGeneratorResultParams) SetHTTPClient ¶
func (o *DeleteCPUGeneratorResultParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete Cpu generator result params
func (*DeleteCPUGeneratorResultParams) SetID ¶
func (o *DeleteCPUGeneratorResultParams) SetID(id string)
SetID adds the id to the delete Cpu generator result params
func (*DeleteCPUGeneratorResultParams) SetTimeout ¶
func (o *DeleteCPUGeneratorResultParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete Cpu generator result params
func (*DeleteCPUGeneratorResultParams) WithContext ¶
func (o *DeleteCPUGeneratorResultParams) WithContext(ctx context.Context) *DeleteCPUGeneratorResultParams
WithContext adds the context to the delete Cpu generator result params
func (*DeleteCPUGeneratorResultParams) WithDefaults ¶
func (o *DeleteCPUGeneratorResultParams) WithDefaults() *DeleteCPUGeneratorResultParams
WithDefaults hydrates default values in the delete Cpu generator result params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCPUGeneratorResultParams) WithHTTPClient ¶
func (o *DeleteCPUGeneratorResultParams) WithHTTPClient(client *http.Client) *DeleteCPUGeneratorResultParams
WithHTTPClient adds the HTTPClient to the delete Cpu generator result params
func (*DeleteCPUGeneratorResultParams) WithID ¶
func (o *DeleteCPUGeneratorResultParams) WithID(id string) *DeleteCPUGeneratorResultParams
WithID adds the id to the delete Cpu generator result params
func (*DeleteCPUGeneratorResultParams) WithTimeout ¶
func (o *DeleteCPUGeneratorResultParams) WithTimeout(timeout time.Duration) *DeleteCPUGeneratorResultParams
WithTimeout adds the timeout to the delete Cpu generator result params
func (*DeleteCPUGeneratorResultParams) WriteToRequest ¶
func (o *DeleteCPUGeneratorResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCPUGeneratorResultReader ¶
type DeleteCPUGeneratorResultReader struct {
// contains filtered or unexported fields
}
DeleteCPUGeneratorResultReader is a Reader for the DeleteCPUGeneratorResult structure.
func (*DeleteCPUGeneratorResultReader) ReadResponse ¶
func (o *DeleteCPUGeneratorResultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCPUGeneratorOK ¶
type GetCPUGeneratorOK struct {
Payload *models.CPUGenerator
}
GetCPUGeneratorOK describes a response with status code 200, with default header values.
Success
func NewGetCPUGeneratorOK ¶
func NewGetCPUGeneratorOK() *GetCPUGeneratorOK
NewGetCPUGeneratorOK creates a GetCPUGeneratorOK with default headers values
func (*GetCPUGeneratorOK) Error ¶
func (o *GetCPUGeneratorOK) Error() string
func (*GetCPUGeneratorOK) GetPayload ¶
func (o *GetCPUGeneratorOK) GetPayload() *models.CPUGenerator
type GetCPUGeneratorParams ¶
type GetCPUGeneratorParams struct { /* ID. Unique resource identifier Format: string */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCPUGeneratorParams contains all the parameters to send to the API endpoint
for the get Cpu generator operation. Typically these are written to a http.Request.
func NewGetCPUGeneratorParams ¶
func NewGetCPUGeneratorParams() *GetCPUGeneratorParams
NewGetCPUGeneratorParams creates a new GetCPUGeneratorParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCPUGeneratorParamsWithContext ¶
func NewGetCPUGeneratorParamsWithContext(ctx context.Context) *GetCPUGeneratorParams
NewGetCPUGeneratorParamsWithContext creates a new GetCPUGeneratorParams object with the ability to set a context for a request.
func NewGetCPUGeneratorParamsWithHTTPClient ¶
func NewGetCPUGeneratorParamsWithHTTPClient(client *http.Client) *GetCPUGeneratorParams
NewGetCPUGeneratorParamsWithHTTPClient creates a new GetCPUGeneratorParams object with the ability to set a custom HTTPClient for a request.
func NewGetCPUGeneratorParamsWithTimeout ¶
func NewGetCPUGeneratorParamsWithTimeout(timeout time.Duration) *GetCPUGeneratorParams
NewGetCPUGeneratorParamsWithTimeout creates a new GetCPUGeneratorParams object with the ability to set a timeout on a request.
func (*GetCPUGeneratorParams) SetContext ¶
func (o *GetCPUGeneratorParams) SetContext(ctx context.Context)
SetContext adds the context to the get Cpu generator params
func (*GetCPUGeneratorParams) SetDefaults ¶
func (o *GetCPUGeneratorParams) SetDefaults()
SetDefaults hydrates default values in the get Cpu generator params (not the query body).
All values with no default are reset to their zero value.
func (*GetCPUGeneratorParams) SetHTTPClient ¶
func (o *GetCPUGeneratorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Cpu generator params
func (*GetCPUGeneratorParams) SetID ¶
func (o *GetCPUGeneratorParams) SetID(id string)
SetID adds the id to the get Cpu generator params
func (*GetCPUGeneratorParams) SetTimeout ¶
func (o *GetCPUGeneratorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Cpu generator params
func (*GetCPUGeneratorParams) WithContext ¶
func (o *GetCPUGeneratorParams) WithContext(ctx context.Context) *GetCPUGeneratorParams
WithContext adds the context to the get Cpu generator params
func (*GetCPUGeneratorParams) WithDefaults ¶
func (o *GetCPUGeneratorParams) WithDefaults() *GetCPUGeneratorParams
WithDefaults hydrates default values in the get Cpu generator params (not the query body).
All values with no default are reset to their zero value.
func (*GetCPUGeneratorParams) WithHTTPClient ¶
func (o *GetCPUGeneratorParams) WithHTTPClient(client *http.Client) *GetCPUGeneratorParams
WithHTTPClient adds the HTTPClient to the get Cpu generator params
func (*GetCPUGeneratorParams) WithID ¶
func (o *GetCPUGeneratorParams) WithID(id string) *GetCPUGeneratorParams
WithID adds the id to the get Cpu generator params
func (*GetCPUGeneratorParams) WithTimeout ¶
func (o *GetCPUGeneratorParams) WithTimeout(timeout time.Duration) *GetCPUGeneratorParams
WithTimeout adds the timeout to the get Cpu generator params
func (*GetCPUGeneratorParams) WriteToRequest ¶
func (o *GetCPUGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCPUGeneratorReader ¶
type GetCPUGeneratorReader struct {
// contains filtered or unexported fields
}
GetCPUGeneratorReader is a Reader for the GetCPUGenerator structure.
func (*GetCPUGeneratorReader) ReadResponse ¶
func (o *GetCPUGeneratorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCPUGeneratorResultOK ¶
type GetCPUGeneratorResultOK struct {
Payload *models.CPUGeneratorResult
}
GetCPUGeneratorResultOK describes a response with status code 200, with default header values.
Success
func NewGetCPUGeneratorResultOK ¶
func NewGetCPUGeneratorResultOK() *GetCPUGeneratorResultOK
NewGetCPUGeneratorResultOK creates a GetCPUGeneratorResultOK with default headers values
func (*GetCPUGeneratorResultOK) Error ¶
func (o *GetCPUGeneratorResultOK) Error() string
func (*GetCPUGeneratorResultOK) GetPayload ¶
func (o *GetCPUGeneratorResultOK) GetPayload() *models.CPUGeneratorResult
type GetCPUGeneratorResultParams ¶
type GetCPUGeneratorResultParams struct { /* ID. Unique resource identifier Format: string */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCPUGeneratorResultParams contains all the parameters to send to the API endpoint
for the get Cpu generator result operation. Typically these are written to a http.Request.
func NewGetCPUGeneratorResultParams ¶
func NewGetCPUGeneratorResultParams() *GetCPUGeneratorResultParams
NewGetCPUGeneratorResultParams creates a new GetCPUGeneratorResultParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCPUGeneratorResultParamsWithContext ¶
func NewGetCPUGeneratorResultParamsWithContext(ctx context.Context) *GetCPUGeneratorResultParams
NewGetCPUGeneratorResultParamsWithContext creates a new GetCPUGeneratorResultParams object with the ability to set a context for a request.
func NewGetCPUGeneratorResultParamsWithHTTPClient ¶
func NewGetCPUGeneratorResultParamsWithHTTPClient(client *http.Client) *GetCPUGeneratorResultParams
NewGetCPUGeneratorResultParamsWithHTTPClient creates a new GetCPUGeneratorResultParams object with the ability to set a custom HTTPClient for a request.
func NewGetCPUGeneratorResultParamsWithTimeout ¶
func NewGetCPUGeneratorResultParamsWithTimeout(timeout time.Duration) *GetCPUGeneratorResultParams
NewGetCPUGeneratorResultParamsWithTimeout creates a new GetCPUGeneratorResultParams object with the ability to set a timeout on a request.
func (*GetCPUGeneratorResultParams) SetContext ¶
func (o *GetCPUGeneratorResultParams) SetContext(ctx context.Context)
SetContext adds the context to the get Cpu generator result params
func (*GetCPUGeneratorResultParams) SetDefaults ¶
func (o *GetCPUGeneratorResultParams) SetDefaults()
SetDefaults hydrates default values in the get Cpu generator result params (not the query body).
All values with no default are reset to their zero value.
func (*GetCPUGeneratorResultParams) SetHTTPClient ¶
func (o *GetCPUGeneratorResultParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Cpu generator result params
func (*GetCPUGeneratorResultParams) SetID ¶
func (o *GetCPUGeneratorResultParams) SetID(id string)
SetID adds the id to the get Cpu generator result params
func (*GetCPUGeneratorResultParams) SetTimeout ¶
func (o *GetCPUGeneratorResultParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Cpu generator result params
func (*GetCPUGeneratorResultParams) WithContext ¶
func (o *GetCPUGeneratorResultParams) WithContext(ctx context.Context) *GetCPUGeneratorResultParams
WithContext adds the context to the get Cpu generator result params
func (*GetCPUGeneratorResultParams) WithDefaults ¶
func (o *GetCPUGeneratorResultParams) WithDefaults() *GetCPUGeneratorResultParams
WithDefaults hydrates default values in the get Cpu generator result params (not the query body).
All values with no default are reset to their zero value.
func (*GetCPUGeneratorResultParams) WithHTTPClient ¶
func (o *GetCPUGeneratorResultParams) WithHTTPClient(client *http.Client) *GetCPUGeneratorResultParams
WithHTTPClient adds the HTTPClient to the get Cpu generator result params
func (*GetCPUGeneratorResultParams) WithID ¶
func (o *GetCPUGeneratorResultParams) WithID(id string) *GetCPUGeneratorResultParams
WithID adds the id to the get Cpu generator result params
func (*GetCPUGeneratorResultParams) WithTimeout ¶
func (o *GetCPUGeneratorResultParams) WithTimeout(timeout time.Duration) *GetCPUGeneratorResultParams
WithTimeout adds the timeout to the get Cpu generator result params
func (*GetCPUGeneratorResultParams) WriteToRequest ¶
func (o *GetCPUGeneratorResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCPUGeneratorResultReader ¶
type GetCPUGeneratorResultReader struct {
// contains filtered or unexported fields
}
GetCPUGeneratorResultReader is a Reader for the GetCPUGeneratorResult structure.
func (*GetCPUGeneratorResultReader) ReadResponse ¶
func (o *GetCPUGeneratorResultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCPUInfoOK ¶
type GetCPUInfoOK struct {
Payload *GetCPUInfoOKBody
}
GetCPUInfoOK describes a response with status code 200, with default header values.
Success
func NewGetCPUInfoOK ¶
func NewGetCPUInfoOK() *GetCPUInfoOK
NewGetCPUInfoOK creates a GetCPUInfoOK with default headers values
func (*GetCPUInfoOK) Error ¶
func (o *GetCPUInfoOK) Error() string
func (*GetCPUInfoOK) GetPayload ¶
func (o *GetCPUInfoOK) GetPayload() *GetCPUInfoOKBody
type GetCPUInfoOKBody ¶
type GetCPUInfoOKBody struct { // Processor architecture name Architecture string `json:"architecture,omitempty"` // Processor cache line size CacheLineSize int32 `json:"cache_line_size,omitempty"` // Number of cores Cores int32 `json:"cores,omitempty"` }
GetCPUInfoOKBody CpuInfoResult swagger:model GetCPUInfoOKBody
func (*GetCPUInfoOKBody) ContextValidate ¶
ContextValidate validates this get CPU info o k body based on context it is used
func (*GetCPUInfoOKBody) MarshalBinary ¶
func (o *GetCPUInfoOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCPUInfoOKBody) UnmarshalBinary ¶
func (o *GetCPUInfoOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCPUInfoParams ¶
type GetCPUInfoParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCPUInfoParams contains all the parameters to send to the API endpoint
for the get Cpu info operation. Typically these are written to a http.Request.
func NewGetCPUInfoParams ¶
func NewGetCPUInfoParams() *GetCPUInfoParams
NewGetCPUInfoParams creates a new GetCPUInfoParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCPUInfoParamsWithContext ¶
func NewGetCPUInfoParamsWithContext(ctx context.Context) *GetCPUInfoParams
NewGetCPUInfoParamsWithContext creates a new GetCPUInfoParams object with the ability to set a context for a request.
func NewGetCPUInfoParamsWithHTTPClient ¶
func NewGetCPUInfoParamsWithHTTPClient(client *http.Client) *GetCPUInfoParams
NewGetCPUInfoParamsWithHTTPClient creates a new GetCPUInfoParams object with the ability to set a custom HTTPClient for a request.
func NewGetCPUInfoParamsWithTimeout ¶
func NewGetCPUInfoParamsWithTimeout(timeout time.Duration) *GetCPUInfoParams
NewGetCPUInfoParamsWithTimeout creates a new GetCPUInfoParams object with the ability to set a timeout on a request.
func (*GetCPUInfoParams) SetContext ¶
func (o *GetCPUInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get Cpu info params
func (*GetCPUInfoParams) SetDefaults ¶
func (o *GetCPUInfoParams) SetDefaults()
SetDefaults hydrates default values in the get Cpu info params (not the query body).
All values with no default are reset to their zero value.
func (*GetCPUInfoParams) SetHTTPClient ¶
func (o *GetCPUInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Cpu info params
func (*GetCPUInfoParams) SetTimeout ¶
func (o *GetCPUInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Cpu info params
func (*GetCPUInfoParams) WithContext ¶
func (o *GetCPUInfoParams) WithContext(ctx context.Context) *GetCPUInfoParams
WithContext adds the context to the get Cpu info params
func (*GetCPUInfoParams) WithDefaults ¶
func (o *GetCPUInfoParams) WithDefaults() *GetCPUInfoParams
WithDefaults hydrates default values in the get Cpu info params (not the query body).
All values with no default are reset to their zero value.
func (*GetCPUInfoParams) WithHTTPClient ¶
func (o *GetCPUInfoParams) WithHTTPClient(client *http.Client) *GetCPUInfoParams
WithHTTPClient adds the HTTPClient to the get Cpu info params
func (*GetCPUInfoParams) WithTimeout ¶
func (o *GetCPUInfoParams) WithTimeout(timeout time.Duration) *GetCPUInfoParams
WithTimeout adds the timeout to the get Cpu info params
func (*GetCPUInfoParams) WriteToRequest ¶
func (o *GetCPUInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCPUInfoReader ¶
type GetCPUInfoReader struct {
// contains filtered or unexported fields
}
GetCPUInfoReader is a Reader for the GetCPUInfo structure.
func (*GetCPUInfoReader) ReadResponse ¶
func (o *GetCPUInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListCPUGeneratorResultsOK ¶
type ListCPUGeneratorResultsOK struct {
Payload []*models.CPUGeneratorResult
}
ListCPUGeneratorResultsOK describes a response with status code 200, with default header values.
Success
func NewListCPUGeneratorResultsOK ¶
func NewListCPUGeneratorResultsOK() *ListCPUGeneratorResultsOK
NewListCPUGeneratorResultsOK creates a ListCPUGeneratorResultsOK with default headers values
func (*ListCPUGeneratorResultsOK) Error ¶
func (o *ListCPUGeneratorResultsOK) Error() string
func (*ListCPUGeneratorResultsOK) GetPayload ¶
func (o *ListCPUGeneratorResultsOK) GetPayload() []*models.CPUGeneratorResult
type ListCPUGeneratorResultsParams ¶
type ListCPUGeneratorResultsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListCPUGeneratorResultsParams contains all the parameters to send to the API endpoint
for the list Cpu generator results operation. Typically these are written to a http.Request.
func NewListCPUGeneratorResultsParams ¶
func NewListCPUGeneratorResultsParams() *ListCPUGeneratorResultsParams
NewListCPUGeneratorResultsParams creates a new ListCPUGeneratorResultsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListCPUGeneratorResultsParamsWithContext ¶
func NewListCPUGeneratorResultsParamsWithContext(ctx context.Context) *ListCPUGeneratorResultsParams
NewListCPUGeneratorResultsParamsWithContext creates a new ListCPUGeneratorResultsParams object with the ability to set a context for a request.
func NewListCPUGeneratorResultsParamsWithHTTPClient ¶
func NewListCPUGeneratorResultsParamsWithHTTPClient(client *http.Client) *ListCPUGeneratorResultsParams
NewListCPUGeneratorResultsParamsWithHTTPClient creates a new ListCPUGeneratorResultsParams object with the ability to set a custom HTTPClient for a request.
func NewListCPUGeneratorResultsParamsWithTimeout ¶
func NewListCPUGeneratorResultsParamsWithTimeout(timeout time.Duration) *ListCPUGeneratorResultsParams
NewListCPUGeneratorResultsParamsWithTimeout creates a new ListCPUGeneratorResultsParams object with the ability to set a timeout on a request.
func (*ListCPUGeneratorResultsParams) SetContext ¶
func (o *ListCPUGeneratorResultsParams) SetContext(ctx context.Context)
SetContext adds the context to the list Cpu generator results params
func (*ListCPUGeneratorResultsParams) SetDefaults ¶
func (o *ListCPUGeneratorResultsParams) SetDefaults()
SetDefaults hydrates default values in the list Cpu generator results params (not the query body).
All values with no default are reset to their zero value.
func (*ListCPUGeneratorResultsParams) SetHTTPClient ¶
func (o *ListCPUGeneratorResultsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list Cpu generator results params
func (*ListCPUGeneratorResultsParams) SetTimeout ¶
func (o *ListCPUGeneratorResultsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list Cpu generator results params
func (*ListCPUGeneratorResultsParams) WithContext ¶
func (o *ListCPUGeneratorResultsParams) WithContext(ctx context.Context) *ListCPUGeneratorResultsParams
WithContext adds the context to the list Cpu generator results params
func (*ListCPUGeneratorResultsParams) WithDefaults ¶
func (o *ListCPUGeneratorResultsParams) WithDefaults() *ListCPUGeneratorResultsParams
WithDefaults hydrates default values in the list Cpu generator results params (not the query body).
All values with no default are reset to their zero value.
func (*ListCPUGeneratorResultsParams) WithHTTPClient ¶
func (o *ListCPUGeneratorResultsParams) WithHTTPClient(client *http.Client) *ListCPUGeneratorResultsParams
WithHTTPClient adds the HTTPClient to the list Cpu generator results params
func (*ListCPUGeneratorResultsParams) WithTimeout ¶
func (o *ListCPUGeneratorResultsParams) WithTimeout(timeout time.Duration) *ListCPUGeneratorResultsParams
WithTimeout adds the timeout to the list Cpu generator results params
func (*ListCPUGeneratorResultsParams) WriteToRequest ¶
func (o *ListCPUGeneratorResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListCPUGeneratorResultsReader ¶
type ListCPUGeneratorResultsReader struct {
// contains filtered or unexported fields
}
ListCPUGeneratorResultsReader is a Reader for the ListCPUGeneratorResults structure.
func (*ListCPUGeneratorResultsReader) ReadResponse ¶
func (o *ListCPUGeneratorResultsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListCPUGeneratorsOK ¶
type ListCPUGeneratorsOK struct {
Payload []*models.CPUGenerator
}
ListCPUGeneratorsOK describes a response with status code 200, with default header values.
Success
func NewListCPUGeneratorsOK ¶
func NewListCPUGeneratorsOK() *ListCPUGeneratorsOK
NewListCPUGeneratorsOK creates a ListCPUGeneratorsOK with default headers values
func (*ListCPUGeneratorsOK) Error ¶
func (o *ListCPUGeneratorsOK) Error() string
func (*ListCPUGeneratorsOK) GetPayload ¶
func (o *ListCPUGeneratorsOK) GetPayload() []*models.CPUGenerator
type ListCPUGeneratorsParams ¶
type ListCPUGeneratorsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListCPUGeneratorsParams contains all the parameters to send to the API endpoint
for the list Cpu generators operation. Typically these are written to a http.Request.
func NewListCPUGeneratorsParams ¶
func NewListCPUGeneratorsParams() *ListCPUGeneratorsParams
NewListCPUGeneratorsParams creates a new ListCPUGeneratorsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListCPUGeneratorsParamsWithContext ¶
func NewListCPUGeneratorsParamsWithContext(ctx context.Context) *ListCPUGeneratorsParams
NewListCPUGeneratorsParamsWithContext creates a new ListCPUGeneratorsParams object with the ability to set a context for a request.
func NewListCPUGeneratorsParamsWithHTTPClient ¶
func NewListCPUGeneratorsParamsWithHTTPClient(client *http.Client) *ListCPUGeneratorsParams
NewListCPUGeneratorsParamsWithHTTPClient creates a new ListCPUGeneratorsParams object with the ability to set a custom HTTPClient for a request.
func NewListCPUGeneratorsParamsWithTimeout ¶
func NewListCPUGeneratorsParamsWithTimeout(timeout time.Duration) *ListCPUGeneratorsParams
NewListCPUGeneratorsParamsWithTimeout creates a new ListCPUGeneratorsParams object with the ability to set a timeout on a request.
func (*ListCPUGeneratorsParams) SetContext ¶
func (o *ListCPUGeneratorsParams) SetContext(ctx context.Context)
SetContext adds the context to the list Cpu generators params
func (*ListCPUGeneratorsParams) SetDefaults ¶
func (o *ListCPUGeneratorsParams) SetDefaults()
SetDefaults hydrates default values in the list Cpu generators params (not the query body).
All values with no default are reset to their zero value.
func (*ListCPUGeneratorsParams) SetHTTPClient ¶
func (o *ListCPUGeneratorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list Cpu generators params
func (*ListCPUGeneratorsParams) SetTimeout ¶
func (o *ListCPUGeneratorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list Cpu generators params
func (*ListCPUGeneratorsParams) WithContext ¶
func (o *ListCPUGeneratorsParams) WithContext(ctx context.Context) *ListCPUGeneratorsParams
WithContext adds the context to the list Cpu generators params
func (*ListCPUGeneratorsParams) WithDefaults ¶
func (o *ListCPUGeneratorsParams) WithDefaults() *ListCPUGeneratorsParams
WithDefaults hydrates default values in the list Cpu generators params (not the query body).
All values with no default are reset to their zero value.
func (*ListCPUGeneratorsParams) WithHTTPClient ¶
func (o *ListCPUGeneratorsParams) WithHTTPClient(client *http.Client) *ListCPUGeneratorsParams
WithHTTPClient adds the HTTPClient to the list Cpu generators params
func (*ListCPUGeneratorsParams) WithTimeout ¶
func (o *ListCPUGeneratorsParams) WithTimeout(timeout time.Duration) *ListCPUGeneratorsParams
WithTimeout adds the timeout to the list Cpu generators params
func (*ListCPUGeneratorsParams) WriteToRequest ¶
func (o *ListCPUGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListCPUGeneratorsReader ¶
type ListCPUGeneratorsReader struct {
// contains filtered or unexported fields
}
ListCPUGeneratorsReader is a Reader for the ListCPUGenerators structure.
func (*ListCPUGeneratorsReader) ReadResponse ¶
func (o *ListCPUGeneratorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartCPUGeneratorCreated ¶
type StartCPUGeneratorCreated struct { /* URI of created CPU generator result */ Location string Payload *models.CPUGeneratorResult }
StartCPUGeneratorCreated describes a response with status code 201, with default header values.
Created
func NewStartCPUGeneratorCreated ¶
func NewStartCPUGeneratorCreated() *StartCPUGeneratorCreated
NewStartCPUGeneratorCreated creates a StartCPUGeneratorCreated with default headers values
func (*StartCPUGeneratorCreated) Error ¶
func (o *StartCPUGeneratorCreated) Error() string
func (*StartCPUGeneratorCreated) GetPayload ¶
func (o *StartCPUGeneratorCreated) GetPayload() *models.CPUGeneratorResult
type StartCPUGeneratorParams ¶
type StartCPUGeneratorParams struct { /* DynamicResults. Dynamic results configuration */ DynamicResults *models.DynamicResultsConfig /* ID. Unique resource identifier Format: string */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartCPUGeneratorParams contains all the parameters to send to the API endpoint
for the start Cpu generator operation. Typically these are written to a http.Request.
func NewStartCPUGeneratorParams ¶
func NewStartCPUGeneratorParams() *StartCPUGeneratorParams
NewStartCPUGeneratorParams creates a new StartCPUGeneratorParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewStartCPUGeneratorParamsWithContext ¶
func NewStartCPUGeneratorParamsWithContext(ctx context.Context) *StartCPUGeneratorParams
NewStartCPUGeneratorParamsWithContext creates a new StartCPUGeneratorParams object with the ability to set a context for a request.
func NewStartCPUGeneratorParamsWithHTTPClient ¶
func NewStartCPUGeneratorParamsWithHTTPClient(client *http.Client) *StartCPUGeneratorParams
NewStartCPUGeneratorParamsWithHTTPClient creates a new StartCPUGeneratorParams object with the ability to set a custom HTTPClient for a request.
func NewStartCPUGeneratorParamsWithTimeout ¶
func NewStartCPUGeneratorParamsWithTimeout(timeout time.Duration) *StartCPUGeneratorParams
NewStartCPUGeneratorParamsWithTimeout creates a new StartCPUGeneratorParams object with the ability to set a timeout on a request.
func (*StartCPUGeneratorParams) SetContext ¶
func (o *StartCPUGeneratorParams) SetContext(ctx context.Context)
SetContext adds the context to the start Cpu generator params
func (*StartCPUGeneratorParams) SetDefaults ¶
func (o *StartCPUGeneratorParams) SetDefaults()
SetDefaults hydrates default values in the start Cpu generator params (not the query body).
All values with no default are reset to their zero value.
func (*StartCPUGeneratorParams) SetDynamicResults ¶
func (o *StartCPUGeneratorParams) SetDynamicResults(dynamicResults *models.DynamicResultsConfig)
SetDynamicResults adds the dynamicResults to the start Cpu generator params
func (*StartCPUGeneratorParams) SetHTTPClient ¶
func (o *StartCPUGeneratorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start Cpu generator params
func (*StartCPUGeneratorParams) SetID ¶
func (o *StartCPUGeneratorParams) SetID(id string)
SetID adds the id to the start Cpu generator params
func (*StartCPUGeneratorParams) SetTimeout ¶
func (o *StartCPUGeneratorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start Cpu generator params
func (*StartCPUGeneratorParams) WithContext ¶
func (o *StartCPUGeneratorParams) WithContext(ctx context.Context) *StartCPUGeneratorParams
WithContext adds the context to the start Cpu generator params
func (*StartCPUGeneratorParams) WithDefaults ¶
func (o *StartCPUGeneratorParams) WithDefaults() *StartCPUGeneratorParams
WithDefaults hydrates default values in the start Cpu generator params (not the query body).
All values with no default are reset to their zero value.
func (*StartCPUGeneratorParams) WithDynamicResults ¶
func (o *StartCPUGeneratorParams) WithDynamicResults(dynamicResults *models.DynamicResultsConfig) *StartCPUGeneratorParams
WithDynamicResults adds the dynamicResults to the start Cpu generator params
func (*StartCPUGeneratorParams) WithHTTPClient ¶
func (o *StartCPUGeneratorParams) WithHTTPClient(client *http.Client) *StartCPUGeneratorParams
WithHTTPClient adds the HTTPClient to the start Cpu generator params
func (*StartCPUGeneratorParams) WithID ¶
func (o *StartCPUGeneratorParams) WithID(id string) *StartCPUGeneratorParams
WithID adds the id to the start Cpu generator params
func (*StartCPUGeneratorParams) WithTimeout ¶
func (o *StartCPUGeneratorParams) WithTimeout(timeout time.Duration) *StartCPUGeneratorParams
WithTimeout adds the timeout to the start Cpu generator params
func (*StartCPUGeneratorParams) WriteToRequest ¶
func (o *StartCPUGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartCPUGeneratorReader ¶
type StartCPUGeneratorReader struct {
// contains filtered or unexported fields
}
StartCPUGeneratorReader is a Reader for the StartCPUGenerator structure.
func (*StartCPUGeneratorReader) ReadResponse ¶
func (o *StartCPUGeneratorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopCPUGeneratorNoContent ¶
type StopCPUGeneratorNoContent struct { }
StopCPUGeneratorNoContent describes a response with status code 204, with default header values.
No Content
func NewStopCPUGeneratorNoContent ¶
func NewStopCPUGeneratorNoContent() *StopCPUGeneratorNoContent
NewStopCPUGeneratorNoContent creates a StopCPUGeneratorNoContent with default headers values
func (*StopCPUGeneratorNoContent) Error ¶
func (o *StopCPUGeneratorNoContent) Error() string
type StopCPUGeneratorParams ¶
type StopCPUGeneratorParams struct { /* ID. Unique resource identifier Format: string */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopCPUGeneratorParams contains all the parameters to send to the API endpoint
for the stop Cpu generator operation. Typically these are written to a http.Request.
func NewStopCPUGeneratorParams ¶
func NewStopCPUGeneratorParams() *StopCPUGeneratorParams
NewStopCPUGeneratorParams creates a new StopCPUGeneratorParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewStopCPUGeneratorParamsWithContext ¶
func NewStopCPUGeneratorParamsWithContext(ctx context.Context) *StopCPUGeneratorParams
NewStopCPUGeneratorParamsWithContext creates a new StopCPUGeneratorParams object with the ability to set a context for a request.
func NewStopCPUGeneratorParamsWithHTTPClient ¶
func NewStopCPUGeneratorParamsWithHTTPClient(client *http.Client) *StopCPUGeneratorParams
NewStopCPUGeneratorParamsWithHTTPClient creates a new StopCPUGeneratorParams object with the ability to set a custom HTTPClient for a request.
func NewStopCPUGeneratorParamsWithTimeout ¶
func NewStopCPUGeneratorParamsWithTimeout(timeout time.Duration) *StopCPUGeneratorParams
NewStopCPUGeneratorParamsWithTimeout creates a new StopCPUGeneratorParams object with the ability to set a timeout on a request.
func (*StopCPUGeneratorParams) SetContext ¶
func (o *StopCPUGeneratorParams) SetContext(ctx context.Context)
SetContext adds the context to the stop Cpu generator params
func (*StopCPUGeneratorParams) SetDefaults ¶
func (o *StopCPUGeneratorParams) SetDefaults()
SetDefaults hydrates default values in the stop Cpu generator params (not the query body).
All values with no default are reset to their zero value.
func (*StopCPUGeneratorParams) SetHTTPClient ¶
func (o *StopCPUGeneratorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop Cpu generator params
func (*StopCPUGeneratorParams) SetID ¶
func (o *StopCPUGeneratorParams) SetID(id string)
SetID adds the id to the stop Cpu generator params
func (*StopCPUGeneratorParams) SetTimeout ¶
func (o *StopCPUGeneratorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop Cpu generator params
func (*StopCPUGeneratorParams) WithContext ¶
func (o *StopCPUGeneratorParams) WithContext(ctx context.Context) *StopCPUGeneratorParams
WithContext adds the context to the stop Cpu generator params
func (*StopCPUGeneratorParams) WithDefaults ¶
func (o *StopCPUGeneratorParams) WithDefaults() *StopCPUGeneratorParams
WithDefaults hydrates default values in the stop Cpu generator params (not the query body).
All values with no default are reset to their zero value.
func (*StopCPUGeneratorParams) WithHTTPClient ¶
func (o *StopCPUGeneratorParams) WithHTTPClient(client *http.Client) *StopCPUGeneratorParams
WithHTTPClient adds the HTTPClient to the stop Cpu generator params
func (*StopCPUGeneratorParams) WithID ¶
func (o *StopCPUGeneratorParams) WithID(id string) *StopCPUGeneratorParams
WithID adds the id to the stop Cpu generator params
func (*StopCPUGeneratorParams) WithTimeout ¶
func (o *StopCPUGeneratorParams) WithTimeout(timeout time.Duration) *StopCPUGeneratorParams
WithTimeout adds the timeout to the stop Cpu generator params
func (*StopCPUGeneratorParams) WriteToRequest ¶
func (o *StopCPUGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopCPUGeneratorReader ¶
type StopCPUGeneratorReader struct {
// contains filtered or unexported fields
}
StopCPUGeneratorReader is a Reader for the StopCPUGenerator structure.
func (*StopCPUGeneratorReader) ReadResponse ¶
func (o *StopCPUGeneratorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- bulk_create_cpu_generators_parameters.go
- bulk_create_cpu_generators_responses.go
- bulk_delete_cpu_generators_parameters.go
- bulk_delete_cpu_generators_responses.go
- bulk_start_cpu_generators_parameters.go
- bulk_start_cpu_generators_responses.go
- bulk_stop_cpu_generators_parameters.go
- bulk_stop_cpu_generators_responses.go
- cpu_generator_client.go
- create_cpu_generator_parameters.go
- create_cpu_generator_responses.go
- delete_cpu_generator_parameters.go
- delete_cpu_generator_responses.go
- delete_cpu_generator_result_parameters.go
- delete_cpu_generator_result_responses.go
- get_cpu_generator_parameters.go
- get_cpu_generator_responses.go
- get_cpu_generator_result_parameters.go
- get_cpu_generator_result_responses.go
- get_cpu_info_parameters.go
- get_cpu_info_responses.go
- list_cpu_generator_results_parameters.go
- list_cpu_generator_results_responses.go
- list_cpu_generators_parameters.go
- list_cpu_generators_responses.go
- start_cpu_generator_parameters.go
- start_cpu_generator_responses.go
- stop_cpu_generator_parameters.go
- stop_cpu_generator_responses.go