Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildInfo = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Namespace: metrics.Namespace, Name: "build_info", Help: "A metric with a constant '1' value labeled by version from which karpenter was built.", }, []string{"version", "goversion", "goarch", "commit"}, )
View Source
var Version = "unspecified"
Version is the karpenter app version injected during compilation when using the Makefile
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator struct { manager.Manager KubernetesInterface kubernetes.Interface EventRecorder events.Recorder Clock clock.Clock // contains filtered or unexported fields }
func NewOperator ¶
NewOperator instantiates a controller manager or panics
func (*Operator) Start ¶
func (o *Operator) Start(ctx context.Context, cp cloudprovider.CloudProvider)
func (*Operator) WithControllers ¶
func (o *Operator) WithControllers(ctx context.Context, controllers ...controller.Controller) *Operator
func (*Operator) WithWebhooks ¶
func (o *Operator) WithWebhooks(ctx context.Context, ctors ...knativeinjection.ControllerConstructor) *Operator
Click to show internal directories.
Click to hide internal directories.