Documentation ¶
Overview ¶
+groupName=plugins.rig.dev -- Only used for config doc generation
Index ¶
- Constants
- func OnPodTemplatedUpdated(template v1.PodTemplateSpec, objectWatcher plugin.ObjectWatcher) *apipipeline.ObjectStatusInfo
- func PodLabelSelector(template v1.PodTemplateSpec) labels.Selector
- type Config
- type Plugin
- func (p *Plugin) ComputeConfig(ctx context.Context, req pipeline.CapsuleRequest, logger hclog.Logger) (string, error)
- func (p *Plugin) Initialize(req plugin.InitializeRequest) error
- func (p *Plugin) Run(ctx context.Context, req pipeline.CapsuleRequest, logger hclog.Logger) error
- func (p *Plugin) WatchObjectStatus(ctx context.Context, watcher plugin.CapsuleWatcher) error
Constants ¶
View Source
const ( Name = "rigdev.deployment" AnnotationRecreateStrategy = "rig.dev/recreate-strategy" AnnotationEmptyDirs = "rig.dev/empty-dirs" )
Variables ¶
This section is empty.
Functions ¶
func OnPodTemplatedUpdated ¶ added in v1.12.2
func OnPodTemplatedUpdated( template v1.PodTemplateSpec, objectWatcher plugin.ObjectWatcher, ) *apipipeline.ObjectStatusInfo
func PodLabelSelector ¶ added in v1.12.2
func PodLabelSelector(template v1.PodTemplateSpec) labels.Selector
Types ¶
type Config ¶
type Config struct{}
Configuration for the deployment plugin +kubebuilder:object:root=true
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) ComputeConfig ¶ added in v1.12.0
func (*Plugin) Initialize ¶
func (p *Plugin) Initialize(req plugin.InitializeRequest) error
func (*Plugin) WatchObjectStatus ¶
Click to show internal directories.
Click to hide internal directories.