Documentation ¶
Index ¶
- Constants
- Variables
- func FromArg(arg string) (key, value string)
- func GetManifestObject(asset string) (*unstructured.Unstructured, error)
- func GetOperatorNamespace() (string, error)
- func GetPlatformNamespace(platformInfo platform.PlatformInfo) string
- func ToArg(name, value string) string
- func ToMap(obj interface{}) map[string]interface{}
Constants ¶
View Source
const ( NamespaceKind = "Namespace" ServiceKind = "Service" ValidatingWebhookConfigurationKind = "ValidatingWebhookConfiguration" MutatingWebhookConfigurationKind = "MutatingWebhookConfiguration" SecretKind = "Secret" )
Variables ¶
View Source
var ( DefaultGatekeeperNamespace = "gatekeeper-system" DefaultOpenShiftGatekeeperNamespace = "openshift-gatekeeper-system" )
Functions ¶
func FromArg ¶
FromArg Converts a container argument into a key, value pair. e.g. '--argName=argValue' returns '--argName', 'argValue'
func GetManifestObject ¶ added in v0.1.2
func GetManifestObject(asset string) (*unstructured.Unstructured, error)
func GetOperatorNamespace ¶
GetOperatorNamespace returns the namespace the operator is running in from the associated service account secret.
func GetPlatformNamespace ¶
func GetPlatformNamespace(platformInfo platform.PlatformInfo) string
GetPlatformNamespace returns the namespace for the designated platform.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.