crd

package
v0.0.0-...-ce43100 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRDClient

type CRDClient struct {
	CRD    *CRDConfig
	Logger *zap.Logger
}

func (*CRDClient) GetCRD

func (client *CRDClient) GetCRD() (v1beta1.Watcher, error)

GetCRD returns the Watcher CRD Object, used to feed configs

func (*CRDClient) UpdateStatus

func (client *CRDClient) UpdateStatus(status string) error

UpdateStatus update Status Message on Watcher Status CRD

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