Documentation ¶
Index ¶
- type AuthorizeForAutoscaleOK
- type AuthorizeForAutoscaleParams
- func NewAuthorizeForAutoscaleParams() *AuthorizeForAutoscaleParams
- func NewAuthorizeForAutoscaleParamsWithContext(ctx context.Context) *AuthorizeForAutoscaleParams
- func NewAuthorizeForAutoscaleParamsWithHTTPClient(client *http.Client) *AuthorizeForAutoscaleParams
- func NewAuthorizeForAutoscaleParamsWithTimeout(timeout time.Duration) *AuthorizeForAutoscaleParams
- func (o *AuthorizeForAutoscaleParams) SetContext(ctx context.Context)
- func (o *AuthorizeForAutoscaleParams) SetHTTPClient(client *http.Client)
- func (o *AuthorizeForAutoscaleParams) SetID(id int64)
- func (o *AuthorizeForAutoscaleParams) SetOwner(owner string)
- func (o *AuthorizeForAutoscaleParams) SetPermission(permission string)
- func (o *AuthorizeForAutoscaleParams) SetTimeout(timeout time.Duration)
- func (o *AuthorizeForAutoscaleParams) WithContext(ctx context.Context) *AuthorizeForAutoscaleParams
- func (o *AuthorizeForAutoscaleParams) WithHTTPClient(client *http.Client) *AuthorizeForAutoscaleParams
- func (o *AuthorizeForAutoscaleParams) WithID(id int64) *AuthorizeForAutoscaleParams
- func (o *AuthorizeForAutoscaleParams) WithOwner(owner string) *AuthorizeForAutoscaleParams
- func (o *AuthorizeForAutoscaleParams) WithPermission(permission string) *AuthorizeForAutoscaleParams
- func (o *AuthorizeForAutoscaleParams) WithTimeout(timeout time.Duration) *AuthorizeForAutoscaleParams
- func (o *AuthorizeForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuthorizeForAutoscaleReader
- type Client
- func (a *Client) AuthorizeForAutoscale(params *AuthorizeForAutoscaleParams) (*AuthorizeForAutoscaleOK, error)
- func (a *Client) FailureReportClusterForAutoscale(params *FailureReportClusterForAutoscaleParams) error
- func (a *Client) GetAllStackForAutoscale(params *GetAllStackForAutoscaleParams) (*GetAllStackForAutoscaleOK, error)
- func (a *Client) GetCertificateStackForAutoscale(params *GetCertificateStackForAutoscaleParams) (*GetCertificateStackForAutoscaleOK, error)
- func (a *Client) GetFullClusterForAutoscale(params *GetFullClusterForAutoscaleParams) (*GetFullClusterForAutoscaleOK, error)
- func (a *Client) GetStackForAmbariForAutoscale(params *GetStackForAmbariForAutoscaleParams) (*GetStackForAmbariForAutoscaleOK, error)
- func (a *Client) GetStackForAutoscale(params *GetStackForAutoscaleParams) (*GetStackForAutoscaleOK, error)
- func (a *Client) PutClusterForAutoscale(params *PutClusterForAutoscaleParams) error
- func (a *Client) PutStackForAutoscale(params *PutStackForAutoscaleParams) error
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type FailureReportClusterForAutoscaleDefault
- type FailureReportClusterForAutoscaleParams
- func NewFailureReportClusterForAutoscaleParams() *FailureReportClusterForAutoscaleParams
- func NewFailureReportClusterForAutoscaleParamsWithContext(ctx context.Context) *FailureReportClusterForAutoscaleParams
- func NewFailureReportClusterForAutoscaleParamsWithHTTPClient(client *http.Client) *FailureReportClusterForAutoscaleParams
- func NewFailureReportClusterForAutoscaleParamsWithTimeout(timeout time.Duration) *FailureReportClusterForAutoscaleParams
- func (o *FailureReportClusterForAutoscaleParams) SetBody(body *models_cloudbreak.FailureReport)
- func (o *FailureReportClusterForAutoscaleParams) SetContext(ctx context.Context)
- func (o *FailureReportClusterForAutoscaleParams) SetHTTPClient(client *http.Client)
- func (o *FailureReportClusterForAutoscaleParams) SetID(id int64)
- func (o *FailureReportClusterForAutoscaleParams) SetTimeout(timeout time.Duration)
- func (o *FailureReportClusterForAutoscaleParams) WithBody(body *models_cloudbreak.FailureReport) *FailureReportClusterForAutoscaleParams
- func (o *FailureReportClusterForAutoscaleParams) WithContext(ctx context.Context) *FailureReportClusterForAutoscaleParams
- func (o *FailureReportClusterForAutoscaleParams) WithHTTPClient(client *http.Client) *FailureReportClusterForAutoscaleParams
- func (o *FailureReportClusterForAutoscaleParams) WithID(id int64) *FailureReportClusterForAutoscaleParams
- func (o *FailureReportClusterForAutoscaleParams) WithTimeout(timeout time.Duration) *FailureReportClusterForAutoscaleParams
- func (o *FailureReportClusterForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FailureReportClusterForAutoscaleReader
- type GetAllStackForAutoscaleOK
- type GetAllStackForAutoscaleParams
- func NewGetAllStackForAutoscaleParams() *GetAllStackForAutoscaleParams
- func NewGetAllStackForAutoscaleParamsWithContext(ctx context.Context) *GetAllStackForAutoscaleParams
- func NewGetAllStackForAutoscaleParamsWithHTTPClient(client *http.Client) *GetAllStackForAutoscaleParams
- func NewGetAllStackForAutoscaleParamsWithTimeout(timeout time.Duration) *GetAllStackForAutoscaleParams
- func (o *GetAllStackForAutoscaleParams) SetContext(ctx context.Context)
- func (o *GetAllStackForAutoscaleParams) SetHTTPClient(client *http.Client)
- func (o *GetAllStackForAutoscaleParams) SetTimeout(timeout time.Duration)
- func (o *GetAllStackForAutoscaleParams) WithContext(ctx context.Context) *GetAllStackForAutoscaleParams
- func (o *GetAllStackForAutoscaleParams) WithHTTPClient(client *http.Client) *GetAllStackForAutoscaleParams
- func (o *GetAllStackForAutoscaleParams) WithTimeout(timeout time.Duration) *GetAllStackForAutoscaleParams
- func (o *GetAllStackForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllStackForAutoscaleReader
- type GetCertificateStackForAutoscaleOK
- type GetCertificateStackForAutoscaleParams
- func NewGetCertificateStackForAutoscaleParams() *GetCertificateStackForAutoscaleParams
- func NewGetCertificateStackForAutoscaleParamsWithContext(ctx context.Context) *GetCertificateStackForAutoscaleParams
- func NewGetCertificateStackForAutoscaleParamsWithHTTPClient(client *http.Client) *GetCertificateStackForAutoscaleParams
- func NewGetCertificateStackForAutoscaleParamsWithTimeout(timeout time.Duration) *GetCertificateStackForAutoscaleParams
- func (o *GetCertificateStackForAutoscaleParams) SetContext(ctx context.Context)
- func (o *GetCertificateStackForAutoscaleParams) SetHTTPClient(client *http.Client)
- func (o *GetCertificateStackForAutoscaleParams) SetID(id int64)
- func (o *GetCertificateStackForAutoscaleParams) SetTimeout(timeout time.Duration)
- func (o *GetCertificateStackForAutoscaleParams) WithContext(ctx context.Context) *GetCertificateStackForAutoscaleParams
- func (o *GetCertificateStackForAutoscaleParams) WithHTTPClient(client *http.Client) *GetCertificateStackForAutoscaleParams
- func (o *GetCertificateStackForAutoscaleParams) WithID(id int64) *GetCertificateStackForAutoscaleParams
- func (o *GetCertificateStackForAutoscaleParams) WithTimeout(timeout time.Duration) *GetCertificateStackForAutoscaleParams
- func (o *GetCertificateStackForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCertificateStackForAutoscaleReader
- type GetFullClusterForAutoscaleOK
- type GetFullClusterForAutoscaleParams
- func NewGetFullClusterForAutoscaleParams() *GetFullClusterForAutoscaleParams
- func NewGetFullClusterForAutoscaleParamsWithContext(ctx context.Context) *GetFullClusterForAutoscaleParams
- func NewGetFullClusterForAutoscaleParamsWithHTTPClient(client *http.Client) *GetFullClusterForAutoscaleParams
- func NewGetFullClusterForAutoscaleParamsWithTimeout(timeout time.Duration) *GetFullClusterForAutoscaleParams
- func (o *GetFullClusterForAutoscaleParams) SetContext(ctx context.Context)
- func (o *GetFullClusterForAutoscaleParams) SetHTTPClient(client *http.Client)
- func (o *GetFullClusterForAutoscaleParams) SetID(id int64)
- func (o *GetFullClusterForAutoscaleParams) SetTimeout(timeout time.Duration)
- func (o *GetFullClusterForAutoscaleParams) WithContext(ctx context.Context) *GetFullClusterForAutoscaleParams
- func (o *GetFullClusterForAutoscaleParams) WithHTTPClient(client *http.Client) *GetFullClusterForAutoscaleParams
- func (o *GetFullClusterForAutoscaleParams) WithID(id int64) *GetFullClusterForAutoscaleParams
- func (o *GetFullClusterForAutoscaleParams) WithTimeout(timeout time.Duration) *GetFullClusterForAutoscaleParams
- func (o *GetFullClusterForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFullClusterForAutoscaleReader
- type GetStackForAmbariForAutoscaleOK
- type GetStackForAmbariForAutoscaleParams
- func NewGetStackForAmbariForAutoscaleParams() *GetStackForAmbariForAutoscaleParams
- func NewGetStackForAmbariForAutoscaleParamsWithContext(ctx context.Context) *GetStackForAmbariForAutoscaleParams
- func NewGetStackForAmbariForAutoscaleParamsWithHTTPClient(client *http.Client) *GetStackForAmbariForAutoscaleParams
- func NewGetStackForAmbariForAutoscaleParamsWithTimeout(timeout time.Duration) *GetStackForAmbariForAutoscaleParams
- func (o *GetStackForAmbariForAutoscaleParams) SetBody(body *models_cloudbreak.AmbariAddress)
- func (o *GetStackForAmbariForAutoscaleParams) SetContext(ctx context.Context)
- func (o *GetStackForAmbariForAutoscaleParams) SetHTTPClient(client *http.Client)
- func (o *GetStackForAmbariForAutoscaleParams) SetTimeout(timeout time.Duration)
- func (o *GetStackForAmbariForAutoscaleParams) WithBody(body *models_cloudbreak.AmbariAddress) *GetStackForAmbariForAutoscaleParams
- func (o *GetStackForAmbariForAutoscaleParams) WithContext(ctx context.Context) *GetStackForAmbariForAutoscaleParams
- func (o *GetStackForAmbariForAutoscaleParams) WithHTTPClient(client *http.Client) *GetStackForAmbariForAutoscaleParams
- func (o *GetStackForAmbariForAutoscaleParams) WithTimeout(timeout time.Duration) *GetStackForAmbariForAutoscaleParams
- func (o *GetStackForAmbariForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStackForAmbariForAutoscaleReader
- type GetStackForAutoscaleOK
- type GetStackForAutoscaleParams
- func NewGetStackForAutoscaleParams() *GetStackForAutoscaleParams
- func NewGetStackForAutoscaleParamsWithContext(ctx context.Context) *GetStackForAutoscaleParams
- func NewGetStackForAutoscaleParamsWithHTTPClient(client *http.Client) *GetStackForAutoscaleParams
- func NewGetStackForAutoscaleParamsWithTimeout(timeout time.Duration) *GetStackForAutoscaleParams
- func (o *GetStackForAutoscaleParams) SetContext(ctx context.Context)
- func (o *GetStackForAutoscaleParams) SetHTTPClient(client *http.Client)
- func (o *GetStackForAutoscaleParams) SetID(id int64)
- func (o *GetStackForAutoscaleParams) SetTimeout(timeout time.Duration)
- func (o *GetStackForAutoscaleParams) WithContext(ctx context.Context) *GetStackForAutoscaleParams
- func (o *GetStackForAutoscaleParams) WithHTTPClient(client *http.Client) *GetStackForAutoscaleParams
- func (o *GetStackForAutoscaleParams) WithID(id int64) *GetStackForAutoscaleParams
- func (o *GetStackForAutoscaleParams) WithTimeout(timeout time.Duration) *GetStackForAutoscaleParams
- func (o *GetStackForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStackForAutoscaleReader
- type PutClusterForAutoscaleDefault
- type PutClusterForAutoscaleParams
- func NewPutClusterForAutoscaleParams() *PutClusterForAutoscaleParams
- func NewPutClusterForAutoscaleParamsWithContext(ctx context.Context) *PutClusterForAutoscaleParams
- func NewPutClusterForAutoscaleParamsWithHTTPClient(client *http.Client) *PutClusterForAutoscaleParams
- func NewPutClusterForAutoscaleParamsWithTimeout(timeout time.Duration) *PutClusterForAutoscaleParams
- func (o *PutClusterForAutoscaleParams) SetBody(body *models_cloudbreak.UpdateCluster)
- func (o *PutClusterForAutoscaleParams) SetContext(ctx context.Context)
- func (o *PutClusterForAutoscaleParams) SetHTTPClient(client *http.Client)
- func (o *PutClusterForAutoscaleParams) SetID(id int64)
- func (o *PutClusterForAutoscaleParams) SetOwner(owner string)
- func (o *PutClusterForAutoscaleParams) SetTimeout(timeout time.Duration)
- func (o *PutClusterForAutoscaleParams) WithBody(body *models_cloudbreak.UpdateCluster) *PutClusterForAutoscaleParams
- func (o *PutClusterForAutoscaleParams) WithContext(ctx context.Context) *PutClusterForAutoscaleParams
- func (o *PutClusterForAutoscaleParams) WithHTTPClient(client *http.Client) *PutClusterForAutoscaleParams
- func (o *PutClusterForAutoscaleParams) WithID(id int64) *PutClusterForAutoscaleParams
- func (o *PutClusterForAutoscaleParams) WithOwner(owner string) *PutClusterForAutoscaleParams
- func (o *PutClusterForAutoscaleParams) WithTimeout(timeout time.Duration) *PutClusterForAutoscaleParams
- func (o *PutClusterForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutClusterForAutoscaleReader
- type PutStackForAutoscaleDefault
- type PutStackForAutoscaleParams
- func NewPutStackForAutoscaleParams() *PutStackForAutoscaleParams
- func NewPutStackForAutoscaleParamsWithContext(ctx context.Context) *PutStackForAutoscaleParams
- func NewPutStackForAutoscaleParamsWithHTTPClient(client *http.Client) *PutStackForAutoscaleParams
- func NewPutStackForAutoscaleParamsWithTimeout(timeout time.Duration) *PutStackForAutoscaleParams
- func (o *PutStackForAutoscaleParams) SetBody(body *models_cloudbreak.UpdateStack)
- func (o *PutStackForAutoscaleParams) SetContext(ctx context.Context)
- func (o *PutStackForAutoscaleParams) SetHTTPClient(client *http.Client)
- func (o *PutStackForAutoscaleParams) SetID(id int64)
- func (o *PutStackForAutoscaleParams) SetOwner(owner string)
- func (o *PutStackForAutoscaleParams) SetTimeout(timeout time.Duration)
- func (o *PutStackForAutoscaleParams) WithBody(body *models_cloudbreak.UpdateStack) *PutStackForAutoscaleParams
- func (o *PutStackForAutoscaleParams) WithContext(ctx context.Context) *PutStackForAutoscaleParams
- func (o *PutStackForAutoscaleParams) WithHTTPClient(client *http.Client) *PutStackForAutoscaleParams
- func (o *PutStackForAutoscaleParams) WithID(id int64) *PutStackForAutoscaleParams
- func (o *PutStackForAutoscaleParams) WithOwner(owner string) *PutStackForAutoscaleParams
- func (o *PutStackForAutoscaleParams) WithTimeout(timeout time.Duration) *PutStackForAutoscaleParams
- func (o *PutStackForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutStackForAutoscaleReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizeForAutoscaleOK ¶
type AuthorizeForAutoscaleOK struct {
Payload bool
}
AuthorizeForAutoscaleOK handles this case with default header values.
successful operation
func NewAuthorizeForAutoscaleOK ¶
func NewAuthorizeForAutoscaleOK() *AuthorizeForAutoscaleOK
NewAuthorizeForAutoscaleOK creates a AuthorizeForAutoscaleOK with default headers values
func (*AuthorizeForAutoscaleOK) Error ¶
func (o *AuthorizeForAutoscaleOK) Error() string
type AuthorizeForAutoscaleParams ¶
type AuthorizeForAutoscaleParams struct { /*ID*/ ID int64 /*Owner*/ Owner string /*Permission*/ Permission string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AuthorizeForAutoscaleParams contains all the parameters to send to the API endpoint for the authorize for autoscale operation typically these are written to a http.Request
func NewAuthorizeForAutoscaleParams ¶
func NewAuthorizeForAutoscaleParams() *AuthorizeForAutoscaleParams
NewAuthorizeForAutoscaleParams creates a new AuthorizeForAutoscaleParams object with the default values initialized.
func NewAuthorizeForAutoscaleParamsWithContext ¶
func NewAuthorizeForAutoscaleParamsWithContext(ctx context.Context) *AuthorizeForAutoscaleParams
NewAuthorizeForAutoscaleParamsWithContext creates a new AuthorizeForAutoscaleParams object with the default values initialized, and the ability to set a context for a request
func NewAuthorizeForAutoscaleParamsWithHTTPClient ¶
func NewAuthorizeForAutoscaleParamsWithHTTPClient(client *http.Client) *AuthorizeForAutoscaleParams
NewAuthorizeForAutoscaleParamsWithHTTPClient creates a new AuthorizeForAutoscaleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAuthorizeForAutoscaleParamsWithTimeout ¶
func NewAuthorizeForAutoscaleParamsWithTimeout(timeout time.Duration) *AuthorizeForAutoscaleParams
NewAuthorizeForAutoscaleParamsWithTimeout creates a new AuthorizeForAutoscaleParams object with the default values initialized, and the ability to set a timeout on a request
func (*AuthorizeForAutoscaleParams) SetContext ¶
func (o *AuthorizeForAutoscaleParams) SetContext(ctx context.Context)
SetContext adds the context to the authorize for autoscale params
func (*AuthorizeForAutoscaleParams) SetHTTPClient ¶
func (o *AuthorizeForAutoscaleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the authorize for autoscale params
func (*AuthorizeForAutoscaleParams) SetID ¶
func (o *AuthorizeForAutoscaleParams) SetID(id int64)
SetID adds the id to the authorize for autoscale params
func (*AuthorizeForAutoscaleParams) SetOwner ¶
func (o *AuthorizeForAutoscaleParams) SetOwner(owner string)
SetOwner adds the owner to the authorize for autoscale params
func (*AuthorizeForAutoscaleParams) SetPermission ¶
func (o *AuthorizeForAutoscaleParams) SetPermission(permission string)
SetPermission adds the permission to the authorize for autoscale params
func (*AuthorizeForAutoscaleParams) SetTimeout ¶
func (o *AuthorizeForAutoscaleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the authorize for autoscale params
func (*AuthorizeForAutoscaleParams) WithContext ¶
func (o *AuthorizeForAutoscaleParams) WithContext(ctx context.Context) *AuthorizeForAutoscaleParams
WithContext adds the context to the authorize for autoscale params
func (*AuthorizeForAutoscaleParams) WithHTTPClient ¶
func (o *AuthorizeForAutoscaleParams) WithHTTPClient(client *http.Client) *AuthorizeForAutoscaleParams
WithHTTPClient adds the HTTPClient to the authorize for autoscale params
func (*AuthorizeForAutoscaleParams) WithID ¶
func (o *AuthorizeForAutoscaleParams) WithID(id int64) *AuthorizeForAutoscaleParams
WithID adds the id to the authorize for autoscale params
func (*AuthorizeForAutoscaleParams) WithOwner ¶
func (o *AuthorizeForAutoscaleParams) WithOwner(owner string) *AuthorizeForAutoscaleParams
WithOwner adds the owner to the authorize for autoscale params
func (*AuthorizeForAutoscaleParams) WithPermission ¶
func (o *AuthorizeForAutoscaleParams) WithPermission(permission string) *AuthorizeForAutoscaleParams
WithPermission adds the permission to the authorize for autoscale params
func (*AuthorizeForAutoscaleParams) WithTimeout ¶
func (o *AuthorizeForAutoscaleParams) WithTimeout(timeout time.Duration) *AuthorizeForAutoscaleParams
WithTimeout adds the timeout to the authorize for autoscale params
func (*AuthorizeForAutoscaleParams) WriteToRequest ¶
func (o *AuthorizeForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AuthorizeForAutoscaleReader ¶
type AuthorizeForAutoscaleReader struct {
// contains filtered or unexported fields
}
AuthorizeForAutoscaleReader is a Reader for the AuthorizeForAutoscale structure.
func (*AuthorizeForAutoscaleReader) ReadResponse ¶
func (o *AuthorizeForAutoscaleReader) 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 autoscale API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new autoscale API client.
func (*Client) AuthorizeForAutoscale ¶
func (a *Client) AuthorizeForAutoscale(params *AuthorizeForAutoscaleParams) (*AuthorizeForAutoscaleOK, error)
AuthorizeForAutoscale authorize for autoscale API
func (*Client) FailureReportClusterForAutoscale ¶
func (a *Client) FailureReportClusterForAutoscale(params *FailureReportClusterForAutoscaleParams) error
FailureReportClusterForAutoscale failures report
Endpoint to report the failed nodes in the given cluster. If recovery mode for the node's hostgroup is AUTO then autorecovery would be started. If recovery mode for the node's hostgroup is MANUAL, the nodes will be marked as unhealthy.
func (*Client) GetAllStackForAutoscale ¶
func (a *Client) GetAllStackForAutoscale(params *GetAllStackForAutoscaleParams) (*GetAllStackForAutoscaleOK, error)
GetAllStackForAutoscale retrieves all stacks
Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.
func (*Client) GetCertificateStackForAutoscale ¶
func (a *Client) GetCertificateStackForAutoscale(params *GetCertificateStackForAutoscaleParams) (*GetCertificateStackForAutoscaleOK, error)
GetCertificateStackForAutoscale retrieves the TLS certificate used by the gateway
Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.
func (*Client) GetFullClusterForAutoscale ¶
func (a *Client) GetFullClusterForAutoscale(params *GetFullClusterForAutoscaleParams) (*GetFullClusterForAutoscaleOK, error)
GetFullClusterForAutoscale retrieves cluster by stack id
Clusters are materialised Hadoop services on a given infrastructure. They are built based on a Blueprint (running the components and services specified) and on a configured infrastructure Stack. Once a cluster is created and launched, it can be used the usual way as any Hadoop cluster. We suggest to start with the Cluster's Ambari UI for an overview of your cluster.
func (*Client) GetStackForAmbariForAutoscale ¶
func (a *Client) GetStackForAmbariForAutoscale(params *GetStackForAmbariForAutoscaleParams) (*GetStackForAmbariForAutoscaleOK, error)
GetStackForAmbariForAutoscale retrieves stack by ambari address
Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.
func (*Client) GetStackForAutoscale ¶
func (a *Client) GetStackForAutoscale(params *GetStackForAutoscaleParams) (*GetStackForAutoscaleOK, error)
GetStackForAutoscale retrieves stack by id
Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.
func (*Client) PutClusterForAutoscale ¶
func (a *Client) PutClusterForAutoscale(params *PutClusterForAutoscaleParams) error
PutClusterForAutoscale updates stack by id
Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.
func (*Client) PutStackForAutoscale ¶
func (a *Client) PutStackForAutoscale(params *PutStackForAutoscaleParams) error
PutStackForAutoscale updates stack by id
Stacks are template instances - a running cloud infrastructure created based on a template. Stacks are always launched on behalf of a cloud user account. Stacks support a wide range of resources, allowing you to build a highly available, reliable, and scalable infrastructure for your application needs.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type FailureReportClusterForAutoscaleDefault ¶
type FailureReportClusterForAutoscaleDefault struct {
// contains filtered or unexported fields
}
FailureReportClusterForAutoscaleDefault handles this case with default header values.
successful operation
func NewFailureReportClusterForAutoscaleDefault ¶
func NewFailureReportClusterForAutoscaleDefault(code int) *FailureReportClusterForAutoscaleDefault
NewFailureReportClusterForAutoscaleDefault creates a FailureReportClusterForAutoscaleDefault with default headers values
func (*FailureReportClusterForAutoscaleDefault) Code ¶
func (o *FailureReportClusterForAutoscaleDefault) Code() int
Code gets the status code for the failure report cluster for autoscale default response
func (*FailureReportClusterForAutoscaleDefault) Error ¶
func (o *FailureReportClusterForAutoscaleDefault) Error() string
type FailureReportClusterForAutoscaleParams ¶
type FailureReportClusterForAutoscaleParams struct { /*Body*/ Body *models_cloudbreak.FailureReport /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FailureReportClusterForAutoscaleParams contains all the parameters to send to the API endpoint for the failure report cluster for autoscale operation typically these are written to a http.Request
func NewFailureReportClusterForAutoscaleParams ¶
func NewFailureReportClusterForAutoscaleParams() *FailureReportClusterForAutoscaleParams
NewFailureReportClusterForAutoscaleParams creates a new FailureReportClusterForAutoscaleParams object with the default values initialized.
func NewFailureReportClusterForAutoscaleParamsWithContext ¶
func NewFailureReportClusterForAutoscaleParamsWithContext(ctx context.Context) *FailureReportClusterForAutoscaleParams
NewFailureReportClusterForAutoscaleParamsWithContext creates a new FailureReportClusterForAutoscaleParams object with the default values initialized, and the ability to set a context for a request
func NewFailureReportClusterForAutoscaleParamsWithHTTPClient ¶
func NewFailureReportClusterForAutoscaleParamsWithHTTPClient(client *http.Client) *FailureReportClusterForAutoscaleParams
NewFailureReportClusterForAutoscaleParamsWithHTTPClient creates a new FailureReportClusterForAutoscaleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFailureReportClusterForAutoscaleParamsWithTimeout ¶
func NewFailureReportClusterForAutoscaleParamsWithTimeout(timeout time.Duration) *FailureReportClusterForAutoscaleParams
NewFailureReportClusterForAutoscaleParamsWithTimeout creates a new FailureReportClusterForAutoscaleParams object with the default values initialized, and the ability to set a timeout on a request
func (*FailureReportClusterForAutoscaleParams) SetBody ¶
func (o *FailureReportClusterForAutoscaleParams) SetBody(body *models_cloudbreak.FailureReport)
SetBody adds the body to the failure report cluster for autoscale params
func (*FailureReportClusterForAutoscaleParams) SetContext ¶
func (o *FailureReportClusterForAutoscaleParams) SetContext(ctx context.Context)
SetContext adds the context to the failure report cluster for autoscale params
func (*FailureReportClusterForAutoscaleParams) SetHTTPClient ¶
func (o *FailureReportClusterForAutoscaleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the failure report cluster for autoscale params
func (*FailureReportClusterForAutoscaleParams) SetID ¶
func (o *FailureReportClusterForAutoscaleParams) SetID(id int64)
SetID adds the id to the failure report cluster for autoscale params
func (*FailureReportClusterForAutoscaleParams) SetTimeout ¶
func (o *FailureReportClusterForAutoscaleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the failure report cluster for autoscale params
func (*FailureReportClusterForAutoscaleParams) WithBody ¶
func (o *FailureReportClusterForAutoscaleParams) WithBody(body *models_cloudbreak.FailureReport) *FailureReportClusterForAutoscaleParams
WithBody adds the body to the failure report cluster for autoscale params
func (*FailureReportClusterForAutoscaleParams) WithContext ¶
func (o *FailureReportClusterForAutoscaleParams) WithContext(ctx context.Context) *FailureReportClusterForAutoscaleParams
WithContext adds the context to the failure report cluster for autoscale params
func (*FailureReportClusterForAutoscaleParams) WithHTTPClient ¶
func (o *FailureReportClusterForAutoscaleParams) WithHTTPClient(client *http.Client) *FailureReportClusterForAutoscaleParams
WithHTTPClient adds the HTTPClient to the failure report cluster for autoscale params
func (*FailureReportClusterForAutoscaleParams) WithID ¶
func (o *FailureReportClusterForAutoscaleParams) WithID(id int64) *FailureReportClusterForAutoscaleParams
WithID adds the id to the failure report cluster for autoscale params
func (*FailureReportClusterForAutoscaleParams) WithTimeout ¶
func (o *FailureReportClusterForAutoscaleParams) WithTimeout(timeout time.Duration) *FailureReportClusterForAutoscaleParams
WithTimeout adds the timeout to the failure report cluster for autoscale params
func (*FailureReportClusterForAutoscaleParams) WriteToRequest ¶
func (o *FailureReportClusterForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FailureReportClusterForAutoscaleReader ¶
type FailureReportClusterForAutoscaleReader struct {
// contains filtered or unexported fields
}
FailureReportClusterForAutoscaleReader is a Reader for the FailureReportClusterForAutoscale structure.
func (*FailureReportClusterForAutoscaleReader) ReadResponse ¶
func (o *FailureReportClusterForAutoscaleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAllStackForAutoscaleOK ¶
type GetAllStackForAutoscaleOK struct {
Payload []*models_cloudbreak.AutoscaleStackResponse
}
GetAllStackForAutoscaleOK handles this case with default header values.
successful operation
func NewGetAllStackForAutoscaleOK ¶
func NewGetAllStackForAutoscaleOK() *GetAllStackForAutoscaleOK
NewGetAllStackForAutoscaleOK creates a GetAllStackForAutoscaleOK with default headers values
func (*GetAllStackForAutoscaleOK) Error ¶
func (o *GetAllStackForAutoscaleOK) Error() string
type GetAllStackForAutoscaleParams ¶
type GetAllStackForAutoscaleParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAllStackForAutoscaleParams contains all the parameters to send to the API endpoint for the get all stack for autoscale operation typically these are written to a http.Request
func NewGetAllStackForAutoscaleParams ¶
func NewGetAllStackForAutoscaleParams() *GetAllStackForAutoscaleParams
NewGetAllStackForAutoscaleParams creates a new GetAllStackForAutoscaleParams object with the default values initialized.
func NewGetAllStackForAutoscaleParamsWithContext ¶
func NewGetAllStackForAutoscaleParamsWithContext(ctx context.Context) *GetAllStackForAutoscaleParams
NewGetAllStackForAutoscaleParamsWithContext creates a new GetAllStackForAutoscaleParams object with the default values initialized, and the ability to set a context for a request
func NewGetAllStackForAutoscaleParamsWithHTTPClient ¶
func NewGetAllStackForAutoscaleParamsWithHTTPClient(client *http.Client) *GetAllStackForAutoscaleParams
NewGetAllStackForAutoscaleParamsWithHTTPClient creates a new GetAllStackForAutoscaleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAllStackForAutoscaleParamsWithTimeout ¶
func NewGetAllStackForAutoscaleParamsWithTimeout(timeout time.Duration) *GetAllStackForAutoscaleParams
NewGetAllStackForAutoscaleParamsWithTimeout creates a new GetAllStackForAutoscaleParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAllStackForAutoscaleParams) SetContext ¶
func (o *GetAllStackForAutoscaleParams) SetContext(ctx context.Context)
SetContext adds the context to the get all stack for autoscale params
func (*GetAllStackForAutoscaleParams) SetHTTPClient ¶
func (o *GetAllStackForAutoscaleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all stack for autoscale params
func (*GetAllStackForAutoscaleParams) SetTimeout ¶
func (o *GetAllStackForAutoscaleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all stack for autoscale params
func (*GetAllStackForAutoscaleParams) WithContext ¶
func (o *GetAllStackForAutoscaleParams) WithContext(ctx context.Context) *GetAllStackForAutoscaleParams
WithContext adds the context to the get all stack for autoscale params
func (*GetAllStackForAutoscaleParams) WithHTTPClient ¶
func (o *GetAllStackForAutoscaleParams) WithHTTPClient(client *http.Client) *GetAllStackForAutoscaleParams
WithHTTPClient adds the HTTPClient to the get all stack for autoscale params
func (*GetAllStackForAutoscaleParams) WithTimeout ¶
func (o *GetAllStackForAutoscaleParams) WithTimeout(timeout time.Duration) *GetAllStackForAutoscaleParams
WithTimeout adds the timeout to the get all stack for autoscale params
func (*GetAllStackForAutoscaleParams) WriteToRequest ¶
func (o *GetAllStackForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllStackForAutoscaleReader ¶
type GetAllStackForAutoscaleReader struct {
// contains filtered or unexported fields
}
GetAllStackForAutoscaleReader is a Reader for the GetAllStackForAutoscale structure.
func (*GetAllStackForAutoscaleReader) ReadResponse ¶
func (o *GetAllStackForAutoscaleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCertificateStackForAutoscaleOK ¶
type GetCertificateStackForAutoscaleOK struct {
Payload *models_cloudbreak.CertificateResponse
}
GetCertificateStackForAutoscaleOK handles this case with default header values.
successful operation
func NewGetCertificateStackForAutoscaleOK ¶
func NewGetCertificateStackForAutoscaleOK() *GetCertificateStackForAutoscaleOK
NewGetCertificateStackForAutoscaleOK creates a GetCertificateStackForAutoscaleOK with default headers values
func (*GetCertificateStackForAutoscaleOK) Error ¶
func (o *GetCertificateStackForAutoscaleOK) Error() string
type GetCertificateStackForAutoscaleParams ¶
type GetCertificateStackForAutoscaleParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCertificateStackForAutoscaleParams contains all the parameters to send to the API endpoint for the get certificate stack for autoscale operation typically these are written to a http.Request
func NewGetCertificateStackForAutoscaleParams ¶
func NewGetCertificateStackForAutoscaleParams() *GetCertificateStackForAutoscaleParams
NewGetCertificateStackForAutoscaleParams creates a new GetCertificateStackForAutoscaleParams object with the default values initialized.
func NewGetCertificateStackForAutoscaleParamsWithContext ¶
func NewGetCertificateStackForAutoscaleParamsWithContext(ctx context.Context) *GetCertificateStackForAutoscaleParams
NewGetCertificateStackForAutoscaleParamsWithContext creates a new GetCertificateStackForAutoscaleParams object with the default values initialized, and the ability to set a context for a request
func NewGetCertificateStackForAutoscaleParamsWithHTTPClient ¶
func NewGetCertificateStackForAutoscaleParamsWithHTTPClient(client *http.Client) *GetCertificateStackForAutoscaleParams
NewGetCertificateStackForAutoscaleParamsWithHTTPClient creates a new GetCertificateStackForAutoscaleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCertificateStackForAutoscaleParamsWithTimeout ¶
func NewGetCertificateStackForAutoscaleParamsWithTimeout(timeout time.Duration) *GetCertificateStackForAutoscaleParams
NewGetCertificateStackForAutoscaleParamsWithTimeout creates a new GetCertificateStackForAutoscaleParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCertificateStackForAutoscaleParams) SetContext ¶
func (o *GetCertificateStackForAutoscaleParams) SetContext(ctx context.Context)
SetContext adds the context to the get certificate stack for autoscale params
func (*GetCertificateStackForAutoscaleParams) SetHTTPClient ¶
func (o *GetCertificateStackForAutoscaleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get certificate stack for autoscale params
func (*GetCertificateStackForAutoscaleParams) SetID ¶
func (o *GetCertificateStackForAutoscaleParams) SetID(id int64)
SetID adds the id to the get certificate stack for autoscale params
func (*GetCertificateStackForAutoscaleParams) SetTimeout ¶
func (o *GetCertificateStackForAutoscaleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get certificate stack for autoscale params
func (*GetCertificateStackForAutoscaleParams) WithContext ¶
func (o *GetCertificateStackForAutoscaleParams) WithContext(ctx context.Context) *GetCertificateStackForAutoscaleParams
WithContext adds the context to the get certificate stack for autoscale params
func (*GetCertificateStackForAutoscaleParams) WithHTTPClient ¶
func (o *GetCertificateStackForAutoscaleParams) WithHTTPClient(client *http.Client) *GetCertificateStackForAutoscaleParams
WithHTTPClient adds the HTTPClient to the get certificate stack for autoscale params
func (*GetCertificateStackForAutoscaleParams) WithID ¶
func (o *GetCertificateStackForAutoscaleParams) WithID(id int64) *GetCertificateStackForAutoscaleParams
WithID adds the id to the get certificate stack for autoscale params
func (*GetCertificateStackForAutoscaleParams) WithTimeout ¶
func (o *GetCertificateStackForAutoscaleParams) WithTimeout(timeout time.Duration) *GetCertificateStackForAutoscaleParams
WithTimeout adds the timeout to the get certificate stack for autoscale params
func (*GetCertificateStackForAutoscaleParams) WriteToRequest ¶
func (o *GetCertificateStackForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCertificateStackForAutoscaleReader ¶
type GetCertificateStackForAutoscaleReader struct {
// contains filtered or unexported fields
}
GetCertificateStackForAutoscaleReader is a Reader for the GetCertificateStackForAutoscale structure.
func (*GetCertificateStackForAutoscaleReader) ReadResponse ¶
func (o *GetCertificateStackForAutoscaleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFullClusterForAutoscaleOK ¶
type GetFullClusterForAutoscaleOK struct {
Payload *models_cloudbreak.AutoscaleClusterResponse
}
GetFullClusterForAutoscaleOK handles this case with default header values.
successful operation
func NewGetFullClusterForAutoscaleOK ¶
func NewGetFullClusterForAutoscaleOK() *GetFullClusterForAutoscaleOK
NewGetFullClusterForAutoscaleOK creates a GetFullClusterForAutoscaleOK with default headers values
func (*GetFullClusterForAutoscaleOK) Error ¶
func (o *GetFullClusterForAutoscaleOK) Error() string
type GetFullClusterForAutoscaleParams ¶
type GetFullClusterForAutoscaleParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFullClusterForAutoscaleParams contains all the parameters to send to the API endpoint for the get full cluster for autoscale operation typically these are written to a http.Request
func NewGetFullClusterForAutoscaleParams ¶
func NewGetFullClusterForAutoscaleParams() *GetFullClusterForAutoscaleParams
NewGetFullClusterForAutoscaleParams creates a new GetFullClusterForAutoscaleParams object with the default values initialized.
func NewGetFullClusterForAutoscaleParamsWithContext ¶
func NewGetFullClusterForAutoscaleParamsWithContext(ctx context.Context) *GetFullClusterForAutoscaleParams
NewGetFullClusterForAutoscaleParamsWithContext creates a new GetFullClusterForAutoscaleParams object with the default values initialized, and the ability to set a context for a request
func NewGetFullClusterForAutoscaleParamsWithHTTPClient ¶
func NewGetFullClusterForAutoscaleParamsWithHTTPClient(client *http.Client) *GetFullClusterForAutoscaleParams
NewGetFullClusterForAutoscaleParamsWithHTTPClient creates a new GetFullClusterForAutoscaleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFullClusterForAutoscaleParamsWithTimeout ¶
func NewGetFullClusterForAutoscaleParamsWithTimeout(timeout time.Duration) *GetFullClusterForAutoscaleParams
NewGetFullClusterForAutoscaleParamsWithTimeout creates a new GetFullClusterForAutoscaleParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFullClusterForAutoscaleParams) SetContext ¶
func (o *GetFullClusterForAutoscaleParams) SetContext(ctx context.Context)
SetContext adds the context to the get full cluster for autoscale params
func (*GetFullClusterForAutoscaleParams) SetHTTPClient ¶
func (o *GetFullClusterForAutoscaleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get full cluster for autoscale params
func (*GetFullClusterForAutoscaleParams) SetID ¶
func (o *GetFullClusterForAutoscaleParams) SetID(id int64)
SetID adds the id to the get full cluster for autoscale params
func (*GetFullClusterForAutoscaleParams) SetTimeout ¶
func (o *GetFullClusterForAutoscaleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get full cluster for autoscale params
func (*GetFullClusterForAutoscaleParams) WithContext ¶
func (o *GetFullClusterForAutoscaleParams) WithContext(ctx context.Context) *GetFullClusterForAutoscaleParams
WithContext adds the context to the get full cluster for autoscale params
func (*GetFullClusterForAutoscaleParams) WithHTTPClient ¶
func (o *GetFullClusterForAutoscaleParams) WithHTTPClient(client *http.Client) *GetFullClusterForAutoscaleParams
WithHTTPClient adds the HTTPClient to the get full cluster for autoscale params
func (*GetFullClusterForAutoscaleParams) WithID ¶
func (o *GetFullClusterForAutoscaleParams) WithID(id int64) *GetFullClusterForAutoscaleParams
WithID adds the id to the get full cluster for autoscale params
func (*GetFullClusterForAutoscaleParams) WithTimeout ¶
func (o *GetFullClusterForAutoscaleParams) WithTimeout(timeout time.Duration) *GetFullClusterForAutoscaleParams
WithTimeout adds the timeout to the get full cluster for autoscale params
func (*GetFullClusterForAutoscaleParams) WriteToRequest ¶
func (o *GetFullClusterForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFullClusterForAutoscaleReader ¶
type GetFullClusterForAutoscaleReader struct {
// contains filtered or unexported fields
}
GetFullClusterForAutoscaleReader is a Reader for the GetFullClusterForAutoscale structure.
func (*GetFullClusterForAutoscaleReader) ReadResponse ¶
func (o *GetFullClusterForAutoscaleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStackForAmbariForAutoscaleOK ¶
type GetStackForAmbariForAutoscaleOK struct {
Payload *models_cloudbreak.StackResponse
}
GetStackForAmbariForAutoscaleOK handles this case with default header values.
successful operation
func NewGetStackForAmbariForAutoscaleOK ¶
func NewGetStackForAmbariForAutoscaleOK() *GetStackForAmbariForAutoscaleOK
NewGetStackForAmbariForAutoscaleOK creates a GetStackForAmbariForAutoscaleOK with default headers values
func (*GetStackForAmbariForAutoscaleOK) Error ¶
func (o *GetStackForAmbariForAutoscaleOK) Error() string
type GetStackForAmbariForAutoscaleParams ¶
type GetStackForAmbariForAutoscaleParams struct { /*Body*/ Body *models_cloudbreak.AmbariAddress Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStackForAmbariForAutoscaleParams contains all the parameters to send to the API endpoint for the get stack for ambari for autoscale operation typically these are written to a http.Request
func NewGetStackForAmbariForAutoscaleParams ¶
func NewGetStackForAmbariForAutoscaleParams() *GetStackForAmbariForAutoscaleParams
NewGetStackForAmbariForAutoscaleParams creates a new GetStackForAmbariForAutoscaleParams object with the default values initialized.
func NewGetStackForAmbariForAutoscaleParamsWithContext ¶
func NewGetStackForAmbariForAutoscaleParamsWithContext(ctx context.Context) *GetStackForAmbariForAutoscaleParams
NewGetStackForAmbariForAutoscaleParamsWithContext creates a new GetStackForAmbariForAutoscaleParams object with the default values initialized, and the ability to set a context for a request
func NewGetStackForAmbariForAutoscaleParamsWithHTTPClient ¶
func NewGetStackForAmbariForAutoscaleParamsWithHTTPClient(client *http.Client) *GetStackForAmbariForAutoscaleParams
NewGetStackForAmbariForAutoscaleParamsWithHTTPClient creates a new GetStackForAmbariForAutoscaleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetStackForAmbariForAutoscaleParamsWithTimeout ¶
func NewGetStackForAmbariForAutoscaleParamsWithTimeout(timeout time.Duration) *GetStackForAmbariForAutoscaleParams
NewGetStackForAmbariForAutoscaleParamsWithTimeout creates a new GetStackForAmbariForAutoscaleParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetStackForAmbariForAutoscaleParams) SetBody ¶
func (o *GetStackForAmbariForAutoscaleParams) SetBody(body *models_cloudbreak.AmbariAddress)
SetBody adds the body to the get stack for ambari for autoscale params
func (*GetStackForAmbariForAutoscaleParams) SetContext ¶
func (o *GetStackForAmbariForAutoscaleParams) SetContext(ctx context.Context)
SetContext adds the context to the get stack for ambari for autoscale params
func (*GetStackForAmbariForAutoscaleParams) SetHTTPClient ¶
func (o *GetStackForAmbariForAutoscaleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get stack for ambari for autoscale params
func (*GetStackForAmbariForAutoscaleParams) SetTimeout ¶
func (o *GetStackForAmbariForAutoscaleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get stack for ambari for autoscale params
func (*GetStackForAmbariForAutoscaleParams) WithBody ¶
func (o *GetStackForAmbariForAutoscaleParams) WithBody(body *models_cloudbreak.AmbariAddress) *GetStackForAmbariForAutoscaleParams
WithBody adds the body to the get stack for ambari for autoscale params
func (*GetStackForAmbariForAutoscaleParams) WithContext ¶
func (o *GetStackForAmbariForAutoscaleParams) WithContext(ctx context.Context) *GetStackForAmbariForAutoscaleParams
WithContext adds the context to the get stack for ambari for autoscale params
func (*GetStackForAmbariForAutoscaleParams) WithHTTPClient ¶
func (o *GetStackForAmbariForAutoscaleParams) WithHTTPClient(client *http.Client) *GetStackForAmbariForAutoscaleParams
WithHTTPClient adds the HTTPClient to the get stack for ambari for autoscale params
func (*GetStackForAmbariForAutoscaleParams) WithTimeout ¶
func (o *GetStackForAmbariForAutoscaleParams) WithTimeout(timeout time.Duration) *GetStackForAmbariForAutoscaleParams
WithTimeout adds the timeout to the get stack for ambari for autoscale params
func (*GetStackForAmbariForAutoscaleParams) WriteToRequest ¶
func (o *GetStackForAmbariForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStackForAmbariForAutoscaleReader ¶
type GetStackForAmbariForAutoscaleReader struct {
// contains filtered or unexported fields
}
GetStackForAmbariForAutoscaleReader is a Reader for the GetStackForAmbariForAutoscale structure.
func (*GetStackForAmbariForAutoscaleReader) ReadResponse ¶
func (o *GetStackForAmbariForAutoscaleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStackForAutoscaleOK ¶
type GetStackForAutoscaleOK struct {
Payload *models_cloudbreak.StackResponse
}
GetStackForAutoscaleOK handles this case with default header values.
successful operation
func NewGetStackForAutoscaleOK ¶
func NewGetStackForAutoscaleOK() *GetStackForAutoscaleOK
NewGetStackForAutoscaleOK creates a GetStackForAutoscaleOK with default headers values
func (*GetStackForAutoscaleOK) Error ¶
func (o *GetStackForAutoscaleOK) Error() string
type GetStackForAutoscaleParams ¶
type GetStackForAutoscaleParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStackForAutoscaleParams contains all the parameters to send to the API endpoint for the get stack for autoscale operation typically these are written to a http.Request
func NewGetStackForAutoscaleParams ¶
func NewGetStackForAutoscaleParams() *GetStackForAutoscaleParams
NewGetStackForAutoscaleParams creates a new GetStackForAutoscaleParams object with the default values initialized.
func NewGetStackForAutoscaleParamsWithContext ¶
func NewGetStackForAutoscaleParamsWithContext(ctx context.Context) *GetStackForAutoscaleParams
NewGetStackForAutoscaleParamsWithContext creates a new GetStackForAutoscaleParams object with the default values initialized, and the ability to set a context for a request
func NewGetStackForAutoscaleParamsWithHTTPClient ¶
func NewGetStackForAutoscaleParamsWithHTTPClient(client *http.Client) *GetStackForAutoscaleParams
NewGetStackForAutoscaleParamsWithHTTPClient creates a new GetStackForAutoscaleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetStackForAutoscaleParamsWithTimeout ¶
func NewGetStackForAutoscaleParamsWithTimeout(timeout time.Duration) *GetStackForAutoscaleParams
NewGetStackForAutoscaleParamsWithTimeout creates a new GetStackForAutoscaleParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetStackForAutoscaleParams) SetContext ¶
func (o *GetStackForAutoscaleParams) SetContext(ctx context.Context)
SetContext adds the context to the get stack for autoscale params
func (*GetStackForAutoscaleParams) SetHTTPClient ¶
func (o *GetStackForAutoscaleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get stack for autoscale params
func (*GetStackForAutoscaleParams) SetID ¶
func (o *GetStackForAutoscaleParams) SetID(id int64)
SetID adds the id to the get stack for autoscale params
func (*GetStackForAutoscaleParams) SetTimeout ¶
func (o *GetStackForAutoscaleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get stack for autoscale params
func (*GetStackForAutoscaleParams) WithContext ¶
func (o *GetStackForAutoscaleParams) WithContext(ctx context.Context) *GetStackForAutoscaleParams
WithContext adds the context to the get stack for autoscale params
func (*GetStackForAutoscaleParams) WithHTTPClient ¶
func (o *GetStackForAutoscaleParams) WithHTTPClient(client *http.Client) *GetStackForAutoscaleParams
WithHTTPClient adds the HTTPClient to the get stack for autoscale params
func (*GetStackForAutoscaleParams) WithID ¶
func (o *GetStackForAutoscaleParams) WithID(id int64) *GetStackForAutoscaleParams
WithID adds the id to the get stack for autoscale params
func (*GetStackForAutoscaleParams) WithTimeout ¶
func (o *GetStackForAutoscaleParams) WithTimeout(timeout time.Duration) *GetStackForAutoscaleParams
WithTimeout adds the timeout to the get stack for autoscale params
func (*GetStackForAutoscaleParams) WriteToRequest ¶
func (o *GetStackForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStackForAutoscaleReader ¶
type GetStackForAutoscaleReader struct {
// contains filtered or unexported fields
}
GetStackForAutoscaleReader is a Reader for the GetStackForAutoscale structure.
func (*GetStackForAutoscaleReader) ReadResponse ¶
func (o *GetStackForAutoscaleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutClusterForAutoscaleDefault ¶
type PutClusterForAutoscaleDefault struct {
// contains filtered or unexported fields
}
PutClusterForAutoscaleDefault handles this case with default header values.
successful operation
func NewPutClusterForAutoscaleDefault ¶
func NewPutClusterForAutoscaleDefault(code int) *PutClusterForAutoscaleDefault
NewPutClusterForAutoscaleDefault creates a PutClusterForAutoscaleDefault with default headers values
func (*PutClusterForAutoscaleDefault) Code ¶
func (o *PutClusterForAutoscaleDefault) Code() int
Code gets the status code for the put cluster for autoscale default response
func (*PutClusterForAutoscaleDefault) Error ¶
func (o *PutClusterForAutoscaleDefault) Error() string
type PutClusterForAutoscaleParams ¶
type PutClusterForAutoscaleParams struct { /*Body*/ Body *models_cloudbreak.UpdateCluster /*ID*/ ID int64 /*Owner*/ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutClusterForAutoscaleParams contains all the parameters to send to the API endpoint for the put cluster for autoscale operation typically these are written to a http.Request
func NewPutClusterForAutoscaleParams ¶
func NewPutClusterForAutoscaleParams() *PutClusterForAutoscaleParams
NewPutClusterForAutoscaleParams creates a new PutClusterForAutoscaleParams object with the default values initialized.
func NewPutClusterForAutoscaleParamsWithContext ¶
func NewPutClusterForAutoscaleParamsWithContext(ctx context.Context) *PutClusterForAutoscaleParams
NewPutClusterForAutoscaleParamsWithContext creates a new PutClusterForAutoscaleParams object with the default values initialized, and the ability to set a context for a request
func NewPutClusterForAutoscaleParamsWithHTTPClient ¶
func NewPutClusterForAutoscaleParamsWithHTTPClient(client *http.Client) *PutClusterForAutoscaleParams
NewPutClusterForAutoscaleParamsWithHTTPClient creates a new PutClusterForAutoscaleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutClusterForAutoscaleParamsWithTimeout ¶
func NewPutClusterForAutoscaleParamsWithTimeout(timeout time.Duration) *PutClusterForAutoscaleParams
NewPutClusterForAutoscaleParamsWithTimeout creates a new PutClusterForAutoscaleParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutClusterForAutoscaleParams) SetBody ¶
func (o *PutClusterForAutoscaleParams) SetBody(body *models_cloudbreak.UpdateCluster)
SetBody adds the body to the put cluster for autoscale params
func (*PutClusterForAutoscaleParams) SetContext ¶
func (o *PutClusterForAutoscaleParams) SetContext(ctx context.Context)
SetContext adds the context to the put cluster for autoscale params
func (*PutClusterForAutoscaleParams) SetHTTPClient ¶
func (o *PutClusterForAutoscaleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put cluster for autoscale params
func (*PutClusterForAutoscaleParams) SetID ¶
func (o *PutClusterForAutoscaleParams) SetID(id int64)
SetID adds the id to the put cluster for autoscale params
func (*PutClusterForAutoscaleParams) SetOwner ¶
func (o *PutClusterForAutoscaleParams) SetOwner(owner string)
SetOwner adds the owner to the put cluster for autoscale params
func (*PutClusterForAutoscaleParams) SetTimeout ¶
func (o *PutClusterForAutoscaleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put cluster for autoscale params
func (*PutClusterForAutoscaleParams) WithBody ¶
func (o *PutClusterForAutoscaleParams) WithBody(body *models_cloudbreak.UpdateCluster) *PutClusterForAutoscaleParams
WithBody adds the body to the put cluster for autoscale params
func (*PutClusterForAutoscaleParams) WithContext ¶
func (o *PutClusterForAutoscaleParams) WithContext(ctx context.Context) *PutClusterForAutoscaleParams
WithContext adds the context to the put cluster for autoscale params
func (*PutClusterForAutoscaleParams) WithHTTPClient ¶
func (o *PutClusterForAutoscaleParams) WithHTTPClient(client *http.Client) *PutClusterForAutoscaleParams
WithHTTPClient adds the HTTPClient to the put cluster for autoscale params
func (*PutClusterForAutoscaleParams) WithID ¶
func (o *PutClusterForAutoscaleParams) WithID(id int64) *PutClusterForAutoscaleParams
WithID adds the id to the put cluster for autoscale params
func (*PutClusterForAutoscaleParams) WithOwner ¶
func (o *PutClusterForAutoscaleParams) WithOwner(owner string) *PutClusterForAutoscaleParams
WithOwner adds the owner to the put cluster for autoscale params
func (*PutClusterForAutoscaleParams) WithTimeout ¶
func (o *PutClusterForAutoscaleParams) WithTimeout(timeout time.Duration) *PutClusterForAutoscaleParams
WithTimeout adds the timeout to the put cluster for autoscale params
func (*PutClusterForAutoscaleParams) WriteToRequest ¶
func (o *PutClusterForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutClusterForAutoscaleReader ¶
type PutClusterForAutoscaleReader struct {
// contains filtered or unexported fields
}
PutClusterForAutoscaleReader is a Reader for the PutClusterForAutoscale structure.
func (*PutClusterForAutoscaleReader) ReadResponse ¶
func (o *PutClusterForAutoscaleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutStackForAutoscaleDefault ¶
type PutStackForAutoscaleDefault struct {
// contains filtered or unexported fields
}
PutStackForAutoscaleDefault handles this case with default header values.
successful operation
func NewPutStackForAutoscaleDefault ¶
func NewPutStackForAutoscaleDefault(code int) *PutStackForAutoscaleDefault
NewPutStackForAutoscaleDefault creates a PutStackForAutoscaleDefault with default headers values
func (*PutStackForAutoscaleDefault) Code ¶
func (o *PutStackForAutoscaleDefault) Code() int
Code gets the status code for the put stack for autoscale default response
func (*PutStackForAutoscaleDefault) Error ¶
func (o *PutStackForAutoscaleDefault) Error() string
type PutStackForAutoscaleParams ¶
type PutStackForAutoscaleParams struct { /*Body*/ Body *models_cloudbreak.UpdateStack /*ID*/ ID int64 /*Owner*/ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutStackForAutoscaleParams contains all the parameters to send to the API endpoint for the put stack for autoscale operation typically these are written to a http.Request
func NewPutStackForAutoscaleParams ¶
func NewPutStackForAutoscaleParams() *PutStackForAutoscaleParams
NewPutStackForAutoscaleParams creates a new PutStackForAutoscaleParams object with the default values initialized.
func NewPutStackForAutoscaleParamsWithContext ¶
func NewPutStackForAutoscaleParamsWithContext(ctx context.Context) *PutStackForAutoscaleParams
NewPutStackForAutoscaleParamsWithContext creates a new PutStackForAutoscaleParams object with the default values initialized, and the ability to set a context for a request
func NewPutStackForAutoscaleParamsWithHTTPClient ¶
func NewPutStackForAutoscaleParamsWithHTTPClient(client *http.Client) *PutStackForAutoscaleParams
NewPutStackForAutoscaleParamsWithHTTPClient creates a new PutStackForAutoscaleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutStackForAutoscaleParamsWithTimeout ¶
func NewPutStackForAutoscaleParamsWithTimeout(timeout time.Duration) *PutStackForAutoscaleParams
NewPutStackForAutoscaleParamsWithTimeout creates a new PutStackForAutoscaleParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutStackForAutoscaleParams) SetBody ¶
func (o *PutStackForAutoscaleParams) SetBody(body *models_cloudbreak.UpdateStack)
SetBody adds the body to the put stack for autoscale params
func (*PutStackForAutoscaleParams) SetContext ¶
func (o *PutStackForAutoscaleParams) SetContext(ctx context.Context)
SetContext adds the context to the put stack for autoscale params
func (*PutStackForAutoscaleParams) SetHTTPClient ¶
func (o *PutStackForAutoscaleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put stack for autoscale params
func (*PutStackForAutoscaleParams) SetID ¶
func (o *PutStackForAutoscaleParams) SetID(id int64)
SetID adds the id to the put stack for autoscale params
func (*PutStackForAutoscaleParams) SetOwner ¶
func (o *PutStackForAutoscaleParams) SetOwner(owner string)
SetOwner adds the owner to the put stack for autoscale params
func (*PutStackForAutoscaleParams) SetTimeout ¶
func (o *PutStackForAutoscaleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put stack for autoscale params
func (*PutStackForAutoscaleParams) WithBody ¶
func (o *PutStackForAutoscaleParams) WithBody(body *models_cloudbreak.UpdateStack) *PutStackForAutoscaleParams
WithBody adds the body to the put stack for autoscale params
func (*PutStackForAutoscaleParams) WithContext ¶
func (o *PutStackForAutoscaleParams) WithContext(ctx context.Context) *PutStackForAutoscaleParams
WithContext adds the context to the put stack for autoscale params
func (*PutStackForAutoscaleParams) WithHTTPClient ¶
func (o *PutStackForAutoscaleParams) WithHTTPClient(client *http.Client) *PutStackForAutoscaleParams
WithHTTPClient adds the HTTPClient to the put stack for autoscale params
func (*PutStackForAutoscaleParams) WithID ¶
func (o *PutStackForAutoscaleParams) WithID(id int64) *PutStackForAutoscaleParams
WithID adds the id to the put stack for autoscale params
func (*PutStackForAutoscaleParams) WithOwner ¶
func (o *PutStackForAutoscaleParams) WithOwner(owner string) *PutStackForAutoscaleParams
WithOwner adds the owner to the put stack for autoscale params
func (*PutStackForAutoscaleParams) WithTimeout ¶
func (o *PutStackForAutoscaleParams) WithTimeout(timeout time.Duration) *PutStackForAutoscaleParams
WithTimeout adds the timeout to the put stack for autoscale params
func (*PutStackForAutoscaleParams) WriteToRequest ¶
func (o *PutStackForAutoscaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutStackForAutoscaleReader ¶
type PutStackForAutoscaleReader struct {
// contains filtered or unexported fields
}
PutStackForAutoscaleReader is a Reader for the PutStackForAutoscale structure.
func (*PutStackForAutoscaleReader) ReadResponse ¶
func (o *PutStackForAutoscaleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- authorize_for_autoscale_parameters.go
- authorize_for_autoscale_responses.go
- autoscale_client.go
- failure_report_cluster_for_autoscale_parameters.go
- failure_report_cluster_for_autoscale_responses.go
- get_all_stack_for_autoscale_parameters.go
- get_all_stack_for_autoscale_responses.go
- get_certificate_stack_for_autoscale_parameters.go
- get_certificate_stack_for_autoscale_responses.go
- get_full_cluster_for_autoscale_parameters.go
- get_full_cluster_for_autoscale_responses.go
- get_stack_for_ambari_for_autoscale_parameters.go
- get_stack_for_ambari_for_autoscale_responses.go
- get_stack_for_autoscale_parameters.go
- get_stack_for_autoscale_responses.go
- put_cluster_for_autoscale_parameters.go
- put_cluster_for_autoscale_responses.go
- put_stack_for_autoscale_parameters.go
- put_stack_for_autoscale_responses.go