Help us shape the future of Go! Take the 2026 Go Developer Survey

webhooks

package
v1.44.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WebhooksTLSSecretName = "calico-webhooks-tls"

	WebhooksName            = "calico-webhooks"
	WebhooksSecretsRBACName = "calico-webhooks-secrets-access"
)

Variables

View Source
var WebhooksPolicyName = fmt.Sprintf("%s.%s", networkpolicy.CalicoTierName, WebhooksName)

Functions

func Component

func Component(cfg *Configuration) render.Component

Types

type Configuration

type Configuration struct {
	PullSecrets  []*corev1.Secret
	KeyPair      certificatemanagement.KeyPairInterface
	Installation *operatorv1.InstallationSpec
	APIServer    *operatorv1.APIServerSpec
	OpenShift    bool
}

Configuration is the public API used to provide information to the render code to generate Kubernetes objects for installing calico/webhooks on a cluster.

type WebhooksComponent added in v1.44.0

type WebhooksComponent interface {
	render.Component
	WebhooksConfig() *Configuration
}

WebhooksComponent is the webhooks component paired with the configuration it rendered from, so extensions can layer variant-specific objects onto it.

Jump to

Keyboard shortcuts

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