policy

package
v0.0.0-...-e1628ab Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultGlobalPolicyName = "everoute-global-policy"
)

Variables

This section is empty.

Functions

Types

type Reconciler

type Reconciler struct {
	client.Client
	Scheme *runtime.Scheme

	DatapathManager *datapath.DpManager
	// contains filtered or unexported fields
}

func (*Reconciler) GetCompleteRuleLister

func (r *Reconciler) GetCompleteRuleLister() informer.Lister

GetCompleteRuleLister return cache.CompleteRule lister, used for debug or testing

func (*Reconciler) GetGlobalRuleLister

func (r *Reconciler) GetGlobalRuleLister() informer.Lister

GetGlobalRuleLister return globalRule lister, used for debug or testing

func (*Reconciler) ReconcileGlobalPolicy

func (r *Reconciler) ReconcileGlobalPolicy(context.Context, ctrl.Request) (ctrl.Result, error)

ReconcileGlobalPolicy handle GlobalPolicy. At most one GlobalPolicy at the same time, so we full sync PolicyRules every reconcile.

func (*Reconciler) ReconcilePatch

func (r *Reconciler) ReconcilePatch(_ context.Context, req ctrl.Request) (ctrl.Result, error)

func (*Reconciler) ReconcilePolicy

func (r *Reconciler) ReconcilePolicy(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

type RuleCount

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

Directories

Path Synopsis
Package cache contains cache storage policy controller needed.
Package cache contains cache storage policy controller needed.

Jump to

Keyboard shortcuts

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