templates

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GatewayDeploymentTemplate     templateFile = "./gateway-deployment.yml.tpl"
	WebhookTemplate               templateFile = "./webhook.yml.tpl"
	GatewayDeploymentRBACTemplate templateFile = "./rbac.yml.tpl"
)

Variables

View Source
var ParseBytes = templates.ParseBytes

Functions

func Read

func Read(t templateFile) ([]byte, error)

Types

type GatewayDeploymentArgs

type GatewayDeploymentArgs struct {
	metav1.ObjectMeta

	ServiceAccountName string

	GatewayWgSecretName          string
	GatewayGlobalIP              string
	GatewayDNSSuffix             string
	GatewayInternalDNSNameserver string
	GatewayWgExtraPeersHash      string
	GatewayDNSServers            string

	GatewayServiceType networkingv1.GatewayServiceType
	GatewayNodePort    int32

	ClusterCIDR string
	ServiceCIDR string

	IPManagerConfigName      string
	IPManagerConfigNamespace string

	ImageWebhookServer       string
	ImageIPManager           string
	ImageIPBindingController string
	ImageDNS                 string
	ImageLogsProxy           string
}

type GatewayRBACTemplateArgs

type GatewayRBACTemplateArgs struct {
	metav1.ObjectMeta
}

type WebhookTemplateArgs

type WebhookTemplateArgs struct {
	NamePrefix      string
	Namespace       string
	OwnerReferences []metav1.OwnerReference

	ServiceName string

	WebhookServerImage        string
	WebhookServerCertCABundle string

	WebhookNamespaceSelector map[string]string
}

Jump to

Keyboard shortcuts

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