Documentation ¶
Index ¶
- func CompareEndpointSpec(left, right subv1.EndpointSpec) bool
- func CreateChainIfNotExists(ipt *iptables.IPTables, table, chain string) error
- func FlattenColors(colorCodes []string) string
- func GetClusterCRDName(cluster *types.SubmarinerCluster) (string, error)
- func GetClusterIDFromCableName(cableName string) string
- func GetDefaultGatewayInterface() (*net.Interface, error)
- func GetEndpointCRDName(endpoint *types.SubmarinerEndpoint) (string, error)
- func GetEndpointCRDNameFromParams(clusterID, cableName string) (string, error)
- func GetLocalCluster(ss types.SubmarinerSpecification) (types.SubmarinerCluster, error)
- func GetLocalEndpoint(clusterID string, backend string, backendConfig map[string]string, ...) (types.SubmarinerEndpoint, error)
- func GetLocalIP() string
- func IsOverlappingCIDR(cidrList []string, cidr string) (bool, error)
- func ParseSecure(token string) (types.Secure, error)
- func PrependUnique(ipt *iptables.IPTables, table string, chain string, ruleSpec []string) error
- type StringSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareEndpointSpec ¶
func CompareEndpointSpec(left, right subv1.EndpointSpec) bool
func CreateChainIfNotExists ¶ added in v0.1.0
func FlattenColors ¶
func GetClusterCRDName ¶
func GetClusterCRDName(cluster *types.SubmarinerCluster) (string, error)
func GetClusterIDFromCableName ¶ added in v0.0.2
func GetEndpointCRDName ¶
func GetEndpointCRDName(endpoint *types.SubmarinerEndpoint) (string, error)
func GetLocalCluster ¶
func GetLocalCluster(ss types.SubmarinerSpecification) (types.SubmarinerCluster, error)
func GetLocalEndpoint ¶
func GetLocalIP ¶
func GetLocalIP() string
func IsOverlappingCIDR ¶ added in v0.4.0
Types ¶
type StringSet ¶ added in v0.0.2
type StringSet struct {
// contains filtered or unexported fields
}
func NewStringSet ¶ added in v0.0.2
func NewStringSet() *StringSet
Click to show internal directories.
Click to hide internal directories.