emb

package
v0.0.0-...-e7e5610 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ArgoCDBuilderName = "ArgoCD"
View Source
const NoopBuilderName = "default"

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgoCDManifestBuilder

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

func (*ArgoCDManifestBuilder) BuildObjectContext

func (amb *ArgoCDManifestBuilder) BuildObjectContext(fix, objOwner *unstructured.Unstructured) error

func (*ArgoCDManifestBuilder) FlushManifests

func (amb *ArgoCDManifestBuilder) FlushManifests(path string, roles []string) error

type ExtraManifestBuilder

type ExtraManifestBuilder interface {
	BuildObjectContext(fix, ctx *unstructured.Unstructured) error
	FlushManifests(path string, roles []string) error
}

func NewArgoCDManifestBuilder

func NewArgoCDManifestBuilder() ExtraManifestBuilder

func NewNoopManifestBuilder

func NewNoopManifestBuilder() ExtraManifestBuilder

type NoopManifestBuilder

type NoopManifestBuilder struct {
}

func (*NoopManifestBuilder) BuildObjectContext

func (nmb *NoopManifestBuilder) BuildObjectContext(fix, objOwner *unstructured.Unstructured) error

func (*NoopManifestBuilder) FlushManifests

func (nmb *NoopManifestBuilder) FlushManifests(path string, roles []string) error

Jump to

Keyboard shortcuts

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