rls

package
v0.0.0-...-3d5d804 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLegacyReleaseFromRelease

func NewLegacyReleaseFromRelease(rel *Release) (*release.Release, error)

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) Fail

func (r *Release) Fail()

func (*Release) Failed

func (r *Release) Failed() bool

func (*Release) FirstDeployed

func (r *Release) FirstDeployed() time.Time

func (*Release) GeneralResources

func (r *Release) GeneralResources() []*resrc.GeneralResource

func (*Release) HookResources

func (r *Release) HookResources() []*resrc.HookResource

func (*Release) HumanID

func (r *Release) HumanID() string

func (*Release) ID

func (r *Release) ID() string

func (*Release) LastDeployed

func (r *Release) LastDeployed() time.Time

func (*Release) LegacyChart

func (r *Release) LegacyChart() *chart.Chart

func (*Release) Name

func (r *Release) Name() string

func (*Release) Namespace

func (r *Release) Namespace() string

func (*Release) Notes

func (r *Release) Notes() string

func (*Release) Pend

func (r *Release) Pend(deployType common.DeployType)

func (*Release) Revision

func (r *Release) Revision() int

func (*Release) Skip

func (r *Release) Skip()

func (*Release) Status

func (r *Release) Status() release.Status

func (*Release) Succeed

func (r *Release) Succeed()

func (*Release) Succeeded

func (r *Release) Succeeded() bool

func (*Release) Supersede

func (r *Release) Supersede()

func (*Release) Values

func (r *Release) Values() map[string]interface{}

type ReleaseFromLegacyReleaseOptions

type ReleaseFromLegacyReleaseOptions struct {
	Mapper          meta.ResettableRESTMapper
	DiscoveryClient discovery.CachedDiscoveryInterface
}

type ReleaseOptions

type ReleaseOptions struct {
	Status        release.Status
	FirstDeployed time.Time
	LastDeployed  time.Time
	Mapper        meta.ResettableRESTMapper
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL