Documentation ¶
Index ¶
- func NewGatewayResourceContext(gw *v1alpha1.Gateway, controller *GatewayController) gwResourceCtx
- func PersistUpdates(client gwclient.Interface, gw *v1alpha1.Gateway, log *logrus.Logger) (*v1alpha1.Gateway, error)
- func ReapplyUpdates(client gwclient.Interface, gw *v1alpha1.Gateway) error
- func Validate(gw *v1alpha1.Gateway) error
- type GatewayController
- type GatewayControllerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGatewayResourceContext ¶ added in v0.8.2
func NewGatewayResourceContext(gw *v1alpha1.Gateway, controller *GatewayController) gwResourceCtx
NewGatewayResourceContext returns new gwResourceCtx
func PersistUpdates ¶
func PersistUpdates(client gwclient.Interface, gw *v1alpha1.Gateway, log *logrus.Logger) (*v1alpha1.Gateway, error)
PersistUpdates of the gateway resource
func ReapplyUpdates ¶ added in v0.8.2
ReapplyUpdates to gateway resource
Types ¶
type GatewayController ¶
type GatewayController struct { // EventSource is the name of the config map in which to derive configuration of the contoller ConfigMap string // Namespace for gateway controller Namespace string // Config is the gateway-controller gateway-controller-controller's configuration Config GatewayControllerConfig // contains filtered or unexported fields }
GatewayController listens for new gateways and hands off handling of each gateway-controller on the queue to the operator
func NewGatewayController ¶
func NewGatewayController(rest *rest.Config, configMap, namespace string) *GatewayController
NewGatewayController creates a new Controller
func (*GatewayController) ResyncConfig ¶
func (c *GatewayController) ResyncConfig(namespace string) error
ResyncConfig reloads the gateway-controller config from the configmap
type GatewayControllerConfig ¶
type GatewayControllerConfig struct { // InstanceID is a label selector to limit the gateway-controller's watch of gateway jobs to a specific instance. InstanceID string // Namespace is a label selector filter to limit gateway-controller-controller's watch to specific namespace Namespace string }
GatewayControllerConfig contain the configuration settings for the gateway-controller
Click to show internal directories.
Click to hide internal directories.