Documentation
¶
Index ¶
- Variables
- func IsValidObjectName(name string) bool
- func ParseTags(tags []string, tagLabelPrefix string) map[string]string
- func WithClient(c *metadata.Client) func(*Decorator)
- func WithClientSet(k *kubernetes.Clientset) func(*Decorator)
- func WithInterval(i time.Duration) func(*Decorator)
- func WithNodeName(n string) func(*Decorator)
- func WithPrefix(p string) func(*Decorator)
- func WithTagsPrefix(t string) func(*Decorator)
- func WithTimeout(t time.Duration) func(*Decorator)
- type Decorator
- type KeyValueTag
Constants ¶
This section is empty.
Variables ¶
View Source
var TagSeparators = []rune{':', '='}
Functions ¶
func IsValidObjectName ¶
func WithClient ¶
func WithClientSet ¶
func WithClientSet(k *kubernetes.Clientset) func(*Decorator)
func WithInterval ¶
func WithNodeName ¶
func WithPrefix ¶
func WithTagsPrefix ¶
func WithTimeout ¶
Types ¶
type Decorator ¶
type Decorator struct {
// contains filtered or unexported fields
}
func NewDecorator ¶
type KeyValueTag ¶
func ParseTag ¶
func ParseTag(tag string, tagLabelPrefix string) (result *KeyValueTag)
Click to show internal directories.
Click to hide internal directories.