runtime_manager

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for runtime manager API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new runtime manager API client.

func (*Client) CreateRuntime

func (a *Client) CreateRuntime(params *CreateRuntimeParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRuntimeOK, error)

CreateRuntime creates runtime

func (*Client) DeleteRuntimes

func (a *Client) DeleteRuntimes(params *DeleteRuntimesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRuntimesOK, error)

DeleteRuntimes deletes runtimes

func (*Client) DescribeRuntimeProviderZones

func (a *Client) DescribeRuntimeProviderZones(params *DescribeRuntimeProviderZonesParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeRuntimeProviderZonesOK, error)

DescribeRuntimeProviderZones describes runtime provider zones

func (*Client) DescribeRuntimes

func (a *Client) DescribeRuntimes(params *DescribeRuntimesParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeRuntimesOK, error)

DescribeRuntimes describes runtime

func (*Client) GetRuntimeStatistics added in v0.1.5

func (a *Client) GetRuntimeStatistics(params *GetRuntimeStatisticsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRuntimeStatisticsOK, error)

GetRuntimeStatistics gets runtime statistics

func (*Client) ModifyRuntime

func (a *Client) ModifyRuntime(params *ModifyRuntimeParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyRuntimeOK, error)

ModifyRuntime modifies runtime

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type CreateRuntimeOK

type CreateRuntimeOK struct {
	Payload *models.OpenpitrixCreateRuntimeResponse
}

CreateRuntimeOK handles this case with default header values.

A successful response.

func NewCreateRuntimeOK

func NewCreateRuntimeOK() *CreateRuntimeOK

NewCreateRuntimeOK creates a CreateRuntimeOK with default headers values

func (*CreateRuntimeOK) Error

func (o *CreateRuntimeOK) Error() string

type CreateRuntimeParams

type CreateRuntimeParams struct {

	/*Body*/
	Body *models.OpenpitrixCreateRuntimeRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateRuntimeParams contains all the parameters to send to the API endpoint for the create runtime operation typically these are written to a http.Request

func NewCreateRuntimeParams

func NewCreateRuntimeParams() *CreateRuntimeParams

NewCreateRuntimeParams creates a new CreateRuntimeParams object with the default values initialized.

func NewCreateRuntimeParamsWithContext

func NewCreateRuntimeParamsWithContext(ctx context.Context) *CreateRuntimeParams

NewCreateRuntimeParamsWithContext creates a new CreateRuntimeParams object with the default values initialized, and the ability to set a context for a request

func NewCreateRuntimeParamsWithHTTPClient

func NewCreateRuntimeParamsWithHTTPClient(client *http.Client) *CreateRuntimeParams

NewCreateRuntimeParamsWithHTTPClient creates a new CreateRuntimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateRuntimeParamsWithTimeout

func NewCreateRuntimeParamsWithTimeout(timeout time.Duration) *CreateRuntimeParams

NewCreateRuntimeParamsWithTimeout creates a new CreateRuntimeParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateRuntimeParams) SetBody

SetBody adds the body to the create runtime params

func (*CreateRuntimeParams) SetContext

func (o *CreateRuntimeParams) SetContext(ctx context.Context)

SetContext adds the context to the create runtime params

func (*CreateRuntimeParams) SetHTTPClient

