Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateManagementPackInWorkspace(params *CreateManagementPackInWorkspaceParams) (*CreateManagementPackInWorkspaceOK, error)
- func (a *Client) DeleteManagementPackInWorkspace(params *DeleteManagementPackInWorkspaceParams) (*DeleteManagementPackInWorkspaceOK, error)
- func (a *Client) GetManagementPackInWorkspace(params *GetManagementPackInWorkspaceParams) (*GetManagementPackInWorkspaceOK, error)
- func (a *Client) ListManagementPacksByWorkspace(params *ListManagementPacksByWorkspaceParams) (*ListManagementPacksByWorkspaceOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateManagementPackInWorkspaceOK
- type CreateManagementPackInWorkspaceParams
- func NewCreateManagementPackInWorkspaceParams() *CreateManagementPackInWorkspaceParams
- func NewCreateManagementPackInWorkspaceParamsWithContext(ctx context.Context) *CreateManagementPackInWorkspaceParams
- func NewCreateManagementPackInWorkspaceParamsWithHTTPClient(client *http.Client) *CreateManagementPackInWorkspaceParams
- func NewCreateManagementPackInWorkspaceParamsWithTimeout(timeout time.Duration) *CreateManagementPackInWorkspaceParams
- func (o *CreateManagementPackInWorkspaceParams) SetBody(body *models_cloudbreak.ManagementPackRequest)
- func (o *CreateManagementPackInWorkspaceParams) SetContext(ctx context.Context)
- func (o *CreateManagementPackInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *CreateManagementPackInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *CreateManagementPackInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *CreateManagementPackInWorkspaceParams) WithBody(body *models_cloudbreak.ManagementPackRequest) *CreateManagementPackInWorkspaceParams
- func (o *CreateManagementPackInWorkspaceParams) WithContext(ctx context.Context) *CreateManagementPackInWorkspaceParams
- func (o *CreateManagementPackInWorkspaceParams) WithHTTPClient(client *http.Client) *CreateManagementPackInWorkspaceParams
- func (o *CreateManagementPackInWorkspaceParams) WithTimeout(timeout time.Duration) *CreateManagementPackInWorkspaceParams
- func (o *CreateManagementPackInWorkspaceParams) WithWorkspaceID(workspaceID int64) *CreateManagementPackInWorkspaceParams
- func (o *CreateManagementPackInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateManagementPackInWorkspaceReader
- type DeleteManagementPackInWorkspaceOK
- type DeleteManagementPackInWorkspaceParams
- func NewDeleteManagementPackInWorkspaceParams() *DeleteManagementPackInWorkspaceParams
- func NewDeleteManagementPackInWorkspaceParamsWithContext(ctx context.Context) *DeleteManagementPackInWorkspaceParams
- func NewDeleteManagementPackInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteManagementPackInWorkspaceParams
- func NewDeleteManagementPackInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteManagementPackInWorkspaceParams
- func (o *DeleteManagementPackInWorkspaceParams) SetContext(ctx context.Context)
- func (o *DeleteManagementPackInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteManagementPackInWorkspaceParams) SetName(name string)
- func (o *DeleteManagementPackInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteManagementPackInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *DeleteManagementPackInWorkspaceParams) WithContext(ctx context.Context) *DeleteManagementPackInWorkspaceParams
- func (o *DeleteManagementPackInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteManagementPackInWorkspaceParams
- func (o *DeleteManagementPackInWorkspaceParams) WithName(name string) *DeleteManagementPackInWorkspaceParams
- func (o *DeleteManagementPackInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteManagementPackInWorkspaceParams
- func (o *DeleteManagementPackInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteManagementPackInWorkspaceParams
- func (o *DeleteManagementPackInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteManagementPackInWorkspaceReader
- type GetManagementPackInWorkspaceOK
- type GetManagementPackInWorkspaceParams
- func NewGetManagementPackInWorkspaceParams() *GetManagementPackInWorkspaceParams
- func NewGetManagementPackInWorkspaceParamsWithContext(ctx context.Context) *GetManagementPackInWorkspaceParams
- func NewGetManagementPackInWorkspaceParamsWithHTTPClient(client *http.Client) *GetManagementPackInWorkspaceParams
- func NewGetManagementPackInWorkspaceParamsWithTimeout(timeout time.Duration) *GetManagementPackInWorkspaceParams
- func (o *GetManagementPackInWorkspaceParams) SetContext(ctx context.Context)
- func (o *GetManagementPackInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *GetManagementPackInWorkspaceParams) SetName(name string)
- func (o *GetManagementPackInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *GetManagementPackInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *GetManagementPackInWorkspaceParams) WithContext(ctx context.Context) *GetManagementPackInWorkspaceParams
- func (o *GetManagementPackInWorkspaceParams) WithHTTPClient(client *http.Client) *GetManagementPackInWorkspaceParams
- func (o *GetManagementPackInWorkspaceParams) WithName(name string) *GetManagementPackInWorkspaceParams
- func (o *GetManagementPackInWorkspaceParams) WithTimeout(timeout time.Duration) *GetManagementPackInWorkspaceParams
- func (o *GetManagementPackInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetManagementPackInWorkspaceParams
- func (o *GetManagementPackInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetManagementPackInWorkspaceReader
- type ListManagementPacksByWorkspaceOK
- type ListManagementPacksByWorkspaceParams
- func NewListManagementPacksByWorkspaceParams() *ListManagementPacksByWorkspaceParams
- func NewListManagementPacksByWorkspaceParamsWithContext(ctx context.Context) *ListManagementPacksByWorkspaceParams
- func NewListManagementPacksByWorkspaceParamsWithHTTPClient(client *http.Client) *ListManagementPacksByWorkspaceParams
- func NewListManagementPacksByWorkspaceParamsWithTimeout(timeout time.Duration) *ListManagementPacksByWorkspaceParams
- func (o *ListManagementPacksByWorkspaceParams) SetContext(ctx context.Context)
- func (o *ListManagementPacksByWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *ListManagementPacksByWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *ListManagementPacksByWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *ListManagementPacksByWorkspaceParams) WithContext(ctx context.Context) *ListManagementPacksByWorkspaceParams
- func (o *ListManagementPacksByWorkspaceParams) WithHTTPClient(client *http.Client) *ListManagementPacksByWorkspaceParams
- func (o *ListManagementPacksByWorkspaceParams) WithTimeout(timeout time.Duration) *ListManagementPacksByWorkspaceParams
- func (o *ListManagementPacksByWorkspaceParams) WithWorkspaceID(workspaceID int64) *ListManagementPacksByWorkspaceParams
- func (o *ListManagementPacksByWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListManagementPacksByWorkspaceReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for v3 workspace id mpacks API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v3 workspace id mpacks API client.
func (*Client) CreateManagementPackInWorkspace ¶
func (a *Client) CreateManagementPackInWorkspace(params *CreateManagementPackInWorkspaceParams) (*CreateManagementPackInWorkspaceOK, error)
CreateManagementPackInWorkspace creates management pack in workspace
An Apache Ambari Management Pack (Mpack) can bundle multiple service definitions, stack definitions, stack add-on service definitions, view definitions services so that releasing these artifacts don’t enforce an Apache Ambari release.
func (*Client) DeleteManagementPackInWorkspace ¶
func (a *Client) DeleteManagementPackInWorkspace(params *DeleteManagementPackInWorkspaceParams) (*DeleteManagementPackInWorkspaceOK, error)
DeleteManagementPackInWorkspace deletes management pack by name in workspace
An Apache Ambari Management Pack (Mpack) can bundle multiple service definitions, stack definitions, stack add-on service definitions, view definitions services so that releasing these artifacts don’t enforce an Apache Ambari release.
func (*Client) GetManagementPackInWorkspace ¶
func (a *Client) GetManagementPackInWorkspace(params *GetManagementPackInWorkspaceParams) (*GetManagementPackInWorkspaceOK, error)
GetManagementPackInWorkspace gets management pack by name in workspace
An Apache Ambari Management Pack (Mpack) can bundle multiple service definitions, stack definitions, stack add-on service definitions, view definitions services so that releasing these artifacts don’t enforce an Apache Ambari release.
func (*Client) ListManagementPacksByWorkspace ¶
func (a *Client) ListManagementPacksByWorkspace(params *ListManagementPacksByWorkspaceParams) (*ListManagementPacksByWorkspaceOK, error)
ListManagementPacksByWorkspace lists management packs for the given workspace
An Apache Ambari Management Pack (Mpack) can bundle multiple service definitions, stack definitions, stack add-on service definitions, view definitions services so that releasing these artifacts don’t enforce an Apache Ambari release.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateManagementPackInWorkspaceOK ¶
type CreateManagementPackInWorkspaceOK struct {
Payload *models_cloudbreak.ManagementPackResponse
}
CreateManagementPackInWorkspaceOK handles this case with default header values.
successful operation
func NewCreateManagementPackInWorkspaceOK ¶
func NewCreateManagementPackInWorkspaceOK() *CreateManagementPackInWorkspaceOK
NewCreateManagementPackInWorkspaceOK creates a CreateManagementPackInWorkspaceOK with default headers values
func (*CreateManagementPackInWorkspaceOK) Error ¶
func (o *CreateManagementPackInWorkspaceOK) Error() string
type CreateManagementPackInWorkspaceParams ¶
type CreateManagementPackInWorkspaceParams struct { /*Body*/ Body *models_cloudbreak.ManagementPackRequest /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateManagementPackInWorkspaceParams contains all the parameters to send to the API endpoint for the create management pack in workspace operation typically these are written to a http.Request
func NewCreateManagementPackInWorkspaceParams ¶
func NewCreateManagementPackInWorkspaceParams() *CreateManagementPackInWorkspaceParams
NewCreateManagementPackInWorkspaceParams creates a new CreateManagementPackInWorkspaceParams object with the default values initialized.
func NewCreateManagementPackInWorkspaceParamsWithContext ¶
func NewCreateManagementPackInWorkspaceParamsWithContext(ctx context.Context) *CreateManagementPackInWorkspaceParams
NewCreateManagementPackInWorkspaceParamsWithContext creates a new CreateManagementPackInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewCreateManagementPackInWorkspaceParamsWithHTTPClient ¶
func NewCreateManagementPackInWorkspaceParamsWithHTTPClient(client *http.Client) *CreateManagementPackInWorkspaceParams
NewCreateManagementPackInWorkspaceParamsWithHTTPClient creates a new CreateManagementPackInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateManagementPackInWorkspaceParamsWithTimeout ¶
func NewCreateManagementPackInWorkspaceParamsWithTimeout(timeout time.Duration) *CreateManagementPackInWorkspaceParams
NewCreateManagementPackInWorkspaceParamsWithTimeout creates a new CreateManagementPackInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateManagementPackInWorkspaceParams) SetBody ¶
func (o *CreateManagementPackInWorkspaceParams) SetBody(body *models_cloudbreak.ManagementPackRequest)
SetBody adds the body to the create management pack in workspace params
func (*CreateManagementPackInWorkspaceParams) SetContext ¶
func (o *CreateManagementPackInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the create management pack in workspace params
func (*CreateManagementPackInWorkspaceParams) SetHTTPClient ¶
func (o *CreateManagementPackInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create management pack in workspace params
func (*CreateManagementPackInWorkspaceParams) SetTimeout ¶
func (o *CreateManagementPackInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create management pack in workspace params
func (*CreateManagementPackInWorkspaceParams) SetWorkspaceID ¶
func (o *CreateManagementPackInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the create management pack in workspace params
func (*CreateManagementPackInWorkspaceParams) WithBody ¶
func (o *CreateManagementPackInWorkspaceParams) WithBody(body *models_cloudbreak.ManagementPackRequest) *CreateManagementPackInWorkspaceParams
WithBody adds the body to the create management pack in workspace params
func (*CreateManagementPackInWorkspaceParams) WithContext ¶
func (o *CreateManagementPackInWorkspaceParams) WithContext(ctx context.Context) *CreateManagementPackInWorkspaceParams
WithContext adds the context to the create management pack in workspace params
func (*CreateManagementPackInWorkspaceParams) WithHTTPClient ¶
func (o *CreateManagementPackInWorkspaceParams) WithHTTPClient(client *http.Client) *CreateManagementPackInWorkspaceParams
WithHTTPClient adds the HTTPClient to the create management pack in workspace params
func (*CreateManagementPackInWorkspaceParams) WithTimeout ¶
func (o *CreateManagementPackInWorkspaceParams) WithTimeout(timeout time.Duration) *CreateManagementPackInWorkspaceParams
WithTimeout adds the timeout to the create management pack in workspace params
func (*CreateManagementPackInWorkspaceParams) WithWorkspaceID ¶
func (o *CreateManagementPackInWorkspaceParams) WithWorkspaceID(workspaceID int64) *CreateManagementPackInWorkspaceParams
WithWorkspaceID adds the workspaceID to the create management pack in workspace params
func (*CreateManagementPackInWorkspaceParams) WriteToRequest ¶
func (o *CreateManagementPackInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateManagementPackInWorkspaceReader ¶
type CreateManagementPackInWorkspaceReader struct {
// contains filtered or unexported fields
}
CreateManagementPackInWorkspaceReader is a Reader for the CreateManagementPackInWorkspace structure.
func (*CreateManagementPackInWorkspaceReader) ReadResponse ¶
func (o *CreateManagementPackInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteManagementPackInWorkspaceOK ¶
type DeleteManagementPackInWorkspaceOK struct {
Payload *models_cloudbreak.ManagementPackResponse
}
DeleteManagementPackInWorkspaceOK handles this case with default header values.
successful operation
func NewDeleteManagementPackInWorkspaceOK ¶
func NewDeleteManagementPackInWorkspaceOK() *DeleteManagementPackInWorkspaceOK
NewDeleteManagementPackInWorkspaceOK creates a DeleteManagementPackInWorkspaceOK with default headers values
func (*DeleteManagementPackInWorkspaceOK) Error ¶
func (o *DeleteManagementPackInWorkspaceOK) Error() string
type DeleteManagementPackInWorkspaceParams ¶
type DeleteManagementPackInWorkspaceParams struct { /*Name*/ Name string /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteManagementPackInWorkspaceParams contains all the parameters to send to the API endpoint for the delete management pack in workspace operation typically these are written to a http.Request
func NewDeleteManagementPackInWorkspaceParams ¶
func NewDeleteManagementPackInWorkspaceParams() *DeleteManagementPackInWorkspaceParams
NewDeleteManagementPackInWorkspaceParams creates a new DeleteManagementPackInWorkspaceParams object with the default values initialized.
func NewDeleteManagementPackInWorkspaceParamsWithContext ¶
func NewDeleteManagementPackInWorkspaceParamsWithContext(ctx context.Context) *DeleteManagementPackInWorkspaceParams
NewDeleteManagementPackInWorkspaceParamsWithContext creates a new DeleteManagementPackInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteManagementPackInWorkspaceParamsWithHTTPClient ¶
func NewDeleteManagementPackInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteManagementPackInWorkspaceParams
NewDeleteManagementPackInWorkspaceParamsWithHTTPClient creates a new DeleteManagementPackInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteManagementPackInWorkspaceParamsWithTimeout ¶
func NewDeleteManagementPackInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteManagementPackInWorkspaceParams
NewDeleteManagementPackInWorkspaceParamsWithTimeout creates a new DeleteManagementPackInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteManagementPackInWorkspaceParams) SetContext ¶
func (o *DeleteManagementPackInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete management pack in workspace params
func (*DeleteManagementPackInWorkspaceParams) SetHTTPClient ¶
func (o *DeleteManagementPackInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete management pack in workspace params
func (*DeleteManagementPackInWorkspaceParams) SetName ¶
func (o *DeleteManagementPackInWorkspaceParams) SetName(name string)
SetName adds the name to the delete management pack in workspace params
func (*DeleteManagementPackInWorkspaceParams) SetTimeout ¶
func (o *DeleteManagementPackInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete management pack in workspace params
func (*DeleteManagementPackInWorkspaceParams) SetWorkspaceID ¶
func (o *DeleteManagementPackInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the delete management pack in workspace params
func (*DeleteManagementPackInWorkspaceParams) WithContext ¶
func (o *DeleteManagementPackInWorkspaceParams) WithContext(ctx context.Context) *DeleteManagementPackInWorkspaceParams
WithContext adds the context to the delete management pack in workspace params
func (*DeleteManagementPackInWorkspaceParams) WithHTTPClient ¶
func (o *DeleteManagementPackInWorkspaceParams) WithHTTPClient(client *http.Client) *DeleteManagementPackInWorkspaceParams
WithHTTPClient adds the HTTPClient to the delete management pack in workspace params
func (*DeleteManagementPackInWorkspaceParams) WithName ¶
func (o *DeleteManagementPackInWorkspaceParams) WithName(name string) *DeleteManagementPackInWorkspaceParams
WithName adds the name to the delete management pack in workspace params
func (*DeleteManagementPackInWorkspaceParams) WithTimeout ¶
func (o *DeleteManagementPackInWorkspaceParams) WithTimeout(timeout time.Duration) *DeleteManagementPackInWorkspaceParams
WithTimeout adds the timeout to the delete management pack in workspace params
func (*DeleteManagementPackInWorkspaceParams) WithWorkspaceID ¶
func (o *DeleteManagementPackInWorkspaceParams) WithWorkspaceID(workspaceID int64) *DeleteManagementPackInWorkspaceParams
WithWorkspaceID adds the workspaceID to the delete management pack in workspace params
func (*DeleteManagementPackInWorkspaceParams) WriteToRequest ¶
func (o *DeleteManagementPackInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteManagementPackInWorkspaceReader ¶
type DeleteManagementPackInWorkspaceReader struct {
// contains filtered or unexported fields
}
DeleteManagementPackInWorkspaceReader is a Reader for the DeleteManagementPackInWorkspace structure.
func (*DeleteManagementPackInWorkspaceReader) ReadResponse ¶
func (o *DeleteManagementPackInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetManagementPackInWorkspaceOK ¶
type GetManagementPackInWorkspaceOK struct {
Payload *models_cloudbreak.ManagementPackResponse
}
GetManagementPackInWorkspaceOK handles this case with default header values.
successful operation
func NewGetManagementPackInWorkspaceOK ¶
func NewGetManagementPackInWorkspaceOK() *GetManagementPackInWorkspaceOK
NewGetManagementPackInWorkspaceOK creates a GetManagementPackInWorkspaceOK with default headers values
func (*GetManagementPackInWorkspaceOK) Error ¶
func (o *GetManagementPackInWorkspaceOK) Error() string
type GetManagementPackInWorkspaceParams ¶
type GetManagementPackInWorkspaceParams struct { /*Name*/ Name string /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetManagementPackInWorkspaceParams contains all the parameters to send to the API endpoint for the get management pack in workspace operation typically these are written to a http.Request
func NewGetManagementPackInWorkspaceParams ¶
func NewGetManagementPackInWorkspaceParams() *GetManagementPackInWorkspaceParams
NewGetManagementPackInWorkspaceParams creates a new GetManagementPackInWorkspaceParams object with the default values initialized.
func NewGetManagementPackInWorkspaceParamsWithContext ¶
func NewGetManagementPackInWorkspaceParamsWithContext(ctx context.Context) *GetManagementPackInWorkspaceParams
NewGetManagementPackInWorkspaceParamsWithContext creates a new GetManagementPackInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewGetManagementPackInWorkspaceParamsWithHTTPClient ¶
func NewGetManagementPackInWorkspaceParamsWithHTTPClient(client *http.Client) *GetManagementPackInWorkspaceParams
NewGetManagementPackInWorkspaceParamsWithHTTPClient creates a new GetManagementPackInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetManagementPackInWorkspaceParamsWithTimeout ¶
func NewGetManagementPackInWorkspaceParamsWithTimeout(timeout time.Duration) *GetManagementPackInWorkspaceParams
NewGetManagementPackInWorkspaceParamsWithTimeout creates a new GetManagementPackInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetManagementPackInWorkspaceParams) SetContext ¶
func (o *GetManagementPackInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the get management pack in workspace params
func (*GetManagementPackInWorkspaceParams) SetHTTPClient ¶
func (o *GetManagementPackInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get management pack in workspace params
func (*GetManagementPackInWorkspaceParams) SetName ¶
func (o *GetManagementPackInWorkspaceParams) SetName(name string)
SetName adds the name to the get management pack in workspace params
func (*GetManagementPackInWorkspaceParams) SetTimeout ¶
func (o *GetManagementPackInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get management pack in workspace params
func (*GetManagementPackInWorkspaceParams) SetWorkspaceID ¶
func (o *GetManagementPackInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the get management pack in workspace params
func (*GetManagementPackInWorkspaceParams) WithContext ¶
func (o *GetManagementPackInWorkspaceParams) WithContext(ctx context.Context) *GetManagementPackInWorkspaceParams
WithContext adds the context to the get management pack in workspace params
func (*GetManagementPackInWorkspaceParams) WithHTTPClient ¶
func (o *GetManagementPackInWorkspaceParams) WithHTTPClient(client *http.Client) *GetManagementPackInWorkspaceParams
WithHTTPClient adds the HTTPClient to the get management pack in workspace params
func (*GetManagementPackInWorkspaceParams) WithName ¶
func (o *GetManagementPackInWorkspaceParams) WithName(name string) *GetManagementPackInWorkspaceParams
WithName adds the name to the get management pack in workspace params
func (*GetManagementPackInWorkspaceParams) WithTimeout ¶
func (o *GetManagementPackInWorkspaceParams) WithTimeout(timeout time.Duration) *GetManagementPackInWorkspaceParams
WithTimeout adds the timeout to the get management pack in workspace params
func (*GetManagementPackInWorkspaceParams) WithWorkspaceID ¶
func (o *GetManagementPackInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetManagementPackInWorkspaceParams
WithWorkspaceID adds the workspaceID to the get management pack in workspace params
func (*GetManagementPackInWorkspaceParams) WriteToRequest ¶
func (o *GetManagementPackInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetManagementPackInWorkspaceReader ¶
type GetManagementPackInWorkspaceReader struct {
// contains filtered or unexported fields
}
GetManagementPackInWorkspaceReader is a Reader for the GetManagementPackInWorkspace structure.
func (*GetManagementPackInWorkspaceReader) ReadResponse ¶
func (o *GetManagementPackInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListManagementPacksByWorkspaceOK ¶
type ListManagementPacksByWorkspaceOK struct {
Payload []*models_cloudbreak.ManagementPackResponse
}
ListManagementPacksByWorkspaceOK handles this case with default header values.
successful operation
func NewListManagementPacksByWorkspaceOK ¶
func NewListManagementPacksByWorkspaceOK() *ListManagementPacksByWorkspaceOK
NewListManagementPacksByWorkspaceOK creates a ListManagementPacksByWorkspaceOK with default headers values
func (*ListManagementPacksByWorkspaceOK) Error ¶
func (o *ListManagementPacksByWorkspaceOK) Error() string
type ListManagementPacksByWorkspaceParams ¶
type ListManagementPacksByWorkspaceParams struct { /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListManagementPacksByWorkspaceParams contains all the parameters to send to the API endpoint for the list management packs by workspace operation typically these are written to a http.Request
func NewListManagementPacksByWorkspaceParams ¶
func NewListManagementPacksByWorkspaceParams() *ListManagementPacksByWorkspaceParams
NewListManagementPacksByWorkspaceParams creates a new ListManagementPacksByWorkspaceParams object with the default values initialized.
func NewListManagementPacksByWorkspaceParamsWithContext ¶
func NewListManagementPacksByWorkspaceParamsWithContext(ctx context.Context) *ListManagementPacksByWorkspaceParams
NewListManagementPacksByWorkspaceParamsWithContext creates a new ListManagementPacksByWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewListManagementPacksByWorkspaceParamsWithHTTPClient ¶
func NewListManagementPacksByWorkspaceParamsWithHTTPClient(client *http.Client) *ListManagementPacksByWorkspaceParams
NewListManagementPacksByWorkspaceParamsWithHTTPClient creates a new ListManagementPacksByWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListManagementPacksByWorkspaceParamsWithTimeout ¶
func NewListManagementPacksByWorkspaceParamsWithTimeout(timeout time.Duration) *ListManagementPacksByWorkspaceParams
NewListManagementPacksByWorkspaceParamsWithTimeout creates a new ListManagementPacksByWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListManagementPacksByWorkspaceParams) SetContext ¶
func (o *ListManagementPacksByWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the list management packs by workspace params
func (*ListManagementPacksByWorkspaceParams) SetHTTPClient ¶
func (o *ListManagementPacksByWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list management packs by workspace params
func (*ListManagementPacksByWorkspaceParams) SetTimeout ¶
func (o *ListManagementPacksByWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list management packs by workspace params
func (*ListManagementPacksByWorkspaceParams) SetWorkspaceID ¶
func (o *ListManagementPacksByWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the list management packs by workspace params
func (*ListManagementPacksByWorkspaceParams) WithContext ¶
func (o *ListManagementPacksByWorkspaceParams) WithContext(ctx context.Context) *ListManagementPacksByWorkspaceParams
WithContext adds the context to the list management packs by workspace params
func (*ListManagementPacksByWorkspaceParams) WithHTTPClient ¶
func (o *ListManagementPacksByWorkspaceParams) WithHTTPClient(client *http.Client) *ListManagementPacksByWorkspaceParams
WithHTTPClient adds the HTTPClient to the list management packs by workspace params
func (*ListManagementPacksByWorkspaceParams) WithTimeout ¶
func (o *ListManagementPacksByWorkspaceParams) WithTimeout(timeout time.Duration) *ListManagementPacksByWorkspaceParams
WithTimeout adds the timeout to the list management packs by workspace params
func (*ListManagementPacksByWorkspaceParams) WithWorkspaceID ¶
func (o *ListManagementPacksByWorkspaceParams) WithWorkspaceID(workspaceID int64) *ListManagementPacksByWorkspaceParams
WithWorkspaceID adds the workspaceID to the list management packs by workspace params
func (*ListManagementPacksByWorkspaceParams) WriteToRequest ¶
func (o *ListManagementPacksByWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListManagementPacksByWorkspaceReader ¶
type ListManagementPacksByWorkspaceReader struct {
// contains filtered or unexported fields
}
ListManagementPacksByWorkspaceReader is a Reader for the ListManagementPacksByWorkspace structure.
func (*ListManagementPacksByWorkspaceReader) ReadResponse ¶
func (o *ListManagementPacksByWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_management_pack_in_workspace_parameters.go
- create_management_pack_in_workspace_responses.go
- delete_management_pack_in_workspace_parameters.go
- delete_management_pack_in_workspace_responses.go
- get_management_pack_in_workspace_parameters.go
- get_management_pack_in_workspace_responses.go
- list_management_packs_by_workspace_parameters.go
- list_management_packs_by_workspace_responses.go
- v3_workspace_id_mpacks_client.go