utils

package
v0.0.0-...-c7825ed Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RESYNC_TIME = 6 * time.Hour
)

Variables

This section is empty.

Functions

func AddScheme

func AddScheme(scheme *runtime.Scheme)

func GetControllerClient

func GetControllerClient() (c client.Client, err error)

Types

type JsonOperator

type JsonOperator struct {
	Operator []string
}

encapsulation of json patch

func NewJsonOperator

func NewJsonOperator() JsonOperator

func (*JsonOperator) Add

func (o *JsonOperator) Add(path string, obj interface{}) (err error)

create add operator

func (*JsonOperator) UpdateObject

func (o *JsonOperator) UpdateObject(v interface{}) (result string, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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