config

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: EUPL-1.2 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RevisionAnnotation       = "deployment.kubernetes.io/revision"
	ResourceSuffixAnnotation = annotationPrefix + "/resource-suffix"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ResourceName        string
	ResourceNamespace   string
	ReplicaSetRevision  string
	DeploymentRevision  string
	BlobPrefix          string
	VolumePath          string
	StorageCapacity     string
	StorageClassName    string
	BlobDownloadOptions *avp.BlobDownloadOptions
}

func NewConfigFromAnnotations

func NewConfigFromAnnotations(d *appsv1.Deployment, rs *appsv1.ReplicaSet) Config

func (Config) HasRequiredAnnotations

func (c Config) HasRequiredAnnotations() bool

func (Config) RevisionsMatch

func (c Config) RevisionsMatch() bool

Jump to

Keyboard shortcuts

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