extsecrets

package
v0.0.113 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

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

func SimplifyKey(backendType, key string) string

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

type Interface

type Interface interface {
	List(ns string, listOptions metav1.ListOptions) ([]*v1.ExternalSecret, error)
}

func NewClient

func NewClient(dynClient dynamic.Interface) (Interface, error)

NewClient creates a new client from the given dynamic client

Directories

Path Synopsis
gsm

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL