Documentation
¶
Index ¶
- func BuildDockerImage(ctx context.Context, cfg *envconf.Config) (context.Context, error)
- func ClusterName(ctx context.Context) string
- func ConsulCA(ctx context.Context) []byte
- func ConsulClient(ctx context.Context) *api.Client
- func ConsulGRPCPort(ctx context.Context) int
- func ConsulHTTPPort(ctx context.Context) int
- func ConsulIP(ctx context.Context) string
- func ConsulInitialManagementToken(ctx context.Context) string
- func ConsulNamespace(ctx context.Context) string
- func CreateConsulACLPolicy(ctx context.Context, cfg *envconf.Config) (context.Context, error)
- func CreateConsulAuthMethod(namespace string) env.Func
- func CreateConsulNamespace(ctx context.Context, cfg *envconf.Config) (context.Context, error)
- func CreateKindCluster(clusterName string) env.Func
- func CreateServiceAccount(namespace string) env.Func
- func CreateTestConsulContainer(name, namespace string) env.Func
- func CreateTestGatewayServer(namespace string) env.Func
- func CrossCompileProject(ctx context.Context, cfg *envconf.Config) (context.Context, error)
- func DeployHTTPMeshService(ctx context.Context, cfg *envconf.Config, consulNamespace ...string) (*core.Service, error)
- func DeployTCPMeshService(ctx context.Context, cfg *envconf.Config, consulNamespace ...string) (*core.Service, error)
- func DestroyKindCluster(name string) env.Func
- func DestroyTestGatewayServer(ctx context.Context, cfg *envconf.Config) (context.Context, error)
- func DockerImage(ctx context.Context) string
- func ExtraDockerImages() []string
- func ExtraTCPTLSPort(ctx context.Context) int
- func HTTPPort(ctx context.Context) int
- func HostRoute(ctx context.Context) string
- func InstallConsulAPIGatewayCRDs(ctx context.Context, cfg *envconf.Config) (context.Context, error)
- func InstallGatewayCRDs(ctx context.Context, cfg *envconf.Config) (context.Context, error)
- func IsEnterprise() bool
- func K8sServiceToken(ctx context.Context) string
- func LoadKindDockerImage(clusterName string) env.Func
- func Namespace(ctx context.Context) string
- func SetClusterName(name string) env.Func
- func SetHostRoute(ctx context.Context, hostRoute string) context.Context
- func SetNamespace(namespace string) env.Func
- func SetUpStack(hostRoute string) env.Func
- func TCPPort(ctx context.Context) int
- func TCPTLSPort(ctx context.Context) int
- func TearDownStack(ctx context.Context, cfg *envconf.Config) (context.Context, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDockerImage ¶
func ClusterName ¶
func ConsulGRPCPort ¶
func ConsulHTTPPort ¶
func ConsulNamespace ¶
func CreateConsulACLPolicy ¶
func CreateConsulAuthMethod ¶
func CreateConsulNamespace ¶
func CreateKindCluster ¶
func CreateServiceAccount ¶
func CreateTestGatewayServer ¶
func CrossCompileProject ¶
func DeployHTTPMeshService ¶
func DeployHTTPMeshService(ctx context.Context, cfg *envconf.Config, consulNamespace ...string) (*core.Service, error)
DeployHTTPMeshService deploys an envoy proxy with roughly the same logic that consul-k8s uses in its connect-inject registration
func DeployTCPMeshService ¶
func DeployTCPMeshService(ctx context.Context, cfg *envconf.Config, consulNamespace ...string) (*core.Service, error)
DeployTCPMeshService deploys an envoy proxy with roughly the same logic that consul-k8s uses in its connect-inject registration
func DestroyKindCluster ¶
func DockerImage ¶
func ExtraDockerImages ¶
func ExtraDockerImages() []string
func ExtraTCPTLSPort ¶
func InstallGatewayCRDs ¶
func IsEnterprise ¶
func IsEnterprise() bool
func K8sServiceToken ¶
func LoadKindDockerImage ¶
func SetClusterName ¶
func SetNamespace ¶
func SetUpStack ¶
func TCPTLSPort ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.