Documentation ¶
Overview ¶
+groupName=plugins.rig.dev -- Only used for config doc generation
Index ¶
Constants ¶
View Source
const Name = "rigdev.placement"
View Source
const (
TagAnnotation = "rigdev.placement/tag"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Nodeselectors which will be inserted into the deployment's podSpec NodeSelector map[string]string `json:"nodeSelector,omitempty"` // Tolerations which will be appended to the deployment's podSpec Tolerations []corev1.Toleration `json:"tolerations,omitempty"` // True if a capsule needs a Tag annotation to be run RequireTag bool `json:"requireTag,omitempty"` }
Configuration for the placement plugin +kubebuilder:object:root=true
type Plugin ¶
type Plugin struct { plugin.NoWatchObjectStatus // contains filtered or unexported fields }
func (*Plugin) Initialize ¶
func (p *Plugin) Initialize(req plugin.InitializeRequest) error
Click to show internal directories.
Click to hide internal directories.