types

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: AGPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	KeyClusterManagedSvcSecret = "resource-watcher-cmsvc-secret"
	KeyProjectManagedSvcSecret = "resource-watcher-pmsvc-secret"
	KeyManagedResSecret        = "resource-watcher-mres-secret"

	KeyVPNDeviceConfig = "resource-watcher-wireguard-config"

	KeyGlobalVPNWgParams = "resource-watcher-gvpn-wg-params"
	KeyGatewayWgParams   = "resource-watcher-gateway-wg-params"
)
View Source
const (
	ResourceStatusKey string = "resource-watcher-resource-status"
)

Variables

View Source
var ConfigWatchingAnnotation = map[string]string{
	"kloudlite.io/watch-configmap": "true",
}
View Source
var SecretWatchingAnnotation = map[string]string{
	"kloudlite.io/watch-secret": "true",
}

Functions

func HasOtherKloudliteFinalizers

func HasOtherKloudliteFinalizers(obj client.Object) bool

Types

type ResourceStatus

type ResourceStatus string
const (
	ResourceStatusUpdated  ResourceStatus = "updated"
	ResourceStatusDeleting ResourceStatus = "deleting"
	ResourceStatusDeleted  ResourceStatus = "deleted"
)

func (ResourceStatus) String

func (rs ResourceStatus) String() string

type ResourceUpdate

type ResourceUpdate struct {
	Object *unstructured.Unstructured `json:"object"`
}

Jump to

Keyboard shortcuts

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