Documentation ¶
Index ¶
Constants ¶
View Source
const ( AllCharSet = lowerCharSet + numberSet //Status Code for maximum app deployed limit. MaxAppDeployStatusCode = 429 // Secret URL constants HTTPURL = "http://" HTTPSURL = "https://" DockerURL = "docker.io" DockerServerURL = "https://index.docker.io/v1/" AWSURL = "amazonaws" GCRURL = "gcr.io" ACRURL = "azurecr.io" // app-controller version Version = "app-controller version: v1.1" )
Variables ¶
View Source
var ( //Kubeconfig path. Kubeconfig string //Valid NameSpace. ValidNameSpaceRegex = fmt.Sprintf(`^[a-z0-9]([-a-z0-9]*[a-z0-9])?$`) NoSpecialChar = "[^a-zA-Z0-9]+" //Maximum App Deploy Error MaxAppDeployError = "Maximum App deploy limit reached!" ErrorsToken = []string{"Token is expired", "Forbidden", "Token Invalid"} Errors = []string{"Failed to parse image"} )
View Source
var ( //Pf9Dir is the base Pf9Dir to store logs. Pf9Dir = filepath.Join(logDir, "pf9") //AppControllerLogDir - Base Dir to store app-controller logs. AppControllerLogDir = filepath.Join(Pf9Dir, "app-controller") //AppControllerLog represents location of the log. AppControllerLog = filepath.Join(AppControllerLogDir, "app-controller.log") )
Logger Variables.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.