zone

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 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, string, ...*service.SessionHelper) error
	UpdateZoneRoute(string, ZoneRoute, *orm.GatewayRuntimeService, string, ...*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
	GetGatewayProvider(az string) (string, error)
	DeleteZone(string, 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
	Namespace   string
	ServiceName 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