release_management

package
v0.0.0-...-af0b780 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0, Apache-2.0 Imports: 11 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 management API

func (*Client) CreateRelease

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

CreateRelease creates a release

func (*Client) DeleteRelease

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

DeleteRelease deletes a release

func (*Client) GetListOfRegionReleases

func (a *Client) GetListOfRegionReleases(params *GetListOfRegionReleasesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetListOfRegionReleasesOK, error)

GetListOfRegionReleases lists all releases valid in region

func (*Client) GetListOfReleases

func (a *Client) GetListOfReleases(params *GetListOfReleasesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetListOfReleasesOK, error)

GetListOfReleases lists all releases

func (*Client) Refresh

func (a *Client) Refresh(params *RefreshParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefreshOK, error)

Refresh refreshes a release

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateRelease

func (a *Client) UpdateRelease(params *UpdateReleaseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateReleaseOK, error)

UpdateRelease updates a release

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateRelease(params *CreateReleaseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateReleaseOK, error)

	DeleteRelease(params *DeleteReleaseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteReleaseOK, error)

	GetListOfRegionReleases(params *GetListOfRegionReleasesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetListOfRegionReleasesOK, error)

	GetListOfReleases(params *GetListOfReleasesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetListOfReleasesOK, error)

	Refresh(params *RefreshParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefreshOK, error)

	UpdateRelease(params *UpdateReleaseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateReleaseOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new release management API client.

type CreateReleaseOK

type CreateReleaseOK struct {
	Payload *models.YBPSuccess
}
CreateReleaseOK describes a response with status code 200, with default header values.

successful operation

func NewCreateReleaseOK

func NewCreateReleaseOK() *CreateReleaseOK

NewCreateReleaseOK creates a CreateReleaseOK with default headers values

func (*CreateReleaseOK) Error

func (o *CreateReleaseOK) Error() string

func (*CreateReleaseOK) GetPayload

func (o *CreateReleaseOK) GetPayload() *models.YBPSuccess

type CreateReleaseParams

type CreateReleaseParams struct {

	/* Release.

	   Release data for remote downloading to be created
	*/
	Release *models.ReleaseFormData

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateReleaseParamsWithContext

func NewCreateReleaseParamsWithContext(ctx context.Context) *CreateReleaseParams

NewCreateReleaseParamsWithContext creates a new CreateReleaseParams object with 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 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 ability to set a timeout on a request.

func (*CreateReleaseParams) SetCUUID

func (o *CreateReleaseParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid 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) SetDefaults

func (o *CreateReleaseParams) SetDefaults()

SetDefaults hydrates default values in the create release params (not the query body).

All values with no default are reset to their zero value.

func (*CreateReleaseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create release params

func (*CreateReleaseParams) SetRelease

func (o *CreateReleaseParams) SetRelease(release *models.ReleaseFormData)

SetRelease adds the release 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) WithCUUID

func (o *CreateReleaseParams) WithCUUID(cUUID strfmt.UUID) *CreateReleaseParams

WithCUUID adds the cUUID to the create release params

func (*CreateReleaseParams) WithContext

WithContext adds the context to the create release params

func (*CreateReleaseParams) WithDefaults

func (o *CreateReleaseParams) WithDefaults() *CreateReleaseParams

WithDefaults hydrates default values in the create release params (not the query body).

All values with no default are reset to their zero value.

func (*CreateReleaseParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create release params

func (*CreateReleaseParams) WithRelease

WithRelease adds the release 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.ReleaseMetadata
}
DeleteReleaseOK describes a response with status code 200, with default header values.

successful operation

func NewDeleteReleaseOK

func NewDeleteReleaseOK() *DeleteReleaseOK

NewDeleteReleaseOK creates a DeleteReleaseOK with default headers values

func (*DeleteReleaseOK) Error

func (o *DeleteReleaseOK) Error() string

func (*DeleteReleaseOK) GetPayload

func (o *DeleteReleaseOK) GetPayload() *models.ReleaseMetadata

type DeleteReleaseParams

type DeleteReleaseParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// Name.
	Name string

	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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteReleaseParamsWithContext

func NewDeleteReleaseParamsWithContext(ctx context.Context) *DeleteReleaseParams

NewDeleteReleaseParamsWithContext creates a new DeleteReleaseParams object with 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 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 ability to set a timeout on a request.

func (*DeleteReleaseParams) SetCUUID

func (o *DeleteReleaseParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid 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) SetDefaults

func (o *DeleteReleaseParams) SetDefaults()

SetDefaults hydrates default values in the delete release params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteReleaseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete release params

func (*DeleteReleaseParams) SetName

func (o *DeleteReleaseParams) SetName(name string)

SetName adds the name 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) WithCUUID

func (o *DeleteReleaseParams) WithCUUID(cUUID strfmt.UUID) *DeleteReleaseParams

WithCUUID adds the cUUID to the delete release params

func (*DeleteReleaseParams) WithContext

WithContext adds the context to the delete release params

func (*DeleteReleaseParams) WithDefaults

func (o *DeleteReleaseParams) WithDefaults() *DeleteReleaseParams

WithDefaults hydrates default values in the delete release params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteReleaseParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete release params

func (*DeleteReleaseParams) WithName

func (o *DeleteReleaseParams) WithName(name string) *DeleteReleaseParams

WithName adds the name 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 GetListOfRegionReleasesOK

type GetListOfRegionReleasesOK struct {
	Payload map[string]interface{}
}
GetListOfRegionReleasesOK describes a response with status code 200, with default header values.

successful operation

func NewGetListOfRegionReleasesOK

func NewGetListOfRegionReleasesOK() *GetListOfRegionReleasesOK

NewGetListOfRegionReleasesOK creates a GetListOfRegionReleasesOK with default headers values

func (*GetListOfRegionReleasesOK) Error

func (o *GetListOfRegionReleasesOK) Error() string

func (*GetListOfRegionReleasesOK) GetPayload

func (o *GetListOfRegionReleasesOK) GetPayload() map[string]interface{}

type GetListOfRegionReleasesParams

type GetListOfRegionReleasesParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// IncludeMetadata.
	IncludeMetadata *bool

	// PUUID.
	//
	// Format: uuid
	PUUID strfmt.UUID

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

GetListOfRegionReleasesParams contains all the parameters to send to the API endpoint

for the get list of region releases operation.

Typically these are written to a http.Request.

func NewGetListOfRegionReleasesParams

func NewGetListOfRegionReleasesParams() *GetListOfRegionReleasesParams

NewGetListOfRegionReleasesParams creates a new GetListOfRegionReleasesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetListOfRegionReleasesParamsWithContext

func NewGetListOfRegionReleasesParamsWithContext(ctx context.Context) *GetListOfRegionReleasesParams

NewGetListOfRegionReleasesParamsWithContext creates a new GetListOfRegionReleasesParams object with the ability to set a context for a request.

func NewGetListOfRegionReleasesParamsWithHTTPClient

func NewGetListOfRegionReleasesParamsWithHTTPClient(client *http.Client) *GetListOfRegionReleasesParams

NewGetListOfRegionReleasesParamsWithHTTPClient creates a new GetListOfRegionReleasesParams object with the ability to set a custom HTTPClient for a request.

func NewGetListOfRegionReleasesParamsWithTimeout

func NewGetListOfRegionReleasesParamsWithTimeout(timeout time.Duration) *GetListOfRegionReleasesParams

NewGetListOfRegionReleasesParamsWithTimeout creates a new GetListOfRegionReleasesParams object with the ability to set a timeout on a request.

func (*GetListOfRegionReleasesParams) SetCUUID

func (o *GetListOfRegionReleasesParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the get list of region releases params

func (*GetListOfRegionReleasesParams) SetContext

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

SetContext adds the context to the get list of region releases params

func (*GetListOfRegionReleasesParams) SetDefaults

func (o *GetListOfRegionReleasesParams) SetDefaults()

SetDefaults hydrates default values in the get list of region releases params (not the query body).

All values with no default are reset to their zero value.

func (*GetListOfRegionReleasesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get list of region releases params

func (*GetListOfRegionReleasesParams) SetIncludeMetadata

func (o *GetListOfRegionReleasesParams) SetIncludeMetadata(includeMetadata *bool)

SetIncludeMetadata adds the includeMetadata to the get list of region releases params

func (*GetListOfRegionReleasesParams) SetPUUID

func (o *GetListOfRegionReleasesParams) SetPUUID(pUUID strfmt.UUID)

SetPUUID adds the pUuid to the get list of region releases params

func (*GetListOfRegionReleasesParams) SetTimeout

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

SetTimeout adds the timeout to the get list of region releases params

func (*GetListOfRegionReleasesParams) WithCUUID

WithCUUID adds the cUUID to the get list of region releases params

func (*GetListOfRegionReleasesParams) WithContext

WithContext adds the context to the get list of region releases params

func (*GetListOfRegionReleasesParams) WithDefaults

WithDefaults hydrates default values in the get list of region releases params (not the query body).

All values with no default are reset to their zero value.

func (*GetListOfRegionReleasesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get list of region releases params

func (*GetListOfRegionReleasesParams) WithIncludeMetadata

func (o *GetListOfRegionReleasesParams) WithIncludeMetadata(includeMetadata *bool) *GetListOfRegionReleasesParams

WithIncludeMetadata adds the includeMetadata to the get list of region releases params

func (*GetListOfRegionReleasesParams) WithPUUID

WithPUUID adds the pUUID to the get list of region releases params

func (*GetListOfRegionReleasesParams) WithTimeout

WithTimeout adds the timeout to the get list of region releases params

func (*GetListOfRegionReleasesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetListOfRegionReleasesReader

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

GetListOfRegionReleasesReader is a Reader for the GetListOfRegionReleases structure.

func (*GetListOfRegionReleasesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetListOfReleasesOK

type GetListOfReleasesOK struct {
	Payload map[string]interface{}
}
GetListOfReleasesOK describes a response with status code 200, with default header values.

successful operation

func NewGetListOfReleasesOK

func NewGetListOfReleasesOK() *GetListOfReleasesOK

NewGetListOfReleasesOK creates a GetListOfReleasesOK with default headers values

func (*GetListOfReleasesOK) Error

func (o *GetListOfReleasesOK) Error() string

func (*GetListOfReleasesOK) GetPayload

func (o *GetListOfReleasesOK) GetPayload() map[string]interface{}

type GetListOfReleasesParams

type GetListOfReleasesParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// IncludeMetadata.
	IncludeMetadata *bool

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

GetListOfReleasesParams contains all the parameters to send to the API endpoint

for the get list of releases operation.

Typically these are written to a http.Request.

func NewGetListOfReleasesParams

func NewGetListOfReleasesParams() *GetListOfReleasesParams

NewGetListOfReleasesParams creates a new GetListOfReleasesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetListOfReleasesParamsWithContext

func NewGetListOfReleasesParamsWithContext(ctx context.Context) *GetListOfReleasesParams

NewGetListOfReleasesParamsWithContext creates a new GetListOfReleasesParams object with the ability to set a context for a request.

func NewGetListOfReleasesParamsWithHTTPClient

func NewGetListOfReleasesParamsWithHTTPClient(client *http.Client) *GetListOfReleasesParams

NewGetListOfReleasesParamsWithHTTPClient creates a new GetListOfReleasesParams object with the ability to set a custom HTTPClient for a request.

func NewGetListOfReleasesParamsWithTimeout

func NewGetListOfReleasesParamsWithTimeout(timeout time.Duration) *GetListOfReleasesParams

NewGetListOfReleasesParamsWithTimeout creates a new GetListOfReleasesParams object with the ability to set a timeout on a request.

func (*GetListOfReleasesParams) SetCUUID

func (o *GetListOfReleasesParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the get list of releases params

func (*GetListOfReleasesParams) SetContext

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

SetContext adds the context to the get list of releases params

func (*GetListOfReleasesParams) SetDefaults

func (o *GetListOfReleasesParams) SetDefaults()

SetDefaults hydrates default values in the get list of releases params (not the query body).

All values with no default are reset to their zero value.

func (*GetListOfReleasesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get list of releases params

func (*GetListOfReleasesParams) SetIncludeMetadata

func (o *GetListOfReleasesParams) SetIncludeMetadata(includeMetadata *bool)

SetIncludeMetadata adds the includeMetadata to the get list of releases params

func (*GetListOfReleasesParams) SetTimeout

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

SetTimeout adds the timeout to the get list of releases params

func (*GetListOfReleasesParams) WithCUUID

WithCUUID adds the cUUID to the get list of releases params

func (*GetListOfReleasesParams) WithContext

WithContext adds the context to the get list of releases params

func (*GetListOfReleasesParams) WithDefaults

WithDefaults hydrates default values in the get list of releases params (not the query body).

All values with no default are reset to their zero value.

func (*GetListOfReleasesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get list of releases params

func (*GetListOfReleasesParams) WithIncludeMetadata

func (o *GetListOfReleasesParams) WithIncludeMetadata(includeMetadata *bool) *GetListOfReleasesParams

WithIncludeMetadata adds the includeMetadata to the get list of releases params

func (*GetListOfReleasesParams) WithTimeout

WithTimeout adds the timeout to the get list of releases params

func (*GetListOfReleasesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetListOfReleasesReader

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

GetListOfReleasesReader is a Reader for the GetListOfReleases structure.

func (*GetListOfReleasesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RefreshOK

type RefreshOK struct {
	Payload *models.YBPSuccess
}
RefreshOK describes a response with status code 200, with default header values.

successful operation

func NewRefreshOK

func NewRefreshOK() *RefreshOK

NewRefreshOK creates a RefreshOK with default headers values

func (*RefreshOK) Error

func (o *RefreshOK) Error() string

func (*RefreshOK) GetPayload

func (o *RefreshOK) GetPayload() *models.YBPSuccess

type RefreshParams

type RefreshParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

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

RefreshParams contains all the parameters to send to the API endpoint

for the refresh operation.

Typically these are written to a http.Request.

func NewRefreshParams

func NewRefreshParams() *RefreshParams

NewRefreshParams creates a new RefreshParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRefreshParamsWithContext

func NewRefreshParamsWithContext(ctx context.Context) *RefreshParams

NewRefreshParamsWithContext creates a new RefreshParams object with the ability to set a context for a request.

func NewRefreshParamsWithHTTPClient

func NewRefreshParamsWithHTTPClient(client *http.Client) *RefreshParams

NewRefreshParamsWithHTTPClient creates a new RefreshParams object with the ability to set a custom HTTPClient for a request.

func NewRefreshParamsWithTimeout

func NewRefreshParamsWithTimeout(timeout time.Duration) *RefreshParams

NewRefreshParamsWithTimeout creates a new RefreshParams object with the ability to set a timeout on a request.

func (*RefreshParams) SetCUUID

func (o *RefreshParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the refresh params

func (*RefreshParams) SetContext

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

SetContext adds the context to the refresh params

func (*RefreshParams) SetDefaults

func (o *RefreshParams) SetDefaults()

SetDefaults hydrates default values in the refresh params (not the query body).

All values with no default are reset to their zero value.

func (*RefreshParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the refresh params

func (*RefreshParams) SetTimeout

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

SetTimeout adds the timeout to the refresh params

func (*RefreshParams) WithCUUID

func (o *RefreshParams) WithCUUID(cUUID strfmt.UUID) *RefreshParams

WithCUUID adds the cUUID to the refresh params

func (*RefreshParams) WithContext

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

WithContext adds the context to the refresh params

func (*RefreshParams) WithDefaults

func (o *RefreshParams) WithDefaults() *RefreshParams

WithDefaults hydrates default values in the refresh params (not the query body).

All values with no default are reset to their zero value.

func (*RefreshParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the refresh params

func (*RefreshParams) WithTimeout

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

WithTimeout adds the timeout to the refresh params

func (*RefreshParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RefreshReader

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

RefreshReader is a Reader for the Refresh structure.

func (*RefreshReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateReleaseOK

type UpdateReleaseOK struct {
	Payload *models.ReleaseMetadata
}
UpdateReleaseOK describes a response with status code 200, with default header values.

successful operation

func NewUpdateReleaseOK

func NewUpdateReleaseOK() *UpdateReleaseOK

NewUpdateReleaseOK creates a UpdateReleaseOK with default headers values

func (*UpdateReleaseOK) Error

func (o *UpdateReleaseOK) Error() string

func (*UpdateReleaseOK) GetPayload

func (o *UpdateReleaseOK) GetPayload() *models.ReleaseMetadata

type UpdateReleaseParams

type UpdateReleaseParams struct {

	/* Release.

	   Release data to be updated
	*/
	Release interface{}

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// Name.
	Name string

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

UpdateReleaseParams contains all the parameters to send to the API endpoint

for the update release operation.

Typically these are written to a http.Request.

func NewUpdateReleaseParams

func NewUpdateReleaseParams() *UpdateReleaseParams

NewUpdateReleaseParams creates a new UpdateReleaseParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateReleaseParamsWithContext

func NewUpdateReleaseParamsWithContext(ctx context.Context) *UpdateReleaseParams

NewUpdateReleaseParamsWithContext creates a new UpdateReleaseParams object with the ability to set a context for a request.

func NewUpdateReleaseParamsWithHTTPClient

func NewUpdateReleaseParamsWithHTTPClient(client *http.Client) *UpdateReleaseParams

NewUpdateReleaseParamsWithHTTPClient creates a new UpdateReleaseParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateReleaseParamsWithTimeout

func NewUpdateReleaseParamsWithTimeout(timeout time.Duration) *UpdateReleaseParams

NewUpdateReleaseParamsWithTimeout creates a new UpdateReleaseParams object with the ability to set a timeout on a request.

func (*UpdateReleaseParams) SetCUUID

func (o *UpdateReleaseParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the update release params

func (*UpdateReleaseParams) SetContext

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

SetContext adds the context to the update release params

func (*UpdateReleaseParams) SetDefaults

func (o *UpdateReleaseParams) SetDefaults()

SetDefaults hydrates default values in the update release params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateReleaseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update release params

func (*UpdateReleaseParams) SetName

func (o *UpdateReleaseParams) SetName(name string)

SetName adds the name to the update release params

func (*UpdateReleaseParams) SetRelease

func (o *UpdateReleaseParams) SetRelease(release interface{})

SetRelease adds the release to the update release params

func (*UpdateReleaseParams) SetTimeout

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

SetTimeout adds the timeout to the update release params

func (*UpdateReleaseParams) WithCUUID

func (o *UpdateReleaseParams) WithCUUID(cUUID strfmt.UUID) *UpdateReleaseParams

WithCUUID adds the cUUID to the update release params

func (*UpdateReleaseParams) WithContext

WithContext adds the context to the update release params

func (*UpdateReleaseParams) WithDefaults

func (o *UpdateReleaseParams) WithDefaults() *UpdateReleaseParams

WithDefaults hydrates default values in the update release params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateReleaseParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update release params

func (*UpdateReleaseParams) WithName

func (o *UpdateReleaseParams) WithName(name string) *UpdateReleaseParams

WithName adds the name to the update release params

func (*UpdateReleaseParams) WithRelease

func (o *UpdateReleaseParams) WithRelease(release interface{}) *UpdateReleaseParams

WithRelease adds the release to the update release params

func (*UpdateReleaseParams) WithTimeout

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

WithTimeout adds the timeout to the update release params

func (*UpdateReleaseParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateReleaseReader

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

UpdateReleaseReader is a Reader for the UpdateRelease structure.

func (*UpdateReleaseReader) ReadResponse

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