v1mpacks

package
v2.9.0-dev.60+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: 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 v1mpacks API

func New

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

New creates a new v1mpacks API client.

func (*Client) DeleteManagementPack

func (a *Client) DeleteManagementPack(params *DeleteManagementPackParams) error

DeleteManagementPack deletes management pack by id

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

func (a *Client) DeletePrivateManagementPack(params *DeletePrivateManagementPackParams) error

DeletePrivateManagementPack deletes private management pack by name

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

func (a *Client) DeletePublicManagementPack(params *DeletePublicManagementPackParams) error

DeletePublicManagementPack deletes public owned or private management pack by name

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

func (a *Client) GetManagementPack(params *GetManagementPackParams) (*GetManagementPackOK, error)

GetManagementPack retrieves management pack by id

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

func (a *Client) GetPrivateManagementPack(params *GetPrivateManagementPackParams) (*GetPrivateManagementPackOK, error)

GetPrivateManagementPack retrieves a private management pack by name

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

func (a *Client) GetPrivateManagementPacks(params *GetPrivateManagementPacksParams) (*GetPrivateManagementPacksOK, error)

GetPrivateManagementPacks retrieves private management packs

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

func (a *Client) GetPublicManagementPack(params *GetPublicManagementPackParams) (*GetPublicManagementPackOK, error)

GetPublicManagementPack retrieves a public or private owned management pack by name

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

func (a *Client) GetPublicManagementPacks(params *GetPublicManagementPacksParams) (*GetPublicManagementPacksOK, error)

GetPublicManagementPacks retrieves public and private owned management packs

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

func (a *Client) PostPrivateManagementPack(params *PostPrivateManagementPackParams) (*PostPrivateManagementPackOK, error)

PostPrivateManagementPack creates management pack as private resource

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

func (a *Client) PostPublicManagementPack(params *PostPublicManagementPackParams) (*PostPublicManagementPackOK, error)

PostPublicManagementPack creates management pack as public resource

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 DeleteManagementPackDefault

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

DeleteManagementPackDefault handles this case with default header values.

successful operation

func NewDeleteManagementPackDefault

func NewDeleteManagementPackDefault(code int) *DeleteManagementPackDefault

NewDeleteManagementPackDefault creates a DeleteManagementPackDefault with default headers values

func (*DeleteManagementPackDefault) Code

func (o *DeleteManagementPackDefault) Code() int

Code gets the status code for the delete management pack default response

func (*DeleteManagementPackDefault) Error

type DeleteManagementPackParams

