Documentation
¶
Index ¶
- func ArtifactFactoryForSettings(ctx context.Context, settings *v1.Settings, ...) (factory.ResourceClientFactory, error)
- func ConfigFactoryForSettings(settings *v1.Settings, sharedCache memory.InMemoryResourceCache, ...) (factory.ResourceClientFactory, error)
- func ListAllNamespaces(cfg *rest.Config) ([]string, error)
- func SecretFactoryForSettings(ctx context.Context, settings *v1.Settings, ...) (factory.ResourceClientFactory, error)
- type ControlPlane
- type Opts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArtifactFactoryForSettings ¶
func ArtifactFactoryForSettings(ctx context.Context, settings *v1.Settings, sharedCache memory.InMemoryResourceCache, cfg **rest.Config, clientset *kubernetes.Interface, kubeCoreCache *cache.KubeCoreCache, pluralName string) (factory.ResourceClientFactory, error)
sharedCach OR resourceCrd+cfg must be non-nil
func ConfigFactoryForSettings ¶
func ConfigFactoryForSettings(settings *v1.Settings, sharedCache memory.InMemoryResourceCache, cache kube.SharedCache, resourceCrd crd.Crd, cfg **rest.Config) (factory.ResourceClientFactory, error)
sharedCache OR resourceCrd+cfg must be non-nil
func SecretFactoryForSettings ¶
func SecretFactoryForSettings(ctx context.Context, settings *v1.Settings, sharedCache memory.InMemoryResourceCache, cfg **rest.Config, clientset *kubernetes.Interface, kubeCoreCache *cache.KubeCoreCache, pluralName string) (factory.ResourceClientFactory, error)
sharedCach OR resourceCrd+cfg must be non-nil
Types ¶
type ControlPlane ¶
type Opts ¶
type Opts struct {
WriteNamespace string
WatchNamespaces []string
Upstreams factory.ResourceClientFactory
UpstreamGroups factory.ResourceClientFactory
Proxies factory.ResourceClientFactory
Secrets factory.ResourceClientFactory
Artifacts factory.ResourceClientFactory
BindAddr net.Addr
KubeClient kubernetes.Interface
WatchOpts clients.WatchOpts
DevMode bool
ControlPlane ControlPlane
Settings *v1.Settings
}
Click to show internal directories.
Click to hide internal directories.