Documentation
¶
Index ¶
- func WithDefaultScheme(o *cluster.Options)
- func WithDisableCaches() func(o *cluster.Options)
- func WithInNamespace(ns string) func(o *cluster.Options)
- func WithWatchClient(o *cluster.Options)
- type Cluster
- func NewCluster(config *rest.Config, options ...cluster.Option) (*Cluster, error)
- func NewClusterAndStart(ctx context.Context, config *rest.Config, apply func(c cluster.Cluster) error, ...) (*Cluster, error)
- func NewLocalAgentClusterAndStart(ctx context.Context, options ...cluster.Option) (*Cluster, error)
- type Interface
- type WatchableDelegatingClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDefaultScheme ¶
func WithDisableCaches ¶
func WithInNamespace ¶ added in v1.23.0
func WithWatchClient ¶
Types ¶
type Cluster ¶
func NewClusterAndStart ¶ added in v1.23.0
func NewLocalAgentClusterAndStart ¶ added in v1.23.0
func (*Cluster) Discovery ¶
func (c *Cluster) Discovery() discovery.CachedDiscoveryInterface
func (*Cluster) Kubernetes ¶
func (c *Cluster) Kubernetes() kubernetes.Interface
type Interface ¶
type Interface interface { cluster.Cluster Kubernetes() kubernetes.Interface Discovery() discovery.CachedDiscoveryInterface Watch(ctx context.Context, list client.ObjectList, callback func(watch.Event) error, opts ...client.ListOption) error }
type WatchableDelegatingClient ¶
func (*WatchableDelegatingClient) Watch ¶
func (c *WatchableDelegatingClient) Watch(ctx context.Context, obj client.ObjectList, opts ...client.ListOption) (watch.Interface, error)
Click to show internal directories.
Click to hide internal directories.