common

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 2 Imported by: 4

Documentation

Index

Constants

View Source
const (
	// CloudEventsDataTypeAnnotationKey is the key of the cloudevents data type annotation.
	CloudEventsDataTypeAnnotationKey = "cloudevents.open-cluster-management.io/datatype"

	// CloudEventsResourceVersionAnnotationKey is the key of the manifestwork resourceversion annotation.
	//
	// This annotation is used for tracing the ManifestWork specific changes, the value of this annotation
	// should be a sequence number representing the ManifestWork specific generation.
	CloudEventsResourceVersionAnnotationKey = "cloudevents.open-cluster-management.io/resourceversion"

	// CloudEventsSequenceIDAnnotationKey is the key of the status update event sequence ID.
	// The sequence id represents the order in which status update events occur on a single agent.
	CloudEventsSequenceIDAnnotationKey = "cloudevents.open-cluster-management.io/sequenceid"
)
View Source
const (
	CreateRequestAction = "create_request"
	UpdateRequestAction = "update_request"
	DeleteRequestAction = "delete_request"
)
View Source
const CloudEventsOriginalSourceLabelKey = "cloudevents.open-cluster-management.io/originalsource"

CloudEventsOriginalSourceLabelKey is the key of the cloudevents original source label.

View Source
const ManifestsDeleted = "Deleted"

ManifestsDeleted represents the manifests are deleted.

Variables

View Source
var ManifestWorkGK = schema.GroupKind{Group: workv1.GroupName, Kind: "ManifestWork"}
View Source
var ManifestWorkGR = schema.GroupResource{Group: workv1.GroupName, Resource: "manifestworks"}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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