configmap

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package configmap provides management for RunConfig ConfigMaps

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	UpsertRunConfigMap(ctx context.Context, configMap *corev1.ConfigMap) error
}

Manager defines the interface for managing RunConfig ConfigMaps

type RunConfigConfigMap

type RunConfigConfigMap struct {
	// contains filtered or unexported fields
}

RunConfigConfigMap manages RunConfig ConfigMaps with checksum-based change detection

func NewRunConfigConfigMap

func NewRunConfigConfigMap(
	k8sClient client.Client,
	scheme *runtime.Scheme,
	checksumManager checksum.RunConfigConfigMapChecksum,
) RunConfigConfigMap

NewRunConfigConfigMap creates a new RunConfigConfigMap instance

func (*RunConfigConfigMap) UpsertRunConfigMap

func (r *RunConfigConfigMap) UpsertRunConfigMap(
	ctx context.Context,
	mcpServer *mcpv1alpha1.MCPServer,
	desired *corev1.ConfigMap,
) error

UpsertRunConfigMap creates or updates a RunConfig ConfigMap based on checksum changes

Directories

Path Synopsis
Package checksum provides checksum computation and comparison for ConfigMaps
Package checksum provides checksum computation and comparison for ConfigMaps

Jump to

Keyboard shortcuts

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