pkg

package
v0.0.0-...-b98a00b Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTargetResource

func CreateTargetResource(ctx context.Context, cli CliCli, src client.Object, typedContainer client.Object) error

func Render

func Render(templated interface{}, data interface{}) (interface{}, error)

func UpdateTargetResource

func UpdateTargetResource(ctx context.Context, cli CliCli, src client.Object, target client.Object, typedContainer client.Object) error

Types

type CliCli

type CliCli interface {
	Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
	Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
	Status() client.StatusWriter
	GetScheme() *runtime.Scheme
}

Jump to

Keyboard shortcuts

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