system_cluster

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2018 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyBundleInternalServerError

type ApplyBundleInternalServerError struct {
}

ApplyBundleInternalServerError handles this case with default header values.

Error while applying content pack

func NewApplyBundleInternalServerError

func NewApplyBundleInternalServerError() *ApplyBundleInternalServerError

NewApplyBundleInternalServerError creates a ApplyBundleInternalServerError with default headers values

func (*ApplyBundleInternalServerError) Error

type ApplyBundleNotFound

type ApplyBundleNotFound struct {
}

ApplyBundleNotFound handles this case with default header values.

Missing or invalid content pack

func NewApplyBundleNotFound

func NewApplyBundleNotFound() *ApplyBundleNotFound

NewApplyBundleNotFound creates a ApplyBundleNotFound with default headers values

func (*ApplyBundleNotFound) Error

func (o *ApplyBundleNotFound) Error() string

type ApplyBundleOK

type ApplyBundleOK struct {
}

ApplyBundleOK handles this case with default header values.

No response was specified

func NewApplyBundleOK

func NewApplyBundleOK() *ApplyBundleOK

NewApplyBundleOK creates a ApplyBundleOK with default headers values

func (*ApplyBundleOK) Error

func (o *ApplyBundleOK) Error() string

type ApplyBundleParams

