configmap

package
v1.0.9-13 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2025 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Client        k8sclient.Client
	Scheme        *runtime.Scheme
	ConfigMapFile string
	Name          string
	Options       map[string]interface{}

	LabelsFunc   func(v1.Object) map[string]string
	OverrideFunc func(v1.Object, *corev1.ConfigMap, resources.Action, map[string]interface{}) error
}

func (*Manager) BasedOnCR

func (m *Manager) BasedOnCR(instance v1.Object, configMap *corev1.ConfigMap) (*corev1.ConfigMap, error)

func (*Manager) CheckState

func (m *Manager) CheckState(instance v1.Object) error

func (*Manager) Delete

func (m *Manager) Delete(instance v1.Object) error

func (*Manager) Exists

func (m *Manager) Exists(instance v1.Object) bool

func (*Manager) Get

func (m *Manager) Get(instance v1.Object) (client.Object, error)

func (*Manager) GetConfigMapBasedOnCRFromFile

func (m *Manager) GetConfigMapBasedOnCRFromFile(instance v1.Object) (*corev1.ConfigMap, error)

func (*Manager) GetName

func (m *Manager) GetName(instance v1.Object) string

func (*Manager) Reconcile

func (m *Manager) Reconcile(instance v1.Object, update bool) error

func (*Manager) RestoreState

func (m *Manager) RestoreState(instance v1.Object) error

func (*Manager) SetCustomName

func (m *Manager) SetCustomName(name string)

Jump to

Keyboard shortcuts

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