Documentation ¶
Index ¶
- func GetEnvDuration(key string, def time.Duration) time.Duration
- func IgnoreAlreadyExists(err error) error
- func IgnoreConflict(err error) error
- func IgnoreContainerNotFound(err error) error
- func IgnoreExist(err error) error
- func IgnoreNotFound(err error) error
- func IgnorePermission(err error) error
- func IsPrint(x string) bool
- func MustHash(v interface{}) string
- func MustJSON(in interface{}) string
- func MustUnJSON(v interface{}, in interface{})
- func NotEqual(a, b interface{}) (notEqual bool, patch string)
- func Printable(x string) string
- func ReadFile(filename string) (*unstructured.UnstructuredList, error)
- func Resource(kind string) string
- func SplitYAML(v interface{}) (*unstructured.UnstructuredList, error)
- type FileInfoUnstructuredList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IgnoreAlreadyExists ¶
func IgnoreConflict ¶
func IgnoreContainerNotFound ¶
func IgnoreExist ¶
func IgnoreNotFound ¶
func IgnorePermission ¶
func MustUnJSON ¶
func MustUnJSON(v interface{}, in interface{})
MustUnJSON unmarshalls JSON or panics. v - must be []byte or string in - must be a pointer
func ReadFile ¶
func ReadFile(filename string) (*unstructured.UnstructuredList, error)
func SplitYAML ¶
func SplitYAML(v interface{}) (*unstructured.UnstructuredList, error)
Types ¶
type FileInfoUnstructuredList ¶
type FileInfoUnstructuredList struct { fs.FileInfo unstructured.UnstructuredList }
func ReadDir ¶
func ReadDir(dirname string) ([]FileInfoUnstructuredList, error)
Click to show internal directories.
Click to hide internal directories.