release_manager

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for release manager API

func New

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

New creates a new release manager API client.

func (*Client) CreateRelease

func (a *Client) CreateRelease(params *CreateReleaseParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReleaseOK, error)

CreateRelease creates release

func (*Client) DeleteRelease

func (a *Client) DeleteRelease(params *DeleteReleaseParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReleaseOK, error)

DeleteRelease deletes release

func (*Client) ListReleases

func (a *Client) ListReleases(params *ListReleasesParams, authInfo runtime.ClientAuthInfoWriter) (*ListReleasesOK, error)

ListReleases lists release

func (*Client) RollbackRelease

func (a *Client) RollbackRelease(params *RollbackReleaseParams, authInfo runtime.ClientAuthInfoWriter) (*RollbackReleaseOK, error)

RollbackRelease rollbacks release

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpgradeRelease

func (a *Client) UpgradeRelease(params *UpgradeReleaseParams, authInfo runtime.ClientAuthInfoWriter) (*UpgradeReleaseOK, error)

UpgradeRelease upgrades release

type CreateReleaseOK

type CreateReleaseOK struct {
	Payload *models.OpenpitrixCreateReleaseResponse
}

CreateReleaseOK handles this case with default header values.

A successful response.

func NewCreateReleaseOK

func NewCreateReleaseOK() *CreateReleaseOK

NewCreateReleaseOK creates a CreateReleaseOK with default headers values

func (*CreateReleaseOK) Error

func (o *CreateReleaseOK) Error() string

type CreateReleaseParams