func (o *CreateRuntimeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create runtime params

func (*CreateRuntimeParams) SetTimeout

func (o *CreateRuntimeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create runtime params

func (*CreateRuntimeParams) WithBody

WithBody adds the body to the create runtime params

func (*CreateRuntimeParams) WithContext

WithContext adds the context to the create runtime params

func (*CreateRuntimeParams) WithHTTPClient

func (o *CreateRuntimeParams) WithHTTPClient(client *http.Client) *CreateRuntimeParams

WithHTTPClient adds the HTTPClient to the create runtime params

func (*CreateRuntimeParams) WithTimeout

func (o *CreateRuntimeParams) WithTimeout(timeout time.Duration) *CreateRuntimeParams

WithTimeout adds the timeout to the create runtime params

func (*CreateRuntimeParams) WriteToRequest

func (o *CreateRuntimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateRuntimeReader

type CreateRuntimeReader struct {
	// contains filtered or unexported fields
}

CreateRuntimeReader is a Reader for the CreateRuntime structure.

func (*CreateRuntimeReader) ReadResponse

func (o *CreateRuntimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteRuntimesOK

type DeleteRuntimesOK struct {
	Payload *models.OpenpitrixDeleteRuntimesResponse
}

DeleteRuntimesOK handles this case with default header values.

A successful response.

func NewDeleteRuntimesOK

func NewDeleteRuntimesOK() *DeleteRuntimesOK

NewDeleteRuntimesOK creates a DeleteRuntimesOK with default headers values

func (*DeleteRuntimesOK) Error

func (o *DeleteRuntimesOK) Error() string

type DeleteRuntimesParams

type DeleteRuntimesParams struct {

	/*Body*/
	Body *models.OpenpitrixDeleteRuntimesRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteRuntimesParams contains all the parameters to send to the API endpoint for the delete runtimes operation typically these are written to a http.Request

func NewDeleteRuntimesParams

func NewDeleteRuntimesParams() *DeleteRuntimesParams

NewDeleteRuntimesParams creates a new DeleteRuntimesParams object with the default values initialized.

func NewDeleteRuntimesParamsWithContext

func NewDeleteRuntimesParamsWithContext(ctx context.Context) *DeleteRuntimesParams

NewDeleteRuntimesParamsWithContext creates a new DeleteRuntimesParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteRuntimesParamsWithHTTPClient

func NewDeleteRuntimesParamsWithHTTPClient(client *http.Client) *DeleteRuntimesParams

NewDeleteRuntimesParamsWithHTTPClient creates a new DeleteRuntimesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteRuntimesParamsWithTimeout

func NewDeleteRuntimesParamsWithTimeout(timeout time.Duration) *DeleteRuntimesParams

NewDeleteRuntimesParamsWithTimeout creates a new DeleteRuntimesParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteRuntimesParams) SetBody

SetBody adds the body to the delete runtimes params

func (*DeleteRuntimesParams) SetContext

func (o *DeleteRuntimesParams) SetContext(ctx context.Context)

SetContext adds the context to the delete runtimes params

func (*DeleteRuntimesParams) SetHTTPClient

func (o *DeleteRuntimesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete runtimes params

func (*DeleteRuntimesParams) SetTimeout

func (o *DeleteRuntimesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete runtimes params

func (*DeleteRuntimesParams) WithBody

WithBody adds the body to the delete runtimes params

func (*DeleteRuntimesParams) WithContext

WithContext adds the context to the delete runtimes params

func (*DeleteRuntimesParams) WithHTTPClient

func (o *DeleteRuntimesParams) WithHTTPClient(client *http.Client) *DeleteRuntimesParams

WithHTTPClient adds the HTTPClient to the delete runtimes params

func (*DeleteRuntimesParams) WithTimeout

func (o *DeleteRuntimesParams) WithTimeout(timeout time.Duration) *DeleteRuntimesParams

WithTimeout adds the timeout to the delete runtimes params

func (*DeleteRuntimesParams) WriteToRequest

func (o *DeleteRuntimesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteRuntimesReader

type DeleteRuntimesReader struct {
	// contains filtered or unexported fields
}

DeleteRuntimesReader is a Reader for the DeleteRuntimes structure.

func (*DeleteRuntimesReader) ReadResponse

func (o *DeleteRuntimesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DescribeRuntimeProviderZonesOK

type DescribeRuntimeProviderZonesOK struct {
	Payload *models.OpenpitrixDescribeRuntimeProviderZonesResponse
}

DescribeRuntimeProviderZonesOK handles this case with default header values.

A successful response.

func NewDescribeRuntimeProviderZonesOK

func NewDescribeRuntimeProviderZonesOK() *DescribeRuntimeProviderZonesOK

NewDescribeRuntimeProviderZonesOK creates a DescribeRuntimeProviderZonesOK with default headers values

func (*DescribeRuntimeProviderZonesOK) Error

type DescribeRuntimeProviderZonesParams

type DescribeRuntimeProviderZonesParams struct {

	/*Provider*/
	Provider *string
	/*RuntimeCredential*/
	RuntimeCredential *string
	/*RuntimeURL*/
	RuntimeURL *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DescribeRuntimeProviderZonesParams contains all the parameters to send to the API endpoint for the describe runtime provider zones operation typically these are written to a http.Request

func NewDescribeRuntimeProviderZonesParams

func NewDescribeRuntimeProviderZonesParams() *DescribeRuntimeProviderZonesParams

NewDescribeRuntimeProviderZonesParams creates a new DescribeRuntimeProviderZonesParams object with the default values initialized.

func NewDescribeRuntimeProviderZonesParamsWithContext

func NewDescribeRuntimeProviderZonesParamsWithContext(ctx context.Context) *DescribeRuntimeProviderZonesParams

NewDescribeRuntimeProviderZonesParamsWithContext creates a new DescribeRuntimeProviderZonesParams object with the default values initialized, and the ability to set a context for a request

func NewDescribeRuntimeProviderZonesParamsWithHTTPClient

func NewDescribeRuntimeProviderZonesParamsWithHTTPClient(client *http.Client) *DescribeRuntimeProviderZonesParams

NewDescribeRuntimeProviderZonesParamsWithHTTPClient creates a new DescribeRuntimeProviderZonesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDescribeRuntimeProviderZonesParamsWithTimeout

func NewDescribeRuntimeProviderZonesParamsWithTimeout(timeout time.Duration) *DescribeRuntimeProviderZonesParams

NewDescribeRuntimeProviderZonesParamsWithTimeout creates a new DescribeRuntimeProviderZonesParams object with the default values initialized, and the ability to set a timeout on a request

func (*DescribeRuntimeProviderZonesParams) SetContext

SetContext adds the context to the describe runtime provider zones params

func (*DescribeRuntimeProviderZonesParams) SetHTTPClient

func (o *DescribeRuntimeProviderZonesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the describe runtime provider zones params

func (*DescribeRuntimeProviderZonesParams) SetProvider

func (o *DescribeRuntimeProviderZonesParams) SetProvider(provider *string)

SetProvider adds the provider to the describe runtime provider zones params

func (*DescribeRuntimeProviderZonesParams) SetRuntimeCredential

func (o *DescribeRuntimeProviderZonesParams) SetRuntimeCredential(runtimeCredential *string)

SetRuntimeCredential adds the runtimeCredential to the describe runtime provider zones params

func (*DescribeRuntimeProviderZonesParams) SetRuntimeURL

func (o *DescribeRuntimeProviderZonesParams) SetRuntimeURL(runtimeURL *string)

SetRuntimeURL adds the runtimeUrl to the describe runtime provider zones params

func (*DescribeRuntimeProviderZonesParams) SetTimeout

func (o *DescribeRuntimeProviderZonesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the describe runtime provider zones params

func (*DescribeRuntimeProviderZonesParams) WithContext

WithContext adds the context to the describe runtime provider zones params

func (*DescribeRuntimeProviderZonesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the describe runtime provider zones params

func (*DescribeRuntimeProviderZonesParams) WithProvider

WithProvider adds the provider to the describe runtime provider zones params

func (*DescribeRuntimeProviderZonesParams) WithRuntimeCredential

func (o *DescribeRuntimeProviderZonesParams) WithRuntimeCredential(runtimeCredential *string) *DescribeRuntimeProviderZonesParams

WithRuntimeCredential adds the runtimeCredential to the describe runtime provider zones params

func (*DescribeRuntimeProviderZonesParams) WithRuntimeURL

WithRuntimeURL adds the runtimeURL to the describe runtime provider zones params

func (*DescribeRuntimeProviderZonesParams) WithTimeout

WithTimeout adds the timeout to the describe runtime provider zones params

func (*DescribeRuntimeProviderZonesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DescribeRuntimeProviderZonesReader

type DescribeRuntimeProviderZonesReader struct {
	// contains filtered or unexported fields
}

DescribeRuntimeProviderZonesReader is a Reader for the DescribeRuntimeProviderZones structure.

func (*DescribeRuntimeProviderZonesReader) ReadResponse

func (o *DescribeRuntimeProviderZonesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DescribeRuntimesOK

type DescribeRuntimesOK struct {
	Payload *models.OpenpitrixDescribeRuntimesResponse
}

DescribeRuntimesOK handles this case with default header values.

A successful response.

func NewDescribeRuntimesOK

func NewDescribeRuntimesOK() *DescribeRuntimesOK

NewDescribeRuntimesOK creates a DescribeRuntimesOK with default headers values

func (*DescribeRuntimesOK) Error

func (o *DescribeRuntimesOK) Error() string

type DescribeRuntimesParams

type DescribeRuntimesParams struct {

	/*Label*/
	Label *string
	/*Limit*/
	Limit *int64
	/*Offset*/
	Offset *int64
	/*Owner*/
	Owner []string
	/*Provider*/
	Provider []string
	/*RuntimeID*/
	RuntimeID []string
	/*SearchWord*/
	SearchWord *string
	/*Status*/
	Status []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DescribeRuntimesParams contains all the parameters to send to the API endpoint for the describe runtimes operation typically these are written to a http.Request

func NewDescribeRuntimesParams

func NewDescribeRuntimesParams() *DescribeRuntimesParams

NewDescribeRuntimesParams creates a new DescribeRuntimesParams object with the default values initialized.

func NewDescribeRuntimesParamsWithContext

func NewDescribeRuntimesParamsWithContext(ctx context.Context) *DescribeRuntimesParams

NewDescribeRuntimesParamsWithContext creates a new DescribeRuntimesParams object with the default values initialized, and the ability to set a context for a request

func NewDescribeRuntimesParamsWithHTTPClient

func NewDescribeRuntimesParamsWithHTTPClient(client *http.Client) *DescribeRuntimesParams

NewDescribeRuntimesParamsWithHTTPClient creates a new DescribeRuntimesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDescribeRuntimesParamsWithTimeout

func NewDescribeRuntimesParamsWithTimeout(timeout time.Duration) *DescribeRuntimesParams

NewDescribeRuntimesParamsWithTimeout creates a new DescribeRuntimesParams object with the default values initialized, and the ability to set a timeout on a request

func (*DescribeRuntimesParams) SetContext

func (o *DescribeRuntimesParams) SetContext(ctx context.Context)

SetContext adds the context to the describe runtimes params

func (*DescribeRuntimesParams) SetHTTPClient

func (o *DescribeRuntimesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the describe runtimes params

func (*DescribeRuntimesParams) SetLabel

func (o *DescribeRuntimesParams) SetLabel(label *string)

SetLabel adds the label to the describe runtimes params

func (*DescribeRuntimesParams) SetLimit

func (o *DescribeRuntimesParams) SetLimit(limit *int64)

SetLimit adds the limit to the describe runtimes params

func (*DescribeRuntimesParams) SetOffset

func (o *DescribeRuntimesParams) SetOffset(offset *int64)

SetOffset adds the offset to the describe runtimes params

func (*DescribeRuntimesParams) SetOwner

func (o *DescribeRuntimesParams) SetOwner(owner []string)

SetOwner adds the owner to the describe runtimes params

func (*DescribeRuntimesParams) SetProvider added in v0.1.8

func (o *DescribeRuntimesParams) SetProvider(provider []string)

SetProvider adds the provider to the describe runtimes params

func (*DescribeRuntimesParams) SetRuntimeID

func (o *DescribeRuntimesParams) SetRuntimeID(runtimeID []string)

SetRuntimeID adds the runtimeId to the describe runtimes params

func (*DescribeRuntimesParams) SetSearchWord

func (o *DescribeRuntimesParams) SetSearchWord(searchWord *string)

SetSearchWord adds the searchWord to the describe runtimes params

func (*DescribeRuntimesParams) SetStatus

func (o *DescribeRuntimesParams) SetStatus(status []string)

SetStatus adds the status to the describe runtimes params

func (*DescribeRuntimesParams) SetTimeout

func (o *DescribeRuntimesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the describe runtimes params

func (*DescribeRuntimesParams) WithContext

WithContext adds the context to the describe runtimes params

func (*DescribeRuntimesParams) WithHTTPClient

func (o *DescribeRuntimesParams) WithHTTPClient(client *http.Client) *DescribeRuntimesParams

WithHTTPClient adds the HTTPClient to the describe runtimes params

func (*DescribeRuntimesParams) WithLabel

WithLabel adds the label to the describe runtimes params

func (*DescribeRuntimesParams) WithLimit

func (o *DescribeRuntimesParams) WithLimit(limit *int64) *DescribeRuntimesParams

WithLimit adds the limit to the describe runtimes params

func (*DescribeRuntimesParams) WithOffset

func (o *DescribeRuntimesParams) WithOffset(offset *int64) *DescribeRuntimesParams

WithOffset adds the offset to the describe runtimes params

func (*DescribeRuntimesParams) WithOwner

func (o *DescribeRuntimesParams) WithOwner(owner []string) *DescribeRuntimesParams

WithOwner adds the owner to the describe runtimes params

func (*DescribeRuntimesParams) WithProvider added in v0.1.8

func (o *DescribeRuntimesParams) WithProvider(provider []string) *DescribeRuntimesParams

WithProvider adds the provider to the describe runtimes params

func (*DescribeRuntimesParams) WithRuntimeID

func (o *DescribeRuntimesParams) WithRuntimeID(runtimeID []string) *DescribeRuntimesParams

WithRuntimeID adds the runtimeID to the describe runtimes params

func (*DescribeRuntimesParams) WithSearchWord

func (o *DescribeRuntimesParams) WithSearchWord(searchWord *string) *DescribeRuntimesParams

WithSearchWord adds the searchWord to the describe runtimes params

func (*DescribeRuntimesParams) WithStatus

func (o *DescribeRuntimesParams) WithStatus(status []string) *DescribeRuntimesParams

WithStatus adds the status to the describe runtimes params

func (*DescribeRuntimesParams) WithTimeout

WithTimeout adds the timeout to the describe runtimes params

func (*DescribeRuntimesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DescribeRuntimesReader

type DescribeRuntimesReader struct {
	// contains filtered or unexported fields
}

DescribeRuntimesReader is a Reader for the DescribeRuntimes structure.

func (*DescribeRuntimesReader) ReadResponse

func (o *DescribeRuntimesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRuntimeStatisticsOK added in v0.1.5

type GetRuntimeStatisticsOK struct {
	Payload *models.OpenpitrixGetRuntimeStatisticsResponse
}

GetRuntimeStatisticsOK handles this case with default header values.

A successful response.

func NewGetRuntimeStatisticsOK added in v0.1.5

func NewGetRuntimeStatisticsOK() *GetRuntimeStatisticsOK

NewGetRuntimeStatisticsOK creates a GetRuntimeStatisticsOK with default headers values

func (*GetRuntimeStatisticsOK) Error added in v0.1.5

func (o *GetRuntimeStatisticsOK) Error() string

type GetRuntimeStatisticsParams added in v0.1.5

type GetRuntimeStatisticsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRuntimeStatisticsParams contains all the parameters to send to the API endpoint for the get runtime statistics operation typically these are written to a http.Request

func NewGetRuntimeStatisticsParams added in v0.1.5

func NewGetRuntimeStatisticsParams() *GetRuntimeStatisticsParams

NewGetRuntimeStatisticsParams creates a new GetRuntimeStatisticsParams object with the default values initialized.

func NewGetRuntimeStatisticsParamsWithContext added in v0.1.5

func NewGetRuntimeStatisticsParamsWithContext(ctx context.Context) *GetRuntimeStatisticsParams

NewGetRuntimeStatisticsParamsWithContext creates a new GetRuntimeStatisticsParams object with the default values initialized, and the ability to set a context for a request

func NewGetRuntimeStatisticsParamsWithHTTPClient added in v0.1.5

func NewGetRuntimeStatisticsParamsWithHTTPClient(client *http.Client) *GetRuntimeStatisticsParams

NewGetRuntimeStatisticsParamsWithHTTPClient creates a new GetRuntimeStatisticsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRuntimeStatisticsParamsWithTimeout added in v0.1.5

func NewGetRuntimeStatisticsParamsWithTimeout(timeout time.Duration) *GetRuntimeStatisticsParams

NewGetRuntimeStatisticsParamsWithTimeout creates a new GetRuntimeStatisticsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRuntimeStatisticsParams) SetContext added in v0.1.5

func (o *GetRuntimeStatisticsParams) SetContext(ctx context.Context)

SetContext adds the context to the get runtime statistics params

func (*GetRuntimeStatisticsParams) SetHTTPClient added in v0.1.5

func (o *GetRuntimeStatisticsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get runtime statistics params

func (*GetRuntimeStatisticsParams) SetTimeout added in v0.1.5

func (o *GetRuntimeStatisticsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get runtime statistics params

func (*GetRuntimeStatisticsParams) WithContext added in v0.1.5

WithContext adds the context to the get runtime statistics params

func (*GetRuntimeStatisticsParams) WithHTTPClient added in v0.1.5

WithHTTPClient adds the HTTPClient to the get runtime statistics params

func (*GetRuntimeStatisticsParams) WithTimeout added in v0.1.5

WithTimeout adds the timeout to the get runtime statistics params

func (*GetRuntimeStatisticsParams) WriteToRequest added in v0.1.5

WriteToRequest writes these params to a swagger request

type GetRuntimeStatisticsReader added in v0.1.5

type GetRuntimeStatisticsReader struct {
	// contains filtered or unexported fields
}

GetRuntimeStatisticsReader is a Reader for the GetRuntimeStatistics structure.

func (*GetRuntimeStatisticsReader) ReadResponse added in v0.1.5

func (o *GetRuntimeStatisticsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ModifyRuntimeOK

type ModifyRuntimeOK struct {
	Payload *models.OpenpitrixModifyRuntimeResponse
}

ModifyRuntimeOK handles this case with default header values.

A successful response.

func NewModifyRuntimeOK

func NewModifyRuntimeOK() *ModifyRuntimeOK

NewModifyRuntimeOK creates a ModifyRuntimeOK with default headers values

func (*ModifyRuntimeOK) Error

func (o *ModifyRuntimeOK) Error() string

type ModifyRuntimeParams

type ModifyRuntimeParams struct {

	/*Body*/
	Body *models.OpenpitrixModifyRuntimeRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ModifyRuntimeParams contains all the parameters to send to the API endpoint for the modify runtime operation typically these are written to a http.Request

func NewModifyRuntimeParams

func NewModifyRuntimeParams() *ModifyRuntimeParams

NewModifyRuntimeParams creates a new ModifyRuntimeParams object with the default values initialized.

func NewModifyRuntimeParamsWithContext

func NewModifyRuntimeParamsWithContext(ctx context.Context) *ModifyRuntimeParams

NewModifyRuntimeParamsWithContext creates a new ModifyRuntimeParams object with the default values initialized, and the ability to set a context for a request

func NewModifyRuntimeParamsWithHTTPClient

func NewModifyRuntimeParamsWithHTTPClient(client *http.Client) *ModifyRuntimeParams

NewModifyRuntimeParamsWithHTTPClient creates a new ModifyRuntimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewModifyRuntimeParamsWithTimeout

func NewModifyRuntimeParamsWithTimeout(timeout time.Duration) *ModifyRuntimeParams

NewModifyRuntimeParamsWithTimeout creates a new ModifyRuntimeParams object with the default values initialized, and the ability to set a timeout on a request

func (*ModifyRuntimeParams) SetBody

SetBody adds the body to the modify runtime params

func (*ModifyRuntimeParams) SetContext

func (o *ModifyRuntimeParams) SetContext(ctx context.Context)

SetContext adds the context to the modify runtime params

func (*ModifyRuntimeParams) SetHTTPClient

func (o *ModifyRuntimeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the modify runtime params

func (*ModifyRuntimeParams) SetTimeout

func (o *ModifyRuntimeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the modify runtime params

func (*ModifyRuntimeParams) WithBody

WithBody adds the body to the modify runtime params

func (*ModifyRuntimeParams) WithContext

WithContext adds the context to the modify runtime params

func (*ModifyRuntimeParams) WithHTTPClient

func (o *ModifyRuntimeParams) WithHTTPClient(client *http.Client) *ModifyRuntimeParams

WithHTTPClient adds the HTTPClient to the modify runtime params

func (*ModifyRuntimeParams) WithTimeout

func (o *ModifyRuntimeParams) WithTimeout(timeout time.Duration) *ModifyRuntimeParams

WithTimeout adds the timeout to the modify runtime params

func (*ModifyRuntimeParams) WriteToRequest

func (o *ModifyRuntimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ModifyRuntimeReader

type ModifyRuntimeReader struct {
	// contains filtered or unexported fields
}

ModifyRuntimeReader is a Reader for the ModifyRuntime structure.

func (*ModifyRuntimeReader) ReadResponse

func (o *ModifyRuntimeReader) 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