Documentation ¶
Index ¶
- type Builder
- type DeploymentBuilder
- type GatewayDeploymentBuilder
- func (b *GatewayDeploymentBuilder) Build(currentReplicas *int32) *v1.Deployment
- func (b *GatewayDeploymentBuilder) WithClassConfig(cfg v1alpha1.GatewayClassConfig) *GatewayDeploymentBuilder
- func (b *GatewayDeploymentBuilder) WithConsulCA(caData string) *GatewayDeploymentBuilder
- func (b *GatewayDeploymentBuilder) WithConsulGatewayNamespace(namespace string) *GatewayDeploymentBuilder
- func (b *GatewayDeploymentBuilder) WithPrimaryConsulDatacenter(datacenter string) *GatewayDeploymentBuilder
- func (b *GatewayDeploymentBuilder) WithSDS(host string, port int) *GatewayDeploymentBuilder
- type GatewayServiceBuilder
- type ServiceBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 (b *GatewayDeploymentBuilder) WithClassConfig(cfg v1alpha1.GatewayClassConfig) *GatewayDeploymentBuilder
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 ¶
func (b *GatewayDeploymentBuilder) WithSDS(host string, port int) *GatewayDeploymentBuilder
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 ¶
func (b *GatewayServiceBuilder) WithClassConfig(cfg v1alpha1.GatewayClassConfig) *GatewayServiceBuilder
type ServiceBuilder ¶
Click to show internal directories.
Click to hide internal directories.