v3_workspace_id_blueprints

package
v2.8.0-rc.101+incompat... Latest Latest
Warning

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

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

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 workspace id blueprints API

func New

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

New creates a new v3 workspace id blueprints API client.

func (*Client) CreateBlueprintInWorkspace

func (a *Client) CreateBlueprintInWorkspace(params *CreateBlueprintInWorkspaceParams) (*CreateBlueprintInWorkspaceOK, error)

CreateBlueprintInWorkspace creates blueprint in workspace

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) DeleteBlueprintInWorkspace

func (a *Client) DeleteBlueprintInWorkspace(params *DeleteBlueprintInWorkspaceParams) (*DeleteBlueprintInWorkspaceOK, error)

DeleteBlueprintInWorkspace deletes blueprint by name in workspace

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) GetBlueprintCustomParameters

func (a *Client) GetBlueprintCustomParameters(params *GetBlueprintCustomParametersParams) (*GetBlueprintCustomParametersOK, error)

GetBlueprintCustomParameters returns custom parameters

func (*Client) GetBlueprintInWorkspace

func (a *Client) GetBlueprintInWorkspace(params *GetBlueprintInWorkspaceParams) (*GetBlueprintInWorkspaceOK, error)

GetBlueprintInWorkspace gets blueprint by name in workspace

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) GetBlueprintRequestFromName

func (a *Client) GetBlueprintRequestFromName(params *GetBlueprintRequestFromNameParams) (*GetBlueprintRequestFromNameOK, error)

GetBlueprintRequestFromName retrieves validation request by blueprint name

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) ListBlueprintsByWorkspace

func (a *Client) ListBlueprintsByWorkspace(params *ListBlueprintsByWorkspaceParams) (*ListBlueprintsByWorkspaceOK, error)

ListBlueprintsByWorkspace lists blueprints for the given workspace

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 CreateBlueprintInWorkspaceOK

type CreateBlueprintInWorkspaceOK struct {
	Payload *models_cloudbreak.BlueprintResponse
}

CreateBlueprintInWorkspaceOK handles this case with default header values.

successful operation

func NewCreateBlueprintInWorkspaceOK

func NewCreateBlueprintInWorkspaceOK() *CreateBlueprintInWorkspaceOK

NewCreateBlueprintInWorkspaceOK creates a CreateBlueprintInWorkspaceOK with default headers values

func (*CreateBlueprintInWorkspaceOK) Error

type CreateBlueprintInWorkspaceParams

