resources

package
v1.11.0-cni-plu...-aa3fb74 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultAllowProfileName is the name of a profile provided by Calico that
	// has allow all ingress and egress rules.
	DefaultAllowProfileName = "projectcalico-default-allow"
)

Variables

This section is empty.

Functions

func DefaultAllowProfile

func DefaultAllowProfile() *model.KVPair

DefaultAllowProfile returns a single profile kvp with default allow rules. This profile can be attached to host endpoints to allow traffic in the absence of policy.

func DefaultTierFields

func DefaultTierFields(res *apiv3.Tier)

func FindNodeAddress

func FindNodeAddress(node *libapiv3.Node, ipType string, ipVersion int) (*cnet.IP, *cnet.IPNet)

FindNodeAddress returns node address of the specified type. Type can be one of CalicoNodeIP, InternalIP or ExternalIP

Types

This section is empty.

Jump to

Keyboard shortcuts

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