Documentation ¶
Index ¶
- func FindObjectProperty(s *v1alpha1.Schema, objectName, property string) (*v1alpha1.Object, *v1alpha1.Property)
- func LoadSchemaFile(fileName string) (*v1alpha1.Schema, error)
- func LoadSchemaObjectFromFiles(name string, fileNames []string) (*v1alpha1.Object, error)
- func ObjectFromAnnotationString(text string) (*v1alpha1.Object, error)
- func ObjectFromObjectMeta(m *metav1.ObjectMeta) (*v1alpha1.Object, error)
- func ToAnnotationString(s interface{}) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindObjectProperty ¶
func FindObjectProperty(s *v1alpha1.Schema, objectName, property string) (*v1alpha1.Object, *v1alpha1.Property)
FindObjectProperty finds the schema property for the given object
func LoadSchemaFile ¶
LoadSchemaFile loads a specific secret mapping YAML file
func LoadSchemaObjectFromFiles ¶
LoadSchemaObjectFromFiles loads a list of schema files and finds the schema object for the given name
func ObjectFromAnnotationString ¶
ObjectFromAnnotationString converts the string to a schema object
func ObjectFromObjectMeta ¶
func ObjectFromObjectMeta(m *metav1.ObjectMeta) (*v1alpha1.Object, error)
ObjectFromObjectMeta returns the schema object for the given object metadata
func ToAnnotationString ¶
ToAnnotationString converts the schema object to YAML so we can store it as an annotation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.