deployment

package
v1.10.4 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

README

Deployment Plugin

Default plugin for handling deployments in the reconcilliation pipeline. Another plugin can be specified in the deploymentStep in the pipeline in the operator config. The rigdev.deployment plugin will create a deployment for the capsule, and a service if the the capsule has interfaces defined.

Config

Configuration for the deployment plugin

Documentation

Overview

+groupName=plugins.rig.dev -- Only used for config doc generation

Index

Constants

View Source
const (
	Name = "rigdev.deployment"

	AnnotationRecreateStrategy = "rig.dev/recreate-strategy"
	AnnotationEmptyDirs        = "rig.dev/empty-dirs"
)

Variables

This section is empty.

Functions

This section is empty.

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) Initialize

func (p *Plugin) Initialize(req plugin.InitializeRequest) error

func (*Plugin) Run

func (p *Plugin) Run(ctx context.Context, req pipeline.CapsuleRequest, logger hclog.Logger) error

func (*Plugin) WatchObjectStatus

func (p *Plugin) WatchObjectStatus(ctx context.Context, watcher plugin.CapsuleWatcher) error

Jump to

Keyboard shortcuts

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