native

package
v1.23.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Apply

type Apply struct {
	TemplateFun TemplateFun
	Cli         *utils.Apply
}

func New

func New(cli client.Client, fun TemplateFun) *Apply

func (*Apply) Apply

func (p *Apply) Apply(ctx context.Context, bundle *pluginsv1beta1.Plugin, into string) error

func (*Apply) Remove

func (p *Apply) Remove(ctx context.Context, bundle *pluginsv1beta1.Plugin) error

func (*Apply) Template

func (p *Apply) Template(ctx context.Context, bundle *pluginsv1beta1.Plugin, into string) ([]byte, error)

type TemplateFun

type TemplateFun func(ctx context.Context, bundle *pluginsv1beta1.Plugin, into string) ([]byte, error)

Jump to

Keyboard shortcuts

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