Documentation ¶
Index ¶
- type DefaultInstaller
- func (di *DefaultInstaller) AddAnnotationsFromMap(annotations map[string]string)
- func (di *DefaultInstaller) AddAnnotationsKeyVal(key, val string)
- func (di *DefaultInstaller) AddCreatedByLabel(val string)
- func (di *DefaultInstaller) AddLabelKeyVal(key, val string)
- func (di *DefaultInstaller) AddLabelsFromMap(labels map[string]string)
- func (di *DefaultInstaller) AddManifest(manifest mf.Manifest)
- func (di *DefaultInstaller) AddOwnerReferences(ownerRef metav1.OwnerReference)
- func (di *DefaultInstaller) AddReleaseVersionLabel(val string)
- func (di *DefaultInstaller) AddTypeLabel(val string)
- func (di *DefaultInstaller) GetAnnotations(ctx context.Context) map[string]string
- func (di *DefaultInstaller) GetLabels(ctx context.Context) map[string]string
- func (di *DefaultInstaller) GetManifest(ctx context.Context) (*mf.Manifest, error)
- func (di *DefaultInstaller) GetOwnerReferences(ctx context.Context) []metav1.OwnerReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultInstaller ¶
type DefaultInstaller struct { Labels map[string]string Annotations map[string]string OwnerReferences []metav1.OwnerReference Manifest mf.Manifest }
func NewDefaultInstaller ¶
func NewDefaultInstaller() *DefaultInstaller
func (*DefaultInstaller) AddAnnotationsFromMap ¶
func (di *DefaultInstaller) AddAnnotationsFromMap(annotations map[string]string)
func (*DefaultInstaller) AddAnnotationsKeyVal ¶
func (di *DefaultInstaller) AddAnnotationsKeyVal(key, val string)
func (*DefaultInstaller) AddCreatedByLabel ¶
func (di *DefaultInstaller) AddCreatedByLabel(val string)
func (*DefaultInstaller) AddLabelKeyVal ¶
func (di *DefaultInstaller) AddLabelKeyVal(key, val string)
func (*DefaultInstaller) AddLabelsFromMap ¶
func (di *DefaultInstaller) AddLabelsFromMap(labels map[string]string)
func (*DefaultInstaller) AddManifest ¶
func (di *DefaultInstaller) AddManifest(manifest mf.Manifest)
func (*DefaultInstaller) AddOwnerReferences ¶
func (di *DefaultInstaller) AddOwnerReferences(ownerRef metav1.OwnerReference)
func (*DefaultInstaller) AddReleaseVersionLabel ¶
func (di *DefaultInstaller) AddReleaseVersionLabel(val string)
func (*DefaultInstaller) AddTypeLabel ¶
func (di *DefaultInstaller) AddTypeLabel(val string)
func (*DefaultInstaller) GetAnnotations ¶
func (di *DefaultInstaller) GetAnnotations(ctx context.Context) map[string]string
GetAnnotations :- Get all the annotations
func (*DefaultInstaller) GetLabels ¶
func (di *DefaultInstaller) GetLabels(ctx context.Context) map[string]string
GetLabels :- Get all the labels
func (*DefaultInstaller) GetManifest ¶
GetManifest :- Get the manifest
func (*DefaultInstaller) GetOwnerReferences ¶
func (di *DefaultInstaller) GetOwnerReferences(ctx context.Context) []metav1.OwnerReference
GetOwnerReferences :- Get the owner references
Click to show internal directories.
Click to hide internal directories.