v3_organization_id_mpacks

package
v2.8.0-rc.17+incompatible 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 mpacks API

func New

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

New creates a new v3 organization id mpacks API client.

func (*Client) CreateManagementPackInOrganization

func (a *Client) CreateManagementPackInOrganization(params *CreateManagementPackInOrganizationParams) (*CreateManagementPackInOrganizationOK, error)

CreateManagementPackInOrganization creates management pack in organization

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

func (a *Client) DeleteManagementPackInOrganization(params *DeleteManagementPackInOrganizationParams) (*DeleteManagementPackInOrganizationOK, error)

DeleteManagementPackInOrganization deletes management pack by name in organization

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

func (a *Client) GetManagementPackInOrganization(params *GetManagementPackInOrganizationParams) (*GetManagementPackInOrganizationOK, error)

GetManagementPackInOrganization gets management pack by name in organization

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

func (a *Client) ListManagementPacksByOrganization(params *ListManagementPacksByOrganizationParams) (*ListManagementPacksByOrganizationOK, error)

ListManagementPacksByOrganization lists management packs for the given organization

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 CreateManagementPackInOrganizationOK

type CreateManagementPackInOrganizationOK struct {
	Payload *models_cloudbreak.ManagementPackResponse
}

CreateManagementPackInOrganizationOK handles this case with default header values.

successful operation

func NewCreateManagementPackInOrganizationOK

func NewCreateManagementPackInOrganizationOK() *CreateManagementPackInOrganizationOK

NewCreateManagementPackInOrganizationOK creates a CreateManagementPackInOrganizationOK with default headers values

func (*CreateManagementPackInOrganizationOK) Error

type CreateManagementPackInOrganizationParams

