Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Test App/Cluster state data TestCloudletKey = edgeproto.CloudletKey{ Organization: "testoperator", Name: "testcloudlet", } TestCloudlet = edgeproto.Cloudlet{ Key: TestCloudletKey, } TestClusterKey = edgeproto.ClusterKey{ Name: "testcluster", Organization: "", } TestClusterInst = edgeproto.ClusterInst{ Key: TestClusterKey, Deployment: cloudcommon.DeploymentTypeDocker, CloudletKey: TestCloudletKey, } TestAutoProvPolicyKey = edgeproto.PolicyKey{ Name: "autoprov", } TestAutoProvPolicy = edgeproto.AutoProvPolicy{ Key: TestAutoProvPolicyKey, UndeployClientCount: 3, UndeployIntervalCount: 3, Cloudlets: []*edgeproto.AutoProvCloudlet{ &edgeproto.AutoProvCloudlet{ Key: TestCloudletKey, }, }, } TestAppKey = edgeproto.AppKey{ Name: "App", } TestApp = edgeproto.App{ Key: TestAppKey, AccessPorts: "tcp:1234", AccessType: edgeproto.AccessType_ACCESS_TYPE_LOAD_BALANCER, AutoProvPolicies: []string{ TestAutoProvPolicyKey.Name, }, } TestAppInstKey = edgeproto.AppInstKey{ Name: "AppInstTest", Organization: TestAppKey.Organization, } TestAppInst = edgeproto.AppInst{ Key: TestAppInstKey, AppKey: TestApp.Key, ClusterKey: TestClusterKey, CloudletKey: TestCloudletKey, State: edgeproto.TrackedState_READY, HealthCheck: dme.HealthCheck_HEALTH_CHECK_OK, Liveness: edgeproto.Liveness_LIVENESS_AUTOPROV, MappedPorts: []dme.AppPort{ dme.AppPort{ Proto: dme.LProto_L_PROTO_TCP, PublicPort: 1234, }, }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.