Documentation ¶
Index ¶
- Variables
- func BoolPointer(b bool) *bool
- func Contains(s []string, e string) bool
- func Hash32(in string) (string, error)
- func InstallObjectOrder() func(o runtime.Object) int
- func IntPointer(i int32) *int32
- func IntPointer64(i int64) *int64
- func MergeLabels(labelGroups ...map[string]string) map[string]string
- func NewLogger(name string, out, err io.Writer, level int) logr.Logger
- func ObjectKeyFromObjectMeta(o v1.Object) types.NamespacedName
- func OrderedStringMap(original map[string]string) *orderedmap.OrderedMap
- func PointerToBool(b *bool) bool
- func PointerToInt(i *int) int
- func PointerToInt32(i *int32) int32
- func PointerToString(s *string) string
- func PointerToUint(i *uint) uint
- func StringPointer(s string) *string
- func UninstallObjectOrder() func(o runtime.Object) int
- type ResourceOrder
- type ResourceScoreFunc
- type RuntimeObjects
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalLogLevel = 0
Functions ¶
func InstallObjectOrder ¶ added in v0.12.0
func MergeLabels ¶
MergeLabels merge into map[string]string map
func ObjectKeyFromObjectMeta ¶ added in v0.7.0
func ObjectKeyFromObjectMeta(o v1.Object) types.NamespacedName
func OrderedStringMap ¶
func OrderedStringMap(original map[string]string) *orderedmap.OrderedMap
OrderedStringMap
func PointerToBool ¶ added in v0.11.0
func PointerToInt ¶ added in v0.11.0
func PointerToInt32 ¶ added in v0.21.0
func PointerToString ¶ added in v0.11.0
func PointerToUint ¶ added in v0.11.0
func UninstallObjectOrder ¶ added in v0.12.0
Types ¶
type ResourceOrder ¶ added in v0.11.0
type ResourceOrder string
const ( InstallResourceOrder ResourceOrder = "Install" UninstallResourceOrder ResourceOrder = "Uninstall" )
type ResourceScoreFunc ¶ added in v0.11.0
type RuntimeObjects ¶ added in v0.11.0
func (RuntimeObjects) Sort ¶ added in v0.11.0
func (os RuntimeObjects) Sort(order ResourceOrder)
Click to show internal directories.
Click to hide internal directories.