Documentation
¶
Index ¶
- Constants
- Variables
- func ClosePortForwarderOnInterrupt(fw kube.PortForwarder)
- func GetRootCommand() *cobra.Command
- func TranslateGatewayAPIToXds(namespace, dnsDomain, resourceType string, resources *resource.Resources, ...) (map[string]any, error)
- type ServerVersion
- type TranslationOptions
- type TranslationResult
- type VersionInfo
Constants ¶
View Source
const ( AllEnvoyGatewayConfigType envoyGatewayConfigType = "all" GatewayClassEnvoyGatewayConfigType envoyGatewayConfigType = "gatewayclass" GatewayEnvoyGatewayConfigType envoyGatewayConfigType = "gateway" HTTPRouteEnvoyGatewayConfigType envoyGatewayConfigType = "httproute" GRPCRouteEnvoyGatewayConfigType envoyGatewayConfigType = "grpcroute" TLSRouteEnvoyGatewayConfigType envoyGatewayConfigType = "tlsroute" TCPRouteEnvoyGatewayConfigType envoyGatewayConfigType = "tcproute" UDPRouteEnvoyGatewayConfigType envoyGatewayConfigType = "udproute" ClientTrafficPolicyEnvoyGatewayConfigType envoyGatewayConfigType = "clienttrafficpolicy" BackendTrafficPolicyEnvoyGatewayConfigType envoyGatewayConfigType = "backendtrafficpolicy" BackendTLSPolicyEnvoyGatewayConfigType envoyGatewayConfigType = "backendtlspolicy" SecurityPolicyEnvoyGatewayConfigType envoyGatewayConfigType = "securitypolicy" EnvoyPatchPolicyEnvoyGatewayConfigType envoyGatewayConfigType = "envoypatchpolicy" EnvoyExtensionPolicyEnvoyGatewayConfigType envoyGatewayConfigType = "envoyextensionpolicy" ServiceEnvoyGatewayConfigType envoyGatewayConfigType = "service" SecretEnvoyGatewayConfigType envoyGatewayConfigType = "secret" ConfigMapEnvoyGatewayConfigType envoyGatewayConfigType = "configmap" NamespaceEnvoyGatewayConfigType envoyGatewayConfigType = "namespace" EndpointSliceEnvoyGatewayConfigType envoyGatewayConfigType = "endpointslice" ReferenceGrantEnvoyGatewayConfigType envoyGatewayConfigType = "referencegrant" HTTPRouteFilterEnvoyGatewayConfigType envoyGatewayConfigType = "httproutefilter" EnvoyProxyEnvoyGatewayConfigType envoyGatewayConfigType = "envoyproxy" BackendEnvoyGatewayConfigType envoyGatewayConfigType = "backend" ServiceImportEnvoyGatewayConfigType envoyGatewayConfigType = "serviceimport" )
Variables ¶
View Source
var ( BootstrapEnvoyConfigType envoyConfigType = "bootstrap" ClusterEnvoyConfigType envoyConfigType = "cluster" EndpointEnvoyConfigType envoyConfigType = "endpoint" ListenerEnvoyConfigType envoyConfigType = "listener" RouteEnvoyConfigType envoyConfigType = "route" AllEnvoyConfigType envoyConfigType = "all" )
Functions ¶
func ClosePortForwarderOnInterrupt ¶ added in v1.0.0
func ClosePortForwarderOnInterrupt(fw kube.PortForwarder)
func GetRootCommand ¶
GetRootCommand returns the root cobra command to be executed by egctl main.
func TranslateGatewayAPIToXds ¶ added in v1.4.0
Types ¶
type ServerVersion ¶
type ServerVersion struct {
types.NamespacedName
version.Info
}
type TranslationOptions ¶ added in v1.7.0
type TranslationResult ¶
type VersionInfo ¶
type VersionInfo struct {
ClientVersion string `json:"client"`
ServerVersions []*ServerVersion `json:"server,omitempty"`
}
func Get ¶
func Get() VersionInfo
Source Files
¶
- collect.go
- config.go
- config_bootstrap.go
- config_cluster.go
- config_cmd.go
- config_endpoint.go
- config_envoy_gateway.go
- config_listener.go
- config_ratelimit.go
- config_route.go
- dashboard.go
- dashboard_envoy.go
- dashboard_envoy_gateway.go
- experimental.go
- install.go
- root.go
- stats.go
- stats_envoy.go
- status.go
- translate.go
- uninstall.go
- utils.go
- validate.go
- version.go
Click to show internal directories.
Click to hide internal directories.