ctrl

package
v0.87.3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentPrefix        = "agent--"
	AgentKubeconfigKey = "kubeconfig"
)
View Source
const (
	PortChanMin = 100
	PortChanMax = 199
)
View Source
const (
	VPCVNIOffset     = 100
	VPCVNIMax        = (16_777_215 - VPCVNIOffset) / VPCVNIOffset * VPCVNIOffset
	DefaultMTU       = 9036
	DefaultLeaseTime = 3600
)

Variables

This section is empty.

Functions

func AgentKubeconfigSecret

func AgentKubeconfigSecret(agent string) string

func AgentServiceAccount

func AgentServiceAccount(agent string) string

func SetupAgentReconsilerWith

func SetupAgentReconsilerWith(mgr kctrl.Manager, cfg *meta.FabricConfig, libMngr *librarian.Manager, ca, username, password string) error

func SetupConnectionReconcilerWith

func SetupConnectionReconcilerWith(mgr kctrl.Manager, libMngr *librarian.Manager) error

func SetupGwVPCSyncReconcilerWith

func SetupGwVPCSyncReconcilerWith(mgr kctrl.Manager, cfg *meta.FabricConfig, libMngr *librarian.Manager) error

func SetupSwitchProfileReconcilerWith

func SetupSwitchProfileReconcilerWith(mgr kctrl.Manager, cfg *meta.FabricConfig, profiles *switchprofile.Default) error

func SetupVPCReconcilerWith

func SetupVPCReconcilerWith(mgr kctrl.Manager, cfg *meta.FabricConfig, libMngr *librarian.Manager) error

Types

type AgentReconciler

type AgentReconciler struct {
	kclient.Client
	// contains filtered or unexported fields
}

func (*AgentReconciler) Reconcile

func (r *AgentReconciler) Reconcile(ctx context.Context, req kctrl.Request) (kctrl.Result, error)

type ConnectionReconciler

type ConnectionReconciler struct {
	kclient.Client
	// contains filtered or unexported fields
}

func (*ConnectionReconciler) Reconcile

func (r *ConnectionReconciler) Reconcile(ctx context.Context, req kctrl.Request) (kctrl.Result, error)

type GwVPCSync

type GwVPCSync struct {
	kclient.Client
	// contains filtered or unexported fields
}

func (*GwVPCSync) Reconcile

func (r *GwVPCSync) Reconcile(ctx context.Context, req kctrl.Request) (kctrl.Result, error)

type SwitchProfileReconciler

type SwitchProfileReconciler struct {
	kclient.Client
	// contains filtered or unexported fields
}

func (*SwitchProfileReconciler) NeedLeaderElection

func (r *SwitchProfileReconciler) NeedLeaderElection() bool

func (*SwitchProfileReconciler) Reconcile

func (*SwitchProfileReconciler) Start

type VPCReconciler

type VPCReconciler struct {
	kclient.Client
	// contains filtered or unexported fields
}

func (*VPCReconciler) Reconcile

func (r *VPCReconciler) Reconcile(ctx context.Context, req kctrl.Request) (kctrl.Result, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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