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 ¶
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"`
}
Click to show internal directories.
Click to hide internal directories.