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 WithDefaultScheme(o *cluster.Options)
func WithDisableCaches ¶
func WithDisableCaches() func(o *cluster.Options)
func WithInNamespace ¶ added in v1.23.0
func WithInNamespace(ns string) func(o *cluster.Options)
func WithWatchClient ¶
func WithWatchClient(o *cluster.Options)
Types ¶
type Cluster ¶
type Cluster struct {
cluster.Cluster
// contains filtered or unexported fields
}
func NewCluster ¶
func NewCluster(config *rest.Config, options ...cluster.Option) (*Cluster, error)
func NewClusterAndStart ¶ added in v1.23.0
func NewClusterAndStart(ctx context.Context, config *rest.Config, apply func(c cluster.Cluster) error, options ...cluster.Option) (*Cluster, error)
func NewLocalAgentClusterAndStart ¶ added in v1.23.0
func NewLocalAgentClusterAndStart(ctx context.Context, options ...cluster.Option) (*Cluster, error)
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 ¶
type WatchableDelegatingClient struct {
client.Client
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.