v3_organization_id_blueprints

package
v2.9.0-dev.12+incompat... Latest Latest
Warning

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

Go to latest
Published: Aug 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 Client

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

Client for v3 organization id blueprints API

func New

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

New creates a new v3 organization id blueprints API client.

func (*Client) CreateBlueprintInOrganization

func (a *Client) CreateBlueprintInOrganization(params *CreateBlueprintInOrganizationParams) (*CreateBlueprintInOrganizationOK, error)

CreateBlueprintInOrganization creates blueprint in organization

Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.

func (*Client) DeleteBlueprintInOrganization

func (a *Client) DeleteBlueprintInOrganization(params *DeleteBlueprintInOrganizationParams) (*DeleteBlueprintInOrganizationOK, error)

DeleteBlueprintInOrganization deletes blueprint by name in organization

Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.

func (*Client) GetBlueprintInOrganization

func (a *Client) GetBlueprintInOrganization(params *GetBlueprintInOrganizationParams) (*GetBlueprintInOrganizationOK, error)

GetBlueprintInOrganization gets blueprint by name in organization

Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.

func (*Client) ListBlueprintsByOrganization

func (a *Client) ListBlueprintsByOrganization(params *ListBlueprintsByOrganizationParams) (*ListBlueprintsByOrganizationOK, error)

ListBlueprintsByOrganization lists blueprints for the given organization

Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateBlueprintInOrganizationOK

type CreateBlueprintInOrganizationOK struct {
	Payload *models_cloudbreak.BlueprintResponse
}

CreateBlueprintInOrganizationOK handles this case with default header values.

successful operation

func NewCreateBlueprintInOrganizationOK

func NewCreateBlueprintInOrganizationOK() *CreateBlueprintInOrganizationOK

NewCreateBlueprintInOrganizationOK creates a CreateBlueprintInOrganizationOK with default headers values

func (*CreateBlueprintInOrganizationOK) Error

type CreateBlueprintInOrganizationParams