type CreateBlueprintInWorkspaceParams struct {

	/*Body*/
	Body *models_cloudbreak.BlueprintRequest
	/*WorkspaceID*/
	WorkspaceID int64

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

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

func NewCreateBlueprintInWorkspaceParams

func NewCreateBlueprintInWorkspaceParams() *CreateBlueprintInWorkspaceParams

NewCreateBlueprintInWorkspaceParams creates a new CreateBlueprintInWorkspaceParams object with the default values initialized.

func NewCreateBlueprintInWorkspaceParamsWithContext

func NewCreateBlueprintInWorkspaceParamsWithContext(ctx context.Context) *CreateBlueprintInWorkspaceParams

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

func NewCreateBlueprintInWorkspaceParamsWithHTTPClient

func NewCreateBlueprintInWorkspaceParamsWithHTTPClient(client *http.Client) *CreateBlueprintInWorkspaceParams

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

func NewCreateBlueprintInWorkspaceParamsWithTimeout

func NewCreateBlueprintInWorkspaceParamsWithTimeout(timeout time.Duration) *CreateBlueprintInWorkspaceParams

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

func (*CreateBlueprintInWorkspaceParams) SetBody

SetBody adds the body to the create blueprint in workspace params

func (*CreateBlueprintInWorkspaceParams) SetContext

SetContext adds the context to the create blueprint in workspace params

func (*CreateBlueprintInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create blueprint in workspace params

func (*CreateBlueprintInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the create blueprint in workspace params

func (*CreateBlueprintInWorkspaceParams) SetWorkspaceID

func (o *CreateBlueprintInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the create blueprint in workspace params

func (*CreateBlueprintInWorkspaceParams) WithBody

WithBody adds the body to the create blueprint in workspace params

func (*CreateBlueprintInWorkspaceParams) WithContext

WithContext adds the context to the create blueprint in workspace params

func (*CreateBlueprintInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create blueprint in workspace params

func (*CreateBlueprintInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the create blueprint in workspace params

func (*CreateBlueprintInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the create blueprint in workspace params

func (*CreateBlueprintInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateBlueprintInWorkspaceReader

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

CreateBlueprintInWorkspaceReader is a Reader for the CreateBlueprintInWorkspace structure.

func (*CreateBlueprintInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBlueprintInWorkspaceOK

type DeleteBlueprintInWorkspaceOK struct {
	Payload *models_cloudbreak.BlueprintResponse
}

DeleteBlueprintInWorkspaceOK handles this case with default header values.

successful operation

func NewDeleteBlueprintInWorkspaceOK

func NewDeleteBlueprintInWorkspaceOK() *DeleteBlueprintInWorkspaceOK

NewDeleteBlueprintInWorkspaceOK creates a DeleteBlueprintInWorkspaceOK with default headers values

func (*DeleteBlueprintInWorkspaceOK) Error

type DeleteBlueprintInWorkspaceParams

type DeleteBlueprintInWorkspaceParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

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

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

func NewDeleteBlueprintInWorkspaceParams

func NewDeleteBlueprintInWorkspaceParams() *DeleteBlueprintInWorkspaceParams

NewDeleteBlueprintInWorkspaceParams creates a new DeleteBlueprintInWorkspaceParams object with the default values initialized.

func NewDeleteBlueprintInWorkspaceParamsWithContext

func NewDeleteBlueprintInWorkspaceParamsWithContext(ctx context.Context) *DeleteBlueprintInWorkspaceParams

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

func NewDeleteBlueprintInWorkspaceParamsWithHTTPClient

func NewDeleteBlueprintInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteBlueprintInWorkspaceParams

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

func NewDeleteBlueprintInWorkspaceParamsWithTimeout

func NewDeleteBlueprintInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteBlueprintInWorkspaceParams

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

func (*DeleteBlueprintInWorkspaceParams) SetContext

SetContext adds the context to the delete blueprint in workspace params

func (*DeleteBlueprintInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete blueprint in workspace params

func (*DeleteBlueprintInWorkspaceParams) SetName

func (o *DeleteBlueprintInWorkspaceParams) SetName(name string)

SetName adds the name to the delete blueprint in workspace params

func (*DeleteBlueprintInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the delete blueprint in workspace params

func (*DeleteBlueprintInWorkspaceParams) SetWorkspaceID

func (o *DeleteBlueprintInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the delete blueprint in workspace params

func (*DeleteBlueprintInWorkspaceParams) WithContext

WithContext adds the context to the delete blueprint in workspace params

func (*DeleteBlueprintInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete blueprint in workspace params

func (*DeleteBlueprintInWorkspaceParams) WithName

WithName adds the name to the delete blueprint in workspace params

func (*DeleteBlueprintInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the delete blueprint in workspace params

func (*DeleteBlueprintInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the delete blueprint in workspace params

func (*DeleteBlueprintInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteBlueprintInWorkspaceReader

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

DeleteBlueprintInWorkspaceReader is a Reader for the DeleteBlueprintInWorkspace structure.

func (*DeleteBlueprintInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBlueprintCustomParametersOK

type GetBlueprintCustomParametersOK struct {
	Payload *models_cloudbreak.ParametersQueryResponse
}

GetBlueprintCustomParametersOK handles this case with default header values.

successful operation

func NewGetBlueprintCustomParametersOK

func NewGetBlueprintCustomParametersOK() *GetBlueprintCustomParametersOK

NewGetBlueprintCustomParametersOK creates a GetBlueprintCustomParametersOK with default headers values

func (*GetBlueprintCustomParametersOK) Error

type GetBlueprintCustomParametersParams

type GetBlueprintCustomParametersParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

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

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

func NewGetBlueprintCustomParametersParams

func NewGetBlueprintCustomParametersParams() *GetBlueprintCustomParametersParams

NewGetBlueprintCustomParametersParams creates a new GetBlueprintCustomParametersParams object with the default values initialized.

func NewGetBlueprintCustomParametersParamsWithContext

func NewGetBlueprintCustomParametersParamsWithContext(ctx context.Context) *GetBlueprintCustomParametersParams

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

func NewGetBlueprintCustomParametersParamsWithHTTPClient

func NewGetBlueprintCustomParametersParamsWithHTTPClient(client *http.Client) *GetBlueprintCustomParametersParams

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

func NewGetBlueprintCustomParametersParamsWithTimeout

func NewGetBlueprintCustomParametersParamsWithTimeout(timeout time.Duration) *GetBlueprintCustomParametersParams

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

func (*GetBlueprintCustomParametersParams) SetContext

SetContext adds the context to the get blueprint custom parameters params

func (*GetBlueprintCustomParametersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get blueprint custom parameters params

func (*GetBlueprintCustomParametersParams) SetName

func (o *GetBlueprintCustomParametersParams) SetName(name string)

SetName adds the name to the get blueprint custom parameters params

func (*GetBlueprintCustomParametersParams) SetTimeout

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

SetTimeout adds the timeout to the get blueprint custom parameters params

func (*GetBlueprintCustomParametersParams) SetWorkspaceID

func (o *GetBlueprintCustomParametersParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get blueprint custom parameters params

func (*GetBlueprintCustomParametersParams) WithContext

WithContext adds the context to the get blueprint custom parameters params

func (*GetBlueprintCustomParametersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get blueprint custom parameters params

func (*GetBlueprintCustomParametersParams) WithName

WithName adds the name to the get blueprint custom parameters params

func (*GetBlueprintCustomParametersParams) WithTimeout

WithTimeout adds the timeout to the get blueprint custom parameters params

func (*GetBlueprintCustomParametersParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get blueprint custom parameters params

func (*GetBlueprintCustomParametersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBlueprintCustomParametersReader

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

GetBlueprintCustomParametersReader is a Reader for the GetBlueprintCustomParameters structure.

func (*GetBlueprintCustomParametersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBlueprintInWorkspaceOK

type GetBlueprintInWorkspaceOK struct {
	Payload *models_cloudbreak.BlueprintResponse
}

GetBlueprintInWorkspaceOK handles this case with default header values.

successful operation

func NewGetBlueprintInWorkspaceOK

func NewGetBlueprintInWorkspaceOK() *GetBlueprintInWorkspaceOK

NewGetBlueprintInWorkspaceOK creates a GetBlueprintInWorkspaceOK with default headers values

func (*GetBlueprintInWorkspaceOK) Error

func (o *GetBlueprintInWorkspaceOK) Error() string

type GetBlueprintInWorkspaceParams

type GetBlueprintInWorkspaceParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

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

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

func NewGetBlueprintInWorkspaceParams

func NewGetBlueprintInWorkspaceParams() *GetBlueprintInWorkspaceParams

NewGetBlueprintInWorkspaceParams creates a new GetBlueprintInWorkspaceParams object with the default values initialized.

func NewGetBlueprintInWorkspaceParamsWithContext

func NewGetBlueprintInWorkspaceParamsWithContext(ctx context.Context) *GetBlueprintInWorkspaceParams

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

func NewGetBlueprintInWorkspaceParamsWithHTTPClient

func NewGetBlueprintInWorkspaceParamsWithHTTPClient(client *http.Client) *GetBlueprintInWorkspaceParams

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

func NewGetBlueprintInWorkspaceParamsWithTimeout

func NewGetBlueprintInWorkspaceParamsWithTimeout(timeout time.Duration) *GetBlueprintInWorkspaceParams

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

func (*GetBlueprintInWorkspaceParams) SetContext

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

SetContext adds the context to the get blueprint in workspace params

func (*GetBlueprintInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get blueprint in workspace params

func (*GetBlueprintInWorkspaceParams) SetName

func (o *GetBlueprintInWorkspaceParams) SetName(name string)

SetName adds the name to the get blueprint in workspace params

func (*GetBlueprintInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the get blueprint in workspace params

func (*GetBlueprintInWorkspaceParams) SetWorkspaceID

func (o *GetBlueprintInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get blueprint in workspace params

func (*GetBlueprintInWorkspaceParams) WithContext

WithContext adds the context to the get blueprint in workspace params

func (*GetBlueprintInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get blueprint in workspace params

func (*GetBlueprintInWorkspaceParams) WithName

WithName adds the name to the get blueprint in workspace params

func (*GetBlueprintInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get blueprint in workspace params

func (*GetBlueprintInWorkspaceParams) WithWorkspaceID

func (o *GetBlueprintInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetBlueprintInWorkspaceParams

WithWorkspaceID adds the workspaceID to the get blueprint in workspace params

func (*GetBlueprintInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBlueprintInWorkspaceReader

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

GetBlueprintInWorkspaceReader is a Reader for the GetBlueprintInWorkspace structure.

func (*GetBlueprintInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBlueprintRequestFromNameOK

type GetBlueprintRequestFromNameOK struct {
	Payload *models_cloudbreak.BlueprintRequest
}

GetBlueprintRequestFromNameOK handles this case with default header values.

successful operation

func NewGetBlueprintRequestFromNameOK

func NewGetBlueprintRequestFromNameOK() *GetBlueprintRequestFromNameOK

NewGetBlueprintRequestFromNameOK creates a GetBlueprintRequestFromNameOK with default headers values

func (*GetBlueprintRequestFromNameOK) Error

type GetBlueprintRequestFromNameParams

type GetBlueprintRequestFromNameParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

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

GetBlueprintRequestFromNameParams contains all the parameters to send to the API endpoint for the get blueprint request from name operation typically these are written to a http.Request

func NewGetBlueprintRequestFromNameParams

func NewGetBlueprintRequestFromNameParams() *GetBlueprintRequestFromNameParams

NewGetBlueprintRequestFromNameParams creates a new GetBlueprintRequestFromNameParams object with the default values initialized.

func NewGetBlueprintRequestFromNameParamsWithContext

func NewGetBlueprintRequestFromNameParamsWithContext(ctx context.Context) *GetBlueprintRequestFromNameParams

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

func NewGetBlueprintRequestFromNameParamsWithHTTPClient

func NewGetBlueprintRequestFromNameParamsWithHTTPClient(client *http.Client) *GetBlueprintRequestFromNameParams

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

func NewGetBlueprintRequestFromNameParamsWithTimeout

func NewGetBlueprintRequestFromNameParamsWithTimeout(timeout time.Duration) *GetBlueprintRequestFromNameParams

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

func (*GetBlueprintRequestFromNameParams) SetContext

SetContext adds the context to the get blueprint request from name params

func (*GetBlueprintRequestFromNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get blueprint request from name params

func (*GetBlueprintRequestFromNameParams) SetName

func (o *GetBlueprintRequestFromNameParams) SetName(name string)

SetName adds the name to the get blueprint request from name params

func (*GetBlueprintRequestFromNameParams) SetTimeout

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

SetTimeout adds the timeout to the get blueprint request from name params

func (*GetBlueprintRequestFromNameParams) SetWorkspaceID

func (o *GetBlueprintRequestFromNameParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get blueprint request from name params

func (*GetBlueprintRequestFromNameParams) WithContext

WithContext adds the context to the get blueprint request from name params

func (*GetBlueprintRequestFromNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get blueprint request from name params

func (*GetBlueprintRequestFromNameParams) WithName

WithName adds the name to the get blueprint request from name params

func (*GetBlueprintRequestFromNameParams) WithTimeout

WithTimeout adds the timeout to the get blueprint request from name params

func (*GetBlueprintRequestFromNameParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get blueprint request from name params

func (*GetBlueprintRequestFromNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBlueprintRequestFromNameReader

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

GetBlueprintRequestFromNameReader is a Reader for the GetBlueprintRequestFromName structure.

func (*GetBlueprintRequestFromNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListBlueprintsByWorkspaceOK

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

ListBlueprintsByWorkspaceOK handles this case with default header values.

successful operation

func NewListBlueprintsByWorkspaceOK

func NewListBlueprintsByWorkspaceOK() *ListBlueprintsByWorkspaceOK

NewListBlueprintsByWorkspaceOK creates a ListBlueprintsByWorkspaceOK with default headers values

func (*ListBlueprintsByWorkspaceOK) Error

type ListBlueprintsByWorkspaceParams

type ListBlueprintsByWorkspaceParams struct {

	/*WorkspaceID*/
	WorkspaceID int64

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

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

func NewListBlueprintsByWorkspaceParams

func NewListBlueprintsByWorkspaceParams() *ListBlueprintsByWorkspaceParams

NewListBlueprintsByWorkspaceParams creates a new ListBlueprintsByWorkspaceParams object with the default values initialized.

func NewListBlueprintsByWorkspaceParamsWithContext

func NewListBlueprintsByWorkspaceParamsWithContext(ctx context.Context) *ListBlueprintsByWorkspaceParams

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

func NewListBlueprintsByWorkspaceParamsWithHTTPClient

func NewListBlueprintsByWorkspaceParamsWithHTTPClient(client *http.Client) *ListBlueprintsByWorkspaceParams

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

func NewListBlueprintsByWorkspaceParamsWithTimeout

func NewListBlueprintsByWorkspaceParamsWithTimeout(timeout time.Duration) *ListBlueprintsByWorkspaceParams

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

func (*ListBlueprintsByWorkspaceParams) SetContext

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

SetContext adds the context to the list blueprints by workspace params

func (*ListBlueprintsByWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list blueprints by workspace params

func (*ListBlueprintsByWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the list blueprints by workspace params

func (*ListBlueprintsByWorkspaceParams) SetWorkspaceID

func (o *ListBlueprintsByWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the list blueprints by workspace params

func (*ListBlueprintsByWorkspaceParams) WithContext

WithContext adds the context to the list blueprints by workspace params

func (*ListBlueprintsByWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list blueprints by workspace params

func (*ListBlueprintsByWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the list blueprints by workspace params

func (*ListBlueprintsByWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the list blueprints by workspace params

func (*ListBlueprintsByWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListBlueprintsByWorkspaceReader

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

ListBlueprintsByWorkspaceReader is a Reader for the ListBlueprintsByWorkspace structure.

func (*ListBlueprintsByWorkspaceReader) ReadResponse

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