Documentation ¶
Index ¶
Constants ¶
View Source
const (
// SchemaObjectAnnotation the annotation which contains the JSON encoded schema object definintion
SchemaObjectAnnotation = "secret.jenkins-x.io/schema-object"
)
Variables ¶
View Source
var (
ExternalSecretsResource = schema.GroupVersionResource{Group: "kubernetes-client.io", Version: "v1", Resource: "externalsecrets"}
)
Functions ¶
func FromUnstructured ¶
func FromUnstructured(u *unstructured.Unstructured, structured interface{}) error
FromUnstructured converts from an unstructured object to a pointer to a structured type
func SimplifyKey ¶
SimplifyKey simplify the key to avoid unnecessary paths
func ToStructured ¶
func ToStructured(resource duck.OneOfOurs) (*unstructured.Unstructured, error)
ToStructured converts a resource to an unstructured type
Types ¶
Click to show internal directories.
Click to hide internal directories.