v3_workspace_id_mpacks

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

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

Go to latest
Published: Sep 26, 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 mpacks API

func New

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

New creates a new v3 workspace id mpacks API client.

func (*Client) CreateManagementPackInWorkspace

func (a *Client) CreateManagementPackInWorkspace(params *CreateManagementPackInWorkspaceParams) (*CreateManagementPackInWorkspaceOK, error)

CreateManagementPackInWorkspace creates management pack in workspace

An Apache Ambari Management Pack (Mpack) can bundle multiple service definitions, stack definitions, stack add-on service definitions, view definitions services so that releasing these artifacts don’t enforce an Apache Ambari release.

func (*Client) DeleteManagementPackInWorkspace

func (a *Client) DeleteManagementPackInWorkspace(params *DeleteManagementPackInWorkspaceParams) (*DeleteManagementPackInWorkspaceOK, error)

DeleteManagementPackInWorkspace deletes management pack by name in workspace

An Apache Ambari Management Pack (Mpack) can bundle multiple service definitions, stack definitions, stack add-on service definitions, view definitions services so that releasing these artifacts don’t enforce an Apache Ambari release.

func (*Client) GetManagementPackInWorkspace

func (a *Client) GetManagementPackInWorkspace(params *GetManagementPackInWorkspaceParams) (*GetManagementPackInWorkspaceOK, error)

GetManagementPackInWorkspace gets management pack by name in workspace

An Apache Ambari Management Pack (Mpack) can bundle multiple service definitions, stack definitions, stack add-on service definitions, view definitions services so that releasing these artifacts don’t enforce an Apache Ambari release.

func (*Client) ListManagementPacksByWorkspace

func (a *Client) ListManagementPacksByWorkspace(params *ListManagementPacksByWorkspaceParams) (*ListManagementPacksByWorkspaceOK, error)

ListManagementPacksByWorkspace lists management packs for the given workspace

An Apache Ambari Management Pack (Mpack) can bundle multiple service definitions, stack definitions, stack add-on service definitions, view definitions services so that releasing these artifacts don’t enforce an Apache Ambari release.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateManagementPackInWorkspaceOK

type CreateManagementPackInWorkspaceOK struct {
	Payload *models_cloudbreak.ManagementPackResponse
}

CreateManagementPackInWorkspaceOK handles this case with default header values.

successful operation

func NewCreateManagementPackInWorkspaceOK

func NewCreateManagementPackInWorkspaceOK() *CreateManagementPackInWorkspaceOK

NewCreateManagementPackInWorkspaceOK creates a CreateManagementPackInWorkspaceOK with default headers values

func (*CreateManagementPackInWorkspaceOK) Error

type CreateManagementPackInWorkspaceParams

