Documentation ¶
Index ¶
- func CidrEquals(n1, n2 *net.IPNet) bool
- func CidrOverlap(n1, n2 *net.IPNet) bool
- func CidrParseIPnPrefix(cidr string) (string, int, error)
- func GetObjGvk(scheme *runtime.Scheme, out runtime.Object) (gvk schema.GroupVersionKind, e error)
- func GetObjGvkFromListGkv(scheme *runtime.Scheme, listGvk schema.GroupVersionKind) (gvk schema.GroupVersionKind, e error)
- func NewKymaUnstructured() *unstructured.Unstructured
- type KymaModuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CidrEquals ¶
func CidrOverlap ¶
func GetObjGvkFromListGkv ¶
func GetObjGvkFromListGkv(scheme *runtime.Scheme, listGvk schema.GroupVersionKind) (gvk schema.GroupVersionKind, e error)
func NewKymaUnstructured ¶
func NewKymaUnstructured() *unstructured.Unstructured
Types ¶
type KymaModuleState ¶
type KymaModuleState string
KymaModuleState the state of the modul in the Kyma CR
const ( KymaModuleStateNotPresent KymaModuleState = "" // KymaModuleStateReady signifies CustomObject is ready and has been installed successfully. KymaModuleStateReady KymaModuleState = "Ready" // KymaModuleStateProcessing signifies CustomObject is reconciling and is in the process of installation. // Processing can also signal that the Installation previously encountered an error and is now recovering. KymaModuleStateProcessing KymaModuleState = "Processing" // KymaModuleStateError signifies an error for CustomObject. This signifies that the Installation // process encountered an error. // Contrary to Processing, it can be expected that this state should change on the next retry. KymaModuleStateError KymaModuleState = "Error" // KymaModuleStateDeleting signifies CustomObject is being deleted. This is the state that is used // when a deletionTimestamp was detected and Finalizers are picked up. KymaModuleStateDeleting KymaModuleState = "Deleting" // KymaModuleStateWarning signifies specified resource has been deployed, but cannot be used due to misconfiguration, // usually it means that user interaction is required. KymaModuleStateWarning KymaModuleState = "Warning" )
Valid States.
func GetKymaModuleState ¶
func GetKymaModuleState(k *unstructured.Unstructured, moduleName string) KymaModuleState
Click to show internal directories.
Click to hide internal directories.