
* This commit handles only warnings of mentioned type warning: comment on exported function <funcname> should be of the form "<funcname> ..." * In this case, there were comments for the exported function/constant/var for which warnings raised, but not in expected format. * So this fix is mostly formating the comment to avoid lint warnings. Observations: * comment did not had function name * function name in comment was immediately follwed by comma => function followed by space and any description is expected * function was not mentioned in the first line of the comment => when there is multiline comment, first line should start with function name Change-Id: Ife97104ebc1054f4e34259dca51e8bdb42b33bbd Relates-To:#148
20 lines
700 B
Go
20 lines
700 B
Go
package document
|
|
|
|
// Label Selectors
|
|
const (
|
|
BaseAirshipSelector = "airshipit.org"
|
|
EphemeralHostSelector = BaseAirshipSelector + "/ephemeral-node in (True, true)"
|
|
EphemeralUserDataSelector = BaseAirshipSelector + "/ephemeral-user-data in (True, true)"
|
|
InitInfraSelector = BaseAirshipSelector + "/phase = initinfra"
|
|
|
|
// DeployToK8sSelector checks that deploy-k8s label is not equal to true or True (string)
|
|
// Please note that by default every document in the manifest is to be deployed to kubernetes cluster.
|
|
DeployToK8sSelector = "config.kubernetes.io/local-config notin (True, true)"
|
|
)
|
|
|
|
// Kinds
|
|
const (
|
|
SecretKind = "Secret"
|
|
BareMetalHostKind = "BareMetalHost"
|
|
)
|