Documentation ¶
Index ¶
- type Builder
- type DeploymentBuilder
- type GatewayDeploymentBuilder
- func (b *GatewayDeploymentBuilder) Build() *v1.Deployment
- func (b *GatewayDeploymentBuilder) Validate() error
- func (b *GatewayDeploymentBuilder) WithClassConfig(cfg v1alpha1.GatewayClassConfig)
- func (b *GatewayDeploymentBuilder) WithConsulCA(caData string)
- func (b *GatewayDeploymentBuilder) WithConsulGatewayNamespace(namespace string)
- func (b *GatewayDeploymentBuilder) WithSDS(host string, port int)
- 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() *v1.Deployment }
type GatewayDeploymentBuilder ¶
type GatewayDeploymentBuilder struct {
// contains filtered or unexported fields
}
func NewGatewayDeployment ¶
func NewGatewayDeployment(gw *gw.Gateway) *GatewayDeploymentBuilder
func (*GatewayDeploymentBuilder) Build ¶
func (b *GatewayDeploymentBuilder) Build() *v1.Deployment
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 ¶
Click to show internal directories.
Click to hide internal directories.