Documentation ¶
Index ¶
- func GetClusterIP(unstr *unstructured.Unstructured) string
- func GetCreationTimestamp(object *unstructured.Unstructured) (time.Time, error)
- func GetDeletionTimestamp(object *unstructured.Unstructured) (time.Time, error)
- func GetLabelSelector(unstr *unstructured.Unstructured) (*metav1.LabelSelector, error)
- func HasDataChanged(oldObject, newObject *unstructured.Unstructured) bool
- func HasStatusChanged(oldObject *unstructured.Unstructured, newObject *unstructured.Unstructured) bool
- func InterfaceToUnstructured(obj interface{}) (*unstructured.Unstructured, error)
- func IsConfigMapOrSecret(object *unstructured.Unstructured) bool
- func IsHelmSecret(object *unstructured.Unstructured) bool
- func IsSecret(object *unstructured.Unstructured) bool
- func PruneSecret(object *unstructured.Unstructured)
- func RedactEnvVar(object *unstructured.Unstructured)
- func UnstructuredToPod(unstr *unstructured.Unstructured) (*corev1.Pod, error)
- func UnstructuredToService(unstr *unstructured.Unstructured) (*corev1.Service, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterIP ¶ added in v0.4.4
func GetClusterIP(unstr *unstructured.Unstructured) string
func GetCreationTimestamp ¶
func GetCreationTimestamp(object *unstructured.Unstructured) (time.Time, error)
func GetDeletionTimestamp ¶
func GetDeletionTimestamp(object *unstructured.Unstructured) (time.Time, error)
func GetLabelSelector ¶ added in v0.4.4
func GetLabelSelector(unstr *unstructured.Unstructured) (*metav1.LabelSelector, error)
func HasDataChanged ¶
func HasDataChanged(oldObject, newObject *unstructured.Unstructured) bool
func HasStatusChanged ¶
func HasStatusChanged(oldObject *unstructured.Unstructured, newObject *unstructured.Unstructured) bool
hasStatusChanged checks whether the status has changed from oldObject to newObject
func InterfaceToUnstructured ¶
func InterfaceToUnstructured(obj interface{}) (*unstructured.Unstructured, error)
runtimeObjecttoUnstructured converts the runtime object to unstructured
func IsConfigMapOrSecret ¶
func IsConfigMapOrSecret(object *unstructured.Unstructured) bool
func IsHelmSecret ¶ added in v0.5.2
func IsHelmSecret(object *unstructured.Unstructured) bool
func IsSecret ¶ added in v0.5.4
func IsSecret(object *unstructured.Unstructured) bool
func PruneSecret ¶ added in v0.5.4
func PruneSecret(object *unstructured.Unstructured)
func RedactEnvVar ¶ added in v0.4.5
func RedactEnvVar(object *unstructured.Unstructured)
func UnstructuredToPod ¶
func UnstructuredToPod(unstr *unstructured.Unstructured) (*corev1.Pod, error)
UnstructuredToPod converts the unstructured content to Pod
func UnstructuredToService ¶ added in v0.4.4
func UnstructuredToService(unstr *unstructured.Unstructured) (*corev1.Service, error)
UnstructuredToService converts the unstructured content to Service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.