# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
Transform AppInst deployment type to ClusterInst deployment type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DNS names must have labels <= 63 chars, and the total length <= 255 octets (which works out to 253 chars).
CidrContainsCidr returns true only if the first CIDR fully contains the second CIDR.
Raise the alarm when there are cloudlet resource usage warnings.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
round the given field denoted by digIdx, we mostly want seconds rounded to two digits.
FqdnPrefix is used only for IP-per-service platforms that allocate an IP for each kubernetes service.
No description provided by the author
Same as registry auth, but is always the user/password of an admin or other user account.
No description provided by the author
GetAppDeploymentManifest gets the deployment-specific manifest.
GetAppInstCloudletScopedName gets the previous key name that was scoped to the cloudlet, if it exists.
GetAppInstCompatibilityVersion always returns the highest compatibility version.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Generate unique and recognizable name for autoprov deployed instances.
No description provided by the author
GetCertsDirAndFiles returns certsDir, certFile, keyFile.
No description provided by the author
GetCloudletKeyHash returns a short hash of the cloudlet key to allow for a deterministic string representing the cloudlet, that does not reveal the cloudlet name (which would likely reveal its location).
No description provided by the author
GetClusterInstCloudletScopedName gets the previous key name that was scoped to the cloudlet, if it exists.
GetClusterInstCompatibilityVersion always returns the highest compatibility version.
GetClusterInstVMRequirements uses the nodeFlavor and masterNodeFlavor if it cannot find a platform flavor.
GetCommonResourceQuotaProps returns the common resource quota properties.
GetCRMCompatibilityVersion always returns the highest compatibility version.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Return sha256 image digest, requires skopeo installed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Returns a string of format `"selector","selector",...`.
No description provided by the author
GetMappedAccessType gets the default access type for the deployment.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Old version of getting the shared root lb, does not match wildcard cert.
Wildcard cert for all LBs both shared and dedicated.
No description provided by the author
No description provided by the author
No description provided by the author
5GB = 10minutes.
Helper function - returns the string representations of all valid severities.
No description provided by the author
No description provided by the author
GRPCError unwraps status.Status errors, this avoids ugly type print outs when various library code converts the error to a string.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Autoprov relies on detecting if an AppInst is already being created.
Autoprov relies on detecting if an AppInst is already being deleted.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Prune labels we don't want to show on the alerts sent to the external alert integrations.
No description provided by the author
No description provided by the author
IsPlatformApp true if the developer/app combo is a platform app.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
return hostname and port from hostOrURL string.
For the DME and CRM that require a cloudlet key to be specified at startup, this function parses the string argument.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* Sends HTTP request to regUrl * Checks if any Auth Credentials is needed by doing a lookup to Vault path * - If it finds auth details, then HTTP request is sent with auth details set in HTTP Header * - else, we assume it to be a public registry which requires no authentication * Following is the flow for Docker Registry v2 authentication: * - Send HTTP request to regUrl with auth (if found in Vault) or else without auth * - If the registry requires authorization, it will return a 401 Unauthorized response with a * WWW-Authenticate header detailing how to authenticate to this registry * - We then make a request to the authorization service for a Bearer token * - The authorization service returns an opaque Bearer token representing the client’s authorized access * - Retry the original request with the Bearer token embedded in the request’s Authorization header * - The Registry authorizes the client by validating the Bearer token and the claim set embedded within * it and begins the session as usual */.
No description provided by the author
No description provided by the author
StreamRecv converts a grpc stream receiver into callbacks.
StreamRecvWithStatus is like StreamRecv, but for objects that include a StatusInfo object whose new status messages should be sent via the statusSend callback.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
Alert types.
Alert types.
Alert types.
Alert names.
Alert names.
Alert names.
Alert names.
Alert names.
Alert names.
Alert names.
Alert names.
Alert names.
Alert names.
Alert types.
Alert types.
Alert types.
Alert types.
No description provided by the author
No description provided by the author
Alert types.
No description provided by the author
Alert types.
Alert names.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AppInsts created before certain upgrades have generated names (like namespaces, infra-specific objects etc) that are based on the older version of the AppInst.
AppInsts created before certain upgrades have generated names (like namespaces, infra-specific objects etc) that are based on the older version of the AppInst.
AppInsts created before certain upgrades have generated names (like namespaces, infra-specific objects etc) that are based on the older version of the AppInst.
AppInsts created before certain upgrades have generated names (like namespaces, infra-specific objects etc) that are based on the older version of the AppInst.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Important: key strings used here for grpc metadata keys MUST be lower-case.
Common cert name.
ClusterInst compatibility versions, same as above for AppInsts.
ClusterInst compatibility versions, same as above for AppInsts.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Fully Qualified Domain Names (FQDNs) primarily come in the the following format of 4 "labels" (where domain can actually be more than one label itself, i.e.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
These alphabets are used for generating random strings with gonanoid.
No description provided by the author
GCP limits to 40, Azure has issues above 54.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
crm and shepherd on platform VM.
shepherd on root LB.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Cloudlet Compute nodes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Values for QOS Priority Session API.
No description provided by the author
No description provided by the author
UnknownOwner for ObjID.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
List in the order of increasing severity.
No description provided by the author

# Variables

for healthCheck:.
No description provided by the author
No description provided by the author
Alert annotation keys for autoscale:.
No description provided by the author
Map represents severities for the specific alerts that the platfrom generates.
No description provided by the author
No description provided by the author
No description provided by the author
Influx metrics selectors.
No description provided by the author
No description provided by the author
No description provided by the author
Client type to access cluster nodes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
cloudlet types.
Cloudlet resource usage.
No description provided by the author
No description provided by the author
No description provided by the author
Common cloudlet resources.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Metrics common variables - TODO move to edge-cloud-infra after metrics-exporter chagnes.
No description provided by the author
DIND script to pull from kubeadm-dind-cluster.
No description provided by the author
No description provided by the author
No description provided by the author
Map used to identify which metrics should go to persistent_metrics db.
EdgeEvents Metrics Influx variables.
Instance Lifecycle variables.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AppLabels for the application containers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
network schemes for use by standalone deployments (e.g.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
special operator types.
platform apps.
No description provided by the author
No description provided by the author
Unix Domain Socket.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Platform specific resources.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Resource metrics.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Common platform resources.
Resource units.
No description provided by the author
resource types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Common API paths.
No description provided by the author

# Structs

AppInstLabels are for labeling objects to track that they belong to an AppInst.
AppInstLabelsOld are the version of AppInstLabels before the AppInstUniqueNameKey upgrade.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
For unit tests.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Implements grpc.Codec to allow the more recent versions of grpc to use the gogo protobuf marshaling functions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TestPublicCertApi implements GetPublicCertApi for unit/e2e testing.
No description provided by the author
VaultPublicCertApi implements GetPublicCertApi by connecting directly to Vault.
No description provided by the author

# Interfaces

GetPublicCertApi abstracts the way the public cert is retrieved.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
NodeRole specifies the role for provisioning a node from ansible.
No description provided by the author
No description provided by the author