configobservation

package
v0.0.0-alpha.0....-692bd96 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertJSON

func ConvertJSON(o interface{}) (interface{}, error)

ConvertJSON is a function tailored to convert slices of various types into slices of interface{}, it also works with object os various types, converting them into map[string]interface{}. This function copies the original data.

func ObserveField

func ObserveField(observedConfig map[string]interface{}, val interface{}, fieldName string, skipIfEmpty bool) error

ObserveField sets the nested fieldName's value in the provided observedConfig. If the provided value is nil, no value is set. If skipIfEmpty is true, the value

Types

type Listers

type Listers struct {
	ImageConfigLister     configlistersv1.ImageLister
	BuildConfigLister     configlistersv1.BuildLister
	ConfigMapLister       corelistersv1.ConfigMapLister
	NetworkLister         configlistersv1.NetworkLister
	FeatureGateLister_    configlistersv1.FeatureGateLister
	ClusterVersionLister  configlistersv1.ClusterVersionLister
	ClusterOperatorLister configlistersv1.ClusterOperatorLister
	PreRunCachesSynced    []cache.InformerSynced
}

func (Listers) FeatureGateLister

func (l Listers) FeatureGateLister() configlistersv1.FeatureGateLister

func (Listers) PreRunHasSynced

func (l Listers) PreRunHasSynced() []cache.InformerSynced

func (Listers) ResourceSyncer

func (l Listers) ResourceSyncer() resourcesynccontroller.ResourceSyncer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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