Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateManagementPackInOrganization(params *CreateManagementPackInOrganizationParams) (*CreateManagementPackInOrganizationOK, error)
- func (a *Client) DeleteManagementPackInOrganization(params *DeleteManagementPackInOrganizationParams) (*DeleteManagementPackInOrganizationOK, error)
- func (a *Client) GetManagementPackInOrganization(params *GetManagementPackInOrganizationParams) (*GetManagementPackInOrganizationOK, error)
- func (a *Client) ListManagementPacksByOrganization(params *ListManagementPacksByOrganizationParams) (*ListManagementPacksByOrganizationOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateManagementPackInOrganizationOK
- type CreateManagementPackInOrganizationParams
- func NewCreateManagementPackInOrganizationParams() *CreateManagementPackInOrganizationParams
- func NewCreateManagementPackInOrganizationParamsWithContext(ctx context.Context) *CreateManagementPackInOrganizationParams
- func NewCreateManagementPackInOrganizationParamsWithHTTPClient(client *http.Client) *CreateManagementPackInOrganizationParams
- func NewCreateManagementPackInOrganizationParamsWithTimeout(timeout time.Duration) *CreateManagementPackInOrganizationParams
- func (o *CreateManagementPackInOrganizationParams) SetBody(body *models_cloudbreak.ManagementPackRequest)
- func (o *CreateManagementPackInOrganizationParams) SetContext(ctx context.Context)
- func (o *CreateManagementPackInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *CreateManagementPackInOrganizationParams) SetOrganizationID(organizationID int64)
- func (o *CreateManagementPackInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *CreateManagementPackInOrganizationParams) WithBody(body *models_cloudbreak.ManagementPackRequest) *CreateManagementPackInOrganizationParams
- func (o *CreateManagementPackInOrganizationParams) WithContext(ctx context.Context) *CreateManagementPackInOrganizationParams
- func (o *CreateManagementPackInOrganizationParams) WithHTTPClient(client *http.Client) *CreateManagementPackInOrganizationParams
- func (o *CreateManagementPackInOrganizationParams) WithOrganizationID(organizationID int64) *CreateManagementPackInOrganizationParams
- func (o *CreateManagementPackInOrganizationParams) WithTimeout(timeout time.Duration) *CreateManagementPackInOrganizationParams
- func (o *CreateManagementPackInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateManagementPackInOrganizationReader
- type DeleteManagementPackInOrganizationOK
- type DeleteManagementPackInOrganizationParams
- func NewDeleteManagementPackInOrganizationParams() *DeleteManagementPackInOrganizationParams
- func NewDeleteManagementPackInOrganizationParamsWithContext(ctx context.Context) *DeleteManagementPackInOrganizationParams
- func NewDeleteManagementPackInOrganizationParamsWithHTTPClient(client *http.Client) *DeleteManagementPackInOrganizationParams
- func NewDeleteManagementPackInOrganizationParamsWithTimeout(timeout time.Duration) *DeleteManagementPackInOrganizationParams
- func (o *DeleteManagementPackInOrganizationParams) SetContext(ctx context.Context)
- func (o *DeleteManagementPackInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteManagementPackInOrganizationParams) SetName(name string)
- func (o *DeleteManagementPackInOrganizationParams) SetOrganizationID(organizationID int64)
- func (o *DeleteManagementPackInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteManagementPackInOrganizationParams) WithContext(ctx context.Context) *DeleteManagementPackInOrganizationParams
- func (o *DeleteManagementPackInOrganizationParams) WithHTTPClient(client *http.Client) *DeleteManagementPackInOrganizationParams
- func (o *DeleteManagementPackInOrganizationParams) WithName(name string) *DeleteManagementPackInOrganizationParams
- func (o *DeleteManagementPackInOrganizationParams) WithOrganizationID(organizationID int64) *DeleteManagementPackInOrganizationParams
- func (o *DeleteManagementPackInOrganizationParams) WithTimeout(timeout time.Duration) *DeleteManagementPackInOrganizationParams
- func (o *DeleteManagementPackInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteManagementPackInOrganizationReader
- type GetManagementPackInOrganizationOK
- type GetManagementPackInOrganizationParams
- func NewGetManagementPackInOrganizationParams() *GetManagementPackInOrganizationParams
- func NewGetManagementPackInOrganizationParamsWithContext(ctx context.Context) *GetManagementPackInOrganizationParams
- func NewGetManagementPackInOrganizationParamsWithHTTPClient(client *http.Client) *GetManagementPackInOrganizationParams
- func NewGetManagementPackInOrganizationParamsWithTimeout(timeout time.Duration) *GetManagementPackInOrganizationParams
- func (o *GetManagementPackInOrganizationParams) SetContext(ctx context.Context)
- func (o *GetManagementPackInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *GetManagementPackInOrganizationParams) SetName(name string)
- func (o *GetManagementPackInOrganizationParams) SetOrganizationID(organizationID int64)
- func (o *GetManagementPackInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *GetManagementPackInOrganizationParams) WithContext(ctx context.Context) *GetManagementPackInOrganizationParams
- func (o *GetManagementPackInOrganizationParams) WithHTTPClient(client *http.Client) *GetManagementPackInOrganizationParams
- func (o *GetManagementPackInOrganizationParams) WithName(name string) *GetManagementPackInOrganizationParams
- func (o *GetManagementPackInOrganizationParams) WithOrganizationID(organizationID int64) *GetManagementPackInOrganizationParams
- func (o *GetManagementPackInOrganizationParams) WithTimeout(timeout time.Duration) *GetManagementPackInOrganizationParams
- func (o *GetManagementPackInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetManagementPackInOrganizationReader
- type ListManagementPacksByOrganizationOK
- type ListManagementPacksByOrganizationParams
- func NewListManagementPacksByOrganizationParams() *ListManagementPacksByOrganizationParams
- func NewListManagementPacksByOrganizationParamsWithContext(ctx context.Context) *ListManagementPacksByOrganizationParams
- func NewListManagementPacksByOrganizationParamsWithHTTPClient(client *http.Client) *ListManagementPacksByOrganizationParams
- func NewListManagementPacksByOrganizationParamsWithTimeout(timeout time.Duration) *ListManagementPacksByOrganizationParams
- func (o *ListManagementPacksByOrganizationParams) SetContext(ctx context.Context)
- func (o *ListManagementPacksByOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *ListManagementPacksByOrganizationParams) SetOrganizationID(organizationID int64)
- func (o *ListManagementPacksByOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *ListManagementPacksByOrganizationParams) WithContext(ctx context.Context) *ListManagementPacksByOrganizationParams
- func (o *ListManagementPacksByOrganizationParams) WithHTTPClient(client *http.Client) *ListManagementPacksByOrganizationParams
- func (o *ListManagementPacksByOrganizationParams) WithOrganizationID(organizationID int64) *ListManagementPacksByOrganizationParams
- func (o *ListManagementPacksByOrganizationParams) WithTimeout(timeout time.Duration) *ListManagementPacksByOrganizationParams
- func (o *ListManagementPacksByOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListManagementPacksByOrganizationReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for v3 organization id mpacks API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v3 organization id mpacks API client.
func (*Client) CreateManagementPackInOrganization ¶
func (a *Client) CreateManagementPackInOrganization(params *CreateManagementPackInOrganizationParams) (*CreateManagementPackInOrganizationOK, error)
CreateManagementPackInOrganization creates management pack in organization
An Apache Ambari Management Pack (Mpack) can bundle multiple service definitions, stack definitions, stack add-on service definitions, view definitions services so that releasing these artifacts don’t enforce an Apache Ambari release.
func (*Client) DeleteManagementPackInOrganization ¶
func (a *Client) DeleteManagementPackInOrganization(params *DeleteManagementPackInOrganizationParams) (*DeleteManagementPackInOrganizationOK, error)
DeleteManagementPackInOrganization deletes management pack by name in organization
An Apache Ambari Management Pack (Mpack) can bundle multiple service definitions, stack definitions, stack add-on service definitions, view definitions services so that releasing these artifacts don’t enforce an Apache Ambari release.
func (*Client) GetManagementPackInOrganization ¶
func (a *Client) GetManagementPackInOrganization(params *GetManagementPackInOrganizationParams) (*GetManagementPackInOrganizationOK, error)
GetManagementPackInOrganization gets management pack by name in organization
An Apache Ambari Management Pack (Mpack) can bundle multiple service definitions, stack definitions, stack add-on service definitions, view definitions services so that releasing these artifacts don’t enforce an Apache Ambari release.
func (*Client) ListManagementPacksByOrganization ¶
func (a *Client) ListManagementPacksByOrganization(params *ListManagementPacksByOrganizationParams) (*ListManagementPacksByOrganizationOK, error)
ListManagementPacksByOrganization lists management packs for the given organization
An Apache Ambari Management Pack (Mpack) can bundle multiple service definitions, stack definitions, stack add-on service definitions, view definitions services so that releasing these artifacts don’t enforce an Apache Ambari release.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateManagementPackInOrganizationOK ¶
type CreateManagementPackInOrganizationOK struct {
Payload *models_cloudbreak.ManagementPackResponse
}
CreateManagementPackInOrganizationOK handles this case with default header values.
successful operation
func NewCreateManagementPackInOrganizationOK ¶
func NewCreateManagementPackInOrganizationOK() *CreateManagementPackInOrganizationOK
NewCreateManagementPackInOrganizationOK creates a CreateManagementPackInOrganizationOK with default headers values
func (*CreateManagementPackInOrganizationOK) Error ¶
func (o *CreateManagementPackInOrganizationOK) Error() string
type CreateManagementPackInOrganizationParams ¶
type CreateManagementPackInOrganizationParams struct { /*Body*/ Body *models_cloudbreak.ManagementPackRequest /*OrganizationID*/ OrganizationID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateManagementPackInOrganizationParams contains all the parameters to send to the API endpoint for the create management pack in organization operation typically these are written to a http.Request
func NewCreateManagementPackInOrganizationParams ¶
func NewCreateManagementPackInOrganizationParams() *CreateManagementPackInOrganizationParams
NewCreateManagementPackInOrganizationParams creates a new CreateManagementPackInOrganizationParams object with the default values initialized.
func NewCreateManagementPackInOrganizationParamsWithContext ¶
func NewCreateManagementPackInOrganizationParamsWithContext(ctx context.Context) *CreateManagementPackInOrganizationParams
NewCreateManagementPackInOrganizationParamsWithContext creates a new CreateManagementPackInOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewCreateManagementPackInOrganizationParamsWithHTTPClient ¶
func NewCreateManagementPackInOrganizationParamsWithHTTPClient(client *http.Client) *CreateManagementPackInOrganizationParams
NewCreateManagementPackInOrganizationParamsWithHTTPClient creates a new CreateManagementPackInOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateManagementPackInOrganizationParamsWithTimeout ¶
func NewCreateManagementPackInOrganizationParamsWithTimeout(timeout time.Duration) *CreateManagementPackInOrganizationParams
NewCreateManagementPackInOrganizationParamsWithTimeout creates a new CreateManagementPackInOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateManagementPackInOrganizationParams) SetBody ¶
func (o *CreateManagementPackInOrganizationParams) SetBody(body *models_cloudbreak.ManagementPackRequest)
SetBody adds the body to the create management pack in organization params
func (*CreateManagementPackInOrganizationParams) SetContext ¶
func (o *CreateManagementPackInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the create management pack in organization params
func (*CreateManagementPackInOrganizationParams) SetHTTPClient ¶
func (o *CreateManagementPackInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create management pack in organization params
func (*CreateManagementPackInOrganizationParams) SetOrganizationID ¶
func (o *CreateManagementPackInOrganizationParams) SetOrganizationID(organizationID int64)
SetOrganizationID adds the organizationId to the create management pack in organization params
func (*CreateManagementPackInOrganizationParams) SetTimeout ¶
func (o *CreateManagementPackInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create management pack in organization params
func (*CreateManagementPackInOrganizationParams) WithBody ¶
func (o *CreateManagementPackInOrganizationParams) WithBody(body *models_cloudbreak.ManagementPackRequest) *CreateManagementPackInOrganizationParams
WithBody adds the body to the create management pack in organization params
func (*CreateManagementPackInOrganizationParams) WithContext ¶
func (o *CreateManagementPackInOrganizationParams) WithContext(ctx context.Context) *CreateManagementPackInOrganizationParams
WithContext adds the context to the create management pack in organization params
func (*CreateManagementPackInOrganizationParams) WithHTTPClient ¶
func (o *CreateManagementPackInOrganizationParams) WithHTTPClient(client *http.Client) *CreateManagementPackInOrganizationParams
WithHTTPClient adds the HTTPClient to the create management pack in organization params
func (*CreateManagementPackInOrganizationParams) WithOrganizationID ¶
func (o *CreateManagementPackInOrganizationParams) WithOrganizationID(organizationID int64) *CreateManagementPackInOrganizationParams
WithOrganizationID adds the organizationID to the create management pack in organization params
func (*CreateManagementPackInOrganizationParams) WithTimeout ¶
func (o *CreateManagementPackInOrganizationParams) WithTimeout(timeout time.Duration) *CreateManagementPackInOrganizationParams
WithTimeout adds the timeout to the create management pack in organization params
func (*CreateManagementPackInOrganizationParams) WriteToRequest ¶
func (o *CreateManagementPackInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateManagementPackInOrganizationReader ¶
type CreateManagementPackInOrganizationReader struct {
// contains filtered or unexported fields
}
CreateManagementPackInOrganizationReader is a Reader for the CreateManagementPackInOrganization structure.
func (*CreateManagementPackInOrganizationReader) ReadResponse ¶
func (o *CreateManagementPackInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteManagementPackInOrganizationOK ¶
type DeleteManagementPackInOrganizationOK struct {
Payload *models_cloudbreak.ManagementPackResponse
}
DeleteManagementPackInOrganizationOK handles this case with default header values.
successful operation
func NewDeleteManagementPackInOrganizationOK ¶
func NewDeleteManagementPackInOrganizationOK() *DeleteManagementPackInOrganizationOK
NewDeleteManagementPackInOrganizationOK creates a DeleteManagementPackInOrganizationOK with default headers values
func (*DeleteManagementPackInOrganizationOK) Error ¶
func (o *DeleteManagementPackInOrganizationOK) Error() string
type DeleteManagementPackInOrganizationParams ¶
type DeleteManagementPackInOrganizationParams struct { /*Name*/ Name string /*OrganizationID*/ OrganizationID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteManagementPackInOrganizationParams contains all the parameters to send to the API endpoint for the delete management pack in organization operation typically these are written to a http.Request
func NewDeleteManagementPackInOrganizationParams ¶
func NewDeleteManagementPackInOrganizationParams() *DeleteManagementPackInOrganizationParams
NewDeleteManagementPackInOrganizationParams creates a new DeleteManagementPackInOrganizationParams object with the default values initialized.
func NewDeleteManagementPackInOrganizationParamsWithContext ¶
func NewDeleteManagementPackInOrganizationParamsWithContext(ctx context.Context) *DeleteManagementPackInOrganizationParams
NewDeleteManagementPackInOrganizationParamsWithContext creates a new DeleteManagementPackInOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteManagementPackInOrganizationParamsWithHTTPClient ¶
func NewDeleteManagementPackInOrganizationParamsWithHTTPClient(client *http.Client) *DeleteManagementPackInOrganizationParams
NewDeleteManagementPackInOrganizationParamsWithHTTPClient creates a new DeleteManagementPackInOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteManagementPackInOrganizationParamsWithTimeout ¶
func NewDeleteManagementPackInOrganizationParamsWithTimeout(timeout time.Duration) *DeleteManagementPackInOrganizationParams
NewDeleteManagementPackInOrganizationParamsWithTimeout creates a new DeleteManagementPackInOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteManagementPackInOrganizationParams) SetContext ¶
func (o *DeleteManagementPackInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete management pack in organization params
func (*DeleteManagementPackInOrganizationParams) SetHTTPClient ¶
func (o *DeleteManagementPackInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete management pack in organization params
func (*DeleteManagementPackInOrganizationParams) SetName ¶
func (o *DeleteManagementPackInOrganizationParams) SetName(name string)
SetName adds the name to the delete management pack in organization params
func (*DeleteManagementPackInOrganizationParams) SetOrganizationID ¶
func (o *DeleteManagementPackInOrganizationParams) SetOrganizationID(organizationID int64)
SetOrganizationID adds the organizationId to the delete management pack in organization params
func (*DeleteManagementPackInOrganizationParams) SetTimeout ¶
func (o *DeleteManagementPackInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete management pack in organization params
func (*DeleteManagementPackInOrganizationParams) WithContext ¶
func (o *DeleteManagementPackInOrganizationParams) WithContext(ctx context.Context) *DeleteManagementPackInOrganizationParams
WithContext adds the context to the delete management pack in organization params
func (*DeleteManagementPackInOrganizationParams) WithHTTPClient ¶
func (o *DeleteManagementPackInOrganizationParams) WithHTTPClient(client *http.Client) *DeleteManagementPackInOrganizationParams
WithHTTPClient adds the HTTPClient to the delete management pack in organization params
func (*DeleteManagementPackInOrganizationParams) WithName ¶
func (o *DeleteManagementPackInOrganizationParams) WithName(name string) *DeleteManagementPackInOrganizationParams
WithName adds the name to the delete management pack in organization params
func (*DeleteManagementPackInOrganizationParams) WithOrganizationID ¶
func (o *DeleteManagementPackInOrganizationParams) WithOrganizationID(organizationID int64) *DeleteManagementPackInOrganizationParams
WithOrganizationID adds the organizationID to the delete management pack in organization params
func (*DeleteManagementPackInOrganizationParams) WithTimeout ¶
func (o *DeleteManagementPackInOrganizationParams) WithTimeout(timeout time.Duration) *DeleteManagementPackInOrganizationParams
WithTimeout adds the timeout to the delete management pack in organization params
func (*DeleteManagementPackInOrganizationParams) WriteToRequest ¶
func (o *DeleteManagementPackInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteManagementPackInOrganizationReader ¶
type DeleteManagementPackInOrganizationReader struct {
// contains filtered or unexported fields
}
DeleteManagementPackInOrganizationReader is a Reader for the DeleteManagementPackInOrganization structure.
func (*DeleteManagementPackInOrganizationReader) ReadResponse ¶
func (o *DeleteManagementPackInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetManagementPackInOrganizationOK ¶
type GetManagementPackInOrganizationOK struct {
Payload *models_cloudbreak.ManagementPackResponse
}
GetManagementPackInOrganizationOK handles this case with default header values.
successful operation
func NewGetManagementPackInOrganizationOK ¶
func NewGetManagementPackInOrganizationOK() *GetManagementPackInOrganizationOK
NewGetManagementPackInOrganizationOK creates a GetManagementPackInOrganizationOK with default headers values
func (*GetManagementPackInOrganizationOK) Error ¶
func (o *GetManagementPackInOrganizationOK) Error() string
type GetManagementPackInOrganizationParams ¶
type GetManagementPackInOrganizationParams struct { /*Name*/ Name string /*OrganizationID*/ OrganizationID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetManagementPackInOrganizationParams contains all the parameters to send to the API endpoint for the get management pack in organization operation typically these are written to a http.Request
func NewGetManagementPackInOrganizationParams ¶
func NewGetManagementPackInOrganizationParams() *GetManagementPackInOrganizationParams
NewGetManagementPackInOrganizationParams creates a new GetManagementPackInOrganizationParams object with the default values initialized.
func NewGetManagementPackInOrganizationParamsWithContext ¶
func NewGetManagementPackInOrganizationParamsWithContext(ctx context.Context) *GetManagementPackInOrganizationParams
NewGetManagementPackInOrganizationParamsWithContext creates a new GetManagementPackInOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewGetManagementPackInOrganizationParamsWithHTTPClient ¶
func NewGetManagementPackInOrganizationParamsWithHTTPClient(client *http.Client) *GetManagementPackInOrganizationParams
NewGetManagementPackInOrganizationParamsWithHTTPClient creates a new GetManagementPackInOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetManagementPackInOrganizationParamsWithTimeout ¶
func NewGetManagementPackInOrganizationParamsWithTimeout(timeout time.Duration) *GetManagementPackInOrganizationParams
NewGetManagementPackInOrganizationParamsWithTimeout creates a new GetManagementPackInOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetManagementPackInOrganizationParams) SetContext ¶
func (o *GetManagementPackInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the get management pack in organization params
func (*GetManagementPackInOrganizationParams) SetHTTPClient ¶
func (o *GetManagementPackInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get management pack in organization params
func (*GetManagementPackInOrganizationParams) SetName ¶
func (o *GetManagementPackInOrganizationParams) SetName(name string)
SetName adds the name to the get management pack in organization params
func (*GetManagementPackInOrganizationParams) SetOrganizationID ¶
func (o *GetManagementPackInOrganizationParams) SetOrganizationID(organizationID int64)
SetOrganizationID adds the organizationId to the get management pack in organization params
func (*GetManagementPackInOrganizationParams) SetTimeout ¶
func (o *GetManagementPackInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get management pack in organization params
func (*GetManagementPackInOrganizationParams) WithContext ¶
func (o *GetManagementPackInOrganizationParams) WithContext(ctx context.Context) *GetManagementPackInOrganizationParams
WithContext adds the context to the get management pack in organization params
func (*GetManagementPackInOrganizationParams) WithHTTPClient ¶
func (o *GetManagementPackInOrganizationParams) WithHTTPClient(client *http.Client) *GetManagementPackInOrganizationParams
WithHTTPClient adds the HTTPClient to the get management pack in organization params
func (*GetManagementPackInOrganizationParams) WithName ¶
func (o *GetManagementPackInOrganizationParams) WithName(name string) *GetManagementPackInOrganizationParams
WithName adds the name to the get management pack in organization params
func (*GetManagementPackInOrganizationParams) WithOrganizationID ¶
func (o *GetManagementPackInOrganizationParams) WithOrganizationID(organizationID int64) *GetManagementPackInOrganizationParams
WithOrganizationID adds the organizationID to the get management pack in organization params
func (*GetManagementPackInOrganizationParams) WithTimeout ¶
func (o *GetManagementPackInOrganizationParams) WithTimeout(timeout time.Duration) *GetManagementPackInOrganizationParams
WithTimeout adds the timeout to the get management pack in organization params
func (*GetManagementPackInOrganizationParams) WriteToRequest ¶
func (o *GetManagementPackInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetManagementPackInOrganizationReader ¶
type GetManagementPackInOrganizationReader struct {
// contains filtered or unexported fields
}
GetManagementPackInOrganizationReader is a Reader for the GetManagementPackInOrganization structure.
func (*GetManagementPackInOrganizationReader) ReadResponse ¶
func (o *GetManagementPackInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListManagementPacksByOrganizationOK ¶
type ListManagementPacksByOrganizationOK struct {
Payload []*models_cloudbreak.ManagementPackResponse
}
ListManagementPacksByOrganizationOK handles this case with default header values.
successful operation
func NewListManagementPacksByOrganizationOK ¶
func NewListManagementPacksByOrganizationOK() *ListManagementPacksByOrganizationOK
NewListManagementPacksByOrganizationOK creates a ListManagementPacksByOrganizationOK with default headers values
func (*ListManagementPacksByOrganizationOK) Error ¶
func (o *ListManagementPacksByOrganizationOK) Error() string
type ListManagementPacksByOrganizationParams ¶
type ListManagementPacksByOrganizationParams struct { /*OrganizationID*/ OrganizationID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListManagementPacksByOrganizationParams contains all the parameters to send to the API endpoint for the list management packs by organization operation typically these are written to a http.Request
func NewListManagementPacksByOrganizationParams ¶
func NewListManagementPacksByOrganizationParams() *ListManagementPacksByOrganizationParams
NewListManagementPacksByOrganizationParams creates a new ListManagementPacksByOrganizationParams object with the default values initialized.
func NewListManagementPacksByOrganizationParamsWithContext ¶
func NewListManagementPacksByOrganizationParamsWithContext(ctx context.Context) *ListManagementPacksByOrganizationParams
NewListManagementPacksByOrganizationParamsWithContext creates a new ListManagementPacksByOrganizationParams object with the default values initialized, and the ability to set a context for a request
func NewListManagementPacksByOrganizationParamsWithHTTPClient ¶
func NewListManagementPacksByOrganizationParamsWithHTTPClient(client *http.Client) *ListManagementPacksByOrganizationParams
NewListManagementPacksByOrganizationParamsWithHTTPClient creates a new ListManagementPacksByOrganizationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListManagementPacksByOrganizationParamsWithTimeout ¶
func NewListManagementPacksByOrganizationParamsWithTimeout(timeout time.Duration) *ListManagementPacksByOrganizationParams
NewListManagementPacksByOrganizationParamsWithTimeout creates a new ListManagementPacksByOrganizationParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListManagementPacksByOrganizationParams) SetContext ¶
func (o *ListManagementPacksByOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the list management packs by organization params
func (*ListManagementPacksByOrganizationParams) SetHTTPClient ¶
func (o *ListManagementPacksByOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list management packs by organization params
func (*ListManagementPacksByOrganizationParams) SetOrganizationID ¶
func (o *ListManagementPacksByOrganizationParams) SetOrganizationID(organizationID int64)
SetOrganizationID adds the organizationId to the list management packs by organization params
func (*ListManagementPacksByOrganizationParams) SetTimeout ¶
func (o *ListManagementPacksByOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list management packs by organization params
func (*ListManagementPacksByOrganizationParams) WithContext ¶
func (o *ListManagementPacksByOrganizationParams) WithContext(ctx context.Context) *ListManagementPacksByOrganizationParams
WithContext adds the context to the list management packs by organization params
func (*ListManagementPacksByOrganizationParams) WithHTTPClient ¶
func (o *ListManagementPacksByOrganizationParams) WithHTTPClient(client *http.Client) *ListManagementPacksByOrganizationParams
WithHTTPClient adds the HTTPClient to the list management packs by organization params
func (*ListManagementPacksByOrganizationParams) WithOrganizationID ¶
func (o *ListManagementPacksByOrganizationParams) WithOrganizationID(organizationID int64) *ListManagementPacksByOrganizationParams
WithOrganizationID adds the organizationID to the list management packs by organization params
func (*ListManagementPacksByOrganizationParams) WithTimeout ¶
func (o *ListManagementPacksByOrganizationParams) WithTimeout(timeout time.Duration) *ListManagementPacksByOrganizationParams
WithTimeout adds the timeout to the list management packs by organization params
func (*ListManagementPacksByOrganizationParams) WriteToRequest ¶
func (o *ListManagementPacksByOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListManagementPacksByOrganizationReader ¶
type ListManagementPacksByOrganizationReader struct {
// contains filtered or unexported fields
}
ListManagementPacksByOrganizationReader is a Reader for the ListManagementPacksByOrganization structure.
func (*ListManagementPacksByOrganizationReader) ReadResponse ¶
func (o *ListManagementPacksByOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_management_pack_in_organization_parameters.go
- create_management_pack_in_organization_responses.go
- delete_management_pack_in_organization_parameters.go
- delete_management_pack_in_organization_responses.go
- get_management_pack_in_organization_parameters.go
- get_management_pack_in_organization_responses.go
- list_management_packs_by_organization_parameters.go
- list_management_packs_by_organization_responses.go
- v3_organization_id_mpacks_client.go