zone

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

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 ZoneConfig struct {
	*ZoneRoute
	Name      string
	ProjectId string
	Env       string
	Az        string
	Type      string
}

type ZoneRoute

type ZoneRoute struct {
	Route RouteConfig
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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