Documentation ¶
Index ¶
- Constants
- Variables
- func ArtifactFactoryForSettings(ctx context.Context, settings *v1.Settings, ...) (factory.ResourceClientFactory, error)
- func ConfigFactoryForSettings(params ConfigFactoryParams, resourceCrd crd.Crd) (factory.ResourceClientFactory, error)
- func ConsulClientForSettings(ctx context.Context, settings *v1.Settings) (*api.Client, error)
- func GetWriteNamespace(settings *v1.Settings) string
- func KubeServiceClientForSettings(ctx context.Context, settings *v1.Settings, ...) (skkube.ServiceClient, error)
- func NewVaultSecretClientFactory(client *api.Client, pathPrefix, rootKey string) factory.ResourceClientFactory
- func SecretFactoryForSettings(ctx context.Context, settings *v1.Settings, ...) (factory.ResourceClientFactory, error)
- func ValidateBootstrap(ctx context.Context, settings *v1.Settings, filterName string, ...) error
- func VaultClientForSettings(vaultSettings *v1.Settings_VaultSecrets) (*api.Client, error)
- type ConfigFactoryParams
- type Consul
- type ControlPlane
- type GrpcService
- type Opts
- type ProxyDebugServer
- type ValidationServer
Constants ¶
const ( // Deprecated. Use bootstrap/clients. DefaultK8sQPS = clients.DefaultK8sQPS // 10x the k8s-recommended default; gloo gets busy writing status updates // Deprecated. Use bootstrap/clients. DefaultK8sBurst = clients.DefaultK8sBurst // 10x the k8s-recommended default; gloo gets busy writing status updates // Deprecated. Use bootstrap/clients. DefaultRootKey = clients.DefaultRootKey // used for vault and consul key-value storage )
const DefaultPathPrefix = clients.DefaultPathPrefix
Deprecated. Use bootstrap/clients
Variables ¶
var DefaultQueryOptions = clients.DefaultConsulQueryOptions
Deprecated. Use bootstrap/clients.
Functions ¶
func ArtifactFactoryForSettings ¶
func ArtifactFactoryForSettings(ctx context.Context, settings *v1.Settings, sharedCache memory.InMemoryResourceCache, cfg **rest.Config, clientset *kubernetes.Interface, kubeCoreCache *cache.KubeCoreCache, consulClient *consulapi.Client, pluralName string) (factory.ResourceClientFactory, error)
Deprecated. Use bootstrap/clients.
func ConfigFactoryForSettings ¶
func ConfigFactoryForSettings(params ConfigFactoryParams, resourceCrd crd.Crd) (factory.ResourceClientFactory, error)
Deprecated. Use bootstrap/clients.
func ConsulClientForSettings ¶ added in v0.18.0
Deprecated. Use bootstrap/clients
func GetWriteNamespace ¶ added in v1.9.0
GetWriteNamespace checks the provided settings for the field `DiscoveryNamespace` and defaults to `defaults.GlooSystem` if not found.
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)
Deprecated. Use bootstrap/clients.
func NewVaultSecretClientFactory ¶ added in v1.9.25
func NewVaultSecretClientFactory(client *api.Client, pathPrefix, rootKey string) factory.ResourceClientFactory
Deprecated. Use bootstrap/clients
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)
Deprecated. Use bootstrap/clients.
func ValidateBootstrap ¶ added in v1.3.25
func VaultClientForSettings ¶ added in v0.18.0
func VaultClientForSettings(vaultSettings *v1.Settings_VaultSecrets) (*api.Client, error)
Deprecated. Use bootstrap/clients
Types ¶
type ConfigFactoryParams ¶ added in v0.18.0
type ConfigFactoryParams = clients.ConfigFactoryParams
Deprecated. Use bootstrap/clients.
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
Deprecated. Use bootstrap/clients.
type Consul ¶ added in v1.3.7
type Consul struct { ConsulWatcher consul.ConsulWatcher DnsServer string DnsPollingInterval *durationpb.Duration }
type ControlPlane ¶
type ControlPlane struct { *GrpcService SnapshotCache cache.SnapshotCache XDSServer server.Server }
type GrpcService ¶ added in v0.18.43
type Opts ¶
type Opts struct { WriteNamespace string StatusReporterNamespace string WatchNamespaces []string Upstreams factory.ResourceClientFactory KubeServiceClient skkube.ServiceClient UpstreamGroups factory.ResourceClientFactory Proxies factory.ResourceClientFactory Secrets factory.ResourceClientFactory Artifacts factory.ResourceClientFactory AuthConfigs factory.ResourceClientFactory RateLimitConfigs factory.ResourceClientFactory GraphQLApis factory.ResourceClientFactory VirtualServices factory.ResourceClientFactory RouteTables factory.ResourceClientFactory Gateways factory.ResourceClientFactory MatchableHttpGateways factory.ResourceClientFactory MatchableTcpGateways factory.ResourceClientFactory VirtualHostOptions factory.ResourceClientFactory RouteOptions factory.ResourceClientFactory KubeClient kubernetes.Interface Consul Consul WatchOpts clients.WatchOpts DevMode bool ControlPlane ControlPlane ValidationServer ValidationServer ProxyDebugServer ProxyDebugServer Settings *v1.Settings KubeCoreCache corecache.KubeCoreCache ValidationOpts *gwtranslator.ValidationOpts ReadGatwaysFromAllNamespaces bool GatewayControllerEnabled bool ProxyCleanup func() Identity leaderelector.Identity }
type ProxyDebugServer ¶ added in v1.9.25
type ProxyDebugServer struct { *GrpcService Server debug.ProxyEndpointServer }
ProxyDebugServer returns proxies to callers outside the gloo pod - this is only necessary for UI/debugging purposes.
type ValidationServer ¶ added in v0.18.43
type ValidationServer struct { *GrpcService Server validation.ValidationServer }
ValidationServer validates proxies generated by controllors outside the gloo pod