fwdIp

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIp

func GetIp(svcName string, podName string, clusterN int, NamespaceN int, serviceConfigurationPath string) (net.IP, error)

Types

type ForwardConfiguration

type ForwardConfiguration struct {
	BaseIP                string                 `yaml:"baseIP"`
	ServiceConfigurations []ServiceConfiguration `yaml:"serviceConfigurations"`
}

type Registry

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

Registry is a structure to create and hold all of the IP address assignments

type ServiceConfiguration

type ServiceConfiguration struct {
	ServiceName   string `yaml:"serviceName"`
	FinalOctet    int    `yaml:"finalOctet"`
	FailOnOverlap bool   `yaml:"failOnOverlap"`
}

Jump to

Keyboard shortcuts

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