kengine

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Apps

type Apps struct {
	HTTP   *kenginehttp.App `json:"http,omitempty"`
	TLS    *kenginetls.TLS  `json:"tls,omitempty"`
	Layer4 *layer4.App      `json:"layer4,omitempty"`
}

Apps is the configuration for "apps" on a Kengine server.

type Config

type Config struct {
	Admin   *kenginev2.AdminConfig `json:"admin,omitempty"`
	Logging *kenginev2.Logging     `json:"logging,omitempty"`
	Apps    *Apps                  `json:"apps,omitempty"`
}

Config represents the configuration for a Kengine server.

type Input

type Input struct {
	Gateway      *gatewayv1.Gateway
	GatewayClass *gatewayv1.GatewayClass

	HTTPRoutes []gatewayv1.HTTPRoute
	GRPCRoutes []gatewayv1.GRPCRoute
	TCPRoutes  []gatewayv1alpha2.TCPRoute
	TLSRoutes  []gatewayv1alpha2.TLSRoute
	UDPRoutes  []gatewayv1alpha2.UDPRoute

	Grants             []gatewayv1beta1.ReferenceGrant
	BackendTLSPolicies []gatewayv1alpha3.BackendTLSPolicy

	Services []corev1.Service

	Client client.Client
	// contains filtered or unexported fields
}

Input is provided to us by the Gateway Controller and is used to generate a configuration for Kengine.

func (*Input) Config

func (i *Input) Config() ([]byte, error)

Config generates a JSON config for use with a Kengine server.

Jump to

Keyboard shortcuts

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