client

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildClient

func BuildClient() (err error)

func CreateSecret

func CreateSecret(ns string, secret *cv1.Secret) error

func DeleteSecret

func DeleteSecret(ns, name string) (err error)

func GetAllCRD

func GetAllCRD(namespace string, crd schema.GroupVersionResource) (result []model.KudecsV1, err error)

func GetSecret

func GetSecret(ns, name string) (secret *cv1.Secret, err error)

func UpdateSecret added in v0.2.0

func UpdateSecret(ns string, secret *cv1.Secret) error

func WatchCRDS added in v1.0.0

func WatchCRDS(crd schema.GroupVersionResource) chan WrappedCRD

Types

type WrappedCRD added in v1.0.0

type WrappedCRD struct {
	Type   string         `json:"Type"`
	Object model.KudecsV1 `json:"Object"`
}

Jump to

Keyboard shortcuts

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