gloogateway

package
v1.17.6 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients struct {
	// contains filtered or unexported fields
}

func (*Clients) GatewayClient added in v1.17.2

func (c *Clients) GatewayClient() gatewayv1.GatewayClient

func (*Clients) RateLimitConfigClient added in v1.17.2

func (c *Clients) RateLimitConfigClient() v1alpha1.RateLimitConfigClient

func (*Clients) RouteOptionClient

func (c *Clients) RouteOptionClient() gatewayv1.RouteOptionClient

func (*Clients) ServiceClient

func (c *Clients) ServiceClient() skkube.ServiceClient

func (*Clients) UpstreamClient

func (c *Clients) UpstreamClient() v1.UpstreamClient

func (*Clients) VirtualHostOptionClient

func (c *Clients) VirtualHostOptionClient() gatewayv1.VirtualHostOptionClient

func (*Clients) VirtualServiceClient added in v1.17.2

func (c *Clients) VirtualServiceClient() gatewayv1.VirtualServiceClient

type Context

type Context struct {
	InstallNamespace string

	ValuesManifestFile string

	// whether or not the K8s Gateway controller is enabled
	K8sGatewayEnabled bool

	// whether or not the installation is an enterprise installation
	IsEnterprise bool

	// whether or not the validation webhook is configured to always accept resources,
	// i.e. if this is set to true, the webhook will accept regardless of errors found during validation
	ValidationAlwaysAccept bool

	// TestAssetDir is the directory holding the test assets. Must be relative to RootDir.
	TestAssetDir string

	// Helm chart name
	HelmChartName string

	// Name of the helm index file name
	HelmRepoIndexFileName string

	// Install a released version of Gloo. This is the value of the github tag that may have a leading 'v'
	ReleasedVersion string

	// The version of the Helm chart. Calculated from either the chart or the released version. It will not have a leading 'v'
	ChartVersion string

	// The path to the local helm chart used for testing. Based on the TestAssertDir and relative to RootDir.
	ChartUri string
}

Context contains the set of properties for a given installation of Gloo Gateway

type ResourceClients

type ResourceClients interface {
	RouteOptionClient() gatewayv1.RouteOptionClient
	VirtualHostOptionClient() gatewayv1.VirtualHostOptionClient
	ServiceClient() skkube.ServiceClient
	UpstreamClient() v1.UpstreamClient
	VirtualServiceClient() gatewayv1.VirtualServiceClient
	RateLimitConfigClient() v1alpha1.RateLimitConfigClient
	GatewayClient() gatewayv1.GatewayClient
}

ResourceClients is a set of clients for interacting with the Edge resources

func NewResourceClients

func NewResourceClients(ctx context.Context, clusterCtx *cluster.Context) (ResourceClients, error)

Jump to

Keyboard shortcuts

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