Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteManagementPack(params *DeleteManagementPackParams) error
- func (a *Client) DeletePrivateManagementPack(params *DeletePrivateManagementPackParams) error
- func (a *Client) DeletePublicManagementPack(params *DeletePublicManagementPackParams) error
- func (a *Client) GetManagementPack(params *GetManagementPackParams) (*GetManagementPackOK, error)
- func (a *Client) GetPrivateManagementPack(params *GetPrivateManagementPackParams) (*GetPrivateManagementPackOK, error)
- func (a *Client) GetPrivateManagementPacks(params *GetPrivateManagementPacksParams) (*GetPrivateManagementPacksOK, error)
- func (a *Client) GetPublicManagementPack(params *GetPublicManagementPackParams) (*GetPublicManagementPackOK, error)
- func (a *Client) GetPublicManagementPacks(params *GetPublicManagementPacksParams) (*GetPublicManagementPacksOK, error)
- func (a *Client) PostPrivateManagementPack(params *PostPrivateManagementPackParams) (*PostPrivateManagementPackOK, error)
- func (a *Client) PostPublicManagementPack(params *PostPublicManagementPackParams) (*PostPublicManagementPackOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteManagementPackDefault
- type DeleteManagementPackParams
- func NewDeleteManagementPackParams() *DeleteManagementPackParams
- func NewDeleteManagementPackParamsWithContext(ctx context.Context) *DeleteManagementPackParams
- func NewDeleteManagementPackParamsWithHTTPClient(client *http.Client) *DeleteManagementPackParams
- func NewDeleteManagementPackParamsWithTimeout(timeout time.Duration) *DeleteManagementPackParams
- func (o *DeleteManagementPackParams) SetContext(ctx context.Context)
- func (o *DeleteManagementPackParams) SetHTTPClient(client *http.Client)
- func (o *DeleteManagementPackParams) SetID(id int64)
- func (o *DeleteManagementPackParams) SetTimeout(timeout time.Duration)
- func (o *DeleteManagementPackParams) WithContext(ctx context.Context) *DeleteManagementPackParams
- func (o *DeleteManagementPackParams) WithHTTPClient(client *http.Client) *DeleteManagementPackParams
- func (o *DeleteManagementPackParams) WithID(id int64) *DeleteManagementPackParams
- func (o *DeleteManagementPackParams) WithTimeout(timeout time.Duration) *DeleteManagementPackParams
- func (o *DeleteManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteManagementPackReader
- type DeletePrivateManagementPackDefault
- type DeletePrivateManagementPackParams
- func NewDeletePrivateManagementPackParams() *DeletePrivateManagementPackParams
- func NewDeletePrivateManagementPackParamsWithContext(ctx context.Context) *DeletePrivateManagementPackParams
- func NewDeletePrivateManagementPackParamsWithHTTPClient(client *http.Client) *DeletePrivateManagementPackParams
- func NewDeletePrivateManagementPackParamsWithTimeout(timeout time.Duration) *DeletePrivateManagementPackParams
- func (o *DeletePrivateManagementPackParams) SetContext(ctx context.Context)
- func (o *DeletePrivateManagementPackParams) SetHTTPClient(client *http.Client)
- func (o *DeletePrivateManagementPackParams) SetName(name string)
- func (o *DeletePrivateManagementPackParams) SetTimeout(timeout time.Duration)
- func (o *DeletePrivateManagementPackParams) WithContext(ctx context.Context) *DeletePrivateManagementPackParams
- func (o *DeletePrivateManagementPackParams) WithHTTPClient(client *http.Client) *DeletePrivateManagementPackParams
- func (o *DeletePrivateManagementPackParams) WithName(name string) *DeletePrivateManagementPackParams
- func (o *DeletePrivateManagementPackParams) WithTimeout(timeout time.Duration) *DeletePrivateManagementPackParams
- func (o *DeletePrivateManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePrivateManagementPackReader
- type DeletePublicManagementPackDefault
- type DeletePublicManagementPackParams
- func NewDeletePublicManagementPackParams() *DeletePublicManagementPackParams
- func NewDeletePublicManagementPackParamsWithContext(ctx context.Context) *DeletePublicManagementPackParams
- func NewDeletePublicManagementPackParamsWithHTTPClient(client *http.Client) *DeletePublicManagementPackParams
- func NewDeletePublicManagementPackParamsWithTimeout(timeout time.Duration) *DeletePublicManagementPackParams
- func (o *DeletePublicManagementPackParams) SetContext(ctx context.Context)
- func (o *DeletePublicManagementPackParams) SetHTTPClient(client *http.Client)
- func (o *DeletePublicManagementPackParams) SetName(name string)
- func (o *DeletePublicManagementPackParams) SetTimeout(timeout time.Duration)
- func (o *DeletePublicManagementPackParams) WithContext(ctx context.Context) *DeletePublicManagementPackParams
- func (o *DeletePublicManagementPackParams) WithHTTPClient(client *http.Client) *DeletePublicManagementPackParams
- func (o *DeletePublicManagementPackParams) WithName(name string) *DeletePublicManagementPackParams
- func (o *DeletePublicManagementPackParams) WithTimeout(timeout time.Duration) *DeletePublicManagementPackParams
- func (o *DeletePublicManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePublicManagementPackReader
- type GetManagementPackOK
- type GetManagementPackParams
- func NewGetManagementPackParams() *GetManagementPackParams
- func NewGetManagementPackParamsWithContext(ctx context.Context) *GetManagementPackParams
- func NewGetManagementPackParamsWithHTTPClient(client *http.Client) *GetManagementPackParams
- func NewGetManagementPackParamsWithTimeout(timeout time.Duration) *GetManagementPackParams
- func (o *GetManagementPackParams) SetContext(ctx context.Context)
- func (o *GetManagementPackParams) SetHTTPClient(client *http.Client)
- func (o *GetManagementPackParams) SetID(id int64)
- func (o *GetManagementPackParams) SetTimeout(timeout time.Duration)
- func (o *GetManagementPackParams) WithContext(ctx context.Context) *GetManagementPackParams
- func (o *GetManagementPackParams) WithHTTPClient(client *http.Client) *GetManagementPackParams
- func (o *GetManagementPackParams) WithID(id int64) *GetManagementPackParams
- func (o *GetManagementPackParams) WithTimeout(timeout time.Duration) *GetManagementPackParams
- func (o *GetManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetManagementPackReader
- type GetPrivateManagementPackOK
- type GetPrivateManagementPackParams
- func NewGetPrivateManagementPackParams() *GetPrivateManagementPackParams
- func NewGetPrivateManagementPackParamsWithContext(ctx context.Context) *GetPrivateManagementPackParams
- func NewGetPrivateManagementPackParamsWithHTTPClient(client *http.Client) *GetPrivateManagementPackParams
- func NewGetPrivateManagementPackParamsWithTimeout(timeout time.Duration) *GetPrivateManagementPackParams
- func (o *GetPrivateManagementPackParams) SetContext(ctx context.Context)
- func (o *GetPrivateManagementPackParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateManagementPackParams) SetName(name string)
- func (o *GetPrivateManagementPackParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateManagementPackParams) WithContext(ctx context.Context) *GetPrivateManagementPackParams
- func (o *GetPrivateManagementPackParams) WithHTTPClient(client *http.Client) *GetPrivateManagementPackParams
- func (o *GetPrivateManagementPackParams) WithName(name string) *GetPrivateManagementPackParams
- func (o *GetPrivateManagementPackParams) WithTimeout(timeout time.Duration) *GetPrivateManagementPackParams
- func (o *GetPrivateManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateManagementPackReader
- type GetPrivateManagementPacksOK
- type GetPrivateManagementPacksParams
- func NewGetPrivateManagementPacksParams() *GetPrivateManagementPacksParams
- func NewGetPrivateManagementPacksParamsWithContext(ctx context.Context) *GetPrivateManagementPacksParams
- func NewGetPrivateManagementPacksParamsWithHTTPClient(client *http.Client) *GetPrivateManagementPacksParams
- func NewGetPrivateManagementPacksParamsWithTimeout(timeout time.Duration) *GetPrivateManagementPacksParams
- func (o *GetPrivateManagementPacksParams) SetContext(ctx context.Context)
- func (o *GetPrivateManagementPacksParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateManagementPacksParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateManagementPacksParams) WithContext(ctx context.Context) *GetPrivateManagementPacksParams
- func (o *GetPrivateManagementPacksParams) WithHTTPClient(client *http.Client) *GetPrivateManagementPacksParams
- func (o *GetPrivateManagementPacksParams) WithTimeout(timeout time.Duration) *GetPrivateManagementPacksParams
- func (o *GetPrivateManagementPacksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateManagementPacksReader
- type GetPublicManagementPackOK
- type GetPublicManagementPackParams
- func NewGetPublicManagementPackParams() *GetPublicManagementPackParams
- func NewGetPublicManagementPackParamsWithContext(ctx context.Context) *GetPublicManagementPackParams
- func NewGetPublicManagementPackParamsWithHTTPClient(client *http.Client) *GetPublicManagementPackParams
- func NewGetPublicManagementPackParamsWithTimeout(timeout time.Duration) *GetPublicManagementPackParams
- func (o *GetPublicManagementPackParams) SetContext(ctx context.Context)
- func (o *GetPublicManagementPackParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicManagementPackParams) SetName(name string)
- func (o *GetPublicManagementPackParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicManagementPackParams) WithContext(ctx context.Context) *GetPublicManagementPackParams
- func (o *GetPublicManagementPackParams) WithHTTPClient(client *http.Client) *GetPublicManagementPackParams
- func (o *GetPublicManagementPackParams) WithName(name string) *GetPublicManagementPackParams
- func (o *GetPublicManagementPackParams) WithTimeout(timeout time.Duration) *GetPublicManagementPackParams
- func (o *GetPublicManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicManagementPackReader
- type GetPublicManagementPacksOK
- type GetPublicManagementPacksParams
- func NewGetPublicManagementPacksParams() *GetPublicManagementPacksParams
- func NewGetPublicManagementPacksParamsWithContext(ctx context.Context) *GetPublicManagementPacksParams
- func NewGetPublicManagementPacksParamsWithHTTPClient(client *http.Client) *GetPublicManagementPacksParams
- func NewGetPublicManagementPacksParamsWithTimeout(timeout time.Duration) *GetPublicManagementPacksParams
- func (o *GetPublicManagementPacksParams) SetContext(ctx context.Context)
- func (o *GetPublicManagementPacksParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicManagementPacksParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicManagementPacksParams) WithContext(ctx context.Context) *GetPublicManagementPacksParams
- func (o *GetPublicManagementPacksParams) WithHTTPClient(client *http.Client) *GetPublicManagementPacksParams
- func (o *GetPublicManagementPacksParams) WithTimeout(timeout time.Duration) *GetPublicManagementPacksParams
- func (o *GetPublicManagementPacksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicManagementPacksReader
- type PostPrivateManagementPackOK
- type PostPrivateManagementPackParams
- func NewPostPrivateManagementPackParams() *PostPrivateManagementPackParams
- func NewPostPrivateManagementPackParamsWithContext(ctx context.Context) *PostPrivateManagementPackParams
- func NewPostPrivateManagementPackParamsWithHTTPClient(client *http.Client) *PostPrivateManagementPackParams
- func NewPostPrivateManagementPackParamsWithTimeout(timeout time.Duration) *PostPrivateManagementPackParams
- func (o *PostPrivateManagementPackParams) SetBody(body *models_cloudbreak.ManagementPackRequest)
- func (o *PostPrivateManagementPackParams) SetContext(ctx context.Context)
- func (o *PostPrivateManagementPackParams) SetHTTPClient(client *http.Client)
- func (o *PostPrivateManagementPackParams) SetTimeout(timeout time.Duration)
- func (o *PostPrivateManagementPackParams) WithBody(body *models_cloudbreak.ManagementPackRequest) *PostPrivateManagementPackParams
- func (o *PostPrivateManagementPackParams) WithContext(ctx context.Context) *PostPrivateManagementPackParams
- func (o *PostPrivateManagementPackParams) WithHTTPClient(client *http.Client) *PostPrivateManagementPackParams
- func (o *PostPrivateManagementPackParams) WithTimeout(timeout time.Duration) *PostPrivateManagementPackParams
- func (o *PostPrivateManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPrivateManagementPackReader
- type PostPublicManagementPackOK
- type PostPublicManagementPackParams
- func NewPostPublicManagementPackParams() *PostPublicManagementPackParams
- func NewPostPublicManagementPackParamsWithContext(ctx context.Context) *PostPublicManagementPackParams
- func NewPostPublicManagementPackParamsWithHTTPClient(client *http.Client) *PostPublicManagementPackParams
- func NewPostPublicManagementPackParamsWithTimeout(timeout time.Duration) *PostPublicManagementPackParams
- func (o *PostPublicManagementPackParams) SetBody(body *models_cloudbreak.ManagementPackRequest)
- func (o *PostPublicManagementPackParams) SetContext(ctx context.Context)
- func (o *PostPublicManagementPackParams) SetHTTPClient(client *http.Client)
- func (o *PostPublicManagementPackParams) SetTimeout(timeout time.Duration)
- func (o *PostPublicManagementPackParams) WithBody(body *models_cloudbreak.ManagementPackRequest) *PostPublicManagementPackParams
- func (o *PostPublicManagementPackParams) WithContext(ctx context.Context) *PostPublicManagementPackParams
- func (o *PostPublicManagementPackParams) WithHTTPClient(client *http.Client) *PostPublicManagementPackParams
- func (o *PostPublicManagementPackParams) WithTimeout(timeout time.Duration) *PostPublicManagementPackParams
- func (o *PostPublicManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPublicManagementPackReader
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 ¶
func (o *DeleteManagementPackDefault) Error() string
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 ¶
func (o *DeleteManagementPackParams) WithContext(ctx context.Context) *DeleteManagementPackParams
WithContext adds the context to the delete management pack params
func (*DeleteManagementPackParams) WithHTTPClient ¶
func (o *DeleteManagementPackParams) WithHTTPClient(client *http.Client) *DeleteManagementPackParams
WithHTTPClient adds the HTTPClient to the delete management pack params
func (*DeleteManagementPackParams) WithID ¶
func (o *DeleteManagementPackParams) WithID(id int64) *DeleteManagementPackParams
WithID adds the id to the delete management pack params
func (*DeleteManagementPackParams) WithTimeout ¶
func (o *DeleteManagementPackParams) WithTimeout(timeout time.Duration) *DeleteManagementPackParams
WithTimeout adds the timeout to the delete management pack params
func (*DeleteManagementPackParams) WriteToRequest ¶
func (o *DeleteManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeletePrivateManagementPackDefault) Code() int
Code gets the status code for the delete private management pack default response
func (*DeletePrivateManagementPackDefault) Error ¶
func (o *DeletePrivateManagementPackDefault) Error() string
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 ¶
func (o *DeletePrivateManagementPackParams) SetContext(ctx context.Context)
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 ¶
func (o *DeletePrivateManagementPackParams) WithContext(ctx context.Context) *DeletePrivateManagementPackParams
WithContext adds the context to the delete private management pack params
func (*DeletePrivateManagementPackParams) WithHTTPClient ¶
func (o *DeletePrivateManagementPackParams) WithHTTPClient(client *http.Client) *DeletePrivateManagementPackParams
WithHTTPClient adds the HTTPClient to the delete private management pack params
func (*DeletePrivateManagementPackParams) WithName ¶
func (o *DeletePrivateManagementPackParams) WithName(name string) *DeletePrivateManagementPackParams
WithName adds the name to the delete private management pack params
func (*DeletePrivateManagementPackParams) WithTimeout ¶
func (o *DeletePrivateManagementPackParams) WithTimeout(timeout time.Duration) *DeletePrivateManagementPackParams
WithTimeout adds the timeout to the delete private management pack params
func (*DeletePrivateManagementPackParams) WriteToRequest ¶
func (o *DeletePrivateManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeletePublicManagementPackDefault) Code() int
Code gets the status code for the delete public management pack default response
func (*DeletePublicManagementPackDefault) Error ¶
func (o *DeletePublicManagementPackDefault) Error() string
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 ¶
func (o *DeletePublicManagementPackParams) SetContext(ctx context.Context)
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 ¶
func (o *DeletePublicManagementPackParams) WithContext(ctx context.Context) *DeletePublicManagementPackParams
WithContext adds the context to the delete public management pack params
func (*DeletePublicManagementPackParams) WithHTTPClient ¶
func (o *DeletePublicManagementPackParams) WithHTTPClient(client *http.Client) *DeletePublicManagementPackParams
WithHTTPClient adds the HTTPClient to the delete public management pack params
func (*DeletePublicManagementPackParams) WithName ¶
func (o *DeletePublicManagementPackParams) WithName(name string) *DeletePublicManagementPackParams
WithName adds the name to the delete public management pack params
func (*DeletePublicManagementPackParams) WithTimeout ¶
func (o *DeletePublicManagementPackParams) WithTimeout(timeout time.Duration) *DeletePublicManagementPackParams
WithTimeout adds the timeout to the delete public management pack params
func (*DeletePublicManagementPackParams) WriteToRequest ¶
func (o *DeletePublicManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetManagementPackParams) WithContext(ctx context.Context) *GetManagementPackParams
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 ¶
func (o *GetManagementPackParams) WithID(id int64) *GetManagementPackParams
WithID adds the id to the get management pack params
func (*GetManagementPackParams) WithTimeout ¶
func (o *GetManagementPackParams) WithTimeout(timeout time.Duration) *GetManagementPackParams
WithTimeout adds the timeout to the get management pack params
func (*GetManagementPackParams) WriteToRequest ¶
func (o *GetManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPrivateManagementPackOK) Error() string
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 ¶
func (o *GetPrivateManagementPackParams) WithContext(ctx context.Context) *GetPrivateManagementPackParams
WithContext adds the context to the get private management pack params
func (*GetPrivateManagementPackParams) WithHTTPClient ¶
func (o *GetPrivateManagementPackParams) WithHTTPClient(client *http.Client) *GetPrivateManagementPackParams
WithHTTPClient adds the HTTPClient to the get private management pack params
func (*GetPrivateManagementPackParams) WithName ¶
func (o *GetPrivateManagementPackParams) WithName(name string) *GetPrivateManagementPackParams
WithName adds the name to the get private management pack params
func (*GetPrivateManagementPackParams) WithTimeout ¶
func (o *GetPrivateManagementPackParams) WithTimeout(timeout time.Duration) *GetPrivateManagementPackParams
WithTimeout adds the timeout to the get private management pack params
func (*GetPrivateManagementPackParams) WriteToRequest ¶
func (o *GetPrivateManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPrivateManagementPacksOK) Error() string
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 ¶
func (o *GetPrivateManagementPacksParams) WithContext(ctx context.Context) *GetPrivateManagementPacksParams
WithContext adds the context to the get private management packs params
func (*GetPrivateManagementPacksParams) WithHTTPClient ¶
func (o *GetPrivateManagementPacksParams) WithHTTPClient(client *http.Client) *GetPrivateManagementPacksParams
WithHTTPClient adds the HTTPClient to the get private management packs params
func (*GetPrivateManagementPacksParams) WithTimeout ¶
func (o *GetPrivateManagementPacksParams) WithTimeout(timeout time.Duration) *GetPrivateManagementPacksParams
WithTimeout adds the timeout to the get private management packs params
func (*GetPrivateManagementPacksParams) WriteToRequest ¶
func (o *GetPrivateManagementPacksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPublicManagementPackParams) WithContext(ctx context.Context) *GetPublicManagementPackParams
WithContext adds the context to the get public management pack params
func (*GetPublicManagementPackParams) WithHTTPClient ¶
func (o *GetPublicManagementPackParams) WithHTTPClient(client *http.Client) *GetPublicManagementPackParams
WithHTTPClient adds the HTTPClient to the get public management pack params
func (*GetPublicManagementPackParams) WithName ¶
func (o *GetPublicManagementPackParams) WithName(name string) *GetPublicManagementPackParams
WithName adds the name to the get public management pack params
func (*GetPublicManagementPackParams) WithTimeout ¶
func (o *GetPublicManagementPackParams) WithTimeout(timeout time.Duration) *GetPublicManagementPackParams
WithTimeout adds the timeout to the get public management pack params
func (*GetPublicManagementPackParams) WriteToRequest ¶
func (o *GetPublicManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPublicManagementPacksOK) Error() string
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 ¶
func (o *GetPublicManagementPacksParams) WithContext(ctx context.Context) *GetPublicManagementPacksParams
WithContext adds the context to the get public management packs params
func (*GetPublicManagementPacksParams) WithHTTPClient ¶
func (o *GetPublicManagementPacksParams) WithHTTPClient(client *http.Client) *GetPublicManagementPacksParams
WithHTTPClient adds the HTTPClient to the get public management packs params
func (*GetPublicManagementPacksParams) WithTimeout ¶
func (o *GetPublicManagementPacksParams) WithTimeout(timeout time.Duration) *GetPublicManagementPacksParams
WithTimeout adds the timeout to the get public management packs params
func (*GetPublicManagementPacksParams) WriteToRequest ¶
func (o *GetPublicManagementPacksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostPrivateManagementPackOK) Error() string
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 ¶
func (o *PostPrivateManagementPackParams) SetBody(body *models_cloudbreak.ManagementPackRequest)
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 ¶
func (o *PostPrivateManagementPackParams) WithBody(body *models_cloudbreak.ManagementPackRequest) *PostPrivateManagementPackParams
WithBody adds the body to the post private management pack params
func (*PostPrivateManagementPackParams) WithContext ¶
func (o *PostPrivateManagementPackParams) WithContext(ctx context.Context) *PostPrivateManagementPackParams
WithContext adds the context to the post private management pack params
func (*PostPrivateManagementPackParams) WithHTTPClient ¶
func (o *PostPrivateManagementPackParams) WithHTTPClient(client *http.Client) *PostPrivateManagementPackParams
WithHTTPClient adds the HTTPClient to the post private management pack params
func (*PostPrivateManagementPackParams) WithTimeout ¶
func (o *PostPrivateManagementPackParams) WithTimeout(timeout time.Duration) *PostPrivateManagementPackParams
WithTimeout adds the timeout to the post private management pack params
func (*PostPrivateManagementPackParams) WriteToRequest ¶
func (o *PostPrivateManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostPublicManagementPackOK) Error() string
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 ¶
func (o *PostPublicManagementPackParams) SetBody(body *models_cloudbreak.ManagementPackRequest)
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 ¶
func (o *PostPublicManagementPackParams) WithBody(body *models_cloudbreak.ManagementPackRequest) *PostPublicManagementPackParams
WithBody adds the body to the post public management pack params
func (*PostPublicManagementPackParams) WithContext ¶
func (o *PostPublicManagementPackParams) WithContext(ctx context.Context) *PostPublicManagementPackParams
WithContext adds the context to the post public management pack params
func (*PostPublicManagementPackParams) WithHTTPClient ¶
func (o *PostPublicManagementPackParams) WithHTTPClient(client *http.Client) *PostPublicManagementPackParams
WithHTTPClient adds the HTTPClient to the post public management pack params
func (*PostPublicManagementPackParams) WithTimeout ¶
func (o *PostPublicManagementPackParams) WithTimeout(timeout time.Duration) *PostPublicManagementPackParams
WithTimeout adds the timeout to the post public management pack params
func (*PostPublicManagementPackParams) WriteToRequest ¶
func (o *PostPublicManagementPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- delete_management_pack_parameters.go
- delete_management_pack_responses.go
- delete_private_management_pack_parameters.go
- delete_private_management_pack_responses.go
- delete_public_management_pack_parameters.go
- delete_public_management_pack_responses.go
- get_management_pack_parameters.go
- get_management_pack_responses.go
- get_private_management_pack_parameters.go
- get_private_management_pack_responses.go
- get_private_management_packs_parameters.go
- get_private_management_packs_responses.go
- get_public_management_pack_parameters.go
- get_public_management_pack_responses.go
- get_public_management_packs_parameters.go
- get_public_management_packs_responses.go
- post_private_management_pack_parameters.go
- post_private_management_pack_responses.go
- post_public_management_pack_parameters.go
- post_public_management_pack_responses.go
- v1mpacks_client.go