Documentation ¶ Index ¶ func NewClient(config *rest.Config) (*v1beta1.CoreV1beta1Client, error) func NewClusterConfig(kubeconfigPath string) (*rest.Config, error) func NewWatchFunc(l *logrus.Logger, c Client, r agent.RegisteredResource[*v1beta1.ShootList]) agent.WatchFn type Client Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewClient ¶ func NewClient(config *rest.Config) (*v1beta1.CoreV1beta1Client, error) func NewClusterConfig ¶ func NewClusterConfig(kubeconfigPath string) (*rest.Config, error) func NewWatchFunc ¶ func NewWatchFunc(l *logrus.Logger, c Client, r agent.RegisteredResource[*v1beta1.ShootList]) agent.WatchFn Types ¶ type Client ¶ type Client interface { List(context.Context, v1.ListOptions) (*v1beta1.ShootList, error) } Source Files ¶ View all Source files client.go watcher.go Directories ¶ Show internal Expand all Path Synopsis automock Click to show internal directories. Click to hide internal directories.