type ApplyBundleParams struct {

	/*BundleID
	  Content pack ID

	*/
	BundleID string

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

ApplyBundleParams contains all the parameters to send to the API endpoint for the apply bundle operation typically these are written to a http.Request

func NewApplyBundleParams

func NewApplyBundleParams() *ApplyBundleParams

NewApplyBundleParams creates a new ApplyBundleParams object with the default values initialized.

func NewApplyBundleParamsWithContext

func NewApplyBundleParamsWithContext(ctx context.Context) *ApplyBundleParams

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

func NewApplyBundleParamsWithHTTPClient

func NewApplyBundleParamsWithHTTPClient(client *http.Client) *ApplyBundleParams

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

func NewApplyBundleParamsWithTimeout

func NewApplyBundleParamsWithTimeout(timeout time.Duration) *ApplyBundleParams

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

func (*ApplyBundleParams) SetBundleID

func (o *ApplyBundleParams) SetBundleID(bundleID string)

SetBundleID adds the bundleId to the apply bundle params

func (*ApplyBundleParams) SetContext

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

SetContext adds the context to the apply bundle params

func (*ApplyBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the apply bundle params

func (*ApplyBundleParams) SetTimeout

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

SetTimeout adds the timeout to the apply bundle params

func (*ApplyBundleParams) WithBundleID

func (o *ApplyBundleParams) WithBundleID(bundleID string) *ApplyBundleParams

WithBundleID adds the bundleID to the apply bundle params

func (*ApplyBundleParams) WithContext

func (o *ApplyBundleParams) WithContext(ctx context.Context) *ApplyBundleParams

WithContext adds the context to the apply bundle params

func (*ApplyBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the apply bundle params

func (*ApplyBundleParams) WithTimeout

func (o *ApplyBundleParams) WithTimeout(timeout time.Duration) *ApplyBundleParams

WithTimeout adds the timeout to the apply bundle params

func (*ApplyBundleParams) WriteToRequest

func (o *ApplyBundleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ApplyBundleReader

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

ApplyBundleReader is a Reader for the ApplyBundle structure.

func (*ApplyBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for system cluster API

func New

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

New creates a new system cluster API client.

func (*Client) ApplyBundle

func (a *Client) ApplyBundle(params *ApplyBundleParams, authInfo runtime.ClientAuthInfoWriter) (*ApplyBundleOK, error)

ApplyBundle sets up entities described by content pack

func (*Client) CreateBundle

func (a *Client) CreateBundle(params *CreateBundleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateBundleOK, error)

CreateBundle uploads a content pack

func (*Client) ExportBundle

func (a *Client) ExportBundle(params *ExportBundleParams, authInfo runtime.ClientAuthInfoWriter) (*ExportBundleOK, error)

ExportBundle exports entities as a content pack

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) ShowBundle

func (a *Client) ShowBundle(params *ShowBundleParams, authInfo runtime.ClientAuthInfoWriter) (*ShowBundleOK, error)

ShowBundle shows content pack

type CreateBundleBadRequest

type CreateBundleBadRequest struct {
}

CreateBundleBadRequest handles this case with default header values.

Missing or invalid content pack

func NewCreateBundleBadRequest

func NewCreateBundleBadRequest() *CreateBundleBadRequest

NewCreateBundleBadRequest creates a CreateBundleBadRequest with default headers values

func (*CreateBundleBadRequest) Error

func (o *CreateBundleBadRequest) Error() string

type CreateBundleInternalServerError

type CreateBundleInternalServerError struct {
}

CreateBundleInternalServerError handles this case with default header values.

Error while saving content pack

func NewCreateBundleInternalServerError

func NewCreateBundleInternalServerError() *CreateBundleInternalServerError

NewCreateBundleInternalServerError creates a CreateBundleInternalServerError with default headers values

func (*CreateBundleInternalServerError) Error

type CreateBundleOK

type CreateBundleOK struct {
}

CreateBundleOK handles this case with default header values.

No response was specified

func NewCreateBundleOK

func NewCreateBundleOK() *CreateBundleOK

NewCreateBundleOK creates a CreateBundleOK with default headers values

func (*CreateBundleOK) Error

func (o *CreateBundleOK) Error() string

type CreateBundleParams

type CreateBundleParams struct {

	/*RequestBody
	  Content pack

	*/
	RequestBody *models.ConfigurationBundle

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

CreateBundleParams contains all the parameters to send to the API endpoint for the create bundle operation typically these are written to a http.Request

func NewCreateBundleParams

func NewCreateBundleParams() *CreateBundleParams

NewCreateBundleParams creates a new CreateBundleParams object with the default values initialized.

func NewCreateBundleParamsWithContext

func NewCreateBundleParamsWithContext(ctx context.Context) *CreateBundleParams

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

func NewCreateBundleParamsWithHTTPClient

func NewCreateBundleParamsWithHTTPClient(client *http.Client) *CreateBundleParams

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

func NewCreateBundleParamsWithTimeout

func NewCreateBundleParamsWithTimeout(timeout time.Duration) *CreateBundleParams

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

func (*CreateBundleParams) SetContext

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

SetContext adds the context to the create bundle params

func (*CreateBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create bundle params

func (*CreateBundleParams) SetRequestBody

func (o *CreateBundleParams) SetRequestBody(requestBody *models.ConfigurationBundle)

SetRequestBody adds the requestBody to the create bundle params

func (*CreateBundleParams) SetTimeout

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

SetTimeout adds the timeout to the create bundle params

func (*CreateBundleParams) WithContext

WithContext adds the context to the create bundle params

func (*CreateBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create bundle params

func (*CreateBundleParams) WithRequestBody

func (o *CreateBundleParams) WithRequestBody(requestBody *models.ConfigurationBundle) *CreateBundleParams

WithRequestBody adds the requestBody to the create bundle params

func (*CreateBundleParams) WithTimeout

func (o *CreateBundleParams) WithTimeout(timeout time.Duration) *CreateBundleParams

WithTimeout adds the timeout to the create bundle params

func (*CreateBundleParams) WriteToRequest

func (o *CreateBundleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateBundleReader

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

CreateBundleReader is a Reader for the CreateBundle structure.

func (*CreateBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBundleInternalServerError

type DeleteBundleInternalServerError struct {
}

DeleteBundleInternalServerError handles this case with default header values.

Error while applying content pack

func NewDeleteBundleInternalServerError

func NewDeleteBundleInternalServerError() *DeleteBundleInternalServerError

NewDeleteBundleInternalServerError creates a DeleteBundleInternalServerError with default headers values

func (*DeleteBundleInternalServerError) Error

type DeleteBundleNotFound

type DeleteBundleNotFound struct {
}

DeleteBundleNotFound handles this case with default header values.

Missing or invalid content pack

func NewDeleteBundleNotFound

func NewDeleteBundleNotFound() *DeleteBundleNotFound

NewDeleteBundleNotFound creates a DeleteBundleNotFound with default headers values

func (*DeleteBundleNotFound) Error

func (o *DeleteBundleNotFound) Error() string

type DeleteBundleOK

type DeleteBundleOK struct {
}

DeleteBundleOK handles this case with default header values.

No response was specified

func NewDeleteBundleOK

func NewDeleteBundleOK() *DeleteBundleOK

NewDeleteBundleOK creates a DeleteBundleOK with default headers values

func (*DeleteBundleOK) Error

func (o *DeleteBundleOK) Error() string

type DeleteBundleParams

type DeleteBundleParams struct {

	/*BundleID
	  Content pack ID

	*/
	BundleID string

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

DeleteBundleParams contains all the parameters to send to the API endpoint for the delete bundle operation typically these are written to a http.Request

func NewDeleteBundleParams

func NewDeleteBundleParams() *DeleteBundleParams

NewDeleteBundleParams creates a new DeleteBundleParams object with the default values initialized.

func NewDeleteBundleParamsWithContext

func NewDeleteBundleParamsWithContext(ctx context.Context) *DeleteBundleParams

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

func NewDeleteBundleParamsWithHTTPClient

func NewDeleteBundleParamsWithHTTPClient(client *http.Client) *DeleteBundleParams

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

func NewDeleteBundleParamsWithTimeout

func NewDeleteBundleParamsWithTimeout(timeout time.Duration) *DeleteBundleParams

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

func (*DeleteBundleParams) SetBundleID

func (o *DeleteBundleParams) SetBundleID(bundleID string)

SetBundleID adds the bundleId to the delete bundle params

func (*DeleteBundleParams) SetContext

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

SetContext adds the context to the delete bundle params

func (*DeleteBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete bundle params

func (*DeleteBundleParams) SetTimeout

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

SetTimeout adds the timeout to the delete bundle params

func (*DeleteBundleParams) WithBundleID

func (o *DeleteBundleParams) WithBundleID(bundleID string) *DeleteBundleParams

WithBundleID adds the bundleID to the delete bundle params

func (*DeleteBundleParams) WithContext

WithContext adds the context to the delete bundle params

func (*DeleteBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete bundle params

func (*DeleteBundleParams) WithTimeout

func (o *DeleteBundleParams) WithTimeout(timeout time.Duration) *DeleteBundleParams

WithTimeout adds the timeout to the delete bundle params

func (*DeleteBundleParams) WriteToRequest

func (o *DeleteBundleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteBundleReader

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

DeleteBundleReader is a Reader for the DeleteBundle structure.

func (*DeleteBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportBundleInternalServerError

type ExportBundleInternalServerError struct {
}

ExportBundleInternalServerError handles this case with default header values.

Error while exporting content pack

func NewExportBundleInternalServerError

func NewExportBundleInternalServerError() *ExportBundleInternalServerError

NewExportBundleInternalServerError creates a ExportBundleInternalServerError with default headers values

func (*ExportBundleInternalServerError) Error

type ExportBundleOK

type ExportBundleOK struct {
	Payload *models.ConfigurationBundle
}

ExportBundleOK handles this case with default header values.

No response was specified

func NewExportBundleOK

func NewExportBundleOK() *ExportBundleOK

NewExportBundleOK creates a ExportBundleOK with default headers values

func (*ExportBundleOK) Error

func (o *ExportBundleOK) Error() string

type ExportBundleParams

type ExportBundleParams struct {

	/*ExportBundle
	  Export content pack

	*/
	ExportBundle *models.ExportBundle

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

ExportBundleParams contains all the parameters to send to the API endpoint for the export bundle operation typically these are written to a http.Request

func NewExportBundleParams

func NewExportBundleParams() *ExportBundleParams

NewExportBundleParams creates a new ExportBundleParams object with the default values initialized.

func NewExportBundleParamsWithContext

func NewExportBundleParamsWithContext(ctx context.Context) *ExportBundleParams

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

func NewExportBundleParamsWithHTTPClient

func NewExportBundleParamsWithHTTPClient(client *http.Client) *ExportBundleParams

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

func NewExportBundleParamsWithTimeout

func NewExportBundleParamsWithTimeout(timeout time.Duration) *ExportBundleParams

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

func (*ExportBundleParams) SetContext

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

SetContext adds the context to the export bundle params

func (*ExportBundleParams) SetExportBundle

func (o *ExportBundleParams) SetExportBundle(exportBundle *models.ExportBundle)

SetExportBundle adds the exportBundle to the export bundle params

func (*ExportBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export bundle params

func (*ExportBundleParams) SetTimeout

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

SetTimeout adds the timeout to the export bundle params

func (*ExportBundleParams) WithContext

WithContext adds the context to the export bundle params

func (*ExportBundleParams) WithExportBundle

func (o *ExportBundleParams) WithExportBundle(exportBundle *models.ExportBundle) *ExportBundleParams

WithExportBundle adds the exportBundle to the export bundle params

func (*ExportBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the export bundle params

func (*ExportBundleParams) WithTimeout

func (o *ExportBundleParams) WithTimeout(timeout time.Duration) *ExportBundleParams

WithTimeout adds the timeout to the export bundle params

func (*ExportBundleParams) WriteToRequest

func (o *ExportBundleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExportBundleReader

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

ExportBundleReader is a Reader for the ExportBundle structure.

func (*ExportBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListBundlesInternalServerError

type ListBundlesInternalServerError struct {
}

ListBundlesInternalServerError handles this case with default header values.

Error loading content packs

func NewListBundlesInternalServerError

func NewListBundlesInternalServerError() *ListBundlesInternalServerError

NewListBundlesInternalServerError creates a ListBundlesInternalServerError with default headers values

func (*ListBundlesInternalServerError) Error

type ListBundlesOK

type ListBundlesOK struct {
	Payload ListBundlesOKBody
}

ListBundlesOK handles this case with default header values.

No response was specified

func NewListBundlesOK

func NewListBundlesOK() *ListBundlesOK

NewListBundlesOK creates a ListBundlesOK with default headers values

func (*ListBundlesOK) Error

func (o *ListBundlesOK) Error() string

type ListBundlesOKBody

type ListBundlesOKBody interface{}

ListBundlesOKBody list bundles o k body swagger:model ListBundlesOKBody

type ListBundlesParams

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

ListBundlesParams contains all the parameters to send to the API endpoint for the list bundles operation typically these are written to a http.Request

func NewListBundlesParams

func NewListBundlesParams() *ListBundlesParams

NewListBundlesParams creates a new ListBundlesParams object with the default values initialized.

func NewListBundlesParamsWithContext

func NewListBundlesParamsWithContext(ctx context.Context) *ListBundlesParams

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

func NewListBundlesParamsWithHTTPClient

func NewListBundlesParamsWithHTTPClient(client *http.Client) *ListBundlesParams

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

func NewListBundlesParamsWithTimeout

func NewListBundlesParamsWithTimeout(timeout time.Duration) *ListBundlesParams

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

func (*ListBundlesParams) SetContext

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

SetContext adds the context to the list bundles params

func (*ListBundlesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list bundles params

func (*ListBundlesParams) SetTimeout

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

SetTimeout adds the timeout to the list bundles params

func (*ListBundlesParams) WithContext

func (o *ListBundlesParams) WithContext(ctx context.Context) *ListBundlesParams

WithContext adds the context to the list bundles params

func (*ListBundlesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list bundles params

func (*ListBundlesParams) WithTimeout

func (o *ListBundlesParams) WithTimeout(timeout time.Duration) *ListBundlesParams

WithTimeout adds the timeout to the list bundles params

func (*ListBundlesParams) WriteToRequest

func (o *ListBundlesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListBundlesReader

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

ListBundlesReader is a Reader for the ListBundles structure.

func (*ListBundlesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ShowBundleInternalServerError

type ShowBundleInternalServerError struct {
}

ShowBundleInternalServerError handles this case with default header values.

Error while loading content pack

func NewShowBundleInternalServerError

func NewShowBundleInternalServerError() *ShowBundleInternalServerError

NewShowBundleInternalServerError creates a ShowBundleInternalServerError with default headers values

func (*ShowBundleInternalServerError) Error

type ShowBundleNotFound

type ShowBundleNotFound struct {
}

ShowBundleNotFound handles this case with default header values.

Missing or invalid content pack

func NewShowBundleNotFound

func NewShowBundleNotFound() *ShowBundleNotFound

NewShowBundleNotFound creates a ShowBundleNotFound with default headers values

func (*ShowBundleNotFound) Error

func (o *ShowBundleNotFound) Error() string

type ShowBundleOK

type ShowBundleOK struct {
	Payload *models.ConfigurationBundle
}

ShowBundleOK handles this case with default header values.

No response was specified

func NewShowBundleOK

func NewShowBundleOK() *ShowBundleOK

NewShowBundleOK creates a ShowBundleOK with default headers values

func (*ShowBundleOK) Error

func (o *ShowBundleOK) Error() string

type ShowBundleParams

type ShowBundleParams struct {

	/*BundleID
	  Content pack ID

	*/
	BundleID string

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

ShowBundleParams contains all the parameters to send to the API endpoint for the show bundle operation typically these are written to a http.Request

func NewShowBundleParams

func NewShowBundleParams() *ShowBundleParams

NewShowBundleParams creates a new ShowBundleParams object with the default values initialized.

func NewShowBundleParamsWithContext

func NewShowBundleParamsWithContext(ctx context.Context) *ShowBundleParams

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

func NewShowBundleParamsWithHTTPClient

func NewShowBundleParamsWithHTTPClient(client *http.Client) *ShowBundleParams

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

func NewShowBundleParamsWithTimeout

func NewShowBundleParamsWithTimeout(timeout time.Duration) *ShowBundleParams

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

func (*ShowBundleParams) SetBundleID

func (o *ShowBundleParams) SetBundleID(bundleID string)

SetBundleID adds the bundleId to the show bundle params

func (*ShowBundleParams) SetContext

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

SetContext adds the context to the show bundle params

func (*ShowBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the show bundle params

func (*ShowBundleParams) SetTimeout

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

SetTimeout adds the timeout to the show bundle params

func (*ShowBundleParams) WithBundleID

func (o *ShowBundleParams) WithBundleID(bundleID string) *ShowBundleParams

WithBundleID adds the bundleID to the show bundle params

func (*ShowBundleParams) WithContext

func (o *ShowBundleParams) WithContext(ctx context.Context) *ShowBundleParams

WithContext adds the context to the show bundle params

func (*ShowBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the show bundle params

func (*ShowBundleParams) WithTimeout

func (o *ShowBundleParams) WithTimeout(timeout time.Duration) *ShowBundleParams

WithTimeout adds the timeout to the show bundle params

func (*ShowBundleParams) WriteToRequest

func (o *ShowBundleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ShowBundleReader

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

ShowBundleReader is a Reader for the ShowBundle structure.

func (*ShowBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateBundleBadRequest

type UpdateBundleBadRequest struct {
}

UpdateBundleBadRequest handles this case with default header values.

Missing or invalid content pack

func NewUpdateBundleBadRequest

func NewUpdateBundleBadRequest() *UpdateBundleBadRequest

NewUpdateBundleBadRequest creates a UpdateBundleBadRequest with default headers values

func (*UpdateBundleBadRequest) Error

func (o *UpdateBundleBadRequest) Error() string

type UpdateBundleInternalServerError

type UpdateBundleInternalServerError struct {
}

UpdateBundleInternalServerError handles this case with default header values.

Error while updating content pack

func NewUpdateBundleInternalServerError

func NewUpdateBundleInternalServerError() *UpdateBundleInternalServerError

NewUpdateBundleInternalServerError creates a UpdateBundleInternalServerError with default headers values

func (*UpdateBundleInternalServerError) Error

type UpdateBundleOK

type UpdateBundleOK struct {
}

UpdateBundleOK handles this case with default header values.

No response was specified

func NewUpdateBundleOK

func NewUpdateBundleOK() *UpdateBundleOK

NewUpdateBundleOK creates a UpdateBundleOK with default headers values

func (*UpdateBundleOK) Error

func (o *UpdateBundleOK) Error() string

type UpdateBundleParams

type UpdateBundleParams struct {

	/*RequestBody
	  Content pack

	*/
	RequestBody *models.ConfigurationBundle
	/*BundleID
	  Content pack ID

	*/
	BundleID string

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

UpdateBundleParams contains all the parameters to send to the API endpoint for the update bundle operation typically these are written to a http.Request

func NewUpdateBundleParams

func NewUpdateBundleParams() *UpdateBundleParams

NewUpdateBundleParams creates a new UpdateBundleParams object with the default values initialized.

func NewUpdateBundleParamsWithContext

func NewUpdateBundleParamsWithContext(ctx context.Context) *UpdateBundleParams

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

func NewUpdateBundleParamsWithHTTPClient

func NewUpdateBundleParamsWithHTTPClient(client *http.Client) *UpdateBundleParams

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

func NewUpdateBundleParamsWithTimeout

func NewUpdateBundleParamsWithTimeout(timeout time.Duration) *UpdateBundleParams

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

func (*UpdateBundleParams) SetBundleID

func (o *UpdateBundleParams) SetBundleID(bundleID string)

SetBundleID adds the bundleId to the update bundle params

func (*UpdateBundleParams) SetContext

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

SetContext adds the context to the update bundle params

func (*UpdateBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update bundle params

func (*UpdateBundleParams) SetRequestBody

func (o *UpdateBundleParams) SetRequestBody(requestBody *models.ConfigurationBundle)

SetRequestBody adds the requestBody to the update bundle params

func (*UpdateBundleParams) SetTimeout

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

SetTimeout adds the timeout to the update bundle params

func (*UpdateBundleParams) WithBundleID

func (o *UpdateBundleParams) WithBundleID(bundleID string) *UpdateBundleParams

WithBundleID adds the bundleID to the update bundle params

func (*UpdateBundleParams) WithContext

WithContext adds the context to the update bundle params

func (*UpdateBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update bundle params

func (*UpdateBundleParams) WithRequestBody

func (o *UpdateBundleParams) WithRequestBody(requestBody *models.ConfigurationBundle) *UpdateBundleParams

WithRequestBody adds the requestBody to the update bundle params

func (*UpdateBundleParams) WithTimeout

func (o *UpdateBundleParams) WithTimeout(timeout time.Duration) *UpdateBundleParams

WithTimeout adds the timeout to the update bundle params

func (*UpdateBundleParams) WriteToRequest

func (o *UpdateBundleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateBundleReader

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

UpdateBundleReader is a Reader for the UpdateBundle structure.

func (*UpdateBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL