argorollout

package
v1.12.7 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

Argo Rollout Plugin

TBD

Config

Configuration for the argo_rollout plugin

Field Description
strategy RolloutStrategy

Documentation

Overview

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

Index

Constants

View Source
const (
	Name = "rigdev.argo_rollout"

	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 {
	Strategy *v1alpha1.RolloutStrategy `json:"strategy,omitempty"`
}

Configuration for the argo_rollout plugin +kubebuilder:object:root=true

type Plugin

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

func (*Plugin) ComputeConfig

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

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