Documentation ¶
Index ¶
- Constants
- func GenerateDestinationRule(name, namespace string) (dr *istioapi.DestinationRule)
- func GenerateGateway(name, namespace string, gatewayProtocols []string, gatewayPorts []uint32) (gw *istioapi.Gateway)
- func GenerateVirtualService(name, namespace string, gatewayProtocols []string, svcPorts []uint32) (vs *istioapi.VirtualService)
- func ValidateGatewayPort(p uint32) bool
- func ValidateServicePort(p uint32) bool
- type AutoGwManager
- type LabelAnnotation
- type Labels
Constants ¶
View Source
const GatewayPortSeparate = "-"
View Source
const GroupSparate = "."
Variables ¶
This section is empty.
Functions ¶
func GenerateDestinationRule ¶
func GenerateDestinationRule(name, namespace string) (dr *istioapi.DestinationRule)
GenerateDestinationRule generate DestinationRule
func GenerateGateway ¶
func GenerateVirtualService ¶
func GenerateVirtualService(name, namespace string, gatewayProtocols []string, svcPorts []uint32) (vs *istioapi.VirtualService)
func ValidateGatewayPort ¶ added in v0.1.1
func ValidateServicePort ¶ added in v0.1.1
Types ¶
type AutoGwManager ¶
type AutoGwManager struct {
// contains filtered or unexported fields
}
Manager is gateway manager
func NewAutoGwManager ¶
func NewAutoGwManager(c *config.EdgeAutoGwConfig, ifm *informers.Manager) *AutoGwManager
type LabelAnnotation ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.