Documentation
¶
Index ¶
- Constants
- func ClusterIdForTest() *aboutv1alpha1.ClusterProperty
- func ClusterSetIdForTest() *aboutv1alpha1.ClusterProperty
- func GetMulticlusterTestEndpoints() []*model.Endpoint
- func GetTestDnsNamespace() *model.Namespace
- func GetTestEndpoint1() *model.Endpoint
- func GetTestEndpoint2() *model.Endpoint
- func GetTestEndpoints(count int) (endpts []*model.Endpoint)
- func GetTestHttpNamespace() *model.Namespace
- func GetTestMulticlusterService() *model.Service
- func GetTestService() *model.Service
- func GetTestServiceWithEndpoint(endpoints []*model.Endpoint) *model.Service
- func SetTestVersion()
Constants ¶
View Source
const ( HttpNsName = "http-ns-name" DnsNsName = "dns-ns-name" HttpNsId = "http-ns-id" DnsNsId = "dns-ns-id" SvcName = "svc-name" SvcId = "svc-id" ClusterId1 = "test-mcs-clusterid-1" ClusterSet = "test-mcs-clustersetid" ClusterId2 = "test-mcs-clusterid-2" EndptId1 = "tcp-192_168_0_1-1" EndptId2 = "tcp-192_168_0_2-2" EndptIp1 = "192.168.0.1" EndptIp2 = "192.168.0.2" EndptReadyTrue = "true" EndptReadyFalse = "false" Port1 = 1 PortStr1 = "1" PortName1 = "http" Protocol1 = "TCP" ServicePort1 = 11 ServicePortStr1 = "11" Port2 = 2 PortStr2 = "2" PortName2 = "https" Protocol2 = "UDP" ServicePort2 = 22 ServicePortStr2 = "22" ClusterIp1 = "10.10.10.1" ClusterIp2 = "10.10.10.2" OpId1 = "operation-id-1" OpId2 = "operation-id-2" OpStart = 1 SvcType = "ClusterSetIP" SvcExportCreationTimestamp int64 = 1640995200000 Hostname = "host" Nodename = "node" PackageVersion = "aws-cloud-map-mcs-controller-for-k8s 0.0.1 (abcd)" )
Variables ¶
This section is empty.
Functions ¶
func ClusterIdForTest ¶ added in v0.3.0
func ClusterIdForTest() *aboutv1alpha1.ClusterProperty
func ClusterSetIdForTest ¶ added in v0.3.0
func ClusterSetIdForTest() *aboutv1alpha1.ClusterProperty
func GetMulticlusterTestEndpoints ¶ added in v0.3.0
func GetTestDnsNamespace ¶
func GetTestEndpoint1 ¶ added in v0.2.0
func GetTestEndpoint2 ¶
func GetTestEndpoints ¶ added in v0.2.2
func GetTestHttpNamespace ¶
func GetTestMulticlusterService ¶ added in v0.3.0
func GetTestService ¶
func GetTestServiceWithEndpoint ¶ added in v0.2.0
func SetTestVersion ¶ added in v0.3.0
func SetTestVersion()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.