Documentation ¶
Index ¶
- func AddonGVR() schema.GroupVersionResource
- func CRDGVR() schema.GroupVersionResource
- func ContainsString(slice []string, s string) bool
- func GetCurretTimestamp() int64
- func IsExpired(startTime int64, ttlTime int64) bool
- func RemoveString(slice []string, s string) (result []string)
- func SecretGVR() schema.GroupVersionResource
- func WorkflowGVR() schema.GroupVersionResource
- func WorkflowType() *unstructured.Unstructured
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddonGVR ¶
func AddonGVR() schema.GroupVersionResource
AddonGVR returns the schema representation of the addon resource
func CRDGVR ¶
func CRDGVR() schema.GroupVersionResource
CRDGVR returns the schema representation for customresourcedefinitions
func ContainsString ¶
ContainsString helper function to check string in a slice of strings.
func GetCurretTimestamp ¶ added in v0.1.0
func GetCurretTimestamp() int64
GetCurretTimestamp -- get current timestamp in millisecond
func RemoveString ¶
RemoveString helper function to remove a string in a slice of strings.
func SecretGVR ¶
func SecretGVR() schema.GroupVersionResource
SecretGVR returns the schema representation of the secret resource
func WorkflowGVR ¶
func WorkflowGVR() schema.GroupVersionResource
WorkflowGVR returns the schema representation of the workflow resource
func WorkflowType ¶
func WorkflowType() *unstructured.Unstructured
WorkflowType return an unstructured workflow type object
Types ¶
Click to show internal directories.
Click to hide internal directories.