type DeleteManagementPackParams struct {

	/*ID*/
	ID int64

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

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

func NewDeleteManagementPackParams

func NewDeleteManagementPackParams() *DeleteManagementPackParams

NewDeleteManagementPackParams creates a new DeleteManagementPackParams object with the default values initialized.

func NewDeleteManagementPackParamsWithContext

func NewDeleteManagementPackParamsWithContext(ctx context.Context) *DeleteManagementPackParams

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

func NewDeleteManagementPackParamsWithHTTPClient

func NewDeleteManagementPackParamsWithHTTPClient(client *http.Client) *DeleteManagementPackParams

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

func NewDeleteManagementPackParamsWithTimeout

func NewDeleteManagementPackParamsWithTimeout(timeout time.Duration) *DeleteManagementPackParams

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

func (*DeleteManagementPackParams) SetContext

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

SetContext adds the context to the delete management pack params

func (*DeleteManagementPackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete management pack params

func (*DeleteManagementPackParams) SetID

func (o *DeleteManagementPackParams) SetID(id int64)

SetID adds the id to the delete management pack params

func (*DeleteManagementPackParams) SetTimeout

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

SetTimeout adds the timeout to the delete management pack params

func (*DeleteManagementPackParams) WithContext

WithContext adds the context to the delete management pack params

func (*DeleteManagementPackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete management pack params

func (*DeleteManagementPackParams) WithID

WithID adds the id to the delete management pack params

func (*DeleteManagementPackParams) WithTimeout

WithTimeout adds the timeout to the delete management pack params

func (*DeleteManagementPackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteManagementPackReader

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

DeleteManagementPackReader is a Reader for the DeleteManagementPack structure.

func (*DeleteManagementPackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePrivateManagementPackDefault

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

DeletePrivateManagementPackDefault handles this case with default header values.

successful operation

func NewDeletePrivateManagementPackDefault

func NewDeletePrivateManagementPackDefault(code int) *DeletePrivateManagementPackDefault

NewDeletePrivateManagementPackDefault creates a DeletePrivateManagementPackDefault with default headers values

func (*DeletePrivateManagementPackDefault) Code

Code gets the status code for the delete private management pack default response

func (*DeletePrivateManagementPackDefault) Error

type DeletePrivateManagementPackParams

type DeletePrivateManagementPackParams struct {

	/*Name*/
	Name string

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

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

func NewDeletePrivateManagementPackParams

func NewDeletePrivateManagementPackParams() *DeletePrivateManagementPackParams

NewDeletePrivateManagementPackParams creates a new DeletePrivateManagementPackParams object with the default values initialized.

func NewDeletePrivateManagementPackParamsWithContext

func NewDeletePrivateManagementPackParamsWithContext(ctx context.Context) *DeletePrivateManagementPackParams

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

func NewDeletePrivateManagementPackParamsWithHTTPClient

func NewDeletePrivateManagementPackParamsWithHTTPClient(client *http.Client) *DeletePrivateManagementPackParams

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

func NewDeletePrivateManagementPackParamsWithTimeout

func NewDeletePrivateManagementPackParamsWithTimeout(timeout time.Duration) *DeletePrivateManagementPackParams

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

func (*DeletePrivateManagementPackParams) SetContext

SetContext adds the context to the delete private management pack params

func (*DeletePrivateManagementPackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete private management pack params

func (*DeletePrivateManagementPackParams) SetName

func (o *DeletePrivateManagementPackParams) SetName(name string)

SetName adds the name to the delete private management pack params

func (*DeletePrivateManagementPackParams) SetTimeout

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

SetTimeout adds the timeout to the delete private management pack params

func (*DeletePrivateManagementPackParams) WithContext

WithContext adds the context to the delete private management pack params

func (*DeletePrivateManagementPackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete private management pack params

func (*DeletePrivateManagementPackParams) WithName

WithName adds the name to the delete private management pack params

func (*DeletePrivateManagementPackParams) WithTimeout

WithTimeout adds the timeout to the delete private management pack params

func (*DeletePrivateManagementPackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePrivateManagementPackReader

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

DeletePrivateManagementPackReader is a Reader for the DeletePrivateManagementPack structure.

func (*DeletePrivateManagementPackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePublicManagementPackDefault

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

DeletePublicManagementPackDefault handles this case with default header values.

successful operation

func NewDeletePublicManagementPackDefault

func NewDeletePublicManagementPackDefault(code int) *DeletePublicManagementPackDefault

NewDeletePublicManagementPackDefault creates a DeletePublicManagementPackDefault with default headers values

func (*DeletePublicManagementPackDefault) Code

Code gets the status code for the delete public management pack default response

func (*DeletePublicManagementPackDefault) Error

type DeletePublicManagementPackParams

type DeletePublicManagementPackParams struct {

	/*Name*/
	Name string

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

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

func NewDeletePublicManagementPackParams

func NewDeletePublicManagementPackParams() *DeletePublicManagementPackParams

NewDeletePublicManagementPackParams creates a new DeletePublicManagementPackParams object with the default values initialized.

func NewDeletePublicManagementPackParamsWithContext

func NewDeletePublicManagementPackParamsWithContext(ctx context.Context) *DeletePublicManagementPackParams

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

func NewDeletePublicManagementPackParamsWithHTTPClient

func NewDeletePublicManagementPackParamsWithHTTPClient(client *http.Client) *DeletePublicManagementPackParams

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

func NewDeletePublicManagementPackParamsWithTimeout

func NewDeletePublicManagementPackParamsWithTimeout(timeout time.Duration) *DeletePublicManagementPackParams

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

func (*DeletePublicManagementPackParams) SetContext

SetContext adds the context to the delete public management pack params

func (*DeletePublicManagementPackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete public management pack params

func (*DeletePublicManagementPackParams) SetName

func (o *DeletePublicManagementPackParams) SetName(name string)

SetName adds the name to the delete public management pack params

func (*DeletePublicManagementPackParams) SetTimeout

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

SetTimeout adds the timeout to the delete public management pack params

func (*DeletePublicManagementPackParams) WithContext

WithContext adds the context to the delete public management pack params

func (*DeletePublicManagementPackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete public management pack params

func (*DeletePublicManagementPackParams) WithName

WithName adds the name to the delete public management pack params

func (*DeletePublicManagementPackParams) WithTimeout

WithTimeout adds the timeout to the delete public management pack params

func (*DeletePublicManagementPackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePublicManagementPackReader

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

DeletePublicManagementPackReader is a Reader for the DeletePublicManagementPack structure.

func (*DeletePublicManagementPackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetManagementPackOK

type GetManagementPackOK struct {
	Payload *models_cloudbreak.ManagementPackResponse
}

GetManagementPackOK handles this case with default header values.

successful operation

func NewGetManagementPackOK

func NewGetManagementPackOK() *GetManagementPackOK

NewGetManagementPackOK creates a GetManagementPackOK with default headers values

func (*GetManagementPackOK) Error

func (o *GetManagementPackOK) Error() string

type GetManagementPackParams

type GetManagementPackParams struct {

	/*ID*/
	ID int64

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

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

func NewGetManagementPackParams

func NewGetManagementPackParams() *GetManagementPackParams

NewGetManagementPackParams creates a new GetManagementPackParams object with the default values initialized.

func NewGetManagementPackParamsWithContext

func NewGetManagementPackParamsWithContext(ctx context.Context) *GetManagementPackParams

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

func NewGetManagementPackParamsWithHTTPClient

func NewGetManagementPackParamsWithHTTPClient(client *http.Client) *GetManagementPackParams

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

func NewGetManagementPackParamsWithTimeout

func NewGetManagementPackParamsWithTimeout(timeout time.Duration) *GetManagementPackParams

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

func (*GetManagementPackParams) SetContext

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

SetContext adds the context to the get management pack params

func (*GetManagementPackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get management pack params

func (*GetManagementPackParams) SetID

func (o *GetManagementPackParams) SetID(id int64)

SetID adds the id to the get management pack params

func (*GetManagementPackParams) SetTimeout

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

SetTimeout adds the timeout to the get management pack params

func (*GetManagementPackParams) WithContext

WithContext adds the context to the get management pack params

func (*GetManagementPackParams) WithHTTPClient

func (o *GetManagementPackParams) WithHTTPClient(client *http.Client) *GetManagementPackParams

WithHTTPClient adds the HTTPClient to the get management pack params

func (*GetManagementPackParams) WithID

WithID adds the id to the get management pack params

func (*GetManagementPackParams) WithTimeout

WithTimeout adds the timeout to the get management pack params

func (*GetManagementPackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetManagementPackReader

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

GetManagementPackReader is a Reader for the GetManagementPack structure.

func (*GetManagementPackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivateManagementPackOK

type GetPrivateManagementPackOK struct {
	Payload *models_cloudbreak.ManagementPackResponse
}

GetPrivateManagementPackOK handles this case with default header values.

successful operation

func NewGetPrivateManagementPackOK

func NewGetPrivateManagementPackOK() *GetPrivateManagementPackOK

NewGetPrivateManagementPackOK creates a GetPrivateManagementPackOK with default headers values

func (*GetPrivateManagementPackOK) Error

type GetPrivateManagementPackParams

type GetPrivateManagementPackParams struct {

	/*Name*/
	Name string

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

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

func NewGetPrivateManagementPackParams

func NewGetPrivateManagementPackParams() *GetPrivateManagementPackParams

NewGetPrivateManagementPackParams creates a new GetPrivateManagementPackParams object with the default values initialized.

func NewGetPrivateManagementPackParamsWithContext

func NewGetPrivateManagementPackParamsWithContext(ctx context.Context) *GetPrivateManagementPackParams

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

func NewGetPrivateManagementPackParamsWithHTTPClient

func NewGetPrivateManagementPackParamsWithHTTPClient(client *http.Client) *GetPrivateManagementPackParams

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

func NewGetPrivateManagementPackParamsWithTimeout

func NewGetPrivateManagementPackParamsWithTimeout(timeout time.Duration) *GetPrivateManagementPackParams

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

func (*GetPrivateManagementPackParams) SetContext

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

SetContext adds the context to the get private management pack params

func (*GetPrivateManagementPackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get private management pack params

func (*GetPrivateManagementPackParams) SetName

func (o *GetPrivateManagementPackParams) SetName(name string)

SetName adds the name to the get private management pack params

func (*GetPrivateManagementPackParams) SetTimeout

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

SetTimeout adds the timeout to the get private management pack params

func (*GetPrivateManagementPackParams) WithContext

WithContext adds the context to the get private management pack params

func (*GetPrivateManagementPackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private management pack params

func (*GetPrivateManagementPackParams) WithName

WithName adds the name to the get private management pack params

func (*GetPrivateManagementPackParams) WithTimeout

WithTimeout adds the timeout to the get private management pack params

func (*GetPrivateManagementPackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateManagementPackReader

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

GetPrivateManagementPackReader is a Reader for the GetPrivateManagementPack structure.

func (*GetPrivateManagementPackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivateManagementPacksOK

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

GetPrivateManagementPacksOK handles this case with default header values.

successful operation

func NewGetPrivateManagementPacksOK

func NewGetPrivateManagementPacksOK() *GetPrivateManagementPacksOK

NewGetPrivateManagementPacksOK creates a GetPrivateManagementPacksOK with default headers values

func (*GetPrivateManagementPacksOK) Error

type GetPrivateManagementPacksParams

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

GetPrivateManagementPacksParams contains all the parameters to send to the API endpoint for the get private management packs operation typically these are written to a http.Request

func NewGetPrivateManagementPacksParams

func NewGetPrivateManagementPacksParams() *GetPrivateManagementPacksParams

NewGetPrivateManagementPacksParams creates a new GetPrivateManagementPacksParams object with the default values initialized.

func NewGetPrivateManagementPacksParamsWithContext

func NewGetPrivateManagementPacksParamsWithContext(ctx context.Context) *GetPrivateManagementPacksParams

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

func NewGetPrivateManagementPacksParamsWithHTTPClient

func NewGetPrivateManagementPacksParamsWithHTTPClient(client *http.Client) *GetPrivateManagementPacksParams

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

func NewGetPrivateManagementPacksParamsWithTimeout

func NewGetPrivateManagementPacksParamsWithTimeout(timeout time.Duration) *GetPrivateManagementPacksParams

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

func (*GetPrivateManagementPacksParams) SetContext

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

SetContext adds the context to the get private management packs params

func (*GetPrivateManagementPacksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get private management packs params

func (*GetPrivateManagementPacksParams) SetTimeout

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

SetTimeout adds the timeout to the get private management packs params

func (*GetPrivateManagementPacksParams) WithContext

WithContext adds the context to the get private management packs params

func (*GetPrivateManagementPacksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private management packs params

func (*GetPrivateManagementPacksParams) WithTimeout

WithTimeout adds the timeout to the get private management packs params

func (*GetPrivateManagementPacksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateManagementPacksReader

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

GetPrivateManagementPacksReader is a Reader for the GetPrivateManagementPacks structure.

func (*GetPrivateManagementPacksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicManagementPackOK

type GetPublicManagementPackOK struct {
	Payload *models_cloudbreak.ManagementPackResponse
}

GetPublicManagementPackOK handles this case with default header values.

successful operation

func NewGetPublicManagementPackOK

func NewGetPublicManagementPackOK() *GetPublicManagementPackOK

NewGetPublicManagementPackOK creates a GetPublicManagementPackOK with default headers values

func (*GetPublicManagementPackOK) Error

func (o *GetPublicManagementPackOK) Error() string

type GetPublicManagementPackParams

type GetPublicManagementPackParams struct {

	/*Name*/
	Name string

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

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

func NewGetPublicManagementPackParams

func NewGetPublicManagementPackParams() *GetPublicManagementPackParams

NewGetPublicManagementPackParams creates a new GetPublicManagementPackParams object with the default values initialized.

func NewGetPublicManagementPackParamsWithContext

func NewGetPublicManagementPackParamsWithContext(ctx context.Context) *GetPublicManagementPackParams

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

func NewGetPublicManagementPackParamsWithHTTPClient

func NewGetPublicManagementPackParamsWithHTTPClient(client *http.Client) *GetPublicManagementPackParams

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

func NewGetPublicManagementPackParamsWithTimeout

func NewGetPublicManagementPackParamsWithTimeout(timeout time.Duration) *GetPublicManagementPackParams

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

func (*GetPublicManagementPackParams) SetContext

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

SetContext adds the context to the get public management pack params

func (*GetPublicManagementPackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get public management pack params

func (*GetPublicManagementPackParams) SetName

func (o *GetPublicManagementPackParams) SetName(name string)

SetName adds the name to the get public management pack params

func (*GetPublicManagementPackParams) SetTimeout

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

SetTimeout adds the timeout to the get public management pack params

func (*GetPublicManagementPackParams) WithContext

WithContext adds the context to the get public management pack params

func (*GetPublicManagementPackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public management pack params

func (*GetPublicManagementPackParams) WithName

WithName adds the name to the get public management pack params

func (*GetPublicManagementPackParams) WithTimeout

WithTimeout adds the timeout to the get public management pack params

func (*GetPublicManagementPackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicManagementPackReader

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

GetPublicManagementPackReader is a Reader for the GetPublicManagementPack structure.

func (*GetPublicManagementPackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicManagementPacksOK

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

GetPublicManagementPacksOK handles this case with default header values.

successful operation

func NewGetPublicManagementPacksOK

func NewGetPublicManagementPacksOK() *GetPublicManagementPacksOK

NewGetPublicManagementPacksOK creates a GetPublicManagementPacksOK with default headers values

func (*GetPublicManagementPacksOK) Error

type GetPublicManagementPacksParams

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

GetPublicManagementPacksParams contains all the parameters to send to the API endpoint for the get public management packs operation typically these are written to a http.Request

func NewGetPublicManagementPacksParams

func NewGetPublicManagementPacksParams() *GetPublicManagementPacksParams

NewGetPublicManagementPacksParams creates a new GetPublicManagementPacksParams object with the default values initialized.

func NewGetPublicManagementPacksParamsWithContext

func NewGetPublicManagementPacksParamsWithContext(ctx context.Context) *GetPublicManagementPacksParams

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

func NewGetPublicManagementPacksParamsWithHTTPClient

func NewGetPublicManagementPacksParamsWithHTTPClient(client *http.Client) *GetPublicManagementPacksParams

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

func NewGetPublicManagementPacksParamsWithTimeout

func NewGetPublicManagementPacksParamsWithTimeout(timeout time.Duration) *GetPublicManagementPacksParams

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

func (*GetPublicManagementPacksParams) SetContext

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

SetContext adds the context to the get public management packs params

func (*GetPublicManagementPacksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get public management packs params

func (*GetPublicManagementPacksParams) SetTimeout

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

SetTimeout adds the timeout to the get public management packs params

func (*GetPublicManagementPacksParams) WithContext

WithContext adds the context to the get public management packs params

func (*GetPublicManagementPacksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public management packs params

func (*GetPublicManagementPacksParams) WithTimeout

WithTimeout adds the timeout to the get public management packs params

func (*GetPublicManagementPacksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicManagementPacksReader

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

GetPublicManagementPacksReader is a Reader for the GetPublicManagementPacks structure.

func (*GetPublicManagementPacksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostPrivateManagementPackOK

type PostPrivateManagementPackOK struct {
	Payload *models_cloudbreak.ManagementPackResponse
}

PostPrivateManagementPackOK handles this case with default header values.

successful operation

func NewPostPrivateManagementPackOK

func NewPostPrivateManagementPackOK() *PostPrivateManagementPackOK

NewPostPrivateManagementPackOK creates a PostPrivateManagementPackOK with default headers values

func (*PostPrivateManagementPackOK) Error

type PostPrivateManagementPackParams

type PostPrivateManagementPackParams struct {

	/*Body*/
	Body *models_cloudbreak.ManagementPackRequest

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

PostPrivateManagementPackParams contains all the parameters to send to the API endpoint for the post private management pack operation typically these are written to a http.Request

func NewPostPrivateManagementPackParams

func NewPostPrivateManagementPackParams() *PostPrivateManagementPackParams

NewPostPrivateManagementPackParams creates a new PostPrivateManagementPackParams object with the default values initialized.

func NewPostPrivateManagementPackParamsWithContext

func NewPostPrivateManagementPackParamsWithContext(ctx context.Context) *PostPrivateManagementPackParams

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

func NewPostPrivateManagementPackParamsWithHTTPClient

func NewPostPrivateManagementPackParamsWithHTTPClient(client *http.Client) *PostPrivateManagementPackParams

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

func NewPostPrivateManagementPackParamsWithTimeout

func NewPostPrivateManagementPackParamsWithTimeout(timeout time.Duration) *PostPrivateManagementPackParams

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

func (*PostPrivateManagementPackParams) SetBody

SetBody adds the body to the post private management pack params

func (*PostPrivateManagementPackParams) SetContext

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

SetContext adds the context to the post private management pack params

func (*PostPrivateManagementPackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post private management pack params

func (*PostPrivateManagementPackParams) SetTimeout

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

SetTimeout adds the timeout to the post private management pack params

func (*PostPrivateManagementPackParams) WithBody

WithBody adds the body to the post private management pack params

func (*PostPrivateManagementPackParams) WithContext

WithContext adds the context to the post private management pack params

func (*PostPrivateManagementPackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post private management pack params

func (*PostPrivateManagementPackParams) WithTimeout

WithTimeout adds the timeout to the post private management pack params

func (*PostPrivateManagementPackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPrivateManagementPackReader

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

PostPrivateManagementPackReader is a Reader for the PostPrivateManagementPack structure.

func (*PostPrivateManagementPackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostPublicManagementPackOK

type PostPublicManagementPackOK struct {
	Payload *models_cloudbreak.ManagementPackResponse
}

PostPublicManagementPackOK handles this case with default header values.

successful operation

func NewPostPublicManagementPackOK

func NewPostPublicManagementPackOK() *PostPublicManagementPackOK

NewPostPublicManagementPackOK creates a PostPublicManagementPackOK with default headers values

func (*PostPublicManagementPackOK) Error

type PostPublicManagementPackParams

type PostPublicManagementPackParams struct {

	/*Body*/
	Body *models_cloudbreak.ManagementPackRequest

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

PostPublicManagementPackParams contains all the parameters to send to the API endpoint for the post public management pack operation typically these are written to a http.Request

func NewPostPublicManagementPackParams

func NewPostPublicManagementPackParams() *PostPublicManagementPackParams

NewPostPublicManagementPackParams creates a new PostPublicManagementPackParams object with the default values initialized.

func NewPostPublicManagementPackParamsWithContext

func NewPostPublicManagementPackParamsWithContext(ctx context.Context) *PostPublicManagementPackParams

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

func NewPostPublicManagementPackParamsWithHTTPClient

func NewPostPublicManagementPackParamsWithHTTPClient(client *http.Client) *PostPublicManagementPackParams

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

func NewPostPublicManagementPackParamsWithTimeout

func NewPostPublicManagementPackParamsWithTimeout(timeout time.Duration) *PostPublicManagementPackParams

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

func (*PostPublicManagementPackParams) SetBody

SetBody adds the body to the post public management pack params

func (*PostPublicManagementPackParams) SetContext

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

SetContext adds the context to the post public management pack params

func (*PostPublicManagementPackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post public management pack params

func (*PostPublicManagementPackParams) SetTimeout

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

SetTimeout adds the timeout to the post public management pack params

func (*PostPublicManagementPackParams) WithBody

WithBody adds the body to the post public management pack params

func (*PostPublicManagementPackParams) WithContext

WithContext adds the context to the post public management pack params

func (*PostPublicManagementPackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post public management pack params

func (*PostPublicManagementPackParams) WithTimeout

WithTimeout adds the timeout to the post public management pack params

func (*PostPublicManagementPackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPublicManagementPackReader

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

PostPublicManagementPackReader is a Reader for the PostPublicManagementPack structure.

func (*PostPublicManagementPackReader) ReadResponse

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