Documentation
¶
Index ¶
- func GetMappingKeyNode(n *yaml.Node, key string, create bool, expectedKind yaml.Kind, ...) (*yaml.Node, error)
- func GetMappingKeyValue(n *yaml.Node, key string, expectedKind yaml.Kind, expectedTag string) (interface{}, error)
- func SetMappingKeyValue(n *yaml.Node, key string, value interface{}, expectedKind yaml.Kind, ...) error
- type RNode
- func (r *RNode) GetAPIGroupAndVersion() (string, string, error)
- func (r *RNode) GetAPIVersion() (string, error)
- func (r *RNode) GetAnnotation(key string) (string, error)
- func (r *RNode) GetKind() (string, error)
- func (r *RNode) GetLabel(key string) (string, error)
- func (r *RNode) GetLabels() (map[string]string, error)
- func (r *RNode) GetName() (string, error)
- func (r *RNode) GetNamespace() (string, error)
- func (r *RNode) IsMatchingFilter(includes []TargetingFilter, excludes []TargetingFilter) (bool, error)
- func (r *RNode) IsMatchingLabelSelector(selector string) (bool, error)
- func (r *RNode) SetAnnotation(key string, value interface{}) error
- func (r *RNode) SetLabel(key string, value interface{}) error
- func (r *RNode) SetName(value string) error
- func (r *RNode) SetNamespace(value string) error
- type TargetingFilter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMappingKeyNode ¶
func GetMappingKeyValue ¶
func SetMappingKeyValue ¶
Types ¶
type RNode ¶
type RNode struct {
N *yaml.Node
}
func (*RNode) GetAPIGroupAndVersion ¶
func (*RNode) GetAPIVersion ¶
func (*RNode) GetNamespace ¶
func (*RNode) IsMatchingFilter ¶
func (r *RNode) IsMatchingFilter(includes []TargetingFilter, excludes []TargetingFilter) (bool, error)
func (*RNode) IsMatchingLabelSelector ¶
func (*RNode) SetAnnotation ¶
func (*RNode) SetNamespace ¶
type TargetingFilter ¶
Click to show internal directories.
Click to hide internal directories.