Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateRelease(params *CreateReleaseParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateReleaseOK, error)
- func (a *Client) DeleteRelease(params *DeleteReleaseParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteReleaseOK, error)
- func (a *Client) GetListOfRegionReleases(params *GetListOfRegionReleasesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetListOfRegionReleasesOK, error)
- func (a *Client) GetListOfReleases(params *GetListOfReleasesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetListOfReleasesOK, error)
- func (a *Client) Refresh(params *RefreshParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RefreshOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateRelease(params *UpdateReleaseParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateReleaseOK, error)
- type ClientOption
- type ClientService
- type CreateReleaseOK
- type CreateReleaseParams
- func (o *CreateReleaseParams) SetCUUID(cUUID strfmt.UUID)
- func (o *CreateReleaseParams) SetContext(ctx context.Context)
- func (o *CreateReleaseParams) SetDefaults()
- func (o *CreateReleaseParams) SetHTTPClient(client *http.Client)
- func (o *CreateReleaseParams) SetRelease(release *models.ReleaseFormData)
- func (o *CreateReleaseParams) SetTimeout(timeout time.Duration)
- func (o *CreateReleaseParams) WithCUUID(cUUID strfmt.UUID) *CreateReleaseParams
- func (o *CreateReleaseParams) WithContext(ctx context.Context) *CreateReleaseParams
- func (o *CreateReleaseParams) WithDefaults() *CreateReleaseParams
- func (o *CreateReleaseParams) WithHTTPClient(client *http.Client) *CreateReleaseParams
- func (o *CreateReleaseParams) WithRelease(release *models.ReleaseFormData) *CreateReleaseParams
- func (o *CreateReleaseParams) WithTimeout(timeout time.Duration) *CreateReleaseParams
- func (o *CreateReleaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateReleaseReader
- type DeleteReleaseOK
- type DeleteReleaseParams
- func (o *DeleteReleaseParams) SetCUUID(cUUID strfmt.UUID)
- func (o *DeleteReleaseParams) SetContext(ctx context.Context)
- func (o *DeleteReleaseParams) SetDefaults()
- func (o *DeleteReleaseParams) SetHTTPClient(client *http.Client)
- func (o *DeleteReleaseParams) SetName(name string)
- func (o *DeleteReleaseParams) SetTimeout(timeout time.Duration)
- func (o *DeleteReleaseParams) WithCUUID(cUUID strfmt.UUID) *DeleteReleaseParams
- func (o *DeleteReleaseParams) WithContext(ctx context.Context) *DeleteReleaseParams
- func (o *DeleteReleaseParams) WithDefaults() *DeleteReleaseParams
- func (o *DeleteReleaseParams) WithHTTPClient(client *http.Client) *DeleteReleaseParams
- func (o *DeleteReleaseParams) WithName(name string) *DeleteReleaseParams
- func (o *DeleteReleaseParams) WithTimeout(timeout time.Duration) *DeleteReleaseParams
- func (o *DeleteReleaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReleaseReader
- type GetListOfRegionReleasesOK
- type GetListOfRegionReleasesParams
- func NewGetListOfRegionReleasesParams() *GetListOfRegionReleasesParams
- func NewGetListOfRegionReleasesParamsWithContext(ctx context.Context) *GetListOfRegionReleasesParams
- func NewGetListOfRegionReleasesParamsWithHTTPClient(client *http.Client) *GetListOfRegionReleasesParams
- func NewGetListOfRegionReleasesParamsWithTimeout(timeout time.Duration) *GetListOfRegionReleasesParams
- func (o *GetListOfRegionReleasesParams) SetCUUID(cUUID strfmt.UUID)
- func (o *GetListOfRegionReleasesParams) SetContext(ctx context.Context)
- func (o *GetListOfRegionReleasesParams) SetDefaults()
- func (o *GetListOfRegionReleasesParams) SetHTTPClient(client *http.Client)
- func (o *GetListOfRegionReleasesParams) SetIncludeMetadata(includeMetadata *bool)
- func (o *GetListOfRegionReleasesParams) SetPUUID(pUUID strfmt.UUID)
- func (o *GetListOfRegionReleasesParams) SetTimeout(timeout time.Duration)
- func (o *GetListOfRegionReleasesParams) WithCUUID(cUUID strfmt.UUID) *GetListOfRegionReleasesParams
- func (o *GetListOfRegionReleasesParams) WithContext(ctx context.Context) *GetListOfRegionReleasesParams
- func (o *GetListOfRegionReleasesParams) WithDefaults() *GetListOfRegionReleasesParams
- func (o *GetListOfRegionReleasesParams) WithHTTPClient(client *http.Client) *GetListOfRegionReleasesParams
- func (o *GetListOfRegionReleasesParams) WithIncludeMetadata(includeMetadata *bool) *GetListOfRegionReleasesParams
- func (o *GetListOfRegionReleasesParams) WithPUUID(pUUID strfmt.UUID) *GetListOfRegionReleasesParams
- func (o *GetListOfRegionReleasesParams) WithTimeout(timeout time.Duration) *GetListOfRegionReleasesParams
- func (o *GetListOfRegionReleasesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetListOfRegionReleasesReader
- type GetListOfReleasesOK
- type GetListOfReleasesParams
- func NewGetListOfReleasesParams() *GetListOfReleasesParams
- func NewGetListOfReleasesParamsWithContext(ctx context.Context) *GetListOfReleasesParams
- func NewGetListOfReleasesParamsWithHTTPClient(client *http.Client) *GetListOfReleasesParams
- func NewGetListOfReleasesParamsWithTimeout(timeout time.Duration) *GetListOfReleasesParams
- func (o *GetListOfReleasesParams) SetCUUID(cUUID strfmt.UUID)
- func (o *GetListOfReleasesParams) SetContext(ctx context.Context)
- func (o *GetListOfReleasesParams) SetDefaults()
- func (o *GetListOfReleasesParams) SetHTTPClient(client *http.Client)
- func (o *GetListOfReleasesParams) SetIncludeMetadata(includeMetadata *bool)
- func (o *GetListOfReleasesParams) SetTimeout(timeout time.Duration)
- func (o *GetListOfReleasesParams) WithCUUID(cUUID strfmt.UUID) *GetListOfReleasesParams
- func (o *GetListOfReleasesParams) WithContext(ctx context.Context) *GetListOfReleasesParams
- func (o *GetListOfReleasesParams) WithDefaults() *GetListOfReleasesParams
- func (o *GetListOfReleasesParams) WithHTTPClient(client *http.Client) *GetListOfReleasesParams
- func (o *GetListOfReleasesParams) WithIncludeMetadata(includeMetadata *bool) *GetListOfReleasesParams
- func (o *GetListOfReleasesParams) WithTimeout(timeout time.Duration) *GetListOfReleasesParams
- func (o *GetListOfReleasesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetListOfReleasesReader
- type RefreshOK
- type RefreshParams
- func (o *RefreshParams) SetCUUID(cUUID strfmt.UUID)
- func (o *RefreshParams) SetContext(ctx context.Context)
- func (o *RefreshParams) SetDefaults()
- func (o *RefreshParams) SetHTTPClient(client *http.Client)
- func (o *RefreshParams) SetTimeout(timeout time.Duration)
- func (o *RefreshParams) WithCUUID(cUUID strfmt.UUID) *RefreshParams
- func (o *RefreshParams) WithContext(ctx context.Context) *RefreshParams
- func (o *RefreshParams) WithDefaults() *RefreshParams
- func (o *RefreshParams) WithHTTPClient(client *http.Client) *RefreshParams
- func (o *RefreshParams) WithTimeout(timeout time.Duration) *RefreshParams
- func (o *RefreshParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RefreshReader
- type UpdateReleaseOK
- type UpdateReleaseParams
- func (o *UpdateReleaseParams) SetCUUID(cUUID strfmt.UUID)
- func (o *UpdateReleaseParams) SetContext(ctx context.Context)
- func (o *UpdateReleaseParams) SetDefaults()
- func (o *UpdateReleaseParams) SetHTTPClient(client *http.Client)
- func (o *UpdateReleaseParams) SetName(name string)
- func (o *UpdateReleaseParams) SetRelease(release interface{})
- func (o *UpdateReleaseParams) SetTimeout(timeout time.Duration)
- func (o *UpdateReleaseParams) WithCUUID(cUUID strfmt.UUID) *UpdateReleaseParams
- func (o *UpdateReleaseParams) WithContext(ctx context.Context) *UpdateReleaseParams
- func (o *UpdateReleaseParams) WithDefaults() *UpdateReleaseParams
- func (o *UpdateReleaseParams) WithHTTPClient(client *http.Client) *UpdateReleaseParams
- func (o *UpdateReleaseParams) WithName(name string) *UpdateReleaseParams
- func (o *UpdateReleaseParams) WithRelease(release interface{}) *UpdateReleaseParams
- func (o *UpdateReleaseParams) WithTimeout(timeout time.Duration) *UpdateReleaseParams
- func (o *UpdateReleaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateReleaseReader
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 ¶
func (o *CreateReleaseParams) WithContext(ctx context.Context) *CreateReleaseParams
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 ¶
func (o *CreateReleaseParams) WithRelease(release *models.ReleaseFormData) *CreateReleaseParams
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 ¶
func (o *DeleteReleaseParams) WithContext(ctx context.Context) *DeleteReleaseParams
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 ¶
func (o *GetListOfRegionReleasesParams) WithCUUID(cUUID strfmt.UUID) *GetListOfRegionReleasesParams
WithCUUID adds the cUUID to the get list of region releases params
func (*GetListOfRegionReleasesParams) WithContext ¶
func (o *GetListOfRegionReleasesParams) WithContext(ctx context.Context) *GetListOfRegionReleasesParams
WithContext adds the context to the get list of region releases params
func (*GetListOfRegionReleasesParams) WithDefaults ¶
func (o *GetListOfRegionReleasesParams) WithDefaults() *GetListOfRegionReleasesParams
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 ¶
func (o *GetListOfRegionReleasesParams) WithHTTPClient(client *http.Client) *GetListOfRegionReleasesParams
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 ¶
func (o *GetListOfRegionReleasesParams) WithPUUID(pUUID strfmt.UUID) *GetListOfRegionReleasesParams
WithPUUID adds the pUUID to the get list of region releases params
func (*GetListOfRegionReleasesParams) WithTimeout ¶
func (o *GetListOfRegionReleasesParams) WithTimeout(timeout time.Duration) *GetListOfRegionReleasesParams
WithTimeout adds the timeout to the get list of region releases params
func (*GetListOfRegionReleasesParams) WriteToRequest ¶
func (o *GetListOfRegionReleasesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetListOfReleasesParams) WithCUUID(cUUID strfmt.UUID) *GetListOfReleasesParams
WithCUUID adds the cUUID to the get list of releases params
func (*GetListOfReleasesParams) WithContext ¶
func (o *GetListOfReleasesParams) WithContext(ctx context.Context) *GetListOfReleasesParams
WithContext adds the context to the get list of releases params
func (*GetListOfReleasesParams) WithDefaults ¶
func (o *GetListOfReleasesParams) WithDefaults() *GetListOfReleasesParams
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 ¶
func (o *GetListOfReleasesParams) WithTimeout(timeout time.Duration) *GetListOfReleasesParams
WithTimeout adds the timeout to the get list of releases params
func (*GetListOfReleasesParams) WriteToRequest ¶
func (o *GetListOfReleasesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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) 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 ¶
func (o *UpdateReleaseParams) WithContext(ctx context.Context) *UpdateReleaseParams
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.
Source Files ¶
- create_release_parameters.go
- create_release_responses.go
- delete_release_parameters.go
- delete_release_responses.go
- get_list_of_region_releases_parameters.go
- get_list_of_region_releases_responses.go
- get_list_of_releases_parameters.go
- get_list_of_releases_responses.go
- refresh_parameters.go
- refresh_responses.go
- release_management_client.go
- update_release_parameters.go
- update_release_responses.go