Documentation
¶
Index ¶
- func BuildDockerImage(ctx context.Context, cfg *envconf.Config) (context.Context, error)
- func ClusterName(ctx context.Context) string
- 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 ConsulMasterToken(ctx context.Context) string
- func CreateConsulACLPolicy(ctx context.Context, cfg *envconf.Config) (context.Context, error)
- func CreateConsulAuthMethod(namespace string) env.Func
- 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 DeployMeshService(ctx context.Context, cfg *envconf.Config) (*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 ExtraPort(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 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 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 ConsulMasterToken ¶
func CreateConsulACLPolicy ¶
func CreateConsulAuthMethod ¶
func CreateKindCluster ¶
func CreateServiceAccount ¶
func CreateTestGatewayServer ¶
func CrossCompileProject ¶
func DeployMeshService ¶
DeployMeshService deploys an envoy proxy with roughly the same logic that consul-k8s uses in its connect-inject registration
func DestroyKindCluster ¶
func DockerImage ¶
func InstallGatewayCRDs ¶
func K8sServiceToken ¶
func LoadKindDockerImage ¶
func SetClusterName ¶
func SetNamespace ¶
func SetUpStack ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.