Documentation
¶
Index ¶
Constants ¶
View Source
const AttributeNameAnnotationValue = api.AttributeName("annotation-value")
View Source
const AttributeNameLabelValue = api.AttributeName("label-value")
View Source
const AttributeNameNamespaceNameReference = api.AttributeName("namespace-name-reference")
View Source
const OriginalNameAnnotation = "confighub.com/OriginalName"
Variables ¶
View Source
var KubernetesRegistrar = &KubernetesRegistrarType{}
Functions ¶
func InitSchemaFinder ¶
func InitSchemaFinder() error
Types ¶
type KubernetesRegistrarType ¶
type KubernetesRegistrarType struct{}
func (*KubernetesRegistrarType) GetToolchainPath ¶
func (r *KubernetesRegistrarType) GetToolchainPath() string
func (*KubernetesRegistrarType) RegisterFunctions ¶
func (r *KubernetesRegistrarType) RegisterFunctions(kh handler.FunctionRegistry)
func (*KubernetesRegistrarType) SetPathRegistry ¶
func (r *KubernetesRegistrarType) SetPathRegistry(fh handler.FunctionRegistry)
type ResourceQuantityComparison ¶
type ResourceQuantityComparison struct {
// contains filtered or unexported fields
}
ResourceQuantityComparison implements CustomStringComparator for Kubernetes resource quantities
func NewResourceQuantityComparison ¶
func NewResourceQuantityComparison() *ResourceQuantityComparison
NewResourceQuantityComparison creates a new ResourceQuantityComparison instance
func (*ResourceQuantityComparison) Evaluate ¶
func (r *ResourceQuantityComparison) Evaluate(expr *api.RelationalExpression, value string) (bool, error)
Evaluate implements CustomStringComparator.Evaluate
func (*ResourceQuantityComparison) MatchesPath ¶
func (r *ResourceQuantityComparison) MatchesPath(path string) bool
MatchesPath implements CustomStringComparator.MatchesPath
type SchemaFinder ¶
type SchemaFinder struct {
// contains filtered or unexported fields
}
func NewSchemaFinder ¶
func NewSchemaFinder() (*SchemaFinder, error)
func (*SchemaFinder) LookupPath ¶
func (e *SchemaFinder) LookupPath(gvkString, fieldPath string) (*SchemaInfo, error)
type SchemaInfo ¶
type SchemaInfo struct {
Description string
}
func LookupPath ¶
func LookupPath(gvkString, fieldPath string) (*SchemaInfo, error)
Click to show internal directories.
Click to hide internal directories.