Documentation ¶
Index ¶
- func NewDeploymentHandler(clusterID string, _ DeploymentHandlerOpts) handler.Handler
- func NewRolloutHandler(clusterID string, _ RolloutHandlerOpts) handler.Handler
- func NewServiceHandler(clusterID string, _ ServiceHandlerOpts) handler.Handler
- type DeploymentHandlerOpts
- type RolloutHandlerOpts
- type ServiceHandlerOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeploymentHandler ¶
func NewDeploymentHandler(clusterID string, _ DeploymentHandlerOpts) handler.Handler
NewRemoteClusterSecretHandler creates a new handler for remote cluster secrets The handler is responsible to listen for remote cluster secrets When a new secret is added/updated, the handler resolves the secret to get the remote cluster config and creates a new remote cluster in cache The handler also starts the relevant controllers (deployment, rollout, service) for the remote cluster.
func NewRolloutHandler ¶
func NewRolloutHandler(clusterID string, _ RolloutHandlerOpts) handler.Handler
NewRemoteClusterSecretHandler creates a new handler for remote cluster secrets The handler is responsible to listen for remote cluster secrets When a new secret is added/updated, the handler resolves the secret to get the remote cluster config and creates a new remote cluster in cache The handler also starts the relevant controllers (Rollout, rollout, service) for the remote cluster.
func NewServiceHandler ¶
func NewServiceHandler(clusterID string, _ ServiceHandlerOpts) handler.Handler
NewRemoteClusterSecretHandler creates a new handler for remote cluster secrets The handler is responsible to listen for remote cluster secrets When a new secret is added/updated, the handler resolves the secret to get the remote cluster config and creates a new remote cluster in cache The handler also starts the relevant controllers (Service, rollout, service) for the remote cluster.
Types ¶
type DeploymentHandlerOpts ¶
type DeploymentHandlerOpts struct{}
type RolloutHandlerOpts ¶
type RolloutHandlerOpts struct{}
type ServiceHandlerOpts ¶
type ServiceHandlerOpts struct{}