tektoninstallerset

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

func (di *DefaultInstaller) GetManifest(ctx context.Context) (*mf.Manifest, error)

GetManifest :- Get the manifest

func (*DefaultInstaller) GetOwnerReferences

func (di *DefaultInstaller) GetOwnerReferences(ctx context.Context) []metav1.OwnerReference

GetOwnerReferences :- Get the owner references

Jump to

Keyboard shortcuts

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