watcher

package
v0.0.0-...-ec93226 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateWatcherAgentCRs

func CreateWatcherAgentCRs(ctx context.Context, logger logr.Logger,
	params Params) error

CreateWatcherAgentCRs watches EdgeCluster resource in EdgeClusterNamespace and creates watcherAgentCR in the deploy-repo of each newly created EdgeCluster. It blocks until ctx is cancelled.

func GetYAML

func GetYAML(IP, port, clusterName, nephioNamespace string, timestamp time.Time) (string, error)

Types

type Params

type Params struct {
	K8sDynamicClient     dynamic.Interface
	PorchClient          porch.Client
	PodIP                string
	Port                 string
	NephioNamespace      string
	EdgeClusterNamespace string
	Timestamp            time.Time
}

Jump to

Keyboard shortcuts

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