Documentation ¶
Index ¶
- func GetInstallScope() string
- func GetIsolatedMode() bool
- func GetOperatorNamespace() string
- func GetWatchNamespace() string
- func GetoperatorCheckerMode() bool
- func MergeCR(defaultCR, changedCR []byte) map[string]interface{}
- func ResourceExists(dc discovery.DiscoveryInterface, apiGroupVersion, kind string) (bool, error)
- func ResourceNamespaced(dc discovery.DiscoveryInterface, apiGroupVersion, kind string) (bool, error)
- func StringSliceContentEqual(a, b []string) bool
- func WaitTimeout(wg *sync.WaitGroup, timeout time.Duration) bool
- type MultiErr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInstallScope ¶ added in v1.4.1
func GetInstallScope() string
GetInstallScope returns the scope of the installation
func GetIsolatedMode ¶ added in v1.6.0
func GetIsolatedMode() bool
func GetOperatorNamespace ¶ added in v1.4.1
func GetOperatorNamespace() string
GetOperatorNamespace returns the Namespace of the operator
func GetWatchNamespace ¶ added in v1.4.1
func GetWatchNamespace() string
GetWatchNamespace returns the Namespace of the operator
func GetoperatorCheckerMode ¶ added in v1.14.0
func GetoperatorCheckerMode() bool
func ResourceExists ¶ added in v1.4.1
func ResourceExists(dc discovery.DiscoveryInterface, apiGroupVersion, kind string) (bool, error)
ResourceExists returns true if the given resource kind exists in the given api groupversion
func ResourceNamespaced ¶ added in v1.13.0
func ResourceNamespaced(dc discovery.DiscoveryInterface, apiGroupVersion, kind string) (bool, error)
ResourceNamespaced returns true if the given resource is namespaced
func StringSliceContentEqual ¶ added in v1.4.1
StringSliceContentEqual checks if the contant from two string slice are the same
Types ¶
Click to show internal directories.
Click to hide internal directories.