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

whisker

package
v1.40.4 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WhiskerName               = "whisker"
	WhiskerNamespace          = common.CalicoNamespace
	WhiskerServiceAccountName = WhiskerName
	WhiskerDeploymentName     = WhiskerName

	WhiskerContainerName        = "whisker"
	WhiskerBackendContainerName = "whisker-backend"

	WhiskerBackendKeyPairSecret = "whisker-backend-key-pair"
	GoldmaneDeploymentName      = "goldmane"
	GoldmaneServicePort         = 7443
	GoldmaneNamespace           = common.CalicoNamespace
)

The names of the components related to the Guardian related rendered objects.

Variables

View Source
var (
	// Embed the nginx config files.
	//go:embed nginx-v4.conf
	NginxConfigV4 string

	//go:embed nginx.conf
	NginxConfigDual string
)

Functions

func Whisker

func Whisker(cfg *Configuration) render.Component

Types

type Component

type Component struct {
	// contains filtered or unexported fields
}

func (*Component) Objects

func (c *Component) Objects() ([]client.Object, []client.Object)

func (*Component) Ready

func (c *Component) Ready() bool

func (*Component) ResolveImages

func (c *Component) ResolveImages(is *operatorv1.ImageSet) error

func (*Component) SupportedOSType

func (c *Component) SupportedOSType() rmeta.OSType

type Configuration

type Configuration struct {
	PullSecrets           []*corev1.Secret
	OpenShift             bool
	Installation          *operatorv1.InstallationSpec
	TrustedCertBundle     certificatemanagement.TrustedBundleRO
	WhiskerBackendKeyPair certificatemanagement.KeyPairInterface
	Whisker               *operatorv1.Whisker
	ClusterID             string
	CalicoVersion         string
	ClusterType           string
	ClusterDomain         string
}

Configuration contains all the config information needed to render the component.

Jump to

Keyboard shortcuts

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