patchtmpl

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApplier

func NewApplier(pt *PatcherScheme, opts *filter.Options, includeTemplates bool, templateOpts ...string) options.Applier

NewApplier creates a new options applier instance. The filter indicates keep-only options for what subsets of patches to look for.

func NewDefaultApplier

func NewDefaultApplier() options.Applier

NewDefaultApplier creates a default patch template applier.

Types

type PatcherScheme

type PatcherScheme struct {
	KubeScheme *runtime.Scheme
	Codecs     serializer.CodecFactory
}

PatcherScheme wraps Kubernetes schema constructs.

func DefaultPatcherScheme

func DefaultPatcherScheme() *PatcherScheme

DefaultPatcherScheme returns a default scheme with several types built-in.

Jump to

Keyboard shortcuts

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