Documentation
¶
Index ¶
Constants ¶
View Source
const (
POD_NAMESPACE = "POD_NAMESPACE"
)
Variables ¶
This section is empty.
Functions ¶
func KubeOrFileSettingsClient ¶
func KubeOrFileSettingsClient(ctx context.Context, settingsDir string) (v1.SettingsClient, error)
TODO (ilackarms): instead of using an heuristic here, read from a CLI flagg first attempt to use kube crd, otherwise fall back to file
Types ¶
type SetupFunc ¶
type SetupFunc func(ctx context.Context,
kubeCache kube.SharedCache,
inMemoryCache memory.InMemoryResourceCache,
settings *v1.Settings) error
tell us how to setup
type SetupOpts ¶
type SetupOpts struct {
LoggingPrefix string
SetupFunc SetupFunc
ExitOnError bool
}
type SetupSyncer ¶
type SetupSyncer struct {
// contains filtered or unexported fields
}
func NewSetupSyncer ¶
func NewSetupSyncer(settingsRef core.ResourceRef, setupFunc SetupFunc) *SetupSyncer
Click to show internal directories.
Click to hide internal directories.