v3utils

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

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

Go to latest
Published: Sep 17, 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 CheckClientVersionV3OK

type CheckClientVersionV3OK struct {
	Payload *models_cloudbreak.VersionCheckResult
}

CheckClientVersionV3OK handles this case with default header values.

successful operation

func NewCheckClientVersionV3OK

func NewCheckClientVersionV3OK() *CheckClientVersionV3OK

NewCheckClientVersionV3OK creates a CheckClientVersionV3OK with default headers values

func (*CheckClientVersionV3OK) Error

func (o *CheckClientVersionV3OK) Error() string

type CheckClientVersionV3Params

type CheckClientVersionV3Params struct {

	/*Version*/
	Version string

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

CheckClientVersionV3Params contains all the parameters to send to the API endpoint for the check client version v3 operation typically these are written to a http.Request

func NewCheckClientVersionV3Params

func NewCheckClientVersionV3Params() *CheckClientVersionV3Params

NewCheckClientVersionV3Params creates a new CheckClientVersionV3Params object with the default values initialized.

func NewCheckClientVersionV3ParamsWithContext

func NewCheckClientVersionV3ParamsWithContext(ctx context.Context) *CheckClientVersionV3Params

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

func NewCheckClientVersionV3ParamsWithHTTPClient

func NewCheckClientVersionV3ParamsWithHTTPClient(client *http.Client) *CheckClientVersionV3Params

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

func NewCheckClientVersionV3ParamsWithTimeout

func NewCheckClientVersionV3ParamsWithTimeout(timeout time.Duration) *CheckClientVersionV3Params

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

func (*CheckClientVersionV3Params) SetContext

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

SetContext adds the context to the check client version v3 params

func (*CheckClientVersionV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the check client version v3 params

func (*CheckClientVersionV3Params) SetTimeout

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

SetTimeout adds the timeout to the check client version v3 params

func (*CheckClientVersionV3Params) SetVersion

func (o *CheckClientVersionV3Params) SetVersion(version string)

SetVersion adds the version to the check client version v3 params

func (*CheckClientVersionV3Params) WithContext

WithContext adds the context to the check client version v3 params

func (*CheckClientVersionV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the check client version v3 params

func (*CheckClientVersionV3Params) WithTimeout

WithTimeout adds the timeout to the check client version v3 params

func (*CheckClientVersionV3Params) WithVersion

WithVersion adds the version to the check client version v3 params

func (*CheckClientVersionV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CheckClientVersionV3Reader

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

CheckClientVersionV3Reader is a Reader for the CheckClientVersionV3 structure.

func (*CheckClientVersionV3Reader) ReadResponse

func (o *CheckClientVersionV3Reader) 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 v3utils API

func New

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

New creates a new v3utils API client.

func (*Client) CheckClientVersionV3

func (a *Client) CheckClientVersionV3(params *CheckClientVersionV3Params) (*CheckClientVersionV3OK, error)

CheckClientVersionV3 checks the client version

func (*Client) CreateRDSDatabaseUtilV3

func (a *Client) CreateRDSDatabaseUtilV3(params *CreateRDSDatabaseUtilV3Params) (*CreateRDSDatabaseUtilV3OK, error)

CreateRDSDatabaseUtilV3 creates a database for the service in the r d s if the connection could be created

func (*Client) GetCloudStorageMatrixV3

func (a *Client) GetCloudStorageMatrixV3(params *GetCloudStorageMatrixV3Params) (*GetCloudStorageMatrixV3OK, error)

GetCloudStorageMatrixV3 returns supported cloud storage for stack version

Define stack version at least at patch level eg. 2.6.0

func (*Client) GetStackMatrixUtilV3

func (a *Client) GetStackMatrixUtilV3(params *GetStackMatrixUtilV3Params) (*GetStackMatrixUtilV3OK, error)

GetStackMatrixUtilV3 returns default ambari details for distinct h d p and h d f

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateRDSDatabaseUtilV3OK

type CreateRDSDatabaseUtilV3OK struct {
	Payload *models_cloudbreak.RdsBuildResult
}

CreateRDSDatabaseUtilV3OK handles this case with default header values.

successful operation

func NewCreateRDSDatabaseUtilV3OK

func NewCreateRDSDatabaseUtilV3OK() *CreateRDSDatabaseUtilV3OK

NewCreateRDSDatabaseUtilV3OK creates a CreateRDSDatabaseUtilV3OK with default headers values

func (*CreateRDSDatabaseUtilV3OK) Error

func (o *CreateRDSDatabaseUtilV3OK) Error() string

type CreateRDSDatabaseUtilV3Params

type CreateRDSDatabaseUtilV3Params struct {

	/*Body*/
	Body *models_cloudbreak.RDSBuildRequest
	/*Target*/
	Target []string

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

CreateRDSDatabaseUtilV3Params contains all the parameters to send to the API endpoint for the create r d s database util v3 operation typically these are written to a http.Request

func NewCreateRDSDatabaseUtilV3Params

func NewCreateRDSDatabaseUtilV3Params() *CreateRDSDatabaseUtilV3Params

NewCreateRDSDatabaseUtilV3Params creates a new CreateRDSDatabaseUtilV3Params object with the default values initialized.

func NewCreateRDSDatabaseUtilV3ParamsWithContext

func NewCreateRDSDatabaseUtilV3ParamsWithContext(ctx context.Context) *CreateRDSDatabaseUtilV3Params

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

func NewCreateRDSDatabaseUtilV3ParamsWithHTTPClient

func NewCreateRDSDatabaseUtilV3ParamsWithHTTPClient(client *http.Client) *CreateRDSDatabaseUtilV3Params

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

func NewCreateRDSDatabaseUtilV3ParamsWithTimeout

func NewCreateRDSDatabaseUtilV3ParamsWithTimeout(timeout time.Duration) *CreateRDSDatabaseUtilV3Params

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

func (*CreateRDSDatabaseUtilV3Params) SetBody

SetBody adds the body to the create r d s database util v3 params

func (*CreateRDSDatabaseUtilV3Params) SetContext

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

SetContext adds the context to the create r d s database util v3 params

func (*CreateRDSDatabaseUtilV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create r d s database util v3 params

func (*CreateRDSDatabaseUtilV3Params) SetTarget

func (o *CreateRDSDatabaseUtilV3Params) SetTarget(target []string)

SetTarget adds the target to the create r d s database util v3 params

func (*CreateRDSDatabaseUtilV3Params) SetTimeout

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

SetTimeout adds the timeout to the create r d s database util v3 params

func (*CreateRDSDatabaseUtilV3Params) WithBody

WithBody adds the body to the create r d s database util v3 params

func (*CreateRDSDatabaseUtilV3Params) WithContext

WithContext adds the context to the create r d s database util v3 params

func (*CreateRDSDatabaseUtilV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create r d s database util v3 params

func (*CreateRDSDatabaseUtilV3Params) WithTarget

WithTarget adds the target to the create r d s database util v3 params

func (*CreateRDSDatabaseUtilV3Params) WithTimeout

WithTimeout adds the timeout to the create r d s database util v3 params

func (*CreateRDSDatabaseUtilV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateRDSDatabaseUtilV3Reader

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

CreateRDSDatabaseUtilV3Reader is a Reader for the CreateRDSDatabaseUtilV3 structure.

func (*CreateRDSDatabaseUtilV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCloudStorageMatrixV3OK

type GetCloudStorageMatrixV3OK struct {
	Payload []*models_cloudbreak.CloudStorageSupportedResponse
}

GetCloudStorageMatrixV3OK handles this case with default header values.

successful operation

func NewGetCloudStorageMatrixV3OK

func NewGetCloudStorageMatrixV3OK() *GetCloudStorageMatrixV3OK

NewGetCloudStorageMatrixV3OK creates a GetCloudStorageMatrixV3OK with default headers values

func (*GetCloudStorageMatrixV3OK) Error

func (o *GetCloudStorageMatrixV3OK) Error() string

type GetCloudStorageMatrixV3Params

type GetCloudStorageMatrixV3Params struct {

	/*StackVersion*/
	StackVersion *string

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

GetCloudStorageMatrixV3Params contains all the parameters to send to the API endpoint for the get cloud storage matrix v3 operation typically these are written to a http.Request

func NewGetCloudStorageMatrixV3Params

func NewGetCloudStorageMatrixV3Params() *GetCloudStorageMatrixV3Params

NewGetCloudStorageMatrixV3Params creates a new GetCloudStorageMatrixV3Params object with the default values initialized.

func NewGetCloudStorageMatrixV3ParamsWithContext

func NewGetCloudStorageMatrixV3ParamsWithContext(ctx context.Context) *GetCloudStorageMatrixV3Params

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

func NewGetCloudStorageMatrixV3ParamsWithHTTPClient

func NewGetCloudStorageMatrixV3ParamsWithHTTPClient(client *http.Client) *GetCloudStorageMatrixV3Params

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

func NewGetCloudStorageMatrixV3ParamsWithTimeout

func NewGetCloudStorageMatrixV3ParamsWithTimeout(timeout time.Duration) *GetCloudStorageMatrixV3Params

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

func (*GetCloudStorageMatrixV3Params) SetContext

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

SetContext adds the context to the get cloud storage matrix v3 params

func (*GetCloudStorageMatrixV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get cloud storage matrix v3 params

func (*GetCloudStorageMatrixV3Params) SetStackVersion

func (o *GetCloudStorageMatrixV3Params) SetStackVersion(stackVersion *string)

SetStackVersion adds the stackVersion to the get cloud storage matrix v3 params

func (*GetCloudStorageMatrixV3Params) SetTimeout

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

SetTimeout adds the timeout to the get cloud storage matrix v3 params

func (*GetCloudStorageMatrixV3Params) WithContext

WithContext adds the context to the get cloud storage matrix v3 params

func (*GetCloudStorageMatrixV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get cloud storage matrix v3 params

func (*GetCloudStorageMatrixV3Params) WithStackVersion

func (o *GetCloudStorageMatrixV3Params) WithStackVersion(stackVersion *string) *GetCloudStorageMatrixV3Params

WithStackVersion adds the stackVersion to the get cloud storage matrix v3 params

func (*GetCloudStorageMatrixV3Params) WithTimeout

WithTimeout adds the timeout to the get cloud storage matrix v3 params

func (*GetCloudStorageMatrixV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCloudStorageMatrixV3Reader

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

GetCloudStorageMatrixV3Reader is a Reader for the GetCloudStorageMatrixV3 structure.

func (*GetCloudStorageMatrixV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStackMatrixUtilV3OK

type GetStackMatrixUtilV3OK struct {
	Payload *models_cloudbreak.StackMatrix
}

GetStackMatrixUtilV3OK handles this case with default header values.

successful operation

func NewGetStackMatrixUtilV3OK

func NewGetStackMatrixUtilV3OK() *GetStackMatrixUtilV3OK

NewGetStackMatrixUtilV3OK creates a GetStackMatrixUtilV3OK with default headers values

func (*GetStackMatrixUtilV3OK) Error

func (o *GetStackMatrixUtilV3OK) Error() string

type GetStackMatrixUtilV3Params

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

GetStackMatrixUtilV3Params contains all the parameters to send to the API endpoint for the get stack matrix util v3 operation typically these are written to a http.Request

func NewGetStackMatrixUtilV3Params

func NewGetStackMatrixUtilV3Params() *GetStackMatrixUtilV3Params

NewGetStackMatrixUtilV3Params creates a new GetStackMatrixUtilV3Params object with the default values initialized.

func NewGetStackMatrixUtilV3ParamsWithContext

func NewGetStackMatrixUtilV3ParamsWithContext(ctx context.Context) *GetStackMatrixUtilV3Params

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

func NewGetStackMatrixUtilV3ParamsWithHTTPClient

func NewGetStackMatrixUtilV3ParamsWithHTTPClient(client *http.Client) *GetStackMatrixUtilV3Params

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

func NewGetStackMatrixUtilV3ParamsWithTimeout

func NewGetStackMatrixUtilV3ParamsWithTimeout(timeout time.Duration) *GetStackMatrixUtilV3Params

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

func (*GetStackMatrixUtilV3Params) SetContext

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

SetContext adds the context to the get stack matrix util v3 params

func (*GetStackMatrixUtilV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get stack matrix util v3 params

func (*GetStackMatrixUtilV3Params) SetTimeout

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

SetTimeout adds the timeout to the get stack matrix util v3 params

func (*GetStackMatrixUtilV3Params) WithContext

WithContext adds the context to the get stack matrix util v3 params

func (*GetStackMatrixUtilV3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get stack matrix util v3 params

func (*GetStackMatrixUtilV3Params) WithTimeout

WithTimeout adds the timeout to the get stack matrix util v3 params

func (*GetStackMatrixUtilV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetStackMatrixUtilV3Reader

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

GetStackMatrixUtilV3Reader is a Reader for the GetStackMatrixUtilV3 structure.

func (*GetStackMatrixUtilV3Reader) ReadResponse

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