Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateRuntime(params *CreateRuntimeParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRuntimeOK, error)
- func (a *Client) DeleteRuntimes(params *DeleteRuntimesParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRuntimesOK, error)
- func (a *Client) DescribeRuntimeProviderZones(params *DescribeRuntimeProviderZonesParams, ...) (*DescribeRuntimeProviderZonesOK, error)
- func (a *Client) DescribeRuntimes(params *DescribeRuntimesParams, authInfo runtime.ClientAuthInfoWriter) (*DescribeRuntimesOK, error)
- func (a *Client) GetRuntimeStatistics(params *GetRuntimeStatisticsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRuntimeStatisticsOK, error)
- func (a *Client) ModifyRuntime(params *ModifyRuntimeParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyRuntimeOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateRuntimeOK
- type CreateRuntimeParams
- func (o *CreateRuntimeParams) SetBody(body *models.OpenpitrixCreateRuntimeRequest)
- func (o *CreateRuntimeParams) SetContext(ctx context.Context)
- func (o *CreateRuntimeParams) SetHTTPClient(client *http.Client)
- func (o *CreateRuntimeParams) SetTimeout(timeout time.Duration)
- func (o *CreateRuntimeParams) WithBody(body *models.OpenpitrixCreateRuntimeRequest) *CreateRuntimeParams
- func (o *CreateRuntimeParams) WithContext(ctx context.Context) *CreateRuntimeParams
- func (o *CreateRuntimeParams) WithHTTPClient(client *http.Client) *CreateRuntimeParams
- func (o *CreateRuntimeParams) WithTimeout(timeout time.Duration) *CreateRuntimeParams
- func (o *CreateRuntimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRuntimeReader
- type DeleteRuntimesOK
- type DeleteRuntimesParams
- func NewDeleteRuntimesParams() *DeleteRuntimesParams
- func NewDeleteRuntimesParamsWithContext(ctx context.Context) *DeleteRuntimesParams
- func NewDeleteRuntimesParamsWithHTTPClient(client *http.Client) *DeleteRuntimesParams
- func NewDeleteRuntimesParamsWithTimeout(timeout time.Duration) *DeleteRuntimesParams
- func (o *DeleteRuntimesParams) SetBody(body *models.OpenpitrixDeleteRuntimesRequest)
- func (o *DeleteRuntimesParams) SetContext(ctx context.Context)
- func (o *DeleteRuntimesParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRuntimesParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRuntimesParams) WithBody(body *models.OpenpitrixDeleteRuntimesRequest) *DeleteRuntimesParams
- func (o *DeleteRuntimesParams) WithContext(ctx context.Context) *DeleteRuntimesParams
- func (o *DeleteRuntimesParams) WithHTTPClient(client *http.Client) *DeleteRuntimesParams
- func (o *DeleteRuntimesParams) WithTimeout(timeout time.Duration) *DeleteRuntimesParams
- func (o *DeleteRuntimesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRuntimesReader
- type DescribeRuntimeProviderZonesOK
- type DescribeRuntimeProviderZonesParams
- func NewDescribeRuntimeProviderZonesParams() *DescribeRuntimeProviderZonesParams
- func NewDescribeRuntimeProviderZonesParamsWithContext(ctx context.Context) *DescribeRuntimeProviderZonesParams
- func NewDescribeRuntimeProviderZonesParamsWithHTTPClient(client *http.Client) *DescribeRuntimeProviderZonesParams
- func NewDescribeRuntimeProviderZonesParamsWithTimeout(timeout time.Duration) *DescribeRuntimeProviderZonesParams
- func (o *DescribeRuntimeProviderZonesParams) SetContext(ctx context.Context)
- func (o *DescribeRuntimeProviderZonesParams) SetHTTPClient(client *http.Client)
- func (o *DescribeRuntimeProviderZonesParams) SetProvider(provider *string)
- func (o *DescribeRuntimeProviderZonesParams) SetRuntimeCredential(runtimeCredential *string)
- func (o *DescribeRuntimeProviderZonesParams) SetRuntimeURL(runtimeURL *string)
- func (o *DescribeRuntimeProviderZonesParams) SetTimeout(timeout time.Duration)
- func (o *DescribeRuntimeProviderZonesParams) WithContext(ctx context.Context) *DescribeRuntimeProviderZonesParams
- func (o *DescribeRuntimeProviderZonesParams) WithHTTPClient(client *http.Client) *DescribeRuntimeProviderZonesParams
- func (o *DescribeRuntimeProviderZonesParams) WithProvider(provider *string) *DescribeRuntimeProviderZonesParams
- func (o *DescribeRuntimeProviderZonesParams) WithRuntimeCredential(runtimeCredential *string) *DescribeRuntimeProviderZonesParams
- func (o *DescribeRuntimeProviderZonesParams) WithRuntimeURL(runtimeURL *string) *DescribeRuntimeProviderZonesParams
- func (o *DescribeRuntimeProviderZonesParams) WithTimeout(timeout time.Duration) *DescribeRuntimeProviderZonesParams
- func (o *DescribeRuntimeProviderZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeRuntimeProviderZonesReader
- type DescribeRuntimesOK
- type DescribeRuntimesParams
- func NewDescribeRuntimesParams() *DescribeRuntimesParams
- func NewDescribeRuntimesParamsWithContext(ctx context.Context) *DescribeRuntimesParams
- func NewDescribeRuntimesParamsWithHTTPClient(client *http.Client) *DescribeRuntimesParams
- func NewDescribeRuntimesParamsWithTimeout(timeout time.Duration) *DescribeRuntimesParams
- func (o *DescribeRuntimesParams) SetContext(ctx context.Context)
- func (o *DescribeRuntimesParams) SetHTTPClient(client *http.Client)
- func (o *DescribeRuntimesParams) SetLabel(label *string)
- func (o *DescribeRuntimesParams) SetLimit(limit *int64)
- func (o *DescribeRuntimesParams) SetOffset(offset *int64)
- func (o *DescribeRuntimesParams) SetOwner(owner []string)
- func (o *DescribeRuntimesParams) SetProvider(provider []string)
- func (o *DescribeRuntimesParams) SetRuntimeID(runtimeID []string)
- func (o *DescribeRuntimesParams) SetSearchWord(searchWord *string)
- func (o *DescribeRuntimesParams) SetStatus(status []string)
- func (o *DescribeRuntimesParams) SetTimeout(timeout time.Duration)
- func (o *DescribeRuntimesParams) WithContext(ctx context.Context) *DescribeRuntimesParams
- func (o *DescribeRuntimesParams) WithHTTPClient(client *http.Client) *DescribeRuntimesParams
- func (o *DescribeRuntimesParams) WithLabel(label *string) *DescribeRuntimesParams
- func (o *DescribeRuntimesParams) WithLimit(limit *int64) *DescribeRuntimesParams
- func (o *DescribeRuntimesParams) WithOffset(offset *int64) *DescribeRuntimesParams
- func (o *DescribeRuntimesParams) WithOwner(owner []string) *DescribeRuntimesParams
- func (o *DescribeRuntimesParams) WithProvider(provider []string) *DescribeRuntimesParams
- func (o *DescribeRuntimesParams) WithRuntimeID(runtimeID []string) *DescribeRuntimesParams
- func (o *DescribeRuntimesParams) WithSearchWord(searchWord *string) *DescribeRuntimesParams
- func (o *DescribeRuntimesParams) WithStatus(status []string) *DescribeRuntimesParams
- func (o *DescribeRuntimesParams) WithTimeout(timeout time.Duration) *DescribeRuntimesParams
- func (o *DescribeRuntimesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribeRuntimesReader
- type GetRuntimeStatisticsOK
- type GetRuntimeStatisticsParams
- func NewGetRuntimeStatisticsParams() *GetRuntimeStatisticsParams
- func NewGetRuntimeStatisticsParamsWithContext(ctx context.Context) *GetRuntimeStatisticsParams
- func NewGetRuntimeStatisticsParamsWithHTTPClient(client *http.Client) *GetRuntimeStatisticsParams
- func NewGetRuntimeStatisticsParamsWithTimeout(timeout time.Duration) *GetRuntimeStatisticsParams
- func (o *GetRuntimeStatisticsParams) SetContext(ctx context.Context)
- func (o *GetRuntimeStatisticsParams) SetHTTPClient(client *http.Client)
- func (o *GetRuntimeStatisticsParams) SetTimeout(timeout time.Duration)
- func (o *GetRuntimeStatisticsParams) WithContext(ctx context.Context) *GetRuntimeStatisticsParams
- func (o *GetRuntimeStatisticsParams) WithHTTPClient(client *http.Client) *GetRuntimeStatisticsParams
- func (o *GetRuntimeStatisticsParams) WithTimeout(timeout time.Duration) *GetRuntimeStatisticsParams
- func (o *GetRuntimeStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRuntimeStatisticsReader
- type ModifyRuntimeOK
- type ModifyRuntimeParams
- func (o *ModifyRuntimeParams) SetBody(body *models.OpenpitrixModifyRuntimeRequest)
- func (o *ModifyRuntimeParams) SetContext(ctx context.Context)
- func (o *ModifyRuntimeParams) SetHTTPClient(client *http.Client)
- func (o *ModifyRuntimeParams) SetTimeout(timeout time.Duration)
- func (o *ModifyRuntimeParams) WithBody(body *models.OpenpitrixModifyRuntimeRequest) *ModifyRuntimeParams
- func (o *ModifyRuntimeParams) WithContext(ctx context.Context) *ModifyRuntimeParams
- func (o *ModifyRuntimeParams) WithHTTPClient(client *http.Client) *ModifyRuntimeParams
- func (o *ModifyRuntimeParams) WithTimeout(timeout time.Duration) *ModifyRuntimeParams
- func (o *ModifyRuntimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyRuntimeReader
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 ¶
func (o *CreateRuntimeParams) SetBody(body *models.OpenpitrixCreateRuntimeRequest)
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 ¶
func (o *CreateRuntimeParams) WithBody(body *models.OpenpitrixCreateRuntimeRequest) *CreateRuntimeParams
WithBody adds the body to the create runtime params
func (*CreateRuntimeParams) WithContext ¶
func (o *CreateRuntimeParams) WithContext(ctx context.Context) *CreateRuntimeParams
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 ¶
func (o *DeleteRuntimesParams) SetBody(body *models.OpenpitrixDeleteRuntimesRequest)
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 ¶
func (o *DeleteRuntimesParams) WithBody(body *models.OpenpitrixDeleteRuntimesRequest) *DeleteRuntimesParams
WithBody adds the body to the delete runtimes params
func (*DeleteRuntimesParams) WithContext ¶
func (o *DeleteRuntimesParams) WithContext(ctx context.Context) *DeleteRuntimesParams
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 ¶
func (o *DescribeRuntimeProviderZonesOK) Error() string
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 ¶
func (o *DescribeRuntimeProviderZonesParams) SetContext(ctx context.Context)
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 ¶
func (o *DescribeRuntimeProviderZonesParams) WithContext(ctx context.Context) *DescribeRuntimeProviderZonesParams
WithContext adds the context to the describe runtime provider zones params
func (*DescribeRuntimeProviderZonesParams) WithHTTPClient ¶
func (o *DescribeRuntimeProviderZonesParams) WithHTTPClient(client *http.Client) *DescribeRuntimeProviderZonesParams
WithHTTPClient adds the HTTPClient to the describe runtime provider zones params
func (*DescribeRuntimeProviderZonesParams) WithProvider ¶
func (o *DescribeRuntimeProviderZonesParams) WithProvider(provider *string) *DescribeRuntimeProviderZonesParams
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 ¶
func (o *DescribeRuntimeProviderZonesParams) WithRuntimeURL(runtimeURL *string) *DescribeRuntimeProviderZonesParams
WithRuntimeURL adds the runtimeURL to the describe runtime provider zones params
func (*DescribeRuntimeProviderZonesParams) WithTimeout ¶
func (o *DescribeRuntimeProviderZonesParams) WithTimeout(timeout time.Duration) *DescribeRuntimeProviderZonesParams
WithTimeout adds the timeout to the describe runtime provider zones params
func (*DescribeRuntimeProviderZonesParams) WriteToRequest ¶
func (o *DescribeRuntimeProviderZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DescribeRuntimesParams) WithContext(ctx context.Context) *DescribeRuntimesParams
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 ¶
func (o *DescribeRuntimesParams) WithLabel(label *string) *DescribeRuntimesParams
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 ¶
func (o *DescribeRuntimesParams) WithTimeout(timeout time.Duration) *DescribeRuntimesParams
WithTimeout adds the timeout to the describe runtimes params
func (*DescribeRuntimesParams) WriteToRequest ¶
func (o *DescribeRuntimesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *GetRuntimeStatisticsParams) WithContext(ctx context.Context) *GetRuntimeStatisticsParams
WithContext adds the context to the get runtime statistics params
func (*GetRuntimeStatisticsParams) WithHTTPClient ¶ added in v0.1.5
func (o *GetRuntimeStatisticsParams) WithHTTPClient(client *http.Client) *GetRuntimeStatisticsParams
WithHTTPClient adds the HTTPClient to the get runtime statistics params
func (*GetRuntimeStatisticsParams) WithTimeout ¶ added in v0.1.5
func (o *GetRuntimeStatisticsParams) WithTimeout(timeout time.Duration) *GetRuntimeStatisticsParams
WithTimeout adds the timeout to the get runtime statistics params
func (*GetRuntimeStatisticsParams) WriteToRequest ¶ added in v0.1.5
func (o *GetRuntimeStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ModifyRuntimeParams) SetBody(body *models.OpenpitrixModifyRuntimeRequest)
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 ¶
func (o *ModifyRuntimeParams) WithBody(body *models.OpenpitrixModifyRuntimeRequest) *ModifyRuntimeParams
WithBody adds the body to the modify runtime params
func (*ModifyRuntimeParams) WithContext ¶
func (o *ModifyRuntimeParams) WithContext(ctx context.Context) *ModifyRuntimeParams
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.
Source Files ¶
- create_runtime_parameters.go
- create_runtime_responses.go
- delete_runtimes_parameters.go
- delete_runtimes_responses.go
- describe_runtime_provider_zones_parameters.go
- describe_runtime_provider_zones_responses.go
- describe_runtimes_parameters.go
- describe_runtimes_responses.go
- get_runtime_statistics_parameters.go
- get_runtime_statistics_responses.go
- modify_runtime_parameters.go
- modify_runtime_responses.go
- runtime_manager_client.go