resources

package
v0.0.0-...-21cfbab Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 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 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