type CreateManagementPackInOrganizationParams struct {

	/*Body*/
	Body *models_cloudbreak.ManagementPackRequest
	/*OrganizationID*/
	OrganizationID int64

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

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

func NewCreateManagementPackInOrganizationParams

func NewCreateManagementPackInOrganizationParams() *CreateManagementPackInOrganizationParams

NewCreateManagementPackInOrganizationParams creates a new CreateManagementPackInOrganizationParams object with the default values initialized.

func NewCreateManagementPackInOrganizationParamsWithContext

func NewCreateManagementPackInOrganizationParamsWithContext(ctx context.Context) *CreateManagementPackInOrganizationParams

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

func NewCreateManagementPackInOrganizationParamsWithHTTPClient

func NewCreateManagementPackInOrganizationParamsWithHTTPClient(client *http.Client) *CreateManagementPackInOrganizationParams

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

func NewCreateManagementPackInOrganizationParamsWithTimeout

func NewCreateManagementPackInOrganizationParamsWithTimeout(timeout time.Duration) *CreateManagementPackInOrganizationParams

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

func (*CreateManagementPackInOrganizationParams) SetBody

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

func (*CreateManagementPackInOrganizationParams) SetContext

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

func (*CreateManagementPackInOrganizationParams) SetHTTPClient

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

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

func (*CreateManagementPackInOrganizationParams) SetOrganizationID

func (o *CreateManagementPackInOrganizationParams) SetOrganizationID(organizationID int64)

SetOrganizationID adds the organizationId to the create management pack in organization params

func (*CreateManagementPackInOrganizationParams) SetTimeout

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

func (*CreateManagementPackInOrganizationParams) WithBody

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

func (*CreateManagementPackInOrganizationParams) WithContext

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

func (*CreateManagementPackInOrganizationParams) WithHTTPClient

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

func (*CreateManagementPackInOrganizationParams) WithOrganizationID

WithOrganizationID adds the organizationID to the create management pack in organization params

func (*CreateManagementPackInOrganizationParams) WithTimeout

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

func (*CreateManagementPackInOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateManagementPackInOrganizationReader

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

CreateManagementPackInOrganizationReader is a Reader for the CreateManagementPackInOrganization structure.

func (*CreateManagementPackInOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteManagementPackInOrganizationOK

type DeleteManagementPackInOrganizationOK struct {
	Payload *models_cloudbreak.ManagementPackResponse
}

DeleteManagementPackInOrganizationOK handles this case with default header values.

successful operation

func NewDeleteManagementPackInOrganizationOK

func NewDeleteManagementPackInOrganizationOK() *DeleteManagementPackInOrganizationOK

NewDeleteManagementPackInOrganizationOK creates a DeleteManagementPackInOrganizationOK with default headers values

func (*DeleteManagementPackInOrganizationOK) Error

type DeleteManagementPackInOrganizationParams

type DeleteManagementPackInOrganizationParams struct {

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

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

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

func NewDeleteManagementPackInOrganizationParams

func NewDeleteManagementPackInOrganizationParams() *DeleteManagementPackInOrganizationParams

NewDeleteManagementPackInOrganizationParams creates a new DeleteManagementPackInOrganizationParams object with the default values initialized.

func NewDeleteManagementPackInOrganizationParamsWithContext

func NewDeleteManagementPackInOrganizationParamsWithContext(ctx context.Context) *DeleteManagementPackInOrganizationParams

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

func NewDeleteManagementPackInOrganizationParamsWithHTTPClient

func NewDeleteManagementPackInOrganizationParamsWithHTTPClient(client *http.Client) *DeleteManagementPackInOrganizationParams

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

func NewDeleteManagementPackInOrganizationParamsWithTimeout

func NewDeleteManagementPackInOrganizationParamsWithTimeout(timeout time.Duration) *DeleteManagementPackInOrganizationParams

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

func (*DeleteManagementPackInOrganizationParams) SetContext

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

func (*DeleteManagementPackInOrganizationParams) SetHTTPClient

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

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

func (*DeleteManagementPackInOrganizationParams) SetName

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

func (*DeleteManagementPackInOrganizationParams) SetOrganizationID

func (o *DeleteManagementPackInOrganizationParams) SetOrganizationID(organizationID int64)

SetOrganizationID adds the organizationId to the delete management pack in organization params

func (*DeleteManagementPackInOrganizationParams) SetTimeout

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

func (*DeleteManagementPackInOrganizationParams) WithContext

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

func (*DeleteManagementPackInOrganizationParams) WithHTTPClient

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

func (*DeleteManagementPackInOrganizationParams) WithName

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

func (*DeleteManagementPackInOrganizationParams) WithOrganizationID

WithOrganizationID adds the organizationID to the delete management pack in organization params

func (*DeleteManagementPackInOrganizationParams) WithTimeout

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

func (*DeleteManagementPackInOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteManagementPackInOrganizationReader

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

DeleteManagementPackInOrganizationReader is a Reader for the DeleteManagementPackInOrganization structure.

func (*DeleteManagementPackInOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetManagementPackInOrganizationOK

type GetManagementPackInOrganizationOK struct {
	Payload *models_cloudbreak.ManagementPackResponse
}

GetManagementPackInOrganizationOK handles this case with default header values.

successful operation

func NewGetManagementPackInOrganizationOK

func NewGetManagementPackInOrganizationOK() *GetManagementPackInOrganizationOK

NewGetManagementPackInOrganizationOK creates a GetManagementPackInOrganizationOK with default headers values

func (*GetManagementPackInOrganizationOK) Error

type GetManagementPackInOrganizationParams

type GetManagementPackInOrganizationParams struct {

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

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

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

func NewGetManagementPackInOrganizationParams

func NewGetManagementPackInOrganizationParams() *GetManagementPackInOrganizationParams

NewGetManagementPackInOrganizationParams creates a new GetManagementPackInOrganizationParams object with the default values initialized.

func NewGetManagementPackInOrganizationParamsWithContext

func NewGetManagementPackInOrganizationParamsWithContext(ctx context.Context) *GetManagementPackInOrganizationParams

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

func NewGetManagementPackInOrganizationParamsWithHTTPClient

func NewGetManagementPackInOrganizationParamsWithHTTPClient(client *http.Client) *GetManagementPackInOrganizationParams

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

func NewGetManagementPackInOrganizationParamsWithTimeout

func NewGetManagementPackInOrganizationParamsWithTimeout(timeout time.Duration) *GetManagementPackInOrganizationParams

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

func (*GetManagementPackInOrganizationParams) SetContext

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

func (*GetManagementPackInOrganizationParams) SetHTTPClient

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

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

func (*GetManagementPackInOrganizationParams) SetName

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

func (*GetManagementPackInOrganizationParams) SetOrganizationID

func (o *GetManagementPackInOrganizationParams) SetOrganizationID(organizationID int64)

SetOrganizationID adds the organizationId to the get management pack in organization params

func (*GetManagementPackInOrganizationParams) SetTimeout

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

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

func (*GetManagementPackInOrganizationParams) WithContext

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

func (*GetManagementPackInOrganizationParams) WithHTTPClient

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

func (*GetManagementPackInOrganizationParams) WithName

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

func (*GetManagementPackInOrganizationParams) WithOrganizationID

WithOrganizationID adds the organizationID to the get management pack in organization params

func (*GetManagementPackInOrganizationParams) WithTimeout

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

func (*GetManagementPackInOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetManagementPackInOrganizationReader

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

GetManagementPackInOrganizationReader is a Reader for the GetManagementPackInOrganization structure.

func (*GetManagementPackInOrganizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListManagementPacksByOrganizationOK

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

ListManagementPacksByOrganizationOK handles this case with default header values.

successful operation

func NewListManagementPacksByOrganizationOK

func NewListManagementPacksByOrganizationOK() *ListManagementPacksByOrganizationOK

NewListManagementPacksByOrganizationOK creates a ListManagementPacksByOrganizationOK with default headers values

func (*ListManagementPacksByOrganizationOK) Error

type ListManagementPacksByOrganizationParams

type ListManagementPacksByOrganizationParams struct {

	/*OrganizationID*/
	OrganizationID int64

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

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

func NewListManagementPacksByOrganizationParams

func NewListManagementPacksByOrganizationParams() *ListManagementPacksByOrganizationParams

NewListManagementPacksByOrganizationParams creates a new ListManagementPacksByOrganizationParams object with the default values initialized.

func NewListManagementPacksByOrganizationParamsWithContext

func NewListManagementPacksByOrganizationParamsWithContext(ctx context.Context) *ListManagementPacksByOrganizationParams

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

func NewListManagementPacksByOrganizationParamsWithHTTPClient

func NewListManagementPacksByOrganizationParamsWithHTTPClient(client *http.Client) *ListManagementPacksByOrganizationParams

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

func NewListManagementPacksByOrganizationParamsWithTimeout

func NewListManagementPacksByOrganizationParamsWithTimeout(timeout time.Duration) *ListManagementPacksByOrganizationParams

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

func (*ListManagementPacksByOrganizationParams) SetContext

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

func (*ListManagementPacksByOrganizationParams) SetHTTPClient

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

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

func (*ListManagementPacksByOrganizationParams) SetOrganizationID

func (o *ListManagementPacksByOrganizationParams) SetOrganizationID(organizationID int64)

SetOrganizationID adds the organizationId to the list management packs by organization params

func (*ListManagementPacksByOrganizationParams) SetTimeout

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

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

func (*ListManagementPacksByOrganizationParams) WithContext

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

func (*ListManagementPacksByOrganizationParams) WithHTTPClient

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

func (*ListManagementPacksByOrganizationParams) WithOrganizationID

WithOrganizationID adds the organizationID to the list management packs by organization params

func (*ListManagementPacksByOrganizationParams) WithTimeout

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

func (*ListManagementPacksByOrganizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListManagementPacksByOrganizationReader

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

ListManagementPacksByOrganizationReader is a Reader for the ListManagementPacksByOrganization structure.

func (*ListManagementPacksByOrganizationReader) ReadResponse

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