Documentation ¶
Index ¶
Constants ¶
View Source
const ( TestResultsPath = "test_results/" // LogPerm is the permission for files that are created by this framework // that contain logs, outputs etc LogPerm = os.FileMode(0666) YKScheduler = "yunikorn-scheduler" YKSchedulerContainer = "yunikorn-scheduler-k8s" SchedulerName = "yunikorn" YKAdmCtrl = "yunikorn-admission-controller" YKSvcName = "yunikorn-service" // YuniKorn service name YKDeploymentName = "yunikorn-scheduler" YKAdmCtrlName = "yunikorn-admission-controller-service" // YuniKorn Admission controller serivce name // REST endpoints of YuniKorn PartitionsPath = "ws/v1/partitions" QueuesPath = "ws/v1/partition/%s/queues" AppsPath = "ws/v1/partition/%s/queue/%s/applications" AppPath = "ws/v1/partition/%s/queue/%s/application/%s" ClustersPath = "ws/v1/clusters" NodesPath = "ws/v1/nodes" HealthCheckPath = "ws/v1/scheduler/healthcheck" ValidateConfPath = "ws/v1/validate-conf" // YuniKorn Service Details DefaultYuniKornHost = "localhost" DefaultYuniKornPort = "9080" DefaultYuniKornScheme = "http" DefaultYuniKornConfigMap = "yunikorn-configs" DefaultPolicyGroup = "queues.yaml" )
Variables ¶
View Source
var YuniKornTestConfig = YuniKornTestConfigType{}
YuniKornTestConfig holds the global configuration of commandline flags in the ginkgo-based testing environment.
Functions ¶
This section is empty.
Types ¶
type YuniKornTestConfigType ¶
type YuniKornTestConfigType struct { JSONLogs bool LogLevel string Timeout time.Duration KubeConfig string LogFile string YkNamespace string YkHost string YkPort string YkScheme string LogDir string }
YuniKornTestConfigType holds all configurable elements of the testsuite
func (*YuniKornTestConfigType) ParseFlags ¶
func (c *YuniKornTestConfigType) ParseFlags()
ParseFlags parses commandline flags relevant to testing.
Click to show internal directories.
Click to hide internal directories.