type CreateReleaseParams struct {

	/*Body*/
	Body *models.OpenpitrixCreateReleaseRequest

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

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

func NewCreateReleaseParams

func NewCreateReleaseParams() *CreateReleaseParams

NewCreateReleaseParams creates a new CreateReleaseParams object with the default values initialized.

func NewCreateReleaseParamsWithContext

func NewCreateReleaseParamsWithContext(ctx context.Context) *CreateReleaseParams

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

func NewCreateReleaseParamsWithHTTPClient

func NewCreateReleaseParamsWithHTTPClient(client *http.Client) *CreateReleaseParams

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

func NewCreateReleaseParamsWithTimeout

func NewCreateReleaseParamsWithTimeout(timeout time.Duration) *CreateReleaseParams

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

func (*CreateReleaseParams) SetBody

SetBody adds the body to the create release params

func (*CreateReleaseParams) SetContext

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

SetContext adds the context to the create release params

func (*CreateReleaseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create release params

func (*CreateReleaseParams) SetTimeout

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

SetTimeout adds the timeout to the create release params

func (*CreateReleaseParams) WithBody

WithBody adds the body to the create release params

func (*CreateReleaseParams) WithContext

WithContext adds the context to the create release params

func (*CreateReleaseParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create release params

func (*CreateReleaseParams) WithTimeout

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

WithTimeout adds the timeout to the create release params

func (*CreateReleaseParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateReleaseReader

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

CreateReleaseReader is a Reader for the CreateRelease structure.

func (*CreateReleaseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteReleaseOK

type DeleteReleaseOK struct {
	Payload *models.OpenpitrixDeleteReleaseResponse
}

DeleteReleaseOK handles this case with default header values.

A successful response.

func NewDeleteReleaseOK

func NewDeleteReleaseOK() *DeleteReleaseOK

NewDeleteReleaseOK creates a DeleteReleaseOK with default headers values

func (*DeleteReleaseOK) Error

func (o *DeleteReleaseOK) Error() string

type DeleteReleaseParams

type DeleteReleaseParams struct {

	/*Body*/
	Body *models.OpenpitrixDeleteReleaseRequest

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

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

func NewDeleteReleaseParams

func NewDeleteReleaseParams() *DeleteReleaseParams

NewDeleteReleaseParams creates a new DeleteReleaseParams object with the default values initialized.

func NewDeleteReleaseParamsWithContext

func NewDeleteReleaseParamsWithContext(ctx context.Context) *DeleteReleaseParams

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

func NewDeleteReleaseParamsWithHTTPClient

func NewDeleteReleaseParamsWithHTTPClient(client *http.Client) *DeleteReleaseParams

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

func NewDeleteReleaseParamsWithTimeout

func NewDeleteReleaseParamsWithTimeout(timeout time.Duration) *DeleteReleaseParams

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

func (*DeleteReleaseParams) SetBody

SetBody adds the body to the delete release params

func (*DeleteReleaseParams) SetContext

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

SetContext adds the context to the delete release params

func (*DeleteReleaseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete release params

func (*DeleteReleaseParams) SetTimeout

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

SetTimeout adds the timeout to the delete release params

func (*DeleteReleaseParams) WithBody

WithBody adds the body to the delete release params

func (*DeleteReleaseParams) WithContext

WithContext adds the context to the delete release params

func (*DeleteReleaseParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete release params

func (*DeleteReleaseParams) WithTimeout

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

WithTimeout adds the timeout to the delete release params

func (*DeleteReleaseParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteReleaseReader

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

DeleteReleaseReader is a Reader for the DeleteRelease structure.

func (*DeleteReleaseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListReleasesOK

type ListReleasesOK struct {
	Payload *models.OpenpitrixListReleaseResponse
}

ListReleasesOK handles this case with default header values.

A successful response.

func NewListReleasesOK

func NewListReleasesOK() *ListReleasesOK

NewListReleasesOK creates a ListReleasesOK with default headers values

func (*ListReleasesOK) Error

func (o *ListReleasesOK) Error() string

type ListReleasesParams

type ListReleasesParams struct {

	/*Namespace*/
	Namespace *string
	/*ReleaseName*/
	ReleaseName *string
	/*RuntimeID*/
	RuntimeID *string
	/*Status*/
	Status *string

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

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

func NewListReleasesParams

func NewListReleasesParams() *ListReleasesParams

NewListReleasesParams creates a new ListReleasesParams object with the default values initialized.

func NewListReleasesParamsWithContext

func NewListReleasesParamsWithContext(ctx context.Context) *ListReleasesParams

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

func NewListReleasesParamsWithHTTPClient

func NewListReleasesParamsWithHTTPClient(client *http.Client) *ListReleasesParams

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

func NewListReleasesParamsWithTimeout

func NewListReleasesParamsWithTimeout(timeout time.Duration) *ListReleasesParams

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

func (*ListReleasesParams) SetContext

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

SetContext adds the context to the list releases params

func (*ListReleasesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list releases params

func (*ListReleasesParams) SetNamespace

func (o *ListReleasesParams) SetNamespace(namespace *string)

SetNamespace adds the namespace to the list releases params

func (*ListReleasesParams) SetReleaseName

func (o *ListReleasesParams) SetReleaseName(releaseName *string)

SetReleaseName adds the releaseName to the list releases params

func (*ListReleasesParams) SetRuntimeID

func (o *ListReleasesParams) SetRuntimeID(runtimeID *string)

SetRuntimeID adds the runtimeId to the list releases params

func (*ListReleasesParams) SetStatus

func (o *ListReleasesParams) SetStatus(status *string)

SetStatus adds the status to the list releases params

func (*ListReleasesParams) SetTimeout

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

SetTimeout adds the timeout to the list releases params

func (*ListReleasesParams) WithContext

WithContext adds the context to the list releases params

func (*ListReleasesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list releases params

func (*ListReleasesParams) WithNamespace

func (o *ListReleasesParams) WithNamespace(namespace *string) *ListReleasesParams

WithNamespace adds the namespace to the list releases params

func (*ListReleasesParams) WithReleaseName

func (o *ListReleasesParams) WithReleaseName(releaseName *string) *ListReleasesParams

WithReleaseName adds the releaseName to the list releases params

func (*ListReleasesParams) WithRuntimeID

func (o *ListReleasesParams) WithRuntimeID(runtimeID *string) *ListReleasesParams

WithRuntimeID adds the runtimeID to the list releases params

func (*ListReleasesParams) WithStatus

func (o *ListReleasesParams) WithStatus(status *string) *ListReleasesParams

WithStatus adds the status to the list releases params

func (*ListReleasesParams) WithTimeout

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

WithTimeout adds the timeout to the list releases params

func (*ListReleasesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListReleasesReader

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

ListReleasesReader is a Reader for the ListReleases structure.

func (*ListReleasesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RollbackReleaseOK

type RollbackReleaseOK struct {
	Payload *models.OpenpitrixRollbackReleaseResponse
}

RollbackReleaseOK handles this case with default header values.

A successful response.

func NewRollbackReleaseOK

func NewRollbackReleaseOK() *RollbackReleaseOK

NewRollbackReleaseOK creates a RollbackReleaseOK with default headers values

func (*RollbackReleaseOK) Error

func (o *RollbackReleaseOK) Error() string

type RollbackReleaseParams

type RollbackReleaseParams struct {

	/*Body*/
	Body *models.OpenpitrixRollbackReleaseRequest

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

RollbackReleaseParams contains all the parameters to send to the API endpoint for the rollback release operation typically these are written to a http.Request

func NewRollbackReleaseParams

func NewRollbackReleaseParams() *RollbackReleaseParams

NewRollbackReleaseParams creates a new RollbackReleaseParams object with the default values initialized.

func NewRollbackReleaseParamsWithContext

func NewRollbackReleaseParamsWithContext(ctx context.Context) *RollbackReleaseParams

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

func NewRollbackReleaseParamsWithHTTPClient

func NewRollbackReleaseParamsWithHTTPClient(client *http.Client) *RollbackReleaseParams

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

func NewRollbackReleaseParamsWithTimeout

func NewRollbackReleaseParamsWithTimeout(timeout time.Duration) *RollbackReleaseParams

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

func (*RollbackReleaseParams) SetBody

SetBody adds the body to the rollback release params

func (*RollbackReleaseParams) SetContext

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

SetContext adds the context to the rollback release params

func (*RollbackReleaseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rollback release params

func (*RollbackReleaseParams) SetTimeout

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

SetTimeout adds the timeout to the rollback release params

func (*RollbackReleaseParams) WithBody

WithBody adds the body to the rollback release params

func (*RollbackReleaseParams) WithContext

WithContext adds the context to the rollback release params

func (*RollbackReleaseParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the rollback release params

func (*RollbackReleaseParams) WithTimeout

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

WithTimeout adds the timeout to the rollback release params

func (*RollbackReleaseParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RollbackReleaseReader

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

RollbackReleaseReader is a Reader for the RollbackRelease structure.

func (*RollbackReleaseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpgradeReleaseOK

type UpgradeReleaseOK struct {
	Payload *models.OpenpitrixUpgradeReleaseResponse
}

UpgradeReleaseOK handles this case with default header values.

A successful response.

func NewUpgradeReleaseOK

func NewUpgradeReleaseOK() *UpgradeReleaseOK

NewUpgradeReleaseOK creates a UpgradeReleaseOK with default headers values

func (*UpgradeReleaseOK) Error

func (o *UpgradeReleaseOK) Error() string

type UpgradeReleaseParams

type UpgradeReleaseParams struct {

	/*Body*/
	Body *models.OpenpitrixUpgradeReleaseRequest

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

UpgradeReleaseParams contains all the parameters to send to the API endpoint for the upgrade release operation typically these are written to a http.Request

func NewUpgradeReleaseParams

func NewUpgradeReleaseParams() *UpgradeReleaseParams

NewUpgradeReleaseParams creates a new UpgradeReleaseParams object with the default values initialized.

func NewUpgradeReleaseParamsWithContext

func NewUpgradeReleaseParamsWithContext(ctx context.Context) *UpgradeReleaseParams

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

func NewUpgradeReleaseParamsWithHTTPClient

func NewUpgradeReleaseParamsWithHTTPClient(client *http.Client) *UpgradeReleaseParams

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

func NewUpgradeReleaseParamsWithTimeout

func NewUpgradeReleaseParamsWithTimeout(timeout time.Duration) *UpgradeReleaseParams

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

func (*UpgradeReleaseParams) SetBody

SetBody adds the body to the upgrade release params

func (*UpgradeReleaseParams) SetContext

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

SetContext adds the context to the upgrade release params

func (*UpgradeReleaseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upgrade release params

func (*UpgradeReleaseParams) SetTimeout

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

SetTimeout adds the timeout to the upgrade release params

func (*UpgradeReleaseParams) WithBody

WithBody adds the body to the upgrade release params

func (*UpgradeReleaseParams) WithContext

WithContext adds the context to the upgrade release params

func (*UpgradeReleaseParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upgrade release params

func (*UpgradeReleaseParams) WithTimeout

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

WithTimeout adds the timeout to the upgrade release params

func (*UpgradeReleaseParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpgradeReleaseReader

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

UpgradeReleaseReader is a Reader for the UpgradeRelease structure.

func (*UpgradeReleaseReader) ReadResponse

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