-
Notifications
You must be signed in to change notification settings - Fork 911
/
consts.go
59 lines (45 loc) · 2.02 KB
/
consts.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
Copyright 2022 The Crossplane Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Package e2e implements end-to-end tests for Crossplane.
package e2e
// LabelArea represents the 'area' of a feature. For example 'apiextensions',
// 'pkg', etc. Assessments roll up to features, which roll up to feature areas.
// Features within an area may be split across different test functions.
const LabelArea = "area"
// LabelModifyCrossplaneInstallation is used to mark tests that are going to
// modify Crossplane's installation, e.g. installing, uninstalling or upgrading
// it.
const LabelModifyCrossplaneInstallation = "modify-crossplane-installation"
// LabelModifyCrossplaneInstallationTrue is used to mark tests that are going to
// modify Crossplane's installation.
const LabelModifyCrossplaneInstallationTrue = "true"
// LabelStage represents the 'stage' of a feature - alpha, beta, etc. Generally
// available features have no stage label.
const LabelStage = "stage"
const (
// LabelStageAlpha is used for tests of alpha features.
LabelStageAlpha = "alpha"
// LabelStageBeta is used for tests of beta features.
LabelStageBeta = "beta"
)
// LabelSize represents the 'size' (i.e. duration) of a test.
const LabelSize = "size"
const (
// LabelSizeSmall is used for tests that usually complete in a minute.
LabelSizeSmall = "small"
// LabelSizeLarge is used for test that usually complete in over a minute.
LabelSizeLarge = "large"
)
// FieldManager is the server-side apply field manager used when applying
// manifests.
const FieldManager = "crossplane-e2e-tests"