Documentation ¶
Index ¶
- type BulkCreateMemoryGeneratorsBody
- func (o *BulkCreateMemoryGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkCreateMemoryGeneratorsBody) MarshalBinary() ([]byte, error)
- func (o *BulkCreateMemoryGeneratorsBody) UnmarshalBinary(b []byte) error
- func (o *BulkCreateMemoryGeneratorsBody) Validate(formats strfmt.Registry) error
- type BulkCreateMemoryGeneratorsOK
- type BulkCreateMemoryGeneratorsParams
- func NewBulkCreateMemoryGeneratorsParams() *BulkCreateMemoryGeneratorsParams
- func NewBulkCreateMemoryGeneratorsParamsWithContext(ctx context.Context) *BulkCreateMemoryGeneratorsParams
- func NewBulkCreateMemoryGeneratorsParamsWithHTTPClient(client *http.Client) *BulkCreateMemoryGeneratorsParams
- func NewBulkCreateMemoryGeneratorsParamsWithTimeout(timeout time.Duration) *BulkCreateMemoryGeneratorsParams
- func (o *BulkCreateMemoryGeneratorsParams) SetContext(ctx context.Context)
- func (o *BulkCreateMemoryGeneratorsParams) SetCreate(create BulkCreateMemoryGeneratorsBody)
- func (o *BulkCreateMemoryGeneratorsParams) SetDefaults()
- func (o *BulkCreateMemoryGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *BulkCreateMemoryGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *BulkCreateMemoryGeneratorsParams) WithContext(ctx context.Context) *BulkCreateMemoryGeneratorsParams
- func (o *BulkCreateMemoryGeneratorsParams) WithCreate(create BulkCreateMemoryGeneratorsBody) *BulkCreateMemoryGeneratorsParams
- func (o *BulkCreateMemoryGeneratorsParams) WithDefaults() *BulkCreateMemoryGeneratorsParams
- func (o *BulkCreateMemoryGeneratorsParams) WithHTTPClient(client *http.Client) *BulkCreateMemoryGeneratorsParams
- func (o *BulkCreateMemoryGeneratorsParams) WithTimeout(timeout time.Duration) *BulkCreateMemoryGeneratorsParams
- func (o *BulkCreateMemoryGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkCreateMemoryGeneratorsReader
- type BulkDeleteMemoryGeneratorsBody
- func (o *BulkDeleteMemoryGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkDeleteMemoryGeneratorsBody) MarshalBinary() ([]byte, error)
- func (o *BulkDeleteMemoryGeneratorsBody) UnmarshalBinary(b []byte) error
- func (o *BulkDeleteMemoryGeneratorsBody) Validate(formats strfmt.Registry) error
- type BulkDeleteMemoryGeneratorsNoContent
- type BulkDeleteMemoryGeneratorsParams
- func NewBulkDeleteMemoryGeneratorsParams() *BulkDeleteMemoryGeneratorsParams
- func NewBulkDeleteMemoryGeneratorsParamsWithContext(ctx context.Context) *BulkDeleteMemoryGeneratorsParams
- func NewBulkDeleteMemoryGeneratorsParamsWithHTTPClient(client *http.Client) *BulkDeleteMemoryGeneratorsParams
- func NewBulkDeleteMemoryGeneratorsParamsWithTimeout(timeout time.Duration) *BulkDeleteMemoryGeneratorsParams
- func (o *BulkDeleteMemoryGeneratorsParams) SetContext(ctx context.Context)
- func (o *BulkDeleteMemoryGeneratorsParams) SetDefaults()
- func (o *BulkDeleteMemoryGeneratorsParams) SetDelete(delete BulkDeleteMemoryGeneratorsBody)
- func (o *BulkDeleteMemoryGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *BulkDeleteMemoryGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *BulkDeleteMemoryGeneratorsParams) WithContext(ctx context.Context) *BulkDeleteMemoryGeneratorsParams
- func (o *BulkDeleteMemoryGeneratorsParams) WithDefaults() *BulkDeleteMemoryGeneratorsParams
- func (o *BulkDeleteMemoryGeneratorsParams) WithDelete(delete BulkDeleteMemoryGeneratorsBody) *BulkDeleteMemoryGeneratorsParams
- func (o *BulkDeleteMemoryGeneratorsParams) WithHTTPClient(client *http.Client) *BulkDeleteMemoryGeneratorsParams
- func (o *BulkDeleteMemoryGeneratorsParams) WithTimeout(timeout time.Duration) *BulkDeleteMemoryGeneratorsParams
- func (o *BulkDeleteMemoryGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkDeleteMemoryGeneratorsReader
- type BulkStartMemoryGeneratorsOK
- type BulkStartMemoryGeneratorsParams
- func NewBulkStartMemoryGeneratorsParams() *BulkStartMemoryGeneratorsParams
- func NewBulkStartMemoryGeneratorsParamsWithContext(ctx context.Context) *BulkStartMemoryGeneratorsParams
- func NewBulkStartMemoryGeneratorsParamsWithHTTPClient(client *http.Client) *BulkStartMemoryGeneratorsParams
- func NewBulkStartMemoryGeneratorsParamsWithTimeout(timeout time.Duration) *BulkStartMemoryGeneratorsParams
- func (o *BulkStartMemoryGeneratorsParams) SetBulkStart(bulkStart *models.BulkStartMemoryGeneratorsRequest)
- func (o *BulkStartMemoryGeneratorsParams) SetContext(ctx context.Context)
- func (o *BulkStartMemoryGeneratorsParams) SetDefaults()
- func (o *BulkStartMemoryGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *BulkStartMemoryGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *BulkStartMemoryGeneratorsParams) WithBulkStart(bulkStart *models.BulkStartMemoryGeneratorsRequest) *BulkStartMemoryGeneratorsParams
- func (o *BulkStartMemoryGeneratorsParams) WithContext(ctx context.Context) *BulkStartMemoryGeneratorsParams
- func (o *BulkStartMemoryGeneratorsParams) WithDefaults() *BulkStartMemoryGeneratorsParams
- func (o *BulkStartMemoryGeneratorsParams) WithHTTPClient(client *http.Client) *BulkStartMemoryGeneratorsParams
- func (o *BulkStartMemoryGeneratorsParams) WithTimeout(timeout time.Duration) *BulkStartMemoryGeneratorsParams
- func (o *BulkStartMemoryGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkStartMemoryGeneratorsReader
- type BulkStopMemoryGeneratorsBody
- func (o *BulkStopMemoryGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkStopMemoryGeneratorsBody) MarshalBinary() ([]byte, error)
- func (o *BulkStopMemoryGeneratorsBody) UnmarshalBinary(b []byte) error
- func (o *BulkStopMemoryGeneratorsBody) Validate(formats strfmt.Registry) error
- type BulkStopMemoryGeneratorsNoContent
- type BulkStopMemoryGeneratorsParams
- func NewBulkStopMemoryGeneratorsParams() *BulkStopMemoryGeneratorsParams
- func NewBulkStopMemoryGeneratorsParamsWithContext(ctx context.Context) *BulkStopMemoryGeneratorsParams
- func NewBulkStopMemoryGeneratorsParamsWithHTTPClient(client *http.Client) *BulkStopMemoryGeneratorsParams
- func NewBulkStopMemoryGeneratorsParamsWithTimeout(timeout time.Duration) *BulkStopMemoryGeneratorsParams
- func (o *BulkStopMemoryGeneratorsParams) SetBulkStop(bulkStop BulkStopMemoryGeneratorsBody)
- func (o *BulkStopMemoryGeneratorsParams) SetContext(ctx context.Context)
- func (o *BulkStopMemoryGeneratorsParams) SetDefaults()
- func (o *BulkStopMemoryGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *BulkStopMemoryGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *BulkStopMemoryGeneratorsParams) WithBulkStop(bulkStop BulkStopMemoryGeneratorsBody) *BulkStopMemoryGeneratorsParams
- func (o *BulkStopMemoryGeneratorsParams) WithContext(ctx context.Context) *BulkStopMemoryGeneratorsParams
- func (o *BulkStopMemoryGeneratorsParams) WithDefaults() *BulkStopMemoryGeneratorsParams
- func (o *BulkStopMemoryGeneratorsParams) WithHTTPClient(client *http.Client) *BulkStopMemoryGeneratorsParams
- func (o *BulkStopMemoryGeneratorsParams) WithTimeout(timeout time.Duration) *BulkStopMemoryGeneratorsParams
- func (o *BulkStopMemoryGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkStopMemoryGeneratorsReader
- type Client
- func (a *Client) BulkCreateMemoryGenerators(params *BulkCreateMemoryGeneratorsParams, opts ...ClientOption) (*BulkCreateMemoryGeneratorsOK, error)
- func (a *Client) BulkDeleteMemoryGenerators(params *BulkDeleteMemoryGeneratorsParams, opts ...ClientOption) (*BulkDeleteMemoryGeneratorsNoContent, error)
- func (a *Client) BulkStartMemoryGenerators(params *BulkStartMemoryGeneratorsParams, opts ...ClientOption) (*BulkStartMemoryGeneratorsOK, error)
- func (a *Client) BulkStopMemoryGenerators(params *BulkStopMemoryGeneratorsParams, opts ...ClientOption) (*BulkStopMemoryGeneratorsNoContent, error)
- func (a *Client) CreateMemoryGenerator(params *CreateMemoryGeneratorParams, opts ...ClientOption) (*CreateMemoryGeneratorCreated, error)
- func (a *Client) DeleteMemoryGenerator(params *DeleteMemoryGeneratorParams, opts ...ClientOption) (*DeleteMemoryGeneratorNoContent, error)
- func (a *Client) DeleteMemoryGeneratorResult(params *DeleteMemoryGeneratorResultParams, opts ...ClientOption) (*DeleteMemoryGeneratorResultNoContent, error)
- func (a *Client) GetMemoryGenerator(params *GetMemoryGeneratorParams, opts ...ClientOption) (*GetMemoryGeneratorOK, error)
- func (a *Client) GetMemoryGeneratorResult(params *GetMemoryGeneratorResultParams, opts ...ClientOption) (*GetMemoryGeneratorResultOK, error)
- func (a *Client) ListMemoryGeneratorResults(params *ListMemoryGeneratorResultsParams, opts ...ClientOption) (*ListMemoryGeneratorResultsOK, error)
- func (a *Client) ListMemoryGenerators(params *ListMemoryGeneratorsParams, opts ...ClientOption) (*ListMemoryGeneratorsOK, error)
- func (a *Client) MemoryInfo(params *MemoryInfoParams, opts ...ClientOption) (*MemoryInfoOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StartMemoryGenerator(params *StartMemoryGeneratorParams, opts ...ClientOption) (*StartMemoryGeneratorCreated, error)
- func (a *Client) StopMemoryGenerator(params *StopMemoryGeneratorParams, opts ...ClientOption) (*StopMemoryGeneratorNoContent, error)
- type ClientOption
- type ClientService
- type CreateMemoryGeneratorCreated
- type CreateMemoryGeneratorParams
- func NewCreateMemoryGeneratorParams() *CreateMemoryGeneratorParams
- func NewCreateMemoryGeneratorParamsWithContext(ctx context.Context) *CreateMemoryGeneratorParams
- func NewCreateMemoryGeneratorParamsWithHTTPClient(client *http.Client) *CreateMemoryGeneratorParams
- func NewCreateMemoryGeneratorParamsWithTimeout(timeout time.Duration) *CreateMemoryGeneratorParams
- func (o *CreateMemoryGeneratorParams) SetContext(ctx context.Context)
- func (o *CreateMemoryGeneratorParams) SetDefaults()
- func (o *CreateMemoryGeneratorParams) SetGenerator(generator *models.MemoryGenerator)
- func (o *CreateMemoryGeneratorParams) SetHTTPClient(client *http.Client)
- func (o *CreateMemoryGeneratorParams) SetTimeout(timeout time.Duration)
- func (o *CreateMemoryGeneratorParams) WithContext(ctx context.Context) *CreateMemoryGeneratorParams
- func (o *CreateMemoryGeneratorParams) WithDefaults() *CreateMemoryGeneratorParams
- func (o *CreateMemoryGeneratorParams) WithGenerator(generator *models.MemoryGenerator) *CreateMemoryGeneratorParams
- func (o *CreateMemoryGeneratorParams) WithHTTPClient(client *http.Client) *CreateMemoryGeneratorParams
- func (o *CreateMemoryGeneratorParams) WithTimeout(timeout time.Duration) *CreateMemoryGeneratorParams
- func (o *CreateMemoryGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMemoryGeneratorReader
- type DeleteMemoryGeneratorNoContent
- type DeleteMemoryGeneratorParams
- func NewDeleteMemoryGeneratorParams() *DeleteMemoryGeneratorParams
- func NewDeleteMemoryGeneratorParamsWithContext(ctx context.Context) *DeleteMemoryGeneratorParams
- func NewDeleteMemoryGeneratorParamsWithHTTPClient(client *http.Client) *DeleteMemoryGeneratorParams
- func NewDeleteMemoryGeneratorParamsWithTimeout(timeout time.Duration) *DeleteMemoryGeneratorParams
- func (o *DeleteMemoryGeneratorParams) SetContext(ctx context.Context)
- func (o *DeleteMemoryGeneratorParams) SetDefaults()
- func (o *DeleteMemoryGeneratorParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMemoryGeneratorParams) SetID(id string)
- func (o *DeleteMemoryGeneratorParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMemoryGeneratorParams) WithContext(ctx context.Context) *DeleteMemoryGeneratorParams
- func (o *DeleteMemoryGeneratorParams) WithDefaults() *DeleteMemoryGeneratorParams
- func (o *DeleteMemoryGeneratorParams) WithHTTPClient(client *http.Client) *DeleteMemoryGeneratorParams
- func (o *DeleteMemoryGeneratorParams) WithID(id string) *DeleteMemoryGeneratorParams
- func (o *DeleteMemoryGeneratorParams) WithTimeout(timeout time.Duration) *DeleteMemoryGeneratorParams
- func (o *DeleteMemoryGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMemoryGeneratorReader
- type DeleteMemoryGeneratorResultNoContent
- type DeleteMemoryGeneratorResultParams
- func NewDeleteMemoryGeneratorResultParams() *DeleteMemoryGeneratorResultParams
- func NewDeleteMemoryGeneratorResultParamsWithContext(ctx context.Context) *DeleteMemoryGeneratorResultParams
- func NewDeleteMemoryGeneratorResultParamsWithHTTPClient(client *http.Client) *DeleteMemoryGeneratorResultParams
- func NewDeleteMemoryGeneratorResultParamsWithTimeout(timeout time.Duration) *DeleteMemoryGeneratorResultParams
- func (o *DeleteMemoryGeneratorResultParams) SetContext(ctx context.Context)
- func (o *DeleteMemoryGeneratorResultParams) SetDefaults()
- func (o *DeleteMemoryGeneratorResultParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMemoryGeneratorResultParams) SetID(id string)
- func (o *DeleteMemoryGeneratorResultParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMemoryGeneratorResultParams) WithContext(ctx context.Context) *DeleteMemoryGeneratorResultParams
- func (o *DeleteMemoryGeneratorResultParams) WithDefaults() *DeleteMemoryGeneratorResultParams
- func (o *DeleteMemoryGeneratorResultParams) WithHTTPClient(client *http.Client) *DeleteMemoryGeneratorResultParams
- func (o *DeleteMemoryGeneratorResultParams) WithID(id string) *DeleteMemoryGeneratorResultParams
- func (o *DeleteMemoryGeneratorResultParams) WithTimeout(timeout time.Duration) *DeleteMemoryGeneratorResultParams
- func (o *DeleteMemoryGeneratorResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMemoryGeneratorResultReader
- type GetMemoryGeneratorOK
- type GetMemoryGeneratorParams
- func NewGetMemoryGeneratorParams() *GetMemoryGeneratorParams
- func NewGetMemoryGeneratorParamsWithContext(ctx context.Context) *GetMemoryGeneratorParams
- func NewGetMemoryGeneratorParamsWithHTTPClient(client *http.Client) *GetMemoryGeneratorParams
- func NewGetMemoryGeneratorParamsWithTimeout(timeout time.Duration) *GetMemoryGeneratorParams
- func (o *GetMemoryGeneratorParams) SetContext(ctx context.Context)
- func (o *GetMemoryGeneratorParams) SetDefaults()
- func (o *GetMemoryGeneratorParams) SetHTTPClient(client *http.Client)
- func (o *GetMemoryGeneratorParams) SetID(id string)
- func (o *GetMemoryGeneratorParams) SetTimeout(timeout time.Duration)
- func (o *GetMemoryGeneratorParams) WithContext(ctx context.Context) *GetMemoryGeneratorParams
- func (o *GetMemoryGeneratorParams) WithDefaults() *GetMemoryGeneratorParams
- func (o *GetMemoryGeneratorParams) WithHTTPClient(client *http.Client) *GetMemoryGeneratorParams
- func (o *GetMemoryGeneratorParams) WithID(id string) *GetMemoryGeneratorParams
- func (o *GetMemoryGeneratorParams) WithTimeout(timeout time.Duration) *GetMemoryGeneratorParams
- func (o *GetMemoryGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMemoryGeneratorReader
- type GetMemoryGeneratorResultOK
- type GetMemoryGeneratorResultParams
- func NewGetMemoryGeneratorResultParams() *GetMemoryGeneratorResultParams
- func NewGetMemoryGeneratorResultParamsWithContext(ctx context.Context) *GetMemoryGeneratorResultParams
- func NewGetMemoryGeneratorResultParamsWithHTTPClient(client *http.Client) *GetMemoryGeneratorResultParams
- func NewGetMemoryGeneratorResultParamsWithTimeout(timeout time.Duration) *GetMemoryGeneratorResultParams
- func (o *GetMemoryGeneratorResultParams) SetContext(ctx context.Context)
- func (o *GetMemoryGeneratorResultParams) SetDefaults()
- func (o *GetMemoryGeneratorResultParams) SetHTTPClient(client *http.Client)
- func (o *GetMemoryGeneratorResultParams) SetID(id string)
- func (o *GetMemoryGeneratorResultParams) SetTimeout(timeout time.Duration)
- func (o *GetMemoryGeneratorResultParams) WithContext(ctx context.Context) *GetMemoryGeneratorResultParams
- func (o *GetMemoryGeneratorResultParams) WithDefaults() *GetMemoryGeneratorResultParams
- func (o *GetMemoryGeneratorResultParams) WithHTTPClient(client *http.Client) *GetMemoryGeneratorResultParams
- func (o *GetMemoryGeneratorResultParams) WithID(id string) *GetMemoryGeneratorResultParams
- func (o *GetMemoryGeneratorResultParams) WithTimeout(timeout time.Duration) *GetMemoryGeneratorResultParams
- func (o *GetMemoryGeneratorResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMemoryGeneratorResultReader
- type ListMemoryGeneratorResultsOK
- type ListMemoryGeneratorResultsParams
- func NewListMemoryGeneratorResultsParams() *ListMemoryGeneratorResultsParams
- func NewListMemoryGeneratorResultsParamsWithContext(ctx context.Context) *ListMemoryGeneratorResultsParams
- func NewListMemoryGeneratorResultsParamsWithHTTPClient(client *http.Client) *ListMemoryGeneratorResultsParams
- func NewListMemoryGeneratorResultsParamsWithTimeout(timeout time.Duration) *ListMemoryGeneratorResultsParams
- func (o *ListMemoryGeneratorResultsParams) SetContext(ctx context.Context)
- func (o *ListMemoryGeneratorResultsParams) SetDefaults()
- func (o *ListMemoryGeneratorResultsParams) SetHTTPClient(client *http.Client)
- func (o *ListMemoryGeneratorResultsParams) SetTimeout(timeout time.Duration)
- func (o *ListMemoryGeneratorResultsParams) WithContext(ctx context.Context) *ListMemoryGeneratorResultsParams
- func (o *ListMemoryGeneratorResultsParams) WithDefaults() *ListMemoryGeneratorResultsParams
- func (o *ListMemoryGeneratorResultsParams) WithHTTPClient(client *http.Client) *ListMemoryGeneratorResultsParams
- func (o *ListMemoryGeneratorResultsParams) WithTimeout(timeout time.Duration) *ListMemoryGeneratorResultsParams
- func (o *ListMemoryGeneratorResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListMemoryGeneratorResultsReader
- type ListMemoryGeneratorsOK
- type ListMemoryGeneratorsParams
- func NewListMemoryGeneratorsParams() *ListMemoryGeneratorsParams
- func NewListMemoryGeneratorsParamsWithContext(ctx context.Context) *ListMemoryGeneratorsParams
- func NewListMemoryGeneratorsParamsWithHTTPClient(client *http.Client) *ListMemoryGeneratorsParams
- func NewListMemoryGeneratorsParamsWithTimeout(timeout time.Duration) *ListMemoryGeneratorsParams
- func (o *ListMemoryGeneratorsParams) SetContext(ctx context.Context)
- func (o *ListMemoryGeneratorsParams) SetDefaults()
- func (o *ListMemoryGeneratorsParams) SetHTTPClient(client *http.Client)
- func (o *ListMemoryGeneratorsParams) SetTimeout(timeout time.Duration)
- func (o *ListMemoryGeneratorsParams) WithContext(ctx context.Context) *ListMemoryGeneratorsParams
- func (o *ListMemoryGeneratorsParams) WithDefaults() *ListMemoryGeneratorsParams
- func (o *ListMemoryGeneratorsParams) WithHTTPClient(client *http.Client) *ListMemoryGeneratorsParams
- func (o *ListMemoryGeneratorsParams) WithTimeout(timeout time.Duration) *ListMemoryGeneratorsParams
- func (o *ListMemoryGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListMemoryGeneratorsReader
- type MemoryInfoOK
- type MemoryInfoOKBody
- type MemoryInfoParams
- func (o *MemoryInfoParams) SetContext(ctx context.Context)
- func (o *MemoryInfoParams) SetDefaults()
- func (o *MemoryInfoParams) SetHTTPClient(client *http.Client)
- func (o *MemoryInfoParams) SetTimeout(timeout time.Duration)
- func (o *MemoryInfoParams) WithContext(ctx context.Context) *MemoryInfoParams
- func (o *MemoryInfoParams) WithDefaults() *MemoryInfoParams
- func (o *MemoryInfoParams) WithHTTPClient(client *http.Client) *MemoryInfoParams
- func (o *MemoryInfoParams) WithTimeout(timeout time.Duration) *MemoryInfoParams
- func (o *MemoryInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MemoryInfoReader
- type StartMemoryGeneratorCreated
- type StartMemoryGeneratorParams
- func NewStartMemoryGeneratorParams() *StartMemoryGeneratorParams
- func NewStartMemoryGeneratorParamsWithContext(ctx context.Context) *StartMemoryGeneratorParams
- func NewStartMemoryGeneratorParamsWithHTTPClient(client *http.Client) *StartMemoryGeneratorParams
- func NewStartMemoryGeneratorParamsWithTimeout(timeout time.Duration) *StartMemoryGeneratorParams
- func (o *StartMemoryGeneratorParams) SetContext(ctx context.Context)
- func (o *StartMemoryGeneratorParams) SetDefaults()
- func (o *StartMemoryGeneratorParams) SetDynamicResults(dynamicResults *models.DynamicResultsConfig)
- func (o *StartMemoryGeneratorParams) SetHTTPClient(client *http.Client)
- func (o *StartMemoryGeneratorParams) SetID(id string)
- func (o *StartMemoryGeneratorParams) SetTimeout(timeout time.Duration)
- func (o *StartMemoryGeneratorParams) WithContext(ctx context.Context) *StartMemoryGeneratorParams
- func (o *StartMemoryGeneratorParams) WithDefaults() *StartMemoryGeneratorParams
- func (o *StartMemoryGeneratorParams) WithDynamicResults(dynamicResults *models.DynamicResultsConfig) *StartMemoryGeneratorParams
- func (o *StartMemoryGeneratorParams) WithHTTPClient(client *http.Client) *StartMemoryGeneratorParams
- func (o *StartMemoryGeneratorParams) WithID(id string) *StartMemoryGeneratorParams
- func (o *StartMemoryGeneratorParams) WithTimeout(timeout time.Duration) *StartMemoryGeneratorParams
- func (o *StartMemoryGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartMemoryGeneratorReader
- type StopMemoryGeneratorNoContent
- type StopMemoryGeneratorParams
- func NewStopMemoryGeneratorParams() *StopMemoryGeneratorParams
- func NewStopMemoryGeneratorParamsWithContext(ctx context.Context) *StopMemoryGeneratorParams
- func NewStopMemoryGeneratorParamsWithHTTPClient(client *http.Client) *StopMemoryGeneratorParams
- func NewStopMemoryGeneratorParamsWithTimeout(timeout time.Duration) *StopMemoryGeneratorParams
- func (o *StopMemoryGeneratorParams) SetContext(ctx context.Context)
- func (o *StopMemoryGeneratorParams) SetDefaults()
- func (o *StopMemoryGeneratorParams) SetHTTPClient(client *http.Client)
- func (o *StopMemoryGeneratorParams) SetID(id string)
- func (o *StopMemoryGeneratorParams) SetTimeout(timeout time.Duration)
- func (o *StopMemoryGeneratorParams) WithContext(ctx context.Context) *StopMemoryGeneratorParams
- func (o *StopMemoryGeneratorParams) WithDefaults() *StopMemoryGeneratorParams
- func (o *StopMemoryGeneratorParams) WithHTTPClient(client *http.Client) *StopMemoryGeneratorParams
- func (o *StopMemoryGeneratorParams) WithID(id string) *StopMemoryGeneratorParams
- func (o *StopMemoryGeneratorParams) WithTimeout(timeout time.Duration) *StopMemoryGeneratorParams
- func (o *StopMemoryGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopMemoryGeneratorReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkCreateMemoryGeneratorsBody ¶
type BulkCreateMemoryGeneratorsBody struct { // List of memory generators // Required: true // Min Items: 1 Items []*models.MemoryGenerator `json:"items"` }
BulkCreateMemoryGeneratorsBody BulkCreateMemoryGeneratorsRequest // // Parameters for the bulk create operation swagger:model BulkCreateMemoryGeneratorsBody
func (*BulkCreateMemoryGeneratorsBody) ContextValidate ¶
func (o *BulkCreateMemoryGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this bulk create memory generators body based on the context it is used
func (*BulkCreateMemoryGeneratorsBody) MarshalBinary ¶
func (o *BulkCreateMemoryGeneratorsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkCreateMemoryGeneratorsBody) UnmarshalBinary ¶
func (o *BulkCreateMemoryGeneratorsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkCreateMemoryGeneratorsOK ¶
type BulkCreateMemoryGeneratorsOK struct {
Payload []*models.MemoryGenerator
}
BulkCreateMemoryGeneratorsOK describes a response with status code 200, with default header values.
Success
func NewBulkCreateMemoryGeneratorsOK ¶
func NewBulkCreateMemoryGeneratorsOK() *BulkCreateMemoryGeneratorsOK
NewBulkCreateMemoryGeneratorsOK creates a BulkCreateMemoryGeneratorsOK with default headers values
func (*BulkCreateMemoryGeneratorsOK) Error ¶
func (o *BulkCreateMemoryGeneratorsOK) Error() string
func (*BulkCreateMemoryGeneratorsOK) GetPayload ¶
func (o *BulkCreateMemoryGeneratorsOK) GetPayload() []*models.MemoryGenerator
type BulkCreateMemoryGeneratorsParams ¶
type BulkCreateMemoryGeneratorsParams struct { /* Create. Bulk creation */ Create BulkCreateMemoryGeneratorsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BulkCreateMemoryGeneratorsParams contains all the parameters to send to the API endpoint
for the bulk create memory generators operation. Typically these are written to a http.Request.
func NewBulkCreateMemoryGeneratorsParams ¶
func NewBulkCreateMemoryGeneratorsParams() *BulkCreateMemoryGeneratorsParams
NewBulkCreateMemoryGeneratorsParams creates a new BulkCreateMemoryGeneratorsParams 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 NewBulkCreateMemoryGeneratorsParamsWithContext ¶
func NewBulkCreateMemoryGeneratorsParamsWithContext(ctx context.Context) *BulkCreateMemoryGeneratorsParams
NewBulkCreateMemoryGeneratorsParamsWithContext creates a new BulkCreateMemoryGeneratorsParams object with the ability to set a context for a request.
func NewBulkCreateMemoryGeneratorsParamsWithHTTPClient ¶
func NewBulkCreateMemoryGeneratorsParamsWithHTTPClient(client *http.Client) *BulkCreateMemoryGeneratorsParams
NewBulkCreateMemoryGeneratorsParamsWithHTTPClient creates a new BulkCreateMemoryGeneratorsParams object with the ability to set a custom HTTPClient for a request.
func NewBulkCreateMemoryGeneratorsParamsWithTimeout ¶
func NewBulkCreateMemoryGeneratorsParamsWithTimeout(timeout time.Duration) *BulkCreateMemoryGeneratorsParams
NewBulkCreateMemoryGeneratorsParamsWithTimeout creates a new BulkCreateMemoryGeneratorsParams object with the ability to set a timeout on a request.
func (*BulkCreateMemoryGeneratorsParams) SetContext ¶
func (o *BulkCreateMemoryGeneratorsParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk create memory generators params
func (*BulkCreateMemoryGeneratorsParams) SetCreate ¶
func (o *BulkCreateMemoryGeneratorsParams) SetCreate(create BulkCreateMemoryGeneratorsBody)
SetCreate adds the create to the bulk create memory generators params
func (*BulkCreateMemoryGeneratorsParams) SetDefaults ¶
func (o *BulkCreateMemoryGeneratorsParams) SetDefaults()
SetDefaults hydrates default values in the bulk create memory generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkCreateMemoryGeneratorsParams) SetHTTPClient ¶
func (o *BulkCreateMemoryGeneratorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk create memory generators params
func (*BulkCreateMemoryGeneratorsParams) SetTimeout ¶
func (o *BulkCreateMemoryGeneratorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk create memory generators params
func (*BulkCreateMemoryGeneratorsParams) WithContext ¶
func (o *BulkCreateMemoryGeneratorsParams) WithContext(ctx context.Context) *BulkCreateMemoryGeneratorsParams
WithContext adds the context to the bulk create memory generators params
func (*BulkCreateMemoryGeneratorsParams) WithCreate ¶
func (o *BulkCreateMemoryGeneratorsParams) WithCreate(create BulkCreateMemoryGeneratorsBody) *BulkCreateMemoryGeneratorsParams
WithCreate adds the create to the bulk create memory generators params
func (*BulkCreateMemoryGeneratorsParams) WithDefaults ¶
func (o *BulkCreateMemoryGeneratorsParams) WithDefaults() *BulkCreateMemoryGeneratorsParams
WithDefaults hydrates default values in the bulk create memory generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkCreateMemoryGeneratorsParams) WithHTTPClient ¶
func (o *BulkCreateMemoryGeneratorsParams) WithHTTPClient(client *http.Client) *BulkCreateMemoryGeneratorsParams
WithHTTPClient adds the HTTPClient to the bulk create memory generators params
func (*BulkCreateMemoryGeneratorsParams) WithTimeout ¶
func (o *BulkCreateMemoryGeneratorsParams) WithTimeout(timeout time.Duration) *BulkCreateMemoryGeneratorsParams
WithTimeout adds the timeout to the bulk create memory generators params
func (*BulkCreateMemoryGeneratorsParams) WriteToRequest ¶
func (o *BulkCreateMemoryGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkCreateMemoryGeneratorsReader ¶
type BulkCreateMemoryGeneratorsReader struct {
// contains filtered or unexported fields
}
BulkCreateMemoryGeneratorsReader is a Reader for the BulkCreateMemoryGenerators structure.
func (*BulkCreateMemoryGeneratorsReader) ReadResponse ¶
func (o *BulkCreateMemoryGeneratorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BulkDeleteMemoryGeneratorsBody ¶
type BulkDeleteMemoryGeneratorsBody struct { // List of memory generator ids // Required: true // Min Items: 1 Ids []string `json:"ids"` }
BulkDeleteMemoryGeneratorsBody BulkDeleteMemoryGeneratorsRequest // // Parameters for the bulk delete operation swagger:model BulkDeleteMemoryGeneratorsBody
func (*BulkDeleteMemoryGeneratorsBody) ContextValidate ¶
func (o *BulkDeleteMemoryGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this bulk delete memory generators body based on context it is used
func (*BulkDeleteMemoryGeneratorsBody) MarshalBinary ¶
func (o *BulkDeleteMemoryGeneratorsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkDeleteMemoryGeneratorsBody) UnmarshalBinary ¶
func (o *BulkDeleteMemoryGeneratorsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkDeleteMemoryGeneratorsNoContent ¶
type BulkDeleteMemoryGeneratorsNoContent struct { }
BulkDeleteMemoryGeneratorsNoContent describes a response with status code 204, with default header values.
No Content
func NewBulkDeleteMemoryGeneratorsNoContent ¶
func NewBulkDeleteMemoryGeneratorsNoContent() *BulkDeleteMemoryGeneratorsNoContent
NewBulkDeleteMemoryGeneratorsNoContent creates a BulkDeleteMemoryGeneratorsNoContent with default headers values
func (*BulkDeleteMemoryGeneratorsNoContent) Error ¶
func (o *BulkDeleteMemoryGeneratorsNoContent) Error() string
type BulkDeleteMemoryGeneratorsParams ¶
type BulkDeleteMemoryGeneratorsParams struct { /* Delete. Bulk delete */ Delete BulkDeleteMemoryGeneratorsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BulkDeleteMemoryGeneratorsParams contains all the parameters to send to the API endpoint
for the bulk delete memory generators operation. Typically these are written to a http.Request.
func NewBulkDeleteMemoryGeneratorsParams ¶
func NewBulkDeleteMemoryGeneratorsParams() *BulkDeleteMemoryGeneratorsParams
NewBulkDeleteMemoryGeneratorsParams creates a new BulkDeleteMemoryGeneratorsParams 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 NewBulkDeleteMemoryGeneratorsParamsWithContext ¶
func NewBulkDeleteMemoryGeneratorsParamsWithContext(ctx context.Context) *BulkDeleteMemoryGeneratorsParams
NewBulkDeleteMemoryGeneratorsParamsWithContext creates a new BulkDeleteMemoryGeneratorsParams object with the ability to set a context for a request.
func NewBulkDeleteMemoryGeneratorsParamsWithHTTPClient ¶
func NewBulkDeleteMemoryGeneratorsParamsWithHTTPClient(client *http.Client) *BulkDeleteMemoryGeneratorsParams
NewBulkDeleteMemoryGeneratorsParamsWithHTTPClient creates a new BulkDeleteMemoryGeneratorsParams object with the ability to set a custom HTTPClient for a request.
func NewBulkDeleteMemoryGeneratorsParamsWithTimeout ¶
func NewBulkDeleteMemoryGeneratorsParamsWithTimeout(timeout time.Duration) *BulkDeleteMemoryGeneratorsParams
NewBulkDeleteMemoryGeneratorsParamsWithTimeout creates a new BulkDeleteMemoryGeneratorsParams object with the ability to set a timeout on a request.
func (*BulkDeleteMemoryGeneratorsParams) SetContext ¶
func (o *BulkDeleteMemoryGeneratorsParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk delete memory generators params
func (*BulkDeleteMemoryGeneratorsParams) SetDefaults ¶
func (o *BulkDeleteMemoryGeneratorsParams) SetDefaults()
SetDefaults hydrates default values in the bulk delete memory generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkDeleteMemoryGeneratorsParams) SetDelete ¶
func (o *BulkDeleteMemoryGeneratorsParams) SetDelete(delete BulkDeleteMemoryGeneratorsBody)
SetDelete adds the delete to the bulk delete memory generators params
func (*BulkDeleteMemoryGeneratorsParams) SetHTTPClient ¶
func (o *BulkDeleteMemoryGeneratorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk delete memory generators params
func (*BulkDeleteMemoryGeneratorsParams) SetTimeout ¶
func (o *BulkDeleteMemoryGeneratorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk delete memory generators params
func (*BulkDeleteMemoryGeneratorsParams) WithContext ¶
func (o *BulkDeleteMemoryGeneratorsParams) WithContext(ctx context.Context) *BulkDeleteMemoryGeneratorsParams
WithContext adds the context to the bulk delete memory generators params
func (*BulkDeleteMemoryGeneratorsParams) WithDefaults ¶
func (o *BulkDeleteMemoryGeneratorsParams) WithDefaults() *BulkDeleteMemoryGeneratorsParams
WithDefaults hydrates default values in the bulk delete memory generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkDeleteMemoryGeneratorsParams) WithDelete ¶
func (o *BulkDeleteMemoryGeneratorsParams) WithDelete(delete BulkDeleteMemoryGeneratorsBody) *BulkDeleteMemoryGeneratorsParams
WithDelete adds the delete to the bulk delete memory generators params
func (*BulkDeleteMemoryGeneratorsParams) WithHTTPClient ¶
func (o *BulkDeleteMemoryGeneratorsParams) WithHTTPClient(client *http.Client) *BulkDeleteMemoryGeneratorsParams
WithHTTPClient adds the HTTPClient to the bulk delete memory generators params
func (*BulkDeleteMemoryGeneratorsParams) WithTimeout ¶
func (o *BulkDeleteMemoryGeneratorsParams) WithTimeout(timeout time.Duration) *BulkDeleteMemoryGeneratorsParams
WithTimeout adds the timeout to the bulk delete memory generators params
func (*BulkDeleteMemoryGeneratorsParams) WriteToRequest ¶
func (o *BulkDeleteMemoryGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkDeleteMemoryGeneratorsReader ¶
type BulkDeleteMemoryGeneratorsReader struct {
// contains filtered or unexported fields
}
BulkDeleteMemoryGeneratorsReader is a Reader for the BulkDeleteMemoryGenerators structure.
func (*BulkDeleteMemoryGeneratorsReader) ReadResponse ¶
func (o *BulkDeleteMemoryGeneratorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BulkStartMemoryGeneratorsOK ¶
type BulkStartMemoryGeneratorsOK struct {
Payload []*models.MemoryGeneratorResult
}
BulkStartMemoryGeneratorsOK describes a response with status code 200, with default header values.
Success
func NewBulkStartMemoryGeneratorsOK ¶
func NewBulkStartMemoryGeneratorsOK() *BulkStartMemoryGeneratorsOK
NewBulkStartMemoryGeneratorsOK creates a BulkStartMemoryGeneratorsOK with default headers values
func (*BulkStartMemoryGeneratorsOK) Error ¶
func (o *BulkStartMemoryGeneratorsOK) Error() string
func (*BulkStartMemoryGeneratorsOK) GetPayload ¶
func (o *BulkStartMemoryGeneratorsOK) GetPayload() []*models.MemoryGeneratorResult
type BulkStartMemoryGeneratorsParams ¶
type BulkStartMemoryGeneratorsParams struct { /* BulkStart. Bulk start */ BulkStart *models.BulkStartMemoryGeneratorsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BulkStartMemoryGeneratorsParams contains all the parameters to send to the API endpoint
for the bulk start memory generators operation. Typically these are written to a http.Request.
func NewBulkStartMemoryGeneratorsParams ¶
func NewBulkStartMemoryGeneratorsParams() *BulkStartMemoryGeneratorsParams
NewBulkStartMemoryGeneratorsParams creates a new BulkStartMemoryGeneratorsParams 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 NewBulkStartMemoryGeneratorsParamsWithContext ¶
func NewBulkStartMemoryGeneratorsParamsWithContext(ctx context.Context) *BulkStartMemoryGeneratorsParams
NewBulkStartMemoryGeneratorsParamsWithContext creates a new BulkStartMemoryGeneratorsParams object with the ability to set a context for a request.
func NewBulkStartMemoryGeneratorsParamsWithHTTPClient ¶
func NewBulkStartMemoryGeneratorsParamsWithHTTPClient(client *http.Client) *BulkStartMemoryGeneratorsParams
NewBulkStartMemoryGeneratorsParamsWithHTTPClient creates a new BulkStartMemoryGeneratorsParams object with the ability to set a custom HTTPClient for a request.
func NewBulkStartMemoryGeneratorsParamsWithTimeout ¶
func NewBulkStartMemoryGeneratorsParamsWithTimeout(timeout time.Duration) *BulkStartMemoryGeneratorsParams
NewBulkStartMemoryGeneratorsParamsWithTimeout creates a new BulkStartMemoryGeneratorsParams object with the ability to set a timeout on a request.
func (*BulkStartMemoryGeneratorsParams) SetBulkStart ¶
func (o *BulkStartMemoryGeneratorsParams) SetBulkStart(bulkStart *models.BulkStartMemoryGeneratorsRequest)
SetBulkStart adds the bulkStart to the bulk start memory generators params
func (*BulkStartMemoryGeneratorsParams) SetContext ¶
func (o *BulkStartMemoryGeneratorsParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk start memory generators params
func (*BulkStartMemoryGeneratorsParams) SetDefaults ¶
func (o *BulkStartMemoryGeneratorsParams) SetDefaults()
SetDefaults hydrates default values in the bulk start memory generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkStartMemoryGeneratorsParams) SetHTTPClient ¶
func (o *BulkStartMemoryGeneratorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk start memory generators params
func (*BulkStartMemoryGeneratorsParams) SetTimeout ¶
func (o *BulkStartMemoryGeneratorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk start memory generators params
func (*BulkStartMemoryGeneratorsParams) WithBulkStart ¶
func (o *BulkStartMemoryGeneratorsParams) WithBulkStart(bulkStart *models.BulkStartMemoryGeneratorsRequest) *BulkStartMemoryGeneratorsParams
WithBulkStart adds the bulkStart to the bulk start memory generators params
func (*BulkStartMemoryGeneratorsParams) WithContext ¶
func (o *BulkStartMemoryGeneratorsParams) WithContext(ctx context.Context) *BulkStartMemoryGeneratorsParams
WithContext adds the context to the bulk start memory generators params
func (*BulkStartMemoryGeneratorsParams) WithDefaults ¶
func (o *BulkStartMemoryGeneratorsParams) WithDefaults() *BulkStartMemoryGeneratorsParams
WithDefaults hydrates default values in the bulk start memory generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkStartMemoryGeneratorsParams) WithHTTPClient ¶
func (o *BulkStartMemoryGeneratorsParams) WithHTTPClient(client *http.Client) *BulkStartMemoryGeneratorsParams
WithHTTPClient adds the HTTPClient to the bulk start memory generators params
func (*BulkStartMemoryGeneratorsParams) WithTimeout ¶
func (o *BulkStartMemoryGeneratorsParams) WithTimeout(timeout time.Duration) *BulkStartMemoryGeneratorsParams
WithTimeout adds the timeout to the bulk start memory generators params
func (*BulkStartMemoryGeneratorsParams) WriteToRequest ¶
func (o *BulkStartMemoryGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkStartMemoryGeneratorsReader ¶
type BulkStartMemoryGeneratorsReader struct {
// contains filtered or unexported fields
}
BulkStartMemoryGeneratorsReader is a Reader for the BulkStartMemoryGenerators structure.
func (*BulkStartMemoryGeneratorsReader) ReadResponse ¶
func (o *BulkStartMemoryGeneratorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BulkStopMemoryGeneratorsBody ¶
type BulkStopMemoryGeneratorsBody struct { // List of memory generator identifiers // Required: true // Min Items: 1 Ids []string `json:"ids"` }
BulkStopMemoryGeneratorsBody BulkStopMemoryGeneratorsRequest // // Parameters for the bulk stop operation swagger:model BulkStopMemoryGeneratorsBody
func (*BulkStopMemoryGeneratorsBody) ContextValidate ¶
func (o *BulkStopMemoryGeneratorsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this bulk stop memory generators body based on context it is used
func (*BulkStopMemoryGeneratorsBody) MarshalBinary ¶
func (o *BulkStopMemoryGeneratorsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkStopMemoryGeneratorsBody) UnmarshalBinary ¶
func (o *BulkStopMemoryGeneratorsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkStopMemoryGeneratorsNoContent ¶
type BulkStopMemoryGeneratorsNoContent struct { }
BulkStopMemoryGeneratorsNoContent describes a response with status code 204, with default header values.
No Content
func NewBulkStopMemoryGeneratorsNoContent ¶
func NewBulkStopMemoryGeneratorsNoContent() *BulkStopMemoryGeneratorsNoContent
NewBulkStopMemoryGeneratorsNoContent creates a BulkStopMemoryGeneratorsNoContent with default headers values
func (*BulkStopMemoryGeneratorsNoContent) Error ¶
func (o *BulkStopMemoryGeneratorsNoContent) Error() string
type BulkStopMemoryGeneratorsParams ¶
type BulkStopMemoryGeneratorsParams struct { /* BulkStop. Bulk stop */ BulkStop BulkStopMemoryGeneratorsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BulkStopMemoryGeneratorsParams contains all the parameters to send to the API endpoint
for the bulk stop memory generators operation. Typically these are written to a http.Request.
func NewBulkStopMemoryGeneratorsParams ¶
func NewBulkStopMemoryGeneratorsParams() *BulkStopMemoryGeneratorsParams
NewBulkStopMemoryGeneratorsParams creates a new BulkStopMemoryGeneratorsParams 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 NewBulkStopMemoryGeneratorsParamsWithContext ¶
func NewBulkStopMemoryGeneratorsParamsWithContext(ctx context.Context) *BulkStopMemoryGeneratorsParams
NewBulkStopMemoryGeneratorsParamsWithContext creates a new BulkStopMemoryGeneratorsParams object with the ability to set a context for a request.
func NewBulkStopMemoryGeneratorsParamsWithHTTPClient ¶
func NewBulkStopMemoryGeneratorsParamsWithHTTPClient(client *http.Client) *BulkStopMemoryGeneratorsParams
NewBulkStopMemoryGeneratorsParamsWithHTTPClient creates a new BulkStopMemoryGeneratorsParams object with the ability to set a custom HTTPClient for a request.
func NewBulkStopMemoryGeneratorsParamsWithTimeout ¶
func NewBulkStopMemoryGeneratorsParamsWithTimeout(timeout time.Duration) *BulkStopMemoryGeneratorsParams
NewBulkStopMemoryGeneratorsParamsWithTimeout creates a new BulkStopMemoryGeneratorsParams object with the ability to set a timeout on a request.
func (*BulkStopMemoryGeneratorsParams) SetBulkStop ¶
func (o *BulkStopMemoryGeneratorsParams) SetBulkStop(bulkStop BulkStopMemoryGeneratorsBody)
SetBulkStop adds the bulkStop to the bulk stop memory generators params
func (*BulkStopMemoryGeneratorsParams) SetContext ¶
func (o *BulkStopMemoryGeneratorsParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk stop memory generators params
func (*BulkStopMemoryGeneratorsParams) SetDefaults ¶
func (o *BulkStopMemoryGeneratorsParams) SetDefaults()
SetDefaults hydrates default values in the bulk stop memory generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkStopMemoryGeneratorsParams) SetHTTPClient ¶
func (o *BulkStopMemoryGeneratorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk stop memory generators params
func (*BulkStopMemoryGeneratorsParams) SetTimeout ¶
func (o *BulkStopMemoryGeneratorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk stop memory generators params
func (*BulkStopMemoryGeneratorsParams) WithBulkStop ¶
func (o *BulkStopMemoryGeneratorsParams) WithBulkStop(bulkStop BulkStopMemoryGeneratorsBody) *BulkStopMemoryGeneratorsParams
WithBulkStop adds the bulkStop to the bulk stop memory generators params
func (*BulkStopMemoryGeneratorsParams) WithContext ¶
func (o *BulkStopMemoryGeneratorsParams) WithContext(ctx context.Context) *BulkStopMemoryGeneratorsParams
WithContext adds the context to the bulk stop memory generators params
func (*BulkStopMemoryGeneratorsParams) WithDefaults ¶
func (o *BulkStopMemoryGeneratorsParams) WithDefaults() *BulkStopMemoryGeneratorsParams
WithDefaults hydrates default values in the bulk stop memory generators params (not the query body).
All values with no default are reset to their zero value.
func (*BulkStopMemoryGeneratorsParams) WithHTTPClient ¶
func (o *BulkStopMemoryGeneratorsParams) WithHTTPClient(client *http.Client) *BulkStopMemoryGeneratorsParams
WithHTTPClient adds the HTTPClient to the bulk stop memory generators params
func (*BulkStopMemoryGeneratorsParams) WithTimeout ¶
func (o *BulkStopMemoryGeneratorsParams) WithTimeout(timeout time.Duration) *BulkStopMemoryGeneratorsParams
WithTimeout adds the timeout to the bulk stop memory generators params
func (*BulkStopMemoryGeneratorsParams) WriteToRequest ¶
func (o *BulkStopMemoryGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkStopMemoryGeneratorsReader ¶
type BulkStopMemoryGeneratorsReader struct {
// contains filtered or unexported fields
}
BulkStopMemoryGeneratorsReader is a Reader for the BulkStopMemoryGenerators structure.
func (*BulkStopMemoryGeneratorsReader) ReadResponse ¶
func (o *BulkStopMemoryGeneratorsReader) 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 memory generator API
func (*Client) BulkCreateMemoryGenerators ¶
func (a *Client) BulkCreateMemoryGenerators(params *BulkCreateMemoryGeneratorsParams, opts ...ClientOption) (*BulkCreateMemoryGeneratorsOK, error)
BulkCreateMemoryGenerators bulks create memory generators Create multiple memory generators. Requests are processed in an
all-or-nothing manner, i.e. a single memory generator creation failure causes all creations for this request to fail.
func (*Client) BulkDeleteMemoryGenerators ¶
func (a *Client) BulkDeleteMemoryGenerators(params *BulkDeleteMemoryGeneratorsParams, opts ...ClientOption) (*BulkDeleteMemoryGeneratorsNoContent, error)
BulkDeleteMemoryGenerators bulks delete memory generators Delete multiple memory generators in a best-effort manner. Non-existant memory generators ids
do not cause errors. Idempotent.
func (*Client) BulkStartMemoryGenerators ¶
func (a *Client) BulkStartMemoryGenerators(params *BulkStartMemoryGeneratorsParams, opts ...ClientOption) (*BulkStartMemoryGeneratorsOK, error)
BulkStartMemoryGenerators tells multiple memory generators to start
Start multiple memory generators.
func (*Client) BulkStopMemoryGenerators ¶
func (a *Client) BulkStopMemoryGenerators(params *BulkStopMemoryGeneratorsParams, opts ...ClientOption) (*BulkStopMemoryGeneratorsNoContent, error)
BulkStopMemoryGenerators bulks stop memory generators
Best-effort stop multiple memory generators. Non-existent memory generator ids do not cause errors. Idempotent.
func (*Client) CreateMemoryGenerator ¶
func (a *Client) CreateMemoryGenerator(params *CreateMemoryGeneratorParams, opts ...ClientOption) (*CreateMemoryGeneratorCreated, error)
CreateMemoryGenerator creates a memory generator
Create a new memory generator
func (*Client) DeleteMemoryGenerator ¶
func (a *Client) DeleteMemoryGenerator(params *DeleteMemoryGeneratorParams, opts ...ClientOption) (*DeleteMemoryGeneratorNoContent, error)
DeleteMemoryGenerator deletes a memory generator
Deletes an existing memory generator. Idempotent.
func (*Client) DeleteMemoryGeneratorResult ¶
func (a *Client) DeleteMemoryGeneratorResult(params *DeleteMemoryGeneratorResultParams, opts ...ClientOption) (*DeleteMemoryGeneratorResultNoContent, error)
DeleteMemoryGeneratorResult deletes results from a memory generator idempotent
func (*Client) GetMemoryGenerator ¶
func (a *Client) GetMemoryGenerator(params *GetMemoryGeneratorParams, opts ...ClientOption) (*GetMemoryGeneratorOK, error)
GetMemoryGenerator gets a memory generator
Returns a memory generator, by id.
func (*Client) GetMemoryGeneratorResult ¶
func (a *Client) GetMemoryGeneratorResult(params *GetMemoryGeneratorResultParams, opts ...ClientOption) (*GetMemoryGeneratorResultOK, error)
GetMemoryGeneratorResult gets a result from a memory generator
Returns results from a memory generator by result id.
func (*Client) ListMemoryGeneratorResults ¶
func (a *Client) ListMemoryGeneratorResults(params *ListMemoryGeneratorResultsParams, opts ...ClientOption) (*ListMemoryGeneratorResultsOK, error)
ListMemoryGeneratorResults lists memory generator results
The `memory-generator-results` endpoint returns all of the results produced by running memory generators.
func (*Client) ListMemoryGenerators ¶
func (a *Client) ListMemoryGenerators(params *ListMemoryGeneratorsParams, opts ...ClientOption) (*ListMemoryGeneratorsOK, error)
ListMemoryGenerators lists memory generators
The `memory-generators` endpoint returns all of the configured memory generators.
func (*Client) MemoryInfo ¶
func (a *Client) MemoryInfo(params *MemoryInfoParams, opts ...ClientOption) (*MemoryInfoOK, error)
MemoryInfo gets a memory info
The `memory-info` endpoint returns memory info values such as total and free memory size
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StartMemoryGenerator ¶
func (a *Client) StartMemoryGenerator(params *StartMemoryGeneratorParams, opts ...ClientOption) (*StartMemoryGeneratorCreated, error)
StartMemoryGenerator starts a memory generator
Start an existing memory generator.
func (*Client) StopMemoryGenerator ¶
func (a *Client) StopMemoryGenerator(params *StopMemoryGeneratorParams, opts ...ClientOption) (*StopMemoryGeneratorNoContent, error)
StopMemoryGenerator stops a memory generator
Stop a running memory generator. Idempotent.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { BulkCreateMemoryGenerators(params *BulkCreateMemoryGeneratorsParams, opts ...ClientOption) (*BulkCreateMemoryGeneratorsOK, error) BulkDeleteMemoryGenerators(params *BulkDeleteMemoryGeneratorsParams, opts ...ClientOption) (*BulkDeleteMemoryGeneratorsNoContent, error) BulkStartMemoryGenerators(params *BulkStartMemoryGeneratorsParams, opts ...ClientOption) (*BulkStartMemoryGeneratorsOK, error) BulkStopMemoryGenerators(params *BulkStopMemoryGeneratorsParams, opts ...ClientOption) (*BulkStopMemoryGeneratorsNoContent, error) CreateMemoryGenerator(params *CreateMemoryGeneratorParams, opts ...ClientOption) (*CreateMemoryGeneratorCreated, error) DeleteMemoryGenerator(params *DeleteMemoryGeneratorParams, opts ...ClientOption) (*DeleteMemoryGeneratorNoContent, error) DeleteMemoryGeneratorResult(params *DeleteMemoryGeneratorResultParams, opts ...ClientOption) (*DeleteMemoryGeneratorResultNoContent, error) GetMemoryGenerator(params *GetMemoryGeneratorParams, opts ...ClientOption) (*GetMemoryGeneratorOK, error) GetMemoryGeneratorResult(params *GetMemoryGeneratorResultParams, opts ...ClientOption) (*GetMemoryGeneratorResultOK, error) ListMemoryGeneratorResults(params *ListMemoryGeneratorResultsParams, opts ...ClientOption) (*ListMemoryGeneratorResultsOK, error) ListMemoryGenerators(params *ListMemoryGeneratorsParams, opts ...ClientOption) (*ListMemoryGeneratorsOK, error) MemoryInfo(params *MemoryInfoParams, opts ...ClientOption) (*MemoryInfoOK, error) StartMemoryGenerator(params *StartMemoryGeneratorParams, opts ...ClientOption) (*StartMemoryGeneratorCreated, error) StopMemoryGenerator(params *StopMemoryGeneratorParams, opts ...ClientOption) (*StopMemoryGeneratorNoContent, 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 memory generator API client.
type CreateMemoryGeneratorCreated ¶
type CreateMemoryGeneratorCreated struct { /* URI of created memory generator */ Location string Payload *models.MemoryGenerator }
CreateMemoryGeneratorCreated describes a response with status code 201, with default header values.
Created
func NewCreateMemoryGeneratorCreated ¶
func NewCreateMemoryGeneratorCreated() *CreateMemoryGeneratorCreated
NewCreateMemoryGeneratorCreated creates a CreateMemoryGeneratorCreated with default headers values
func (*CreateMemoryGeneratorCreated) Error ¶
func (o *CreateMemoryGeneratorCreated) Error() string
func (*CreateMemoryGeneratorCreated) GetPayload ¶
func (o *CreateMemoryGeneratorCreated) GetPayload() *models.MemoryGenerator
type CreateMemoryGeneratorParams ¶
type CreateMemoryGeneratorParams struct { /* Generator. New memory generator */ Generator *models.MemoryGenerator Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMemoryGeneratorParams contains all the parameters to send to the API endpoint
for the create memory generator operation. Typically these are written to a http.Request.
func NewCreateMemoryGeneratorParams ¶
func NewCreateMemoryGeneratorParams() *CreateMemoryGeneratorParams
NewCreateMemoryGeneratorParams creates a new CreateMemoryGeneratorParams 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 NewCreateMemoryGeneratorParamsWithContext ¶
func NewCreateMemoryGeneratorParamsWithContext(ctx context.Context) *CreateMemoryGeneratorParams
NewCreateMemoryGeneratorParamsWithContext creates a new CreateMemoryGeneratorParams object with the ability to set a context for a request.
func NewCreateMemoryGeneratorParamsWithHTTPClient ¶
func NewCreateMemoryGeneratorParamsWithHTTPClient(client *http.Client) *CreateMemoryGeneratorParams
NewCreateMemoryGeneratorParamsWithHTTPClient creates a new CreateMemoryGeneratorParams object with the ability to set a custom HTTPClient for a request.
func NewCreateMemoryGeneratorParamsWithTimeout ¶
func NewCreateMemoryGeneratorParamsWithTimeout(timeout time.Duration) *CreateMemoryGeneratorParams
NewCreateMemoryGeneratorParamsWithTimeout creates a new CreateMemoryGeneratorParams object with the ability to set a timeout on a request.
func (*CreateMemoryGeneratorParams) SetContext ¶
func (o *CreateMemoryGeneratorParams) SetContext(ctx context.Context)
SetContext adds the context to the create memory generator params
func (*CreateMemoryGeneratorParams) SetDefaults ¶
func (o *CreateMemoryGeneratorParams) SetDefaults()
SetDefaults hydrates default values in the create memory generator params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMemoryGeneratorParams) SetGenerator ¶
func (o *CreateMemoryGeneratorParams) SetGenerator(generator *models.MemoryGenerator)
SetGenerator adds the generator to the create memory generator params
func (*CreateMemoryGeneratorParams) SetHTTPClient ¶
func (o *CreateMemoryGeneratorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create memory generator params
func (*CreateMemoryGeneratorParams) SetTimeout ¶
func (o *CreateMemoryGeneratorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create memory generator params
func (*CreateMemoryGeneratorParams) WithContext ¶
func (o *CreateMemoryGeneratorParams) WithContext(ctx context.Context) *CreateMemoryGeneratorParams
WithContext adds the context to the create memory generator params
func (*CreateMemoryGeneratorParams) WithDefaults ¶
func (o *CreateMemoryGeneratorParams) WithDefaults() *CreateMemoryGeneratorParams
WithDefaults hydrates default values in the create memory generator params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMemoryGeneratorParams) WithGenerator ¶
func (o *CreateMemoryGeneratorParams) WithGenerator(generator *models.MemoryGenerator) *CreateMemoryGeneratorParams
WithGenerator adds the generator to the create memory generator params
func (*CreateMemoryGeneratorParams) WithHTTPClient ¶
func (o *CreateMemoryGeneratorParams) WithHTTPClient(client *http.Client) *CreateMemoryGeneratorParams
WithHTTPClient adds the HTTPClient to the create memory generator params
func (*CreateMemoryGeneratorParams) WithTimeout ¶
func (o *CreateMemoryGeneratorParams) WithTimeout(timeout time.Duration) *CreateMemoryGeneratorParams
WithTimeout adds the timeout to the create memory generator params
func (*CreateMemoryGeneratorParams) WriteToRequest ¶
func (o *CreateMemoryGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMemoryGeneratorReader ¶
type CreateMemoryGeneratorReader struct {
// contains filtered or unexported fields
}
CreateMemoryGeneratorReader is a Reader for the CreateMemoryGenerator structure.
func (*CreateMemoryGeneratorReader) ReadResponse ¶
func (o *CreateMemoryGeneratorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMemoryGeneratorNoContent ¶
type DeleteMemoryGeneratorNoContent struct { }
DeleteMemoryGeneratorNoContent describes a response with status code 204, with default header values.
No Content
func NewDeleteMemoryGeneratorNoContent ¶
func NewDeleteMemoryGeneratorNoContent() *DeleteMemoryGeneratorNoContent
NewDeleteMemoryGeneratorNoContent creates a DeleteMemoryGeneratorNoContent with default headers values
func (*DeleteMemoryGeneratorNoContent) Error ¶
func (o *DeleteMemoryGeneratorNoContent) Error() string
type DeleteMemoryGeneratorParams ¶
type DeleteMemoryGeneratorParams struct { /* ID. Unique resource identifier Format: string */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMemoryGeneratorParams contains all the parameters to send to the API endpoint
for the delete memory generator operation. Typically these are written to a http.Request.
func NewDeleteMemoryGeneratorParams ¶
func NewDeleteMemoryGeneratorParams() *DeleteMemoryGeneratorParams
NewDeleteMemoryGeneratorParams creates a new DeleteMemoryGeneratorParams 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 NewDeleteMemoryGeneratorParamsWithContext ¶
func NewDeleteMemoryGeneratorParamsWithContext(ctx context.Context) *DeleteMemoryGeneratorParams
NewDeleteMemoryGeneratorParamsWithContext creates a new DeleteMemoryGeneratorParams object with the ability to set a context for a request.
func NewDeleteMemoryGeneratorParamsWithHTTPClient ¶
func NewDeleteMemoryGeneratorParamsWithHTTPClient(client *http.Client) *DeleteMemoryGeneratorParams
NewDeleteMemoryGeneratorParamsWithHTTPClient creates a new DeleteMemoryGeneratorParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteMemoryGeneratorParamsWithTimeout ¶
func NewDeleteMemoryGeneratorParamsWithTimeout(timeout time.Duration) *DeleteMemoryGeneratorParams
NewDeleteMemoryGeneratorParamsWithTimeout creates a new DeleteMemoryGeneratorParams object with the ability to set a timeout on a request.
func (*DeleteMemoryGeneratorParams) SetContext ¶
func (o *DeleteMemoryGeneratorParams) SetContext(ctx context.Context)
SetContext adds the context to the delete memory generator params
func (*DeleteMemoryGeneratorParams) SetDefaults ¶
func (o *DeleteMemoryGeneratorParams) SetDefaults()
SetDefaults hydrates default values in the delete memory generator params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMemoryGeneratorParams) SetHTTPClient ¶
func (o *DeleteMemoryGeneratorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete memory generator params
func (*DeleteMemoryGeneratorParams) SetID ¶
func (o *DeleteMemoryGeneratorParams) SetID(id string)
SetID adds the id to the delete memory generator params
func (*DeleteMemoryGeneratorParams) SetTimeout ¶
func (o *DeleteMemoryGeneratorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete memory generator params
func (*DeleteMemoryGeneratorParams) WithContext ¶
func (o *DeleteMemoryGeneratorParams) WithContext(ctx context.Context) *DeleteMemoryGeneratorParams
WithContext adds the context to the delete memory generator params
func (*DeleteMemoryGeneratorParams) WithDefaults ¶
func (o *DeleteMemoryGeneratorParams) WithDefaults() *DeleteMemoryGeneratorParams
WithDefaults hydrates default values in the delete memory generator params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMemoryGeneratorParams) WithHTTPClient ¶
func (o *DeleteMemoryGeneratorParams) WithHTTPClient(client *http.Client) *DeleteMemoryGeneratorParams
WithHTTPClient adds the HTTPClient to the delete memory generator params
func (*DeleteMemoryGeneratorParams) WithID ¶
func (o *DeleteMemoryGeneratorParams) WithID(id string) *DeleteMemoryGeneratorParams
WithID adds the id to the delete memory generator params
func (*DeleteMemoryGeneratorParams) WithTimeout ¶
func (o *DeleteMemoryGeneratorParams) WithTimeout(timeout time.Duration) *DeleteMemoryGeneratorParams
WithTimeout adds the timeout to the delete memory generator params
func (*DeleteMemoryGeneratorParams) WriteToRequest ¶
func (o *DeleteMemoryGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMemoryGeneratorReader ¶
type DeleteMemoryGeneratorReader struct {
// contains filtered or unexported fields
}
DeleteMemoryGeneratorReader is a Reader for the DeleteMemoryGenerator structure.
func (*DeleteMemoryGeneratorReader) ReadResponse ¶
func (o *DeleteMemoryGeneratorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMemoryGeneratorResultNoContent ¶
type DeleteMemoryGeneratorResultNoContent struct { }
DeleteMemoryGeneratorResultNoContent describes a response with status code 204, with default header values.
No Content
func NewDeleteMemoryGeneratorResultNoContent ¶
func NewDeleteMemoryGeneratorResultNoContent() *DeleteMemoryGeneratorResultNoContent
NewDeleteMemoryGeneratorResultNoContent creates a DeleteMemoryGeneratorResultNoContent with default headers values
func (*DeleteMemoryGeneratorResultNoContent) Error ¶
func (o *DeleteMemoryGeneratorResultNoContent) Error() string
type DeleteMemoryGeneratorResultParams ¶
type DeleteMemoryGeneratorResultParams struct { /* ID. Unique resource identifier Format: string */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMemoryGeneratorResultParams contains all the parameters to send to the API endpoint
for the delete memory generator result operation. Typically these are written to a http.Request.
func NewDeleteMemoryGeneratorResultParams ¶
func NewDeleteMemoryGeneratorResultParams() *DeleteMemoryGeneratorResultParams
NewDeleteMemoryGeneratorResultParams creates a new DeleteMemoryGeneratorResultParams 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 NewDeleteMemoryGeneratorResultParamsWithContext ¶
func NewDeleteMemoryGeneratorResultParamsWithContext(ctx context.Context) *DeleteMemoryGeneratorResultParams
NewDeleteMemoryGeneratorResultParamsWithContext creates a new DeleteMemoryGeneratorResultParams object with the ability to set a context for a request.
func NewDeleteMemoryGeneratorResultParamsWithHTTPClient ¶
func NewDeleteMemoryGeneratorResultParamsWithHTTPClient(client *http.Client) *DeleteMemoryGeneratorResultParams
NewDeleteMemoryGeneratorResultParamsWithHTTPClient creates a new DeleteMemoryGeneratorResultParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteMemoryGeneratorResultParamsWithTimeout ¶
func NewDeleteMemoryGeneratorResultParamsWithTimeout(timeout time.Duration) *DeleteMemoryGeneratorResultParams
NewDeleteMemoryGeneratorResultParamsWithTimeout creates a new DeleteMemoryGeneratorResultParams object with the ability to set a timeout on a request.
func (*DeleteMemoryGeneratorResultParams) SetContext ¶
func (o *DeleteMemoryGeneratorResultParams) SetContext(ctx context.Context)
SetContext adds the context to the delete memory generator result params
func (*DeleteMemoryGeneratorResultParams) SetDefaults ¶
func (o *DeleteMemoryGeneratorResultParams) SetDefaults()
SetDefaults hydrates default values in the delete memory generator result params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMemoryGeneratorResultParams) SetHTTPClient ¶
func (o *DeleteMemoryGeneratorResultParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete memory generator result params
func (*DeleteMemoryGeneratorResultParams) SetID ¶
func (o *DeleteMemoryGeneratorResultParams) SetID(id string)
SetID adds the id to the delete memory generator result params
func (*DeleteMemoryGeneratorResultParams) SetTimeout ¶
func (o *DeleteMemoryGeneratorResultParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete memory generator result params
func (*DeleteMemoryGeneratorResultParams) WithContext ¶
func (o *DeleteMemoryGeneratorResultParams) WithContext(ctx context.Context) *DeleteMemoryGeneratorResultParams
WithContext adds the context to the delete memory generator result params
func (*DeleteMemoryGeneratorResultParams) WithDefaults ¶
func (o *DeleteMemoryGeneratorResultParams) WithDefaults() *DeleteMemoryGeneratorResultParams
WithDefaults hydrates default values in the delete memory generator result params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMemoryGeneratorResultParams) WithHTTPClient ¶
func (o *DeleteMemoryGeneratorResultParams) WithHTTPClient(client *http.Client) *DeleteMemoryGeneratorResultParams
WithHTTPClient adds the HTTPClient to the delete memory generator result params
func (*DeleteMemoryGeneratorResultParams) WithID ¶
func (o *DeleteMemoryGeneratorResultParams) WithID(id string) *DeleteMemoryGeneratorResultParams
WithID adds the id to the delete memory generator result params
func (*DeleteMemoryGeneratorResultParams) WithTimeout ¶
func (o *DeleteMemoryGeneratorResultParams) WithTimeout(timeout time.Duration) *DeleteMemoryGeneratorResultParams
WithTimeout adds the timeout to the delete memory generator result params
func (*DeleteMemoryGeneratorResultParams) WriteToRequest ¶
func (o *DeleteMemoryGeneratorResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMemoryGeneratorResultReader ¶
type DeleteMemoryGeneratorResultReader struct {
// contains filtered or unexported fields
}
DeleteMemoryGeneratorResultReader is a Reader for the DeleteMemoryGeneratorResult structure.
func (*DeleteMemoryGeneratorResultReader) ReadResponse ¶
func (o *DeleteMemoryGeneratorResultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMemoryGeneratorOK ¶
type GetMemoryGeneratorOK struct {
Payload *models.MemoryGenerator
}
GetMemoryGeneratorOK describes a response with status code 200, with default header values.
Success
func NewGetMemoryGeneratorOK ¶
func NewGetMemoryGeneratorOK() *GetMemoryGeneratorOK
NewGetMemoryGeneratorOK creates a GetMemoryGeneratorOK with default headers values
func (*GetMemoryGeneratorOK) Error ¶
func (o *GetMemoryGeneratorOK) Error() string
func (*GetMemoryGeneratorOK) GetPayload ¶
func (o *GetMemoryGeneratorOK) GetPayload() *models.MemoryGenerator
type GetMemoryGeneratorParams ¶
type GetMemoryGeneratorParams struct { /* ID. Unique resource identifier Format: string */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMemoryGeneratorParams contains all the parameters to send to the API endpoint
for the get memory generator operation. Typically these are written to a http.Request.
func NewGetMemoryGeneratorParams ¶
func NewGetMemoryGeneratorParams() *GetMemoryGeneratorParams
NewGetMemoryGeneratorParams creates a new GetMemoryGeneratorParams 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 NewGetMemoryGeneratorParamsWithContext ¶
func NewGetMemoryGeneratorParamsWithContext(ctx context.Context) *GetMemoryGeneratorParams
NewGetMemoryGeneratorParamsWithContext creates a new GetMemoryGeneratorParams object with the ability to set a context for a request.
func NewGetMemoryGeneratorParamsWithHTTPClient ¶
func NewGetMemoryGeneratorParamsWithHTTPClient(client *http.Client) *GetMemoryGeneratorParams
NewGetMemoryGeneratorParamsWithHTTPClient creates a new GetMemoryGeneratorParams object with the ability to set a custom HTTPClient for a request.
func NewGetMemoryGeneratorParamsWithTimeout ¶
func NewGetMemoryGeneratorParamsWithTimeout(timeout time.Duration) *GetMemoryGeneratorParams
NewGetMemoryGeneratorParamsWithTimeout creates a new GetMemoryGeneratorParams object with the ability to set a timeout on a request.
func (*GetMemoryGeneratorParams) SetContext ¶
func (o *GetMemoryGeneratorParams) SetContext(ctx context.Context)
SetContext adds the context to the get memory generator params
func (*GetMemoryGeneratorParams) SetDefaults ¶
func (o *GetMemoryGeneratorParams) SetDefaults()
SetDefaults hydrates default values in the get memory generator params (not the query body).
All values with no default are reset to their zero value.
func (*GetMemoryGeneratorParams) SetHTTPClient ¶
func (o *GetMemoryGeneratorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get memory generator params
func (*GetMemoryGeneratorParams) SetID ¶
func (o *GetMemoryGeneratorParams) SetID(id string)
SetID adds the id to the get memory generator params
func (*GetMemoryGeneratorParams) SetTimeout ¶
func (o *GetMemoryGeneratorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get memory generator params
func (*GetMemoryGeneratorParams) WithContext ¶
func (o *GetMemoryGeneratorParams) WithContext(ctx context.Context) *GetMemoryGeneratorParams
WithContext adds the context to the get memory generator params
func (*GetMemoryGeneratorParams) WithDefaults ¶
func (o *GetMemoryGeneratorParams) WithDefaults() *GetMemoryGeneratorParams
WithDefaults hydrates default values in the get memory generator params (not the query body).
All values with no default are reset to their zero value.
func (*GetMemoryGeneratorParams) WithHTTPClient ¶
func (o *GetMemoryGeneratorParams) WithHTTPClient(client *http.Client) *GetMemoryGeneratorParams
WithHTTPClient adds the HTTPClient to the get memory generator params
func (*GetMemoryGeneratorParams) WithID ¶
func (o *GetMemoryGeneratorParams) WithID(id string) *GetMemoryGeneratorParams
WithID adds the id to the get memory generator params
func (*GetMemoryGeneratorParams) WithTimeout ¶
func (o *GetMemoryGeneratorParams) WithTimeout(timeout time.Duration) *GetMemoryGeneratorParams
WithTimeout adds the timeout to the get memory generator params
func (*GetMemoryGeneratorParams) WriteToRequest ¶
func (o *GetMemoryGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMemoryGeneratorReader ¶
type GetMemoryGeneratorReader struct {
// contains filtered or unexported fields
}
GetMemoryGeneratorReader is a Reader for the GetMemoryGenerator structure.
func (*GetMemoryGeneratorReader) ReadResponse ¶
func (o *GetMemoryGeneratorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMemoryGeneratorResultOK ¶
type GetMemoryGeneratorResultOK struct {
Payload *models.MemoryGeneratorResult
}
GetMemoryGeneratorResultOK describes a response with status code 200, with default header values.
Success
func NewGetMemoryGeneratorResultOK ¶
func NewGetMemoryGeneratorResultOK() *GetMemoryGeneratorResultOK
NewGetMemoryGeneratorResultOK creates a GetMemoryGeneratorResultOK with default headers values
func (*GetMemoryGeneratorResultOK) Error ¶
func (o *GetMemoryGeneratorResultOK) Error() string
func (*GetMemoryGeneratorResultOK) GetPayload ¶
func (o *GetMemoryGeneratorResultOK) GetPayload() *models.MemoryGeneratorResult
type GetMemoryGeneratorResultParams ¶
type GetMemoryGeneratorResultParams struct { /* ID. Unique resource identifier Format: string */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMemoryGeneratorResultParams contains all the parameters to send to the API endpoint
for the get memory generator result operation. Typically these are written to a http.Request.
func NewGetMemoryGeneratorResultParams ¶
func NewGetMemoryGeneratorResultParams() *GetMemoryGeneratorResultParams
NewGetMemoryGeneratorResultParams creates a new GetMemoryGeneratorResultParams 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 NewGetMemoryGeneratorResultParamsWithContext ¶
func NewGetMemoryGeneratorResultParamsWithContext(ctx context.Context) *GetMemoryGeneratorResultParams
NewGetMemoryGeneratorResultParamsWithContext creates a new GetMemoryGeneratorResultParams object with the ability to set a context for a request.
func NewGetMemoryGeneratorResultParamsWithHTTPClient ¶
func NewGetMemoryGeneratorResultParamsWithHTTPClient(client *http.Client) *GetMemoryGeneratorResultParams
NewGetMemoryGeneratorResultParamsWithHTTPClient creates a new GetMemoryGeneratorResultParams object with the ability to set a custom HTTPClient for a request.
func NewGetMemoryGeneratorResultParamsWithTimeout ¶
func NewGetMemoryGeneratorResultParamsWithTimeout(timeout time.Duration) *GetMemoryGeneratorResultParams
NewGetMemoryGeneratorResultParamsWithTimeout creates a new GetMemoryGeneratorResultParams object with the ability to set a timeout on a request.
func (*GetMemoryGeneratorResultParams) SetContext ¶
func (o *GetMemoryGeneratorResultParams) SetContext(ctx context.Context)
SetContext adds the context to the get memory generator result params
func (*GetMemoryGeneratorResultParams) SetDefaults ¶
func (o *GetMemoryGeneratorResultParams) SetDefaults()
SetDefaults hydrates default values in the get memory generator result params (not the query body).
All values with no default are reset to their zero value.
func (*GetMemoryGeneratorResultParams) SetHTTPClient ¶
func (o *GetMemoryGeneratorResultParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get memory generator result params
func (*GetMemoryGeneratorResultParams) SetID ¶
func (o *GetMemoryGeneratorResultParams) SetID(id string)
SetID adds the id to the get memory generator result params
func (*GetMemoryGeneratorResultParams) SetTimeout ¶
func (o *GetMemoryGeneratorResultParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get memory generator result params
func (*GetMemoryGeneratorResultParams) WithContext ¶
func (o *GetMemoryGeneratorResultParams) WithContext(ctx context.Context) *GetMemoryGeneratorResultParams
WithContext adds the context to the get memory generator result params
func (*GetMemoryGeneratorResultParams) WithDefaults ¶
func (o *GetMemoryGeneratorResultParams) WithDefaults() *GetMemoryGeneratorResultParams
WithDefaults hydrates default values in the get memory generator result params (not the query body).
All values with no default are reset to their zero value.
func (*GetMemoryGeneratorResultParams) WithHTTPClient ¶
func (o *GetMemoryGeneratorResultParams) WithHTTPClient(client *http.Client) *GetMemoryGeneratorResultParams
WithHTTPClient adds the HTTPClient to the get memory generator result params
func (*GetMemoryGeneratorResultParams) WithID ¶
func (o *GetMemoryGeneratorResultParams) WithID(id string) *GetMemoryGeneratorResultParams
WithID adds the id to the get memory generator result params
func (*GetMemoryGeneratorResultParams) WithTimeout ¶
func (o *GetMemoryGeneratorResultParams) WithTimeout(timeout time.Duration) *GetMemoryGeneratorResultParams
WithTimeout adds the timeout to the get memory generator result params
func (*GetMemoryGeneratorResultParams) WriteToRequest ¶
func (o *GetMemoryGeneratorResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMemoryGeneratorResultReader ¶
type GetMemoryGeneratorResultReader struct {
// contains filtered or unexported fields
}
GetMemoryGeneratorResultReader is a Reader for the GetMemoryGeneratorResult structure.
func (*GetMemoryGeneratorResultReader) ReadResponse ¶
func (o *GetMemoryGeneratorResultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListMemoryGeneratorResultsOK ¶
type ListMemoryGeneratorResultsOK struct {
Payload []*models.MemoryGeneratorResult
}
ListMemoryGeneratorResultsOK describes a response with status code 200, with default header values.
Success
func NewListMemoryGeneratorResultsOK ¶
func NewListMemoryGeneratorResultsOK() *ListMemoryGeneratorResultsOK
NewListMemoryGeneratorResultsOK creates a ListMemoryGeneratorResultsOK with default headers values
func (*ListMemoryGeneratorResultsOK) Error ¶
func (o *ListMemoryGeneratorResultsOK) Error() string
func (*ListMemoryGeneratorResultsOK) GetPayload ¶
func (o *ListMemoryGeneratorResultsOK) GetPayload() []*models.MemoryGeneratorResult
type ListMemoryGeneratorResultsParams ¶
type ListMemoryGeneratorResultsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListMemoryGeneratorResultsParams contains all the parameters to send to the API endpoint
for the list memory generator results operation. Typically these are written to a http.Request.
func NewListMemoryGeneratorResultsParams ¶
func NewListMemoryGeneratorResultsParams() *ListMemoryGeneratorResultsParams
NewListMemoryGeneratorResultsParams creates a new ListMemoryGeneratorResultsParams 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 NewListMemoryGeneratorResultsParamsWithContext ¶
func NewListMemoryGeneratorResultsParamsWithContext(ctx context.Context) *ListMemoryGeneratorResultsParams
NewListMemoryGeneratorResultsParamsWithContext creates a new ListMemoryGeneratorResultsParams object with the ability to set a context for a request.
func NewListMemoryGeneratorResultsParamsWithHTTPClient ¶
func NewListMemoryGeneratorResultsParamsWithHTTPClient(client *http.Client) *ListMemoryGeneratorResultsParams
NewListMemoryGeneratorResultsParamsWithHTTPClient creates a new ListMemoryGeneratorResultsParams object with the ability to set a custom HTTPClient for a request.
func NewListMemoryGeneratorResultsParamsWithTimeout ¶
func NewListMemoryGeneratorResultsParamsWithTimeout(timeout time.Duration) *ListMemoryGeneratorResultsParams
NewListMemoryGeneratorResultsParamsWithTimeout creates a new ListMemoryGeneratorResultsParams object with the ability to set a timeout on a request.
func (*ListMemoryGeneratorResultsParams) SetContext ¶
func (o *ListMemoryGeneratorResultsParams) SetContext(ctx context.Context)
SetContext adds the context to the list memory generator results params
func (*ListMemoryGeneratorResultsParams) SetDefaults ¶
func (o *ListMemoryGeneratorResultsParams) SetDefaults()
SetDefaults hydrates default values in the list memory generator results params (not the query body).
All values with no default are reset to their zero value.
func (*ListMemoryGeneratorResultsParams) SetHTTPClient ¶
func (o *ListMemoryGeneratorResultsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list memory generator results params
func (*ListMemoryGeneratorResultsParams) SetTimeout ¶
func (o *ListMemoryGeneratorResultsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list memory generator results params
func (*ListMemoryGeneratorResultsParams) WithContext ¶
func (o *ListMemoryGeneratorResultsParams) WithContext(ctx context.Context) *ListMemoryGeneratorResultsParams
WithContext adds the context to the list memory generator results params
func (*ListMemoryGeneratorResultsParams) WithDefaults ¶
func (o *ListMemoryGeneratorResultsParams) WithDefaults() *ListMemoryGeneratorResultsParams
WithDefaults hydrates default values in the list memory generator results params (not the query body).
All values with no default are reset to their zero value.
func (*ListMemoryGeneratorResultsParams) WithHTTPClient ¶
func (o *ListMemoryGeneratorResultsParams) WithHTTPClient(client *http.Client) *ListMemoryGeneratorResultsParams
WithHTTPClient adds the HTTPClient to the list memory generator results params
func (*ListMemoryGeneratorResultsParams) WithTimeout ¶
func (o *ListMemoryGeneratorResultsParams) WithTimeout(timeout time.Duration) *ListMemoryGeneratorResultsParams
WithTimeout adds the timeout to the list memory generator results params
func (*ListMemoryGeneratorResultsParams) WriteToRequest ¶
func (o *ListMemoryGeneratorResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListMemoryGeneratorResultsReader ¶
type ListMemoryGeneratorResultsReader struct {
// contains filtered or unexported fields
}
ListMemoryGeneratorResultsReader is a Reader for the ListMemoryGeneratorResults structure.
func (*ListMemoryGeneratorResultsReader) ReadResponse ¶
func (o *ListMemoryGeneratorResultsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListMemoryGeneratorsOK ¶
type ListMemoryGeneratorsOK struct {
Payload []*models.MemoryGenerator
}
ListMemoryGeneratorsOK describes a response with status code 200, with default header values.
Success
func NewListMemoryGeneratorsOK ¶
func NewListMemoryGeneratorsOK() *ListMemoryGeneratorsOK
NewListMemoryGeneratorsOK creates a ListMemoryGeneratorsOK with default headers values
func (*ListMemoryGeneratorsOK) Error ¶
func (o *ListMemoryGeneratorsOK) Error() string
func (*ListMemoryGeneratorsOK) GetPayload ¶
func (o *ListMemoryGeneratorsOK) GetPayload() []*models.MemoryGenerator
type ListMemoryGeneratorsParams ¶
type ListMemoryGeneratorsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListMemoryGeneratorsParams contains all the parameters to send to the API endpoint
for the list memory generators operation. Typically these are written to a http.Request.
func NewListMemoryGeneratorsParams ¶
func NewListMemoryGeneratorsParams() *ListMemoryGeneratorsParams
NewListMemoryGeneratorsParams creates a new ListMemoryGeneratorsParams 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 NewListMemoryGeneratorsParamsWithContext ¶
func NewListMemoryGeneratorsParamsWithContext(ctx context.Context) *ListMemoryGeneratorsParams
NewListMemoryGeneratorsParamsWithContext creates a new ListMemoryGeneratorsParams object with the ability to set a context for a request.
func NewListMemoryGeneratorsParamsWithHTTPClient ¶
func NewListMemoryGeneratorsParamsWithHTTPClient(client *http.Client) *ListMemoryGeneratorsParams
NewListMemoryGeneratorsParamsWithHTTPClient creates a new ListMemoryGeneratorsParams object with the ability to set a custom HTTPClient for a request.
func NewListMemoryGeneratorsParamsWithTimeout ¶
func NewListMemoryGeneratorsParamsWithTimeout(timeout time.Duration) *ListMemoryGeneratorsParams
NewListMemoryGeneratorsParamsWithTimeout creates a new ListMemoryGeneratorsParams object with the ability to set a timeout on a request.
func (*ListMemoryGeneratorsParams) SetContext ¶
func (o *ListMemoryGeneratorsParams) SetContext(ctx context.Context)
SetContext adds the context to the list memory generators params
func (*ListMemoryGeneratorsParams) SetDefaults ¶
func (o *ListMemoryGeneratorsParams) SetDefaults()
SetDefaults hydrates default values in the list memory generators params (not the query body).
All values with no default are reset to their zero value.
func (*ListMemoryGeneratorsParams) SetHTTPClient ¶
func (o *ListMemoryGeneratorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list memory generators params
func (*ListMemoryGeneratorsParams) SetTimeout ¶
func (o *ListMemoryGeneratorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list memory generators params
func (*ListMemoryGeneratorsParams) WithContext ¶
func (o *ListMemoryGeneratorsParams) WithContext(ctx context.Context) *ListMemoryGeneratorsParams
WithContext adds the context to the list memory generators params
func (*ListMemoryGeneratorsParams) WithDefaults ¶
func (o *ListMemoryGeneratorsParams) WithDefaults() *ListMemoryGeneratorsParams
WithDefaults hydrates default values in the list memory generators params (not the query body).
All values with no default are reset to their zero value.
func (*ListMemoryGeneratorsParams) WithHTTPClient ¶
func (o *ListMemoryGeneratorsParams) WithHTTPClient(client *http.Client) *ListMemoryGeneratorsParams
WithHTTPClient adds the HTTPClient to the list memory generators params
func (*ListMemoryGeneratorsParams) WithTimeout ¶
func (o *ListMemoryGeneratorsParams) WithTimeout(timeout time.Duration) *ListMemoryGeneratorsParams
WithTimeout adds the timeout to the list memory generators params
func (*ListMemoryGeneratorsParams) WriteToRequest ¶
func (o *ListMemoryGeneratorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListMemoryGeneratorsReader ¶
type ListMemoryGeneratorsReader struct {
// contains filtered or unexported fields
}
ListMemoryGeneratorsReader is a Reader for the ListMemoryGenerators structure.
func (*ListMemoryGeneratorsReader) ReadResponse ¶
func (o *ListMemoryGeneratorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MemoryInfoOK ¶
type MemoryInfoOK struct {
Payload *MemoryInfoOKBody
}
MemoryInfoOK describes a response with status code 200, with default header values.
Success
func NewMemoryInfoOK ¶
func NewMemoryInfoOK() *MemoryInfoOK
NewMemoryInfoOK creates a MemoryInfoOK with default headers values
func (*MemoryInfoOK) Error ¶
func (o *MemoryInfoOK) Error() string
func (*MemoryInfoOK) GetPayload ¶
func (o *MemoryInfoOK) GetPayload() *MemoryInfoOKBody
type MemoryInfoOKBody ¶
type MemoryInfoOKBody struct { // Amount of free memory currently available (in bytes) FreeMemory int64 `json:"free_memory,omitempty"` // Total amount of RAM (in bytes) TotalMemory int64 `json:"total_memory,omitempty"` }
MemoryInfoOKBody MemoryInfoResult swagger:model MemoryInfoOKBody
func (*MemoryInfoOKBody) ContextValidate ¶
ContextValidate validates this memory info o k body based on context it is used
func (*MemoryInfoOKBody) MarshalBinary ¶
func (o *MemoryInfoOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MemoryInfoOKBody) UnmarshalBinary ¶
func (o *MemoryInfoOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MemoryInfoParams ¶
type MemoryInfoParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MemoryInfoParams contains all the parameters to send to the API endpoint
for the memory info operation. Typically these are written to a http.Request.
func NewMemoryInfoParams ¶
func NewMemoryInfoParams() *MemoryInfoParams
NewMemoryInfoParams creates a new MemoryInfoParams 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 NewMemoryInfoParamsWithContext ¶
func NewMemoryInfoParamsWithContext(ctx context.Context) *MemoryInfoParams
NewMemoryInfoParamsWithContext creates a new MemoryInfoParams object with the ability to set a context for a request.
func NewMemoryInfoParamsWithHTTPClient ¶
func NewMemoryInfoParamsWithHTTPClient(client *http.Client) *MemoryInfoParams
NewMemoryInfoParamsWithHTTPClient creates a new MemoryInfoParams object with the ability to set a custom HTTPClient for a request.
func NewMemoryInfoParamsWithTimeout ¶
func NewMemoryInfoParamsWithTimeout(timeout time.Duration) *MemoryInfoParams
NewMemoryInfoParamsWithTimeout creates a new MemoryInfoParams object with the ability to set a timeout on a request.
func (*MemoryInfoParams) SetContext ¶
func (o *MemoryInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the memory info params
func (*MemoryInfoParams) SetDefaults ¶
func (o *MemoryInfoParams) SetDefaults()
SetDefaults hydrates default values in the memory info params (not the query body).
All values with no default are reset to their zero value.
func (*MemoryInfoParams) SetHTTPClient ¶
func (o *MemoryInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the memory info params
func (*MemoryInfoParams) SetTimeout ¶
func (o *MemoryInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the memory info params
func (*MemoryInfoParams) WithContext ¶
func (o *MemoryInfoParams) WithContext(ctx context.Context) *MemoryInfoParams
WithContext adds the context to the memory info params
func (*MemoryInfoParams) WithDefaults ¶
func (o *MemoryInfoParams) WithDefaults() *MemoryInfoParams
WithDefaults hydrates default values in the memory info params (not the query body).
All values with no default are reset to their zero value.
func (*MemoryInfoParams) WithHTTPClient ¶
func (o *MemoryInfoParams) WithHTTPClient(client *http.Client) *MemoryInfoParams
WithHTTPClient adds the HTTPClient to the memory info params
func (*MemoryInfoParams) WithTimeout ¶
func (o *MemoryInfoParams) WithTimeout(timeout time.Duration) *MemoryInfoParams
WithTimeout adds the timeout to the memory info params
func (*MemoryInfoParams) WriteToRequest ¶
func (o *MemoryInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MemoryInfoReader ¶
type MemoryInfoReader struct {
// contains filtered or unexported fields
}
MemoryInfoReader is a Reader for the MemoryInfo structure.
func (*MemoryInfoReader) ReadResponse ¶
func (o *MemoryInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartMemoryGeneratorCreated ¶
type StartMemoryGeneratorCreated struct { /* URI of created memory generator result */ Location string Payload *models.MemoryGeneratorResult }
StartMemoryGeneratorCreated describes a response with status code 201, with default header values.
Created
func NewStartMemoryGeneratorCreated ¶
func NewStartMemoryGeneratorCreated() *StartMemoryGeneratorCreated
NewStartMemoryGeneratorCreated creates a StartMemoryGeneratorCreated with default headers values
func (*StartMemoryGeneratorCreated) Error ¶
func (o *StartMemoryGeneratorCreated) Error() string
func (*StartMemoryGeneratorCreated) GetPayload ¶
func (o *StartMemoryGeneratorCreated) GetPayload() *models.MemoryGeneratorResult
type StartMemoryGeneratorParams ¶
type StartMemoryGeneratorParams 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 }
StartMemoryGeneratorParams contains all the parameters to send to the API endpoint
for the start memory generator operation. Typically these are written to a http.Request.
func NewStartMemoryGeneratorParams ¶
func NewStartMemoryGeneratorParams() *StartMemoryGeneratorParams
NewStartMemoryGeneratorParams creates a new StartMemoryGeneratorParams 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 NewStartMemoryGeneratorParamsWithContext ¶
func NewStartMemoryGeneratorParamsWithContext(ctx context.Context) *StartMemoryGeneratorParams
NewStartMemoryGeneratorParamsWithContext creates a new StartMemoryGeneratorParams object with the ability to set a context for a request.
func NewStartMemoryGeneratorParamsWithHTTPClient ¶
func NewStartMemoryGeneratorParamsWithHTTPClient(client *http.Client) *StartMemoryGeneratorParams
NewStartMemoryGeneratorParamsWithHTTPClient creates a new StartMemoryGeneratorParams object with the ability to set a custom HTTPClient for a request.
func NewStartMemoryGeneratorParamsWithTimeout ¶
func NewStartMemoryGeneratorParamsWithTimeout(timeout time.Duration) *StartMemoryGeneratorParams
NewStartMemoryGeneratorParamsWithTimeout creates a new StartMemoryGeneratorParams object with the ability to set a timeout on a request.
func (*StartMemoryGeneratorParams) SetContext ¶
func (o *StartMemoryGeneratorParams) SetContext(ctx context.Context)
SetContext adds the context to the start memory generator params
func (*StartMemoryGeneratorParams) SetDefaults ¶
func (o *StartMemoryGeneratorParams) SetDefaults()
SetDefaults hydrates default values in the start memory generator params (not the query body).
All values with no default are reset to their zero value.
func (*StartMemoryGeneratorParams) SetDynamicResults ¶
func (o *StartMemoryGeneratorParams) SetDynamicResults(dynamicResults *models.DynamicResultsConfig)
SetDynamicResults adds the dynamicResults to the start memory generator params
func (*StartMemoryGeneratorParams) SetHTTPClient ¶
func (o *StartMemoryGeneratorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start memory generator params
func (*StartMemoryGeneratorParams) SetID ¶
func (o *StartMemoryGeneratorParams) SetID(id string)
SetID adds the id to the start memory generator params
func (*StartMemoryGeneratorParams) SetTimeout ¶
func (o *StartMemoryGeneratorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start memory generator params
func (*StartMemoryGeneratorParams) WithContext ¶
func (o *StartMemoryGeneratorParams) WithContext(ctx context.Context) *StartMemoryGeneratorParams
WithContext adds the context to the start memory generator params
func (*StartMemoryGeneratorParams) WithDefaults ¶
func (o *StartMemoryGeneratorParams) WithDefaults() *StartMemoryGeneratorParams
WithDefaults hydrates default values in the start memory generator params (not the query body).
All values with no default are reset to their zero value.
func (*StartMemoryGeneratorParams) WithDynamicResults ¶
func (o *StartMemoryGeneratorParams) WithDynamicResults(dynamicResults *models.DynamicResultsConfig) *StartMemoryGeneratorParams
WithDynamicResults adds the dynamicResults to the start memory generator params
func (*StartMemoryGeneratorParams) WithHTTPClient ¶
func (o *StartMemoryGeneratorParams) WithHTTPClient(client *http.Client) *StartMemoryGeneratorParams
WithHTTPClient adds the HTTPClient to the start memory generator params
func (*StartMemoryGeneratorParams) WithID ¶
func (o *StartMemoryGeneratorParams) WithID(id string) *StartMemoryGeneratorParams
WithID adds the id to the start memory generator params
func (*StartMemoryGeneratorParams) WithTimeout ¶
func (o *StartMemoryGeneratorParams) WithTimeout(timeout time.Duration) *StartMemoryGeneratorParams
WithTimeout adds the timeout to the start memory generator params
func (*StartMemoryGeneratorParams) WriteToRequest ¶
func (o *StartMemoryGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartMemoryGeneratorReader ¶
type StartMemoryGeneratorReader struct {
// contains filtered or unexported fields
}
StartMemoryGeneratorReader is a Reader for the StartMemoryGenerator structure.
func (*StartMemoryGeneratorReader) ReadResponse ¶
func (o *StartMemoryGeneratorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopMemoryGeneratorNoContent ¶
type StopMemoryGeneratorNoContent struct { }
StopMemoryGeneratorNoContent describes a response with status code 204, with default header values.
No Content
func NewStopMemoryGeneratorNoContent ¶
func NewStopMemoryGeneratorNoContent() *StopMemoryGeneratorNoContent
NewStopMemoryGeneratorNoContent creates a StopMemoryGeneratorNoContent with default headers values
func (*StopMemoryGeneratorNoContent) Error ¶
func (o *StopMemoryGeneratorNoContent) Error() string
type StopMemoryGeneratorParams ¶
type StopMemoryGeneratorParams struct { /* ID. Unique resource identifier Format: string */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopMemoryGeneratorParams contains all the parameters to send to the API endpoint
for the stop memory generator operation. Typically these are written to a http.Request.
func NewStopMemoryGeneratorParams ¶
func NewStopMemoryGeneratorParams() *StopMemoryGeneratorParams
NewStopMemoryGeneratorParams creates a new StopMemoryGeneratorParams 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 NewStopMemoryGeneratorParamsWithContext ¶
func NewStopMemoryGeneratorParamsWithContext(ctx context.Context) *StopMemoryGeneratorParams
NewStopMemoryGeneratorParamsWithContext creates a new StopMemoryGeneratorParams object with the ability to set a context for a request.
func NewStopMemoryGeneratorParamsWithHTTPClient ¶
func NewStopMemoryGeneratorParamsWithHTTPClient(client *http.Client) *StopMemoryGeneratorParams
NewStopMemoryGeneratorParamsWithHTTPClient creates a new StopMemoryGeneratorParams object with the ability to set a custom HTTPClient for a request.
func NewStopMemoryGeneratorParamsWithTimeout ¶
func NewStopMemoryGeneratorParamsWithTimeout(timeout time.Duration) *StopMemoryGeneratorParams
NewStopMemoryGeneratorParamsWithTimeout creates a new StopMemoryGeneratorParams object with the ability to set a timeout on a request.
func (*StopMemoryGeneratorParams) SetContext ¶
func (o *StopMemoryGeneratorParams) SetContext(ctx context.Context)
SetContext adds the context to the stop memory generator params
func (*StopMemoryGeneratorParams) SetDefaults ¶
func (o *StopMemoryGeneratorParams) SetDefaults()
SetDefaults hydrates default values in the stop memory generator params (not the query body).
All values with no default are reset to their zero value.
func (*StopMemoryGeneratorParams) SetHTTPClient ¶
func (o *StopMemoryGeneratorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop memory generator params
func (*StopMemoryGeneratorParams) SetID ¶
func (o *StopMemoryGeneratorParams) SetID(id string)
SetID adds the id to the stop memory generator params
func (*StopMemoryGeneratorParams) SetTimeout ¶
func (o *StopMemoryGeneratorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop memory generator params
func (*StopMemoryGeneratorParams) WithContext ¶
func (o *StopMemoryGeneratorParams) WithContext(ctx context.Context) *StopMemoryGeneratorParams
WithContext adds the context to the stop memory generator params
func (*StopMemoryGeneratorParams) WithDefaults ¶
func (o *StopMemoryGeneratorParams) WithDefaults() *StopMemoryGeneratorParams
WithDefaults hydrates default values in the stop memory generator params (not the query body).
All values with no default are reset to their zero value.
func (*StopMemoryGeneratorParams) WithHTTPClient ¶
func (o *StopMemoryGeneratorParams) WithHTTPClient(client *http.Client) *StopMemoryGeneratorParams
WithHTTPClient adds the HTTPClient to the stop memory generator params
func (*StopMemoryGeneratorParams) WithID ¶
func (o *StopMemoryGeneratorParams) WithID(id string) *StopMemoryGeneratorParams
WithID adds the id to the stop memory generator params
func (*StopMemoryGeneratorParams) WithTimeout ¶
func (o *StopMemoryGeneratorParams) WithTimeout(timeout time.Duration) *StopMemoryGeneratorParams
WithTimeout adds the timeout to the stop memory generator params
func (*StopMemoryGeneratorParams) WriteToRequest ¶
func (o *StopMemoryGeneratorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopMemoryGeneratorReader ¶
type StopMemoryGeneratorReader struct {
// contains filtered or unexported fields
}
StopMemoryGeneratorReader is a Reader for the StopMemoryGenerator structure.
func (*StopMemoryGeneratorReader) ReadResponse ¶
func (o *StopMemoryGeneratorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- bulk_create_memory_generators_parameters.go
- bulk_create_memory_generators_responses.go
- bulk_delete_memory_generators_parameters.go
- bulk_delete_memory_generators_responses.go
- bulk_start_memory_generators_parameters.go
- bulk_start_memory_generators_responses.go
- bulk_stop_memory_generators_parameters.go
- bulk_stop_memory_generators_responses.go
- create_memory_generator_parameters.go
- create_memory_generator_responses.go
- delete_memory_generator_parameters.go
- delete_memory_generator_responses.go
- delete_memory_generator_result_parameters.go
- delete_memory_generator_result_responses.go
- get_memory_generator_parameters.go
- get_memory_generator_responses.go
- get_memory_generator_result_parameters.go
- get_memory_generator_result_responses.go
- list_memory_generator_results_parameters.go
- list_memory_generator_results_responses.go
- list_memory_generators_parameters.go
- list_memory_generators_responses.go
- memory_generator_client.go
- memory_info_parameters.go
- memory_info_responses.go
- start_memory_generator_parameters.go
- start_memory_generator_responses.go
- stop_memory_generator_parameters.go
- stop_memory_generator_responses.go