Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayZoneService ¶
type GatewayZoneService interface {
CreateZoneWithoutIngress(ZoneConfig, ...*service.SessionHelper) (*orm.GatewayZone, error)
CreateZone(ZoneConfig, ...*service.SessionHelper) (*orm.GatewayZone, error)
DeleteZoneRoute(string, ...*service.SessionHelper) error
UpdateZoneRoute(string, ZoneRoute, ...*service.SessionHelper) (bool, error)
// trigger domain-policy update
SetZoneKongPolicies(string, dto.ZoneKongPolicies, *service.SessionHelper) error
SetZoneKongPoliciesWithoutDomainPolicy(zoneId string, policies *dto.ZoneKongPolicies, helper *service.SessionHelper) error
UpdateKongDomainPolicy(az, projectId, env string, helper *service.SessionHelper) error
DeleteZone(string) error
UpdateBuiltinPolicies(string) error
GetZone(string, ...*service.SessionHelper) (*orm.GatewayZone, error)
}
var Service GatewayZoneService
type RouteConfig ¶
type RouteConfig struct {
Hosts []string
Path string
k8s.RouteOptions
}
type ZoneConfig ¶
type ZoneRoute ¶
type ZoneRoute struct {
Route RouteConfig
}
Click to show internal directories.
Click to hide internal directories.