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) ListReleases(params *ListReleasesParams, authInfo runtime.ClientAuthInfoWriter) (*ListReleasesOK, error)
- func (a *Client) RollbackRelease(params *RollbackReleaseParams, authInfo runtime.ClientAuthInfoWriter) (*RollbackReleaseOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpgradeRelease(params *UpgradeReleaseParams, authInfo runtime.ClientAuthInfoWriter) (*UpgradeReleaseOK, error)
- type CreateReleaseOK
- type CreateReleaseParams
- func (o *CreateReleaseParams) SetBody(body *models.OpenpitrixCreateReleaseRequest)
- func (o *CreateReleaseParams) SetContext(ctx context.Context)
- func (o *CreateReleaseParams) SetHTTPClient(client *http.Client)
- func (o *CreateReleaseParams) SetTimeout(timeout time.Duration)
- func (o *CreateReleaseParams) WithBody(body *models.OpenpitrixCreateReleaseRequest) *CreateReleaseParams
- func (o *CreateReleaseParams) WithContext(ctx context.Context) *CreateReleaseParams
- func (o *CreateReleaseParams) WithHTTPClient(client *http.Client) *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) SetBody(body *models.OpenpitrixDeleteReleaseRequest)
- func (o *DeleteReleaseParams) SetContext(ctx context.Context)
- func (o *DeleteReleaseParams) SetHTTPClient(client *http.Client)
- func (o *DeleteReleaseParams) SetTimeout(timeout time.Duration)
- func (o *DeleteReleaseParams) WithBody(body *models.OpenpitrixDeleteReleaseRequest) *DeleteReleaseParams
- func (o *DeleteReleaseParams) WithContext(ctx context.Context) *DeleteReleaseParams
- func (o *DeleteReleaseParams) WithHTTPClient(client *http.Client) *DeleteReleaseParams
- func (o *DeleteReleaseParams) WithTimeout(timeout time.Duration) *DeleteReleaseParams
- func (o *DeleteReleaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReleaseReader
- type ListReleasesOK
- type ListReleasesParams
- func (o *ListReleasesParams) SetContext(ctx context.Context)
- func (o *ListReleasesParams) SetHTTPClient(client *http.Client)
- func (o *ListReleasesParams) SetNamespace(namespace *string)
- func (o *ListReleasesParams) SetReleaseName(releaseName *string)
- func (o *ListReleasesParams) SetRuntimeID(runtimeID *string)
- func (o *ListReleasesParams) SetStatus(status *string)
- func (o *ListReleasesParams) SetTimeout(timeout time.Duration)
- func (o *ListReleasesParams) WithContext(ctx context.Context) *ListReleasesParams
- func (o *ListReleasesParams) WithHTTPClient(client *http.Client) *ListReleasesParams
- func (o *ListReleasesParams) WithNamespace(namespace *string) *ListReleasesParams
- func (o *ListReleasesParams) WithReleaseName(releaseName *string) *ListReleasesParams
- func (o *ListReleasesParams) WithRuntimeID(runtimeID *string) *ListReleasesParams
- func (o *ListReleasesParams) WithStatus(status *string) *ListReleasesParams
- func (o *ListReleasesParams) WithTimeout(timeout time.Duration) *ListReleasesParams
- func (o *ListReleasesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListReleasesReader
- type RollbackReleaseOK
- type RollbackReleaseParams
- func NewRollbackReleaseParams() *RollbackReleaseParams
- func NewRollbackReleaseParamsWithContext(ctx context.Context) *RollbackReleaseParams
- func NewRollbackReleaseParamsWithHTTPClient(client *http.Client) *RollbackReleaseParams
- func NewRollbackReleaseParamsWithTimeout(timeout time.Duration) *RollbackReleaseParams
- func (o *RollbackReleaseParams) SetBody(body *models.OpenpitrixRollbackReleaseRequest)
- func (o *RollbackReleaseParams) SetContext(ctx context.Context)
- func (o *RollbackReleaseParams) SetHTTPClient(client *http.Client)
- func (o *RollbackReleaseParams) SetTimeout(timeout time.Duration)
- func (o *RollbackReleaseParams) WithBody(body *models.OpenpitrixRollbackReleaseRequest) *RollbackReleaseParams
- func (o *RollbackReleaseParams) WithContext(ctx context.Context) *RollbackReleaseParams
- func (o *RollbackReleaseParams) WithHTTPClient(client *http.Client) *RollbackReleaseParams
- func (o *RollbackReleaseParams) WithTimeout(timeout time.Duration) *RollbackReleaseParams
- func (o *RollbackReleaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RollbackReleaseReader
- type UpgradeReleaseOK
- type UpgradeReleaseParams
- func NewUpgradeReleaseParams() *UpgradeReleaseParams
- func NewUpgradeReleaseParamsWithContext(ctx context.Context) *UpgradeReleaseParams
- func NewUpgradeReleaseParamsWithHTTPClient(client *http.Client) *UpgradeReleaseParams
- func NewUpgradeReleaseParamsWithTimeout(timeout time.Duration) *UpgradeReleaseParams
- func (o *UpgradeReleaseParams) SetBody(body *models.OpenpitrixUpgradeReleaseRequest)
- func (o *UpgradeReleaseParams) SetContext(ctx context.Context)
- func (o *UpgradeReleaseParams) SetHTTPClient(client *http.Client)
- func (o *UpgradeReleaseParams) SetTimeout(timeout time.Duration)
- func (o *UpgradeReleaseParams) WithBody(body *models.OpenpitrixUpgradeReleaseRequest) *UpgradeReleaseParams
- func (o *UpgradeReleaseParams) WithContext(ctx context.Context) *UpgradeReleaseParams
- func (o *UpgradeReleaseParams) WithHTTPClient(client *http.Client) *UpgradeReleaseParams
- func (o *UpgradeReleaseParams) WithTimeout(timeout time.Duration) *UpgradeReleaseParams
- func (o *UpgradeReleaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpgradeReleaseReader
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 ¶
func (o *CreateReleaseParams) SetBody(body *models.OpenpitrixCreateReleaseRequest)
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 ¶
func (o *CreateReleaseParams) WithBody(body *models.OpenpitrixCreateReleaseRequest) *CreateReleaseParams
WithBody adds the body 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) 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 ¶
func (o *DeleteReleaseParams) SetBody(body *models.OpenpitrixDeleteReleaseRequest)
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 ¶
func (o *DeleteReleaseParams) WithBody(body *models.OpenpitrixDeleteReleaseRequest) *DeleteReleaseParams
WithBody adds the body 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) 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 ¶
func (o *ListReleasesParams) WithContext(ctx context.Context) *ListReleasesParams
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 ¶
func (o *RollbackReleaseParams) SetBody(body *models.OpenpitrixRollbackReleaseRequest)
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 ¶
func (o *RollbackReleaseParams) WithBody(body *models.OpenpitrixRollbackReleaseRequest) *RollbackReleaseParams
WithBody adds the body to the rollback release params
func (*RollbackReleaseParams) WithContext ¶
func (o *RollbackReleaseParams) WithContext(ctx context.Context) *RollbackReleaseParams
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 ¶
func (o *UpgradeReleaseParams) SetBody(body *models.OpenpitrixUpgradeReleaseRequest)
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 ¶
func (o *UpgradeReleaseParams) WithBody(body *models.OpenpitrixUpgradeReleaseRequest) *UpgradeReleaseParams
WithBody adds the body to the upgrade release params
func (*UpgradeReleaseParams) WithContext ¶
func (o *UpgradeReleaseParams) WithContext(ctx context.Context) *UpgradeReleaseParams
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.
Source Files ¶
- create_release_parameters.go
- create_release_responses.go
- delete_release_parameters.go
- delete_release_responses.go
- list_releases_parameters.go
- list_releases_responses.go
- release_manager_client.go
- rollback_release_parameters.go
- rollback_release_responses.go
- upgrade_release_parameters.go
- upgrade_release_responses.go