Documentation ¶
Index ¶
- Constants
- func GatewayAddressTypePtr(addr gatewayv1beta1.AddressType) *gatewayv1beta1.AddressType
- func GroupPtr(name string) *gatewayv1beta1.Group
- func IsGateway(parent gatewayv1beta1.ParentReference) bool
- func IsSecret(secret gatewayv1beta1.SecretObjectReference) bool
- func IsService(be gatewayv1beta1.BackendObjectReference) bool
- func KindPtr(name string) *gatewayv1beta1.Kind
- func ObjectNamePtr(name string) *gatewayv1beta1.ObjectName
- func RouteReasonNotAllowedByListeners(tr *gatewayv1alpha2.TLSRoute, msg string) metav1.Condition
- type Controller
Constants ¶
View Source
const (
Subsys = "gateway-controller"
)
Variables ¶
This section is empty.
Functions ¶
func GatewayAddressTypePtr ¶
func GatewayAddressTypePtr(addr gatewayv1beta1.AddressType) *gatewayv1beta1.AddressType
func GroupPtr ¶
func GroupPtr(name string) *gatewayv1beta1.Group
func IsGateway ¶ added in v1.13.0
func IsGateway(parent gatewayv1beta1.ParentReference) bool
func IsSecret ¶ added in v1.13.0
func IsSecret(secret gatewayv1beta1.SecretObjectReference) bool
func IsService ¶ added in v1.13.0
func IsService(be gatewayv1beta1.BackendObjectReference) bool
func KindPtr ¶
func KindPtr(name string) *gatewayv1beta1.Kind
func ObjectNamePtr ¶
func ObjectNamePtr(name string) *gatewayv1beta1.ObjectName
func RouteReasonNotAllowedByListeners ¶ added in v1.14.0
func RouteReasonNotAllowedByListeners(tr *gatewayv1alpha2.TLSRoute, msg string) metav1.Condition
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(enableSecretSync bool, secretsNamespace string, idleTimeoutSeconds int) (*Controller, error)
NewController returns a new gateway controller, which is implemented using the controller-runtime library.
func (*Controller) Run ¶
func (m *Controller) Run()
Source Files ¶
- controller.go
- gateway.go
- gateway_reconcile.go
- gateway_status.go
- gatewayclass.go
- gatewayclass_reconcile.go
- gatewayclass_status.go
- helpers.go
- httproute.go
- httproute_reconcile.go
- httproute_status.go
- logger.go
- referencegrant.go
- referencegrant_reconcile.go
- route_checks.go
- secret.go
- secret_reconcile.go
- status.go
- tlsroute.go
- tlsroute_reconcile.go
- tlsroute_status.go
Click to show internal directories.
Click to hide internal directories.