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 MergeSchemas(source, dest *v1alpha1.Schema, path string, failOnDuplicate bool) error
- func ObjectFromAnnotationString(text string) (*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 MergeSchemas ¶
MergeSchemas merges values from the source into the destination
func ObjectFromAnnotationString ¶ added in v0.0.71
ObjectFromAnnotationString converts the string to a schema object
func ToAnnotationString ¶ added in v0.0.71
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.