builder

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	Validate() error
}

type DeploymentBuilder

type DeploymentBuilder interface {
	Builder
	Build(*int32) *v1.Deployment
}

type GatewayDeploymentBuilder

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

func NewGatewayDeployment

func NewGatewayDeployment(gw *gwv1beta1.Gateway) *GatewayDeploymentBuilder

func (*GatewayDeploymentBuilder) Build

func (b *GatewayDeploymentBuilder) Build(currentReplicas *int32) *v1.Deployment

func (*GatewayDeploymentBuilder) WithClassConfig

func (*GatewayDeploymentBuilder) WithConsulCA

func (b *GatewayDeploymentBuilder) WithConsulCA(caData string) *GatewayDeploymentBuilder

func (*GatewayDeploymentBuilder) WithConsulGatewayNamespace

func (b *GatewayDeploymentBuilder) WithConsulGatewayNamespace(namespace string) *GatewayDeploymentBuilder

func (*GatewayDeploymentBuilder) WithPrimaryConsulDatacenter added in v0.5.0

func (b *GatewayDeploymentBuilder) WithPrimaryConsulDatacenter(datacenter string) *GatewayDeploymentBuilder

func (*GatewayDeploymentBuilder) WithSDS

type GatewayServiceBuilder

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

func NewGatewayService

func NewGatewayService(gw *gwv1beta1.Gateway) *GatewayServiceBuilder

func (*GatewayServiceBuilder) Build

func (b *GatewayServiceBuilder) Build() *corev1.Service

func (*GatewayServiceBuilder) WithClassConfig

type ServiceBuilder

type ServiceBuilder interface {
	Builder
	Build() *corev1.Service
}

Jump to

Keyboard shortcuts

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