Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResourceInstance ¶
func NewResourceInstance(apiVersionKind string) *unstructured.Unstructured
func NewResourceInstanceList ¶
func NewResourceInstanceList(apiVersionKind string) *unstructured.UnstructuredList
Types ¶
type Config ¶
type Config struct { EnableLeaderElection bool `env:"ENABLE_LEADER_ELECTION" envDefault:"false"` SyncPeriod time.Duration `env:"SYNC_PERIOD" envDefault:"60m"` MonitoringInterval time.Duration `env:"MONITORING_INTERVAL" envDefault:"5s"` ExpirationLabel string `env:"EXPIRATION_LABEL" envDefault:"mayfly.cloud.namecheap.com/expire"` Resources []string `env:"RESOURCES" envSeparator:"," envDefault:"v1;Secret,cloud.namecheap.com/v1alpha2;ScheduledResource"` }
Click to show internal directories.
Click to hide internal directories.