checksum

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyMarkers

func CopyMarkers(from, to metav1.Object)

func CopyVersion

func CopyVersion(from, to metav1.Object)

func GetStaticID

func GetStaticID(name string) string

func IsStaticAnnotation

func IsStaticAnnotation(key string) bool

Types

type Dependencies

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

func New

func New(scheme *runtime.Scheme) *Dependencies

func (*Dependencies) Add

func (d *Dependencies) Add(ctx context.Context, resource Dependency, onlySpec bool)

func (*Dependencies) AddAnnotations

func (d *Dependencies) AddAnnotations(object metav1.Object)

func (*Dependencies) ChangedFor

func (d *Dependencies) ChangedFor(ctx context.Context, resource Dependency) bool

func (*Dependencies) ComputeChecksum

func (d *Dependencies) ComputeChecksum(resource metav1.Object, onlySpec bool) string

func (*Dependencies) GetID

func (d *Dependencies) GetID(resource Dependency) string

type Dependency

type Dependency interface {
	runtime.Object
	metav1.Object
}

Jump to

Keyboard shortcuts

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