Documentation
¶
Index ¶
- Constants
- func ArtifactFactoryForSettings(ctx context.Context, settings *v1.Settings, ...) (factory.ResourceClientFactory, error)
- func ConfigFactoryForSettings(params ConfigFactoryParams, resourceCrd crd.Crd) (factory.ResourceClientFactory, error)
- func ConsulClientForSettings(settings *v1.Settings) (*api.Client, error)
- func KubeServiceClientForSettings(ctx context.Context, settings *v1.Settings, ...) (skkube.ServiceClient, error)
- func SecretFactoryForSettings(ctx context.Context, settings *v1.Settings, ...) (factory.ResourceClientFactory, error)
- func VaultClientForSettings(vaultSettings *v1.Settings_VaultSecrets) (*api.Client, error)
- type ConfigFactoryParams
- type ControlPlane
- type Opts
Constants ¶
View Source
const DefaultRootKey = "gloo"
used for vault and consul key-value storage
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(params ConfigFactoryParams, resourceCrd crd.Crd) (factory.ResourceClientFactory, error)
sharedCache, resourceCrd+cfg OR consulClient must be non-nil
func ConsulClientForSettings ¶ added in v0.18.0
func KubeServiceClientForSettings ¶ added in v0.18.0
func KubeServiceClientForSettings(ctx context.Context, settings *v1.Settings, sharedCache memory.InMemoryResourceCache, cfg **rest.Config, clientset *kubernetes.Interface, kubeCoreCache *cache.KubeCoreCache) (skkube.ServiceClient, error)
func SecretFactoryForSettings ¶
func SecretFactoryForSettings(ctx context.Context, settings *v1.Settings, sharedCache memory.InMemoryResourceCache, cfg **rest.Config, clientset *kubernetes.Interface, kubeCoreCache *cache.KubeCoreCache, vaultClient *vaultapi.Client, pluralName string) (factory.ResourceClientFactory, error)
sharedCach OR resourceCrd+cfg must be non-nil
func VaultClientForSettings ¶ added in v0.18.0
func VaultClientForSettings(vaultSettings *v1.Settings_VaultSecrets) (*api.Client, error)
Types ¶
type ConfigFactoryParams ¶ added in v0.18.0
type ConfigFactoryParams struct {
// contains filtered or unexported fields
}
func NewConfigFactoryParams ¶ added in v0.18.0
func NewConfigFactoryParams(settings *v1.Settings, sharedCache memory.InMemoryResourceCache, cache kube.SharedCache, cfg **rest.Config, consulClient *consulapi.Client) ConfigFactoryParams
type ControlPlane ¶
type Opts ¶
type Opts struct {
WriteNamespace string
WatchNamespaces []string
Upstreams factory.ResourceClientFactory
KubeServiceClient skkube.ServiceClient
UpstreamGroups factory.ResourceClientFactory
Proxies factory.ResourceClientFactory
Secrets factory.ResourceClientFactory
Artifacts factory.ResourceClientFactory
BindAddr net.Addr
KubeClient kubernetes.Interface
ConsulWatcher consul.ConsulWatcher
WatchOpts clients.WatchOpts
DevMode bool
ControlPlane ControlPlane
Settings *v1.Settings
KubeCoreCache corecache.KubeCoreCache
}
Click to show internal directories.
Click to hide internal directories.