type CreateBlueprintInOrganizationParams struct {

	/*Body*/
	Body *models_cloudbreak.BlueprintRequest
	/*OrganizationID*/
	OrganizationID int64

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

CreateBlueprintInOrganizationParams contains all the parameters to send to the API endpoint for the create blueprint in organization operation typically these are written to a http.Request

func NewCreateBlueprintInOrganizationParams

func NewCreateBlueprintInOrganizationParams() *CreateBlueprintInOrganizationParams

NewCreateBlueprintInOrganizationParams creates a new CreateBlueprintInOrganizationParams object with the default values initialized.

func NewCreateBlueprintInOrganizationParamsWithContext

func NewCreateBlueprintInOrganizationParamsWithContext(ctx context.Context) *CreateBlueprintInOrganizationParams

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

func NewCreateBlueprintInOrganizationParamsWithHTTPClient

func NewCreateBlueprintInOrganizationParamsWithHTTPClient(client *http.Client) *CreateBlueprintInOrganizationParams

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

func NewCreateBlueprintInOrganizationParamsWithTimeout

func NewCreateBlueprintInOrganizationParamsWithTimeout(timeout time.Duration) *CreateBlueprintInOrganizationParams

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

func (*CreateBlueprintInOrganizationParams) SetBody

SetBody adds the body to the create blueprint in organization params

func (*CreateBlueprintInOrganizationParams) SetContext

SetContext adds the context to the create blueprint in organization params

func (*CreateBlueprintInOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create blueprint in organization params

func (*CreateBlueprintInOrganizationParams) SetOrganizationID

func (o *CreateBlueprintInOrganizationParams) SetOrganizationID(organizationID int64)

SetOrganizationID adds the organizationId to the create blueprint in organization params

func (*CreateBlueprintInOrganizationParams) SetTimeout

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

SetTimeout adds the timeout to the create blueprint in organization params

func (*CreateBlueprintInOrganizationParams) WithBody

WithBody adds the body to the create blueprint in organization params

func (*CreateBlueprintInOrganizationParams) WithContext

WithContext adds the context to the create blueprint in organization params

func (*CreateBlueprintInOrganizationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create blueprint in organization params

func (*CreateBlueprintInOrganizationParams) WithOrganizationID

func (o *CreateBlueprintInOrganizationParams) WithOrganizationID(organizationID int64) *CreateBlueprintInOrganizationParams

WithOrganizationID adds the organizationID to the create blueprint in organization params

func (*CreateBlueprintInOrganizationParams) WithTimeout

WithTimeout adds the timeout to the create blueprint in organization params

func (*CreateBlueprintInOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateBlueprintInOrganizationReader

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

CreateBlueprintInOrganizationReader is a Reader for the CreateBlueprintInOrganization structure.

func (*CreateBlueprintInOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBlueprintInOrganizationOK

type DeleteBlueprintInOrganizationOK struct {
	Payload *models_cloudbreak.BlueprintResponse
}

DeleteBlueprintInOrganizationOK handles this case with default header values.

successful operation

func NewDeleteBlueprintInOrganizationOK

func NewDeleteBlueprintInOrganizationOK() *DeleteBlueprintInOrganizationOK

NewDeleteBlueprintInOrganizationOK creates a DeleteBlueprintInOrganizationOK with default headers values

func (*DeleteBlueprintInOrganizationOK) Error

type DeleteBlueprintInOrganizationParams

type DeleteBlueprintInOrganizationParams struct {

	/*Name*/
	Name string
	/*OrganizationID*/
	OrganizationID int64

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

DeleteBlueprintInOrganizationParams contains all the parameters to send to the API endpoint for the delete blueprint in organization operation typically these are written to a http.Request

func NewDeleteBlueprintInOrganizationParams

func NewDeleteBlueprintInOrganizationParams() *DeleteBlueprintInOrganizationParams

NewDeleteBlueprintInOrganizationParams creates a new DeleteBlueprintInOrganizationParams object with the default values initialized.

func NewDeleteBlueprintInOrganizationParamsWithContext

func NewDeleteBlueprintInOrganizationParamsWithContext(ctx context.Context) *DeleteBlueprintInOrganizationParams

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

func NewDeleteBlueprintInOrganizationParamsWithHTTPClient

func NewDeleteBlueprintInOrganizationParamsWithHTTPClient(client *http.Client) *DeleteBlueprintInOrganizationParams

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

func NewDeleteBlueprintInOrganizationParamsWithTimeout

func NewDeleteBlueprintInOrganizationParamsWithTimeout(timeout time.Duration) *DeleteBlueprintInOrganizationParams

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

func (*DeleteBlueprintInOrganizationParams) SetContext

SetContext adds the context to the delete blueprint in organization params

func (*DeleteBlueprintInOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete blueprint in organization params

func (*DeleteBlueprintInOrganizationParams) SetName

SetName adds the name to the delete blueprint in organization params

func (*DeleteBlueprintInOrganizationParams) SetOrganizationID

func (o *DeleteBlueprintInOrganizationParams) SetOrganizationID(organizationID int64)

SetOrganizationID adds the organizationId to the delete blueprint in organization params

func (*DeleteBlueprintInOrganizationParams) SetTimeout

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

SetTimeout adds the timeout to the delete blueprint in organization params

func (*DeleteBlueprintInOrganizationParams) WithContext

WithContext adds the context to the delete blueprint in organization params

func (*DeleteBlueprintInOrganizationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete blueprint in organization params

func (*DeleteBlueprintInOrganizationParams) WithName

WithName adds the name to the delete blueprint in organization params

func (*DeleteBlueprintInOrganizationParams) WithOrganizationID

func (o *DeleteBlueprintInOrganizationParams) WithOrganizationID(organizationID int64) *DeleteBlueprintInOrganizationParams

WithOrganizationID adds the organizationID to the delete blueprint in organization params

func (*DeleteBlueprintInOrganizationParams) WithTimeout

WithTimeout adds the timeout to the delete blueprint in organization params

func (*DeleteBlueprintInOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteBlueprintInOrganizationReader

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

DeleteBlueprintInOrganizationReader is a Reader for the DeleteBlueprintInOrganization structure.

func (*DeleteBlueprintInOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBlueprintInOrganizationOK

type GetBlueprintInOrganizationOK struct {
	Payload *models_cloudbreak.BlueprintResponse
}

GetBlueprintInOrganizationOK handles this case with default header values.

successful operation

func NewGetBlueprintInOrganizationOK

func NewGetBlueprintInOrganizationOK() *GetBlueprintInOrganizationOK

NewGetBlueprintInOrganizationOK creates a GetBlueprintInOrganizationOK with default headers values

func (*GetBlueprintInOrganizationOK) Error

type GetBlueprintInOrganizationParams

type GetBlueprintInOrganizationParams struct {

	/*Name*/
	Name string
	/*OrganizationID*/
	OrganizationID int64

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

GetBlueprintInOrganizationParams contains all the parameters to send to the API endpoint for the get blueprint in organization operation typically these are written to a http.Request

func NewGetBlueprintInOrganizationParams

func NewGetBlueprintInOrganizationParams() *GetBlueprintInOrganizationParams

NewGetBlueprintInOrganizationParams creates a new GetBlueprintInOrganizationParams object with the default values initialized.

func NewGetBlueprintInOrganizationParamsWithContext

func NewGetBlueprintInOrganizationParamsWithContext(ctx context.Context) *GetBlueprintInOrganizationParams

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

func NewGetBlueprintInOrganizationParamsWithHTTPClient

func NewGetBlueprintInOrganizationParamsWithHTTPClient(client *http.Client) *GetBlueprintInOrganizationParams

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

func NewGetBlueprintInOrganizationParamsWithTimeout

func NewGetBlueprintInOrganizationParamsWithTimeout(timeout time.Duration) *GetBlueprintInOrganizationParams

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

func (*GetBlueprintInOrganizationParams) SetContext

SetContext adds the context to the get blueprint in organization params

func (*GetBlueprintInOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get blueprint in organization params

func (*GetBlueprintInOrganizationParams) SetName

func (o *GetBlueprintInOrganizationParams) SetName(name string)

SetName adds the name to the get blueprint in organization params

func (*GetBlueprintInOrganizationParams) SetOrganizationID

func (o *GetBlueprintInOrganizationParams) SetOrganizationID(organizationID int64)

SetOrganizationID adds the organizationId to the get blueprint in organization params

func (*GetBlueprintInOrganizationParams) SetTimeout

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

SetTimeout adds the timeout to the get blueprint in organization params

func (*GetBlueprintInOrganizationParams) WithContext

WithContext adds the context to the get blueprint in organization params

func (*GetBlueprintInOrganizationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get blueprint in organization params

func (*GetBlueprintInOrganizationParams) WithName

WithName adds the name to the get blueprint in organization params

func (*GetBlueprintInOrganizationParams) WithOrganizationID

func (o *GetBlueprintInOrganizationParams) WithOrganizationID(organizationID int64) *GetBlueprintInOrganizationParams

WithOrganizationID adds the organizationID to the get blueprint in organization params

func (*GetBlueprintInOrganizationParams) WithTimeout

WithTimeout adds the timeout to the get blueprint in organization params

func (*GetBlueprintInOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBlueprintInOrganizationReader

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

GetBlueprintInOrganizationReader is a Reader for the GetBlueprintInOrganization structure.

func (*GetBlueprintInOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListBlueprintsByOrganizationOK

type ListBlueprintsByOrganizationOK struct {
	Payload []*models_cloudbreak.BlueprintResponse
}

ListBlueprintsByOrganizationOK handles this case with default header values.

successful operation

func NewListBlueprintsByOrganizationOK

func NewListBlueprintsByOrganizationOK() *ListBlueprintsByOrganizationOK

NewListBlueprintsByOrganizationOK creates a ListBlueprintsByOrganizationOK with default headers values

func (*ListBlueprintsByOrganizationOK) Error

type ListBlueprintsByOrganizationParams

type ListBlueprintsByOrganizationParams struct {

	/*OrganizationID*/
	OrganizationID int64

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

ListBlueprintsByOrganizationParams contains all the parameters to send to the API endpoint for the list blueprints by organization operation typically these are written to a http.Request

func NewListBlueprintsByOrganizationParams

func NewListBlueprintsByOrganizationParams() *ListBlueprintsByOrganizationParams

NewListBlueprintsByOrganizationParams creates a new ListBlueprintsByOrganizationParams object with the default values initialized.

func NewListBlueprintsByOrganizationParamsWithContext

func NewListBlueprintsByOrganizationParamsWithContext(ctx context.Context) *ListBlueprintsByOrganizationParams

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

func NewListBlueprintsByOrganizationParamsWithHTTPClient

func NewListBlueprintsByOrganizationParamsWithHTTPClient(client *http.Client) *ListBlueprintsByOrganizationParams

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

func NewListBlueprintsByOrganizationParamsWithTimeout

func NewListBlueprintsByOrganizationParamsWithTimeout(timeout time.Duration) *ListBlueprintsByOrganizationParams

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

func (*ListBlueprintsByOrganizationParams) SetContext

SetContext adds the context to the list blueprints by organization params

func (*ListBlueprintsByOrganizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list blueprints by organization params

func (*ListBlueprintsByOrganizationParams) SetOrganizationID

func (o *ListBlueprintsByOrganizationParams) SetOrganizationID(organizationID int64)

SetOrganizationID adds the organizationId to the list blueprints by organization params

func (*ListBlueprintsByOrganizationParams) SetTimeout

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

SetTimeout adds the timeout to the list blueprints by organization params

func (*ListBlueprintsByOrganizationParams) WithContext

WithContext adds the context to the list blueprints by organization params

func (*ListBlueprintsByOrganizationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list blueprints by organization params

func (*ListBlueprintsByOrganizationParams) WithOrganizationID

func (o *ListBlueprintsByOrganizationParams) WithOrganizationID(organizationID int64) *ListBlueprintsByOrganizationParams

WithOrganizationID adds the organizationID to the list blueprints by organization params

func (*ListBlueprintsByOrganizationParams) WithTimeout

WithTimeout adds the timeout to the list blueprints by organization params

func (*ListBlueprintsByOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListBlueprintsByOrganizationReader

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

ListBlueprintsByOrganizationReader is a Reader for the ListBlueprintsByOrganization structure.

func (*ListBlueprintsByOrganizationReader) ReadResponse

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