memory_generator

package
v0.0.0-...-8fe3866 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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

func (*BulkCreateMemoryGeneratorsBody) Validate

func (o *BulkCreateMemoryGeneratorsBody) Validate(formats strfmt.Registry) error

Validate validates this bulk create memory generators body

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 (*BulkCreateMemoryGeneratorsOK) GetPayload

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

SetContext adds the context to the bulk create memory generators params

func (*BulkCreateMemoryGeneratorsParams) SetCreate

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

WithContext adds the context to the bulk create memory generators params

func (*BulkCreateMemoryGeneratorsParams) WithCreate

WithCreate adds the create to the bulk create memory generators params

func (*BulkCreateMemoryGeneratorsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the bulk create memory generators params

func (*BulkCreateMemoryGeneratorsParams) WithTimeout

WithTimeout adds the timeout to the bulk create memory generators params

func (*BulkCreateMemoryGeneratorsParams) WriteToRequest

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

func (*BulkDeleteMemoryGeneratorsBody) Validate

func (o *BulkDeleteMemoryGeneratorsBody) Validate(formats strfmt.Registry) error

Validate validates this bulk delete memory generators body

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

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

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

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

WithContext adds the context to the bulk delete memory generators params

func (*BulkDeleteMemoryGeneratorsParams) WithDefaults

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

WithDelete adds the delete to the bulk delete memory generators params

func (*BulkDeleteMemoryGeneratorsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bulk delete memory generators params

func (*BulkDeleteMemoryGeneratorsParams) WithTimeout

WithTimeout adds the timeout to the bulk delete memory generators params

func (*BulkDeleteMemoryGeneratorsParams) WriteToRequest

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 (*BulkStartMemoryGeneratorsOK) GetPayload

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

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

WithBulkStart adds the bulkStart to the bulk start memory generators params

func (*BulkStartMemoryGeneratorsParams) WithContext

WithContext adds the context to the bulk start memory generators params

func (*BulkStartMemoryGeneratorsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the bulk start memory generators params

func (*BulkStartMemoryGeneratorsParams) WithTimeout

WithTimeout adds the timeout to the bulk start memory generators params

func (*BulkStartMemoryGeneratorsParams) WriteToRequest

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

func (*BulkStopMemoryGeneratorsBody) Validate

func (o *BulkStopMemoryGeneratorsBody) Validate(formats strfmt.Registry) error

Validate validates this bulk stop memory generators body

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

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

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

WithBulkStop adds the bulkStop to the bulk stop memory generators params

func (*BulkStopMemoryGeneratorsParams) WithContext

WithContext adds the context to the bulk stop memory generators params

func (*BulkStopMemoryGeneratorsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the bulk stop memory generators params

func (*BulkStopMemoryGeneratorsParams) WithTimeout

WithTimeout adds the timeout to the bulk stop memory generators params

func (*BulkStopMemoryGeneratorsParams) WriteToRequest

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 (*CreateMemoryGeneratorCreated) GetPayload

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

WithContext adds the context to the create memory generator params

func (*CreateMemoryGeneratorParams) WithDefaults

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

WithGenerator adds the generator to the create memory generator params

func (*CreateMemoryGeneratorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create memory generator params

func (*CreateMemoryGeneratorParams) WithTimeout

WithTimeout adds the timeout to the create memory generator params

func (*CreateMemoryGeneratorParams) WriteToRequest

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

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

WithContext adds the context to the delete memory generator params

func (*DeleteMemoryGeneratorParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete memory generator params

func (*DeleteMemoryGeneratorParams) WithID

WithID adds the id to the delete memory generator params

func (*DeleteMemoryGeneratorParams) WithTimeout

WithTimeout adds the timeout to the delete memory generator params

func (*DeleteMemoryGeneratorParams) WriteToRequest

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

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

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

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

WithContext adds the context to the delete memory generator result params

func (*DeleteMemoryGeneratorResultParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete memory generator result params

func (*DeleteMemoryGeneratorResultParams) WithID

WithID adds the id to the delete memory generator result params

func (*DeleteMemoryGeneratorResultParams) WithTimeout

WithTimeout adds the timeout to the delete memory generator result params

func (*DeleteMemoryGeneratorResultParams) WriteToRequest

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

WithContext adds the context to the get memory generator params

func (*GetMemoryGeneratorParams) WithDefaults

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

WithID adds the id to the get memory generator params

func (*GetMemoryGeneratorParams) WithTimeout

WithTimeout adds the timeout to the get memory generator params

func (*GetMemoryGeneratorParams) WriteToRequest

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 (*GetMemoryGeneratorResultOK) GetPayload

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

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

WithContext adds the context to the get memory generator result params

func (*GetMemoryGeneratorResultParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get memory generator result params

func (*GetMemoryGeneratorResultParams) WithID

WithID adds the id to the get memory generator result params

func (*GetMemoryGeneratorResultParams) WithTimeout

WithTimeout adds the timeout to the get memory generator result params

func (*GetMemoryGeneratorResultParams) WriteToRequest

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 (*ListMemoryGeneratorResultsOK) GetPayload

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

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

WithContext adds the context to the list memory generator results params

func (*ListMemoryGeneratorResultsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the list memory generator results params

func (*ListMemoryGeneratorResultsParams) WithTimeout

WithTimeout adds the timeout to the list memory generator results params

func (*ListMemoryGeneratorResultsParams) WriteToRequest

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

WithContext adds the context to the list memory generators params

func (*ListMemoryGeneratorsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the list memory generators params

func (*ListMemoryGeneratorsParams) WithTimeout

WithTimeout adds the timeout to the list memory generators params

func (*ListMemoryGeneratorsParams) WriteToRequest

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

func (o *MemoryInfoOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*MemoryInfoOKBody) Validate

func (o *MemoryInfoOKBody) Validate(formats strfmt.Registry) error

Validate validates this memory info o k body

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 (*StartMemoryGeneratorCreated) GetPayload

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

WithContext adds the context to the start memory generator params

func (*StartMemoryGeneratorParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the start memory generator params

func (*StartMemoryGeneratorParams) WithID

WithID adds the id to the start memory generator params

func (*StartMemoryGeneratorParams) WithTimeout

WithTimeout adds the timeout to the start memory generator params

func (*StartMemoryGeneratorParams) WriteToRequest

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

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

WithContext adds the context to the stop memory generator params

func (*StopMemoryGeneratorParams) WithDefaults

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

WithID adds the id to the stop memory generator params

func (*StopMemoryGeneratorParams) WithTimeout

WithTimeout adds the timeout to the stop memory generator params

func (*StopMemoryGeneratorParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL