builder

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: MPL-2.0 Imports: 13 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() *v1.Deployment
}

type GatewayDeploymentBuilder

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

func NewGatewayDeployment

func NewGatewayDeployment(gw *gw.Gateway) *GatewayDeploymentBuilder

func (*GatewayDeploymentBuilder) Build

func (*GatewayDeploymentBuilder) Validate

func (b *GatewayDeploymentBuilder) Validate() error

func (*GatewayDeploymentBuilder) WithClassConfig

func (b *GatewayDeploymentBuilder) WithClassConfig(cfg v1alpha1.GatewayClassConfig)

func (*GatewayDeploymentBuilder) WithConsulCA

func (b *GatewayDeploymentBuilder) WithConsulCA(caData string)

func (*GatewayDeploymentBuilder) WithConsulGatewayNamespace

func (b *GatewayDeploymentBuilder) WithConsulGatewayNamespace(namespace string)

func (*GatewayDeploymentBuilder) WithSDS

func (b *GatewayDeploymentBuilder) WithSDS(host string, port int)

type GatewayServiceBuilder

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

func NewGatewayService

func NewGatewayService(gw *gw.Gateway) *GatewayServiceBuilder

func (*GatewayServiceBuilder) Build

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

func (*GatewayServiceBuilder) Validate

func (b *GatewayServiceBuilder) Validate() error

func (*GatewayServiceBuilder) WithClassConfig

func (b *GatewayServiceBuilder) WithClassConfig(cfg v1alpha1.GatewayClassConfig)

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