Documentation ¶
Overview ¶
© 2021 Red Hat, Inc. and others
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func CompareEndpointSpec(left, right subv1.EndpointSpec) bool
- func CreateChainIfNotExists(ipt iptables.Interface, 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 GetLocalIP() string
- func GetLocalIPForDestination(dst string) string
- func ParseSecure(token string) (types.Secure, error)
- func PrependUnique(ipt iptables.Interface, table, chain string, ruleSpec []string) error
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 GetLocalIP ¶
func GetLocalIP() string
func GetLocalIPForDestination ¶ added in v0.9.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.