k8shandler

package
v0.0.0-...-59d7cbf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL