Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKubernetesAgentUpgrader ¶
func NewKubernetesAgentUpgrader(lg *slog.Logger, opts ...KubernetesOption) (update.SyncHandler, error)
Types ¶
type KubernetesOption ¶
type KubernetesOption func(*kubernetesOptions)
func WithNamespace ¶
func WithNamespace(namespace string) KubernetesOption
func WithRepoOverride ¶
func WithRepoOverride(repo *string) KubernetesOption
func WithRestConfig ¶
func WithRestConfig(config *rest.Config) KubernetesOption
Click to show internal directories.
Click to hide internal directories.