version

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TmpCAPath = "/tmp/dynatrace-operator"
	TmpCAName = "dynatraceCustomCA.crt"
)
View Source
const (
	// VersionLabel is the name of the label used on ActiveGate-provided images.
	VersionLabel = "com.dynatrace.build-version"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageVersion

type ImageVersion struct {
	Version string
	Digest  digest.Digest
}

func GetImageVersion

func GetImageVersion(ctx context.Context, imageName string, dockerConfig *dockerconfig.DockerConfig) (ImageVersion, error)

GetImageVersion fetches image information for imageName

type ImageVersionFunc added in v0.11.1

type ImageVersionFunc func(ctx context.Context, imageName string, dockerConfig *dockerconfig.DockerConfig) (ImageVersion, error)

ImageVersionFunc can fetch image information from img

type Reconciler added in v0.11.0

type Reconciler struct {
	// contains filtered or unexported fields
}

func NewReconciler added in v0.11.0

func NewReconciler(dynakube *dynatracev1beta1.DynaKube, apiReader client.Reader, dtClient dtclient.Client, fs afero.Afero, digestProvider ImageVersionFunc, timeProvider *timeprovider.Provider) *Reconciler

func (*Reconciler) Reconcile added in v0.11.0

func (reconciler *Reconciler) Reconcile(ctx context.Context) error

Reconcile updates the version status used by the dynakube

Jump to

Keyboard shortcuts

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