Versions in this module Expand all Collapse all v1 v1.4.0 Nov 9, 2024 v1.3.0 Nov 10, 2024 Changes in this version + const AnnotationSchemaOwnerKeyName + func Construct(namespace string, name string) string + func GroupKindToSchemaID(kind schema.GroupKind) string + func Parse(ref string) (namespace string, name string) + type AnnotationSchemaOwners map[string]AnnotationSchemaReference + func GetSchemaOwnersFromAnnotation(obj metav1.Object) (AnnotationSchemaOwners, error) + func (o *AnnotationSchemaOwners) UnmarshalJSON(bytes []byte) error + func (o AnnotationSchemaOwners) Add(ownerGK schema.GroupKind, owner metav1.Object) bool + func (o AnnotationSchemaOwners) Bind(obj metav1.Object) error + func (o AnnotationSchemaOwners) Has(ownerGK schema.GroupKind, owner metav1.Object) bool + func (o AnnotationSchemaOwners) List(ownerGK schema.GroupKind) []string + func (o AnnotationSchemaOwners) MarshalJSON() ([]byte, error) + func (o AnnotationSchemaOwners) Remove(ownerGK schema.GroupKind, owner metav1.Object) bool + func (o AnnotationSchemaOwners) String() string + type AnnotationSchemaReference struct + References AnnotationSchemaReferences + SchemaID string + type AnnotationSchemaReferences struct + func NewAnnotationSchemaOwnerReferences(refs ...string) AnnotationSchemaReferences + func (s *AnnotationSchemaReferences) UnmarshalJSON(bytes []byte) error + func (s AnnotationSchemaReferences) MarshalJSON() ([]byte, error)