diagnose

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Libreswan = "libreswan"
	Wireguard = "wireguard"
	VxLAN     = "vxlan"
)

Variables

This section is empty.

Functions

func AddDeploymentImageOverrideFlag added in v0.14.2

func AddDeploymentImageOverrideFlag(flags *pflag.FlagSet)

func AddFirewallImageOverrideFlag added in v0.14.2

func AddFirewallImageOverrideFlag(flags *pflag.FlagSet)

func AddKubeProxyImageOverrideFlag added in v0.14.2

func AddKubeProxyImageOverrideFlag(flags *pflag.FlagSet)

func CNIConfig

func CNIConfig(clusterInfo *cluster.Info, _ string, status reporter.Interface) error

func Connections

func Connections(clusterInfo *cluster.Info, _ string, status reporter.Interface) error

func Deployments

func Deployments(clusterInfo *cluster.Info, _ string, status reporter.Interface) error

func FirewallIntraVxLANConfig

func FirewallIntraVxLANConfig(clusterInfo *cluster.Info, namespace string, options FirewallOptions, status reporter.Interface) error

func GlobalnetConfig

func GlobalnetConfig(clusterInfo *cluster.Info, _ string, status reporter.Interface) error

func K8sVersion

func K8sVersion(clusterInfo *cluster.Info, _ string, status reporter.Interface) error

func KubeProxyMode

func KubeProxyMode(clusterInfo *cluster.Info, namespace string, status reporter.Interface) error

func NatDiscoveryConfigAcrossClusters

func NatDiscoveryConfigAcrossClusters(localClusterInfo, remoteClusterInfo *cluster.Info, namespace string, options FirewallOptions,
	status reporter.Interface,
) error

func ServiceDiscovery added in v0.14.0

func ServiceDiscovery(clusterInfo *cluster.Info, _ string, status reporter.Interface) error

func SetDeploymentImageOverride added in v0.14.3

func SetDeploymentImageOverride(imageOverrides []string)

func SetFirewallImageOverride added in v0.14.3

func SetFirewallImageOverride(imageOverrides []string)

func SetKubeProxyImageOverride added in v0.14.3

func SetKubeProxyImageOverride(imageOverrides []string)

func TunnelConfigAcrossClusters

func TunnelConfigAcrossClusters(localClusterInfo, remoteClusterInfo *cluster.Info, namespace string, options FirewallOptions,
	status reporter.Interface,
) error

Types

type FirewallOptions

type FirewallOptions struct {
	ValidationTimeout uint
	VerboseOutput     bool
}

type TargetPort

type TargetPort int
const (
	TunnelPort TargetPort = iota
	NatDiscoveryPort
)

Jump to

Keyboard shortcuts

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