Documentation ¶
Index ¶
Constants ¶
View Source
const ( Production = "PRODUCTION" ServerPort = "SERVER_PORT" CertFolder = "CERT_FOLDER" EdgeSecHost = "EDGE_SEC_HOST" EdgeSecPort = "EDGE_SEC_PORT" SaltMasterHost = "SALT_MASTER_HOST" SaltMasterAdvertisedHost = "SALT_MASTER_ADV_HOST" ClusterSchedulerHost = "CLUSTER_SCHEDULER_HOST" ClusterSchedulerPort = "CLUSTER_SCHEDULER_PORT" )
environment variables for configuration
View Source
const ( HeartBeatInterval = time.Second * 30 SessionID = "sessionid" )
paralus constant
View Source
const ( // LOCAL_ACCOUNT is AccountType enum value for local users ACCOUNT_TYPE_LOCAL = "LOCAL" // SSO_ACCOUNT is AccountType enum value for SSO users ACCOUNT_TYPE_SSO = "SSO" )
View Source
const ( EventDocType = "event" AlertDocType = "alert" RelayAuditDocType = "relay_audit" // relay API audits RelayCommandsDocType = "relay_commands" RelayAPIAuditType = "RelayAPI" RelayCommandsAuditType = "RelayCommands" )
audit
View Source
const (
MaxDials = 2
)
View Source
const (
NamespacePrefix = "ns"
)
workload prefixes
Variables ¶
View Source
var (
PrjNameRX = regexp.MustCompile(`^[a-zA-Z][-a-zA-Z0-9]*[a-zA-Z0-9]$`)
)
Regex
View Source
var SessionDataKey contextKey
View Source
var SessionInternalKey contextKey
Functions ¶
This section is empty.
Types ¶
type CliConfigDownloadData ¶
type CliConfigDownloadData struct { Profile string `json:"profile"` RestEndpoint string `json:"rest_endpoint"` OpsEndpoint string `json:"ops_endpoint"` ApiKey string `json:"api_key"` ApiSecret string `json:"api_secret"` Project string `json:"project"` Organization string `json:"organization"` Partner string `json:"partner"` }
type DownloadData ¶
Click to show internal directories.
Click to hide internal directories.