types

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 3 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"
)
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 {
	AuthToken   string         `json:"authToken"`
	AccountName string         `json:"accountName"`
	ClusterName string         `json:"clusterName"`
	Object      map[string]any `json:"object"`
}

Jump to

Keyboard shortcuts

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