autoscale

package
v2.8.1-rc.28+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: Apache-2.0, BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

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

WithContext adds the context to the authorize for autoscale params

func (*AuthorizeForAutoscaleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the authorize for autoscale params

func (*AuthorizeForAutoscaleParams) WithID

WithID adds the id to the authorize for autoscale params

func (*AuthorizeForAutoscaleParams) WithOwner

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

WithTimeout adds the timeout to the authorize for autoscale params

func (*AuthorizeForAutoscaleParams) WriteToRequest

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

Code gets the status code for the failure report cluster for autoscale default response

func (*FailureReportClusterForAutoscaleDefault) Error

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

SetBody adds the body to the failure report cluster for autoscale params

func (*FailureReportClusterForAutoscaleParams) SetContext

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

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

WithBody adds the body to the failure report cluster for autoscale params

func (*FailureReportClusterForAutoscaleParams) WithContext

WithContext adds the context to the failure report cluster for autoscale params

func (*FailureReportClusterForAutoscaleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the failure report cluster for autoscale params

func (*FailureReportClusterForAutoscaleParams) WithID

WithID adds the id to the failure report cluster for autoscale params

func (*FailureReportClusterForAutoscaleParams) WithTimeout

WithTimeout adds the timeout to the failure report cluster for autoscale params

func (*FailureReportClusterForAutoscaleParams) WriteToRequest

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

WithContext adds the context to the get all stack for autoscale params

func (*GetAllStackForAutoscaleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get all stack for autoscale params

func (*GetAllStackForAutoscaleParams) WithTimeout

WithTimeout adds the timeout to the get all stack for autoscale params

func (*GetAllStackForAutoscaleParams) WriteToRequest

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

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

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

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

WithContext adds the context to the get certificate stack for autoscale params

func (*GetCertificateStackForAutoscaleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get certificate stack for autoscale params

func (*GetCertificateStackForAutoscaleParams) WithID

WithID adds the id to the get certificate stack for autoscale params

func (*GetCertificateStackForAutoscaleParams) WithTimeout

WithTimeout adds the timeout to the get certificate stack for autoscale params

func (*GetCertificateStackForAutoscaleParams) WriteToRequest

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

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

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

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

WithContext adds the context to the get full cluster for autoscale params

func (*GetFullClusterForAutoscaleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get full cluster for autoscale params

func (*GetFullClusterForAutoscaleParams) WithID

WithID adds the id to the get full cluster for autoscale params

func (*GetFullClusterForAutoscaleParams) WithTimeout

WithTimeout adds the timeout to the get full cluster for autoscale params

func (*GetFullClusterForAutoscaleParams) WriteToRequest

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

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

SetBody adds the body to the get stack for ambari for autoscale params

func (*GetStackForAmbariForAutoscaleParams) SetContext

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

WithBody adds the body to the get stack for ambari for autoscale params

func (*GetStackForAmbariForAutoscaleParams) WithContext

WithContext adds the context to the get stack for ambari for autoscale params

func (*GetStackForAmbariForAutoscaleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get stack for ambari for autoscale params

func (*GetStackForAmbariForAutoscaleParams) WithTimeout

WithTimeout adds the timeout to the get stack for ambari for autoscale params

func (*GetStackForAmbariForAutoscaleParams) WriteToRequest

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

WithContext adds the context to the get stack for autoscale params

func (*GetStackForAutoscaleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get stack for autoscale params

func (*GetStackForAutoscaleParams) WithID

WithID adds the id to the get stack for autoscale params

func (*GetStackForAutoscaleParams) WithTimeout

WithTimeout adds the timeout to the get stack for autoscale params

func (*GetStackForAutoscaleParams) WriteToRequest

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

Code gets the status code for the put cluster for autoscale default response

func (*PutClusterForAutoscaleDefault) Error

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

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

WithBody adds the body to the put cluster for autoscale params

func (*PutClusterForAutoscaleParams) WithContext

WithContext adds the context to the put cluster for autoscale params

func (*PutClusterForAutoscaleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put cluster for autoscale params

func (*PutClusterForAutoscaleParams) WithID

WithID adds the id to the put cluster for autoscale params

func (*PutClusterForAutoscaleParams) WithOwner

WithOwner adds the owner to the put cluster for autoscale params

func (*PutClusterForAutoscaleParams) WithTimeout

WithTimeout adds the timeout to the put cluster for autoscale params

func (*PutClusterForAutoscaleParams) WriteToRequest

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

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

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

WithBody adds the body to the put stack for autoscale params

func (*PutStackForAutoscaleParams) WithContext

WithContext adds the context to the put stack for autoscale params

func (*PutStackForAutoscaleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put stack for autoscale params

func (*PutStackForAutoscaleParams) WithID

WithID adds the id to the put stack for autoscale params

func (*PutStackForAutoscaleParams) WithOwner

WithOwner adds the owner to the put stack for autoscale params

func (*PutStackForAutoscaleParams) WithTimeout

WithTimeout adds the timeout to the put stack for autoscale params

func (*PutStackForAutoscaleParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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