Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageResolver ¶
type ImageResolver interface {
Resolve(context.Context, *datadoghqv1alpha1.DatadogBYOCClusterReleaseSpec, *datadoghqv1alpha1.DatadogBYOCClusterImageOverrides) (*ResolvedImages, error)
}
ImageResolver resolves the effective images for a DatadogBYOCCluster.
func NewOCIImageResolver ¶
func NewOCIImageResolver() ImageResolver
NewOCIImageResolver returns an image resolver backed by the Datadog public OCI repository.
type ResolvedImage ¶
type ResolvedImage struct {
Repository string
Tag string
Digest string
ImagePullPolicy corev1.PullPolicy
ImagePullSecrets []corev1.LocalObjectReference
}
ResolvedImage contains a workload image and its Pod pull secrets. Pull secrets are local configuration, not part of the release artifact.
func (ResolvedImage) GetImagePullPolicy ¶
func (i ResolvedImage) GetImagePullPolicy() corev1.PullPolicy
GetImagePullPolicy returns the configured image pull policy or the BYOC default.
func (ResolvedImage) GetImageReference ¶
func (i ResolvedImage) GetImageReference() string
GetImageReference returns the immutable image reference when a digest is available.
type ResolvedImages ¶
type ResolvedImages struct {
Pomsky ResolvedImage
ObservabilityPipelinesWorker ResolvedImage
}
ResolvedImages contains the effective workload images after applying overrides. These values do not imply that a workload is running the image.