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 SecretFactoryForSettings(ctx context.Context, settings *v1.Settings, ...) (factory.ResourceClientFactory, error)
- func ServiceClientForSettings(ctx context.Context, settings *v1.Settings, ...) (skkube.ServiceClient, 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
func ServiceClientForSettings ¶ added in v0.14.0
func ServiceClientForSettings(ctx context.Context, settings *v1.Settings, sharedCache memory.InMemoryResourceCache, cfg **rest.Config, clientset *kubernetes.Interface, kubeCoreCache *cache.KubeCoreCache) (skkube.ServiceClient, error)
Types ¶
type ControlPlane ¶
type Opts ¶
type Opts struct { WriteNamespace string WatchNamespaces []string Upstreams factory.ResourceClientFactory Services skkube.ServiceClient UpstreamGroups factory.ResourceClientFactory Proxies factory.ResourceClientFactory Secrets factory.ResourceClientFactory Artifacts factory.ResourceClientFactory BindAddr net.Addr KubeClient kubernetes.Interface ConsulClient consul.ConsulWatcher WatchOpts clients.WatchOpts DevMode bool ControlPlane ControlPlane Settings *v1.Settings }
Click to show internal directories.
Click to hide internal directories.