type CreateManagementPackInWorkspaceParams struct {

	/*Body*/
	Body *models_cloudbreak.ManagementPackRequest
	/*WorkspaceID*/
	WorkspaceID int64

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

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

func NewCreateManagementPackInWorkspaceParams

func NewCreateManagementPackInWorkspaceParams() *CreateManagementPackInWorkspaceParams

NewCreateManagementPackInWorkspaceParams creates a new CreateManagementPackInWorkspaceParams object with the default values initialized.

func NewCreateManagementPackInWorkspaceParamsWithContext

func NewCreateManagementPackInWorkspaceParamsWithContext(ctx context.Context) *CreateManagementPackInWorkspaceParams

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

func NewCreateManagementPackInWorkspaceParamsWithHTTPClient

func NewCreateManagementPackInWorkspaceParamsWithHTTPClient(client *http.Client) *CreateManagementPackInWorkspaceParams

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

func NewCreateManagementPackInWorkspaceParamsWithTimeout

func NewCreateManagementPackInWorkspaceParamsWithTimeout(timeout time.Duration) *CreateManagementPackInWorkspaceParams

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

func (*CreateManagementPackInWorkspaceParams) SetBody

SetBody adds the body to the create management pack in workspace params

func (*CreateManagementPackInWorkspaceParams) SetContext

SetContext adds the context to the create management pack in workspace params

func (*CreateManagementPackInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create management pack in workspace params

func (*CreateManagementPackInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the create management pack in workspace params

func (*CreateManagementPackInWorkspaceParams) SetWorkspaceID

func (o *CreateManagementPackInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the create management pack in workspace params

func (*CreateManagementPackInWorkspaceParams) WithBody

WithBody adds the body to the create management pack in workspace params

func (*CreateManagementPackInWorkspaceParams) WithContext

WithContext adds the context to the create management pack in workspace params

func (*CreateManagementPackInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create management pack in workspace params

func (*CreateManagementPackInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the create management pack in workspace params

func (*CreateManagementPackInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the create management pack in workspace params

func (*CreateManagementPackInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateManagementPackInWorkspaceReader

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

CreateManagementPackInWorkspaceReader is a Reader for the CreateManagementPackInWorkspace structure.

func (*CreateManagementPackInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteManagementPackInWorkspaceOK

type DeleteManagementPackInWorkspaceOK struct {
	Payload *models_cloudbreak.ManagementPackResponse
}

DeleteManagementPackInWorkspaceOK handles this case with default header values.

successful operation

func NewDeleteManagementPackInWorkspaceOK

func NewDeleteManagementPackInWorkspaceOK() *DeleteManagementPackInWorkspaceOK

NewDeleteManagementPackInWorkspaceOK creates a DeleteManagementPackInWorkspaceOK with default headers values

func (*DeleteManagementPackInWorkspaceOK) Error

type DeleteManagementPackInWorkspaceParams

type DeleteManagementPackInWorkspaceParams struct {

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

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

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

func NewDeleteManagementPackInWorkspaceParams

func NewDeleteManagementPackInWorkspaceParams() *DeleteManagementPackInWorkspaceParams

NewDeleteManagementPackInWorkspaceParams creates a new DeleteManagementPackInWorkspaceParams object with the default values initialized.

func NewDeleteManagementPackInWorkspaceParamsWithContext

func NewDeleteManagementPackInWorkspaceParamsWithContext(ctx context.Context) *DeleteManagementPackInWorkspaceParams

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

func NewDeleteManagementPackInWorkspaceParamsWithHTTPClient

func NewDeleteManagementPackInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteManagementPackInWorkspaceParams

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

func NewDeleteManagementPackInWorkspaceParamsWithTimeout

func NewDeleteManagementPackInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteManagementPackInWorkspaceParams

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

func (*DeleteManagementPackInWorkspaceParams) SetContext

SetContext adds the context to the delete management pack in workspace params

func (*DeleteManagementPackInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete management pack in workspace params

func (*DeleteManagementPackInWorkspaceParams) SetName

SetName adds the name to the delete management pack in workspace params

func (*DeleteManagementPackInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the delete management pack in workspace params

func (*DeleteManagementPackInWorkspaceParams) SetWorkspaceID

func (o *DeleteManagementPackInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the delete management pack in workspace params

func (*DeleteManagementPackInWorkspaceParams) WithContext

WithContext adds the context to the delete management pack in workspace params

func (*DeleteManagementPackInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete management pack in workspace params

func (*DeleteManagementPackInWorkspaceParams) WithName

WithName adds the name to the delete management pack in workspace params

func (*DeleteManagementPackInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the delete management pack in workspace params

func (*DeleteManagementPackInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the delete management pack in workspace params

func (*DeleteManagementPackInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteManagementPackInWorkspaceReader

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

DeleteManagementPackInWorkspaceReader is a Reader for the DeleteManagementPackInWorkspace structure.

func (*DeleteManagementPackInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetManagementPackInWorkspaceOK

type GetManagementPackInWorkspaceOK struct {
	Payload *models_cloudbreak.ManagementPackResponse
}

GetManagementPackInWorkspaceOK handles this case with default header values.

successful operation

func NewGetManagementPackInWorkspaceOK

func NewGetManagementPackInWorkspaceOK() *GetManagementPackInWorkspaceOK

NewGetManagementPackInWorkspaceOK creates a GetManagementPackInWorkspaceOK with default headers values

func (*GetManagementPackInWorkspaceOK) Error

type GetManagementPackInWorkspaceParams

type GetManagementPackInWorkspaceParams struct {

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

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

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

func NewGetManagementPackInWorkspaceParams

func NewGetManagementPackInWorkspaceParams() *GetManagementPackInWorkspaceParams

NewGetManagementPackInWorkspaceParams creates a new GetManagementPackInWorkspaceParams object with the default values initialized.

func NewGetManagementPackInWorkspaceParamsWithContext

func NewGetManagementPackInWorkspaceParamsWithContext(ctx context.Context) *GetManagementPackInWorkspaceParams

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

func NewGetManagementPackInWorkspaceParamsWithHTTPClient

func NewGetManagementPackInWorkspaceParamsWithHTTPClient(client *http.Client) *GetManagementPackInWorkspaceParams

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

func NewGetManagementPackInWorkspaceParamsWithTimeout

func NewGetManagementPackInWorkspaceParamsWithTimeout(timeout time.Duration) *GetManagementPackInWorkspaceParams

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

func (*GetManagementPackInWorkspaceParams) SetContext

SetContext adds the context to the get management pack in workspace params

func (*GetManagementPackInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get management pack in workspace params

func (*GetManagementPackInWorkspaceParams) SetName

func (o *GetManagementPackInWorkspaceParams) SetName(name string)

SetName adds the name to the get management pack in workspace params

func (*GetManagementPackInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the get management pack in workspace params

func (*GetManagementPackInWorkspaceParams) SetWorkspaceID

func (o *GetManagementPackInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get management pack in workspace params

func (*GetManagementPackInWorkspaceParams) WithContext

WithContext adds the context to the get management pack in workspace params

func (*GetManagementPackInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get management pack in workspace params

func (*GetManagementPackInWorkspaceParams) WithName

WithName adds the name to the get management pack in workspace params

func (*GetManagementPackInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get management pack in workspace params

func (*GetManagementPackInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get management pack in workspace params

func (*GetManagementPackInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetManagementPackInWorkspaceReader

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

GetManagementPackInWorkspaceReader is a Reader for the GetManagementPackInWorkspace structure.

func (*GetManagementPackInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListManagementPacksByWorkspaceOK

type ListManagementPacksByWorkspaceOK struct {
	Payload []*models_cloudbreak.ManagementPackResponse
}

ListManagementPacksByWorkspaceOK handles this case with default header values.

successful operation

func NewListManagementPacksByWorkspaceOK

func NewListManagementPacksByWorkspaceOK() *ListManagementPacksByWorkspaceOK

NewListManagementPacksByWorkspaceOK creates a ListManagementPacksByWorkspaceOK with default headers values

func (*ListManagementPacksByWorkspaceOK) Error

type ListManagementPacksByWorkspaceParams

type ListManagementPacksByWorkspaceParams struct {

	/*WorkspaceID*/
	WorkspaceID int64

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

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

func NewListManagementPacksByWorkspaceParams

func NewListManagementPacksByWorkspaceParams() *ListManagementPacksByWorkspaceParams

NewListManagementPacksByWorkspaceParams creates a new ListManagementPacksByWorkspaceParams object with the default values initialized.

func NewListManagementPacksByWorkspaceParamsWithContext

func NewListManagementPacksByWorkspaceParamsWithContext(ctx context.Context) *ListManagementPacksByWorkspaceParams

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

func NewListManagementPacksByWorkspaceParamsWithHTTPClient

func NewListManagementPacksByWorkspaceParamsWithHTTPClient(client *http.Client) *ListManagementPacksByWorkspaceParams

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

func NewListManagementPacksByWorkspaceParamsWithTimeout

func NewListManagementPacksByWorkspaceParamsWithTimeout(timeout time.Duration) *ListManagementPacksByWorkspaceParams

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

func (*ListManagementPacksByWorkspaceParams) SetContext

SetContext adds the context to the list management packs by workspace params

func (*ListManagementPacksByWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list management packs by workspace params

func (*ListManagementPacksByWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the list management packs by workspace params

func (*ListManagementPacksByWorkspaceParams) SetWorkspaceID

func (o *ListManagementPacksByWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the list management packs by workspace params

func (*ListManagementPacksByWorkspaceParams) WithContext

WithContext adds the context to the list management packs by workspace params

func (*ListManagementPacksByWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list management packs by workspace params

func (*ListManagementPacksByWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the list management packs by workspace params

func (*ListManagementPacksByWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the list management packs by workspace params

func (*ListManagementPacksByWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListManagementPacksByWorkspaceReader

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

ListManagementPacksByWorkspaceReader is a Reader for the ListManagementPacksByWorkspace structure.

func (*ListManagementPacksByWorkspaceReader) ReadResponse

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