global

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package global defines a global post-processing action, which gets generated by the policy diff only once after processing all component instances.

Index

Constants

This section is empty.

Variables

View Source
var PostProcessActionObject = &runtime.Info{
	Kind:        "action-post-process",
	Constructor: func() runtime.Object { return &PostProcessAction{} },
}

PostProcessActionObject is an informational data structure with Kind and Constructor for the action

Functions

This section is empty.

Types

type PostProcessAction

type PostProcessAction struct {
	runtime.TypeKind `yaml:",inline"`
	*action.Metadata
}

PostProcessAction is a post-processing action which gets called once after all components have been processed by the engine apply

func NewPostProcessAction

func NewPostProcessAction() *PostProcessAction

NewPostProcessAction creates new PostProcessAction

func (*PostProcessAction) Apply

func (a *PostProcessAction) Apply(context *action.Context) error

Apply runs all registered post-processing plugins

Jump to

Keyboard shortcuts

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