Documentation ¶
Index ¶
- func NewLegacyReleaseFromRelease(rel *Release) (*release.Release, error)
- type Release
- func (r *Release) Fail()
- func (r *Release) Failed() bool
- func (r *Release) FirstDeployed() time.Time
- func (r *Release) GeneralResources() []*resrc.GeneralResource
- func (r *Release) HookResources() []*resrc.HookResource
- func (r *Release) HumanID() string
- func (r *Release) ID() string
- func (r *Release) LastDeployed() time.Time
- func (r *Release) LegacyChart() *chart.Chart
- func (r *Release) Name() string
- func (r *Release) Namespace() string
- func (r *Release) Notes() string
- func (r *Release) Pend(deployType common.DeployType)
- func (r *Release) Revision() int
- func (r *Release) Skip()
- func (r *Release) Status() release.Status
- func (r *Release) Succeed()
- func (r *Release) Succeeded() bool
- func (r *Release) Supersede()
- func (r *Release) Values() map[string]interface{}
- type ReleaseFromLegacyReleaseOptions
- type ReleaseOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Release ¶
type Release struct {
// contains filtered or unexported fields
}
func NewRelease ¶
func NewRelease(name, namespace string, revision int, values map[string]interface{}, legacyChart *chart.Chart, hookResources []*resrc.HookResource, generalResources []*resrc.GeneralResource, notes string, opts ReleaseOptions) (*Release, error)
func NewReleaseFromLegacyRelease ¶
func NewReleaseFromLegacyRelease(legacyRelease *release.Release, opts ReleaseFromLegacyReleaseOptions) (*Release, error)
func (*Release) FirstDeployed ¶
func (*Release) GeneralResources ¶
func (r *Release) GeneralResources() []*resrc.GeneralResource
func (*Release) HookResources ¶
func (r *Release) HookResources() []*resrc.HookResource
func (*Release) LastDeployed ¶
func (*Release) LegacyChart ¶
func (*Release) Pend ¶
func (r *Release) Pend(deployType common.DeployType)
type ReleaseFromLegacyReleaseOptions ¶
type ReleaseFromLegacyReleaseOptions struct { Mapper meta.ResettableRESTMapper DiscoveryClient discovery.CachedDiscoveryInterface }
type ReleaseOptions ¶
Click to show internal directories.
Click to hide internal directories.