crdtools

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *zap.Logger

Functions

func GetCRD

func GetCRD(CRD *CRDConfig) ([]byte, error)

GetCRD returns the Watcher CRD Object, used to feed configs

func GetK8SConfig

func GetK8SConfig() (*kubernetes.Clientset, error)

func UpdateStatus

func UpdateStatus(CRD *CRDConfig, statusPayload string) error

Types

type CRDConfig

type CRDConfig struct {
	APIVersion   string
	Namespace    string
	InstanceName string
	Resource     string
}

Jump to

Keyboard shortcuts

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