dynamichelper

package
v0.0.0-...-823d357 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prepare

func Prepare(resources []runtime.Object) error

func SetControllerReferences

func SetControllerReferences(resources []runtime.Object, owner metav1.Object) error

Types

type GVRResolver

type GVRResolver interface {
	Refresh() error
	Resolve(groupKind, optionalVersion string) (*schema.GroupVersionResource, error)
}

func NewGVRResolver

func NewGVRResolver(log *logrus.Entry, restconfig *rest.Config) (GVRResolver, error)

type Interface

type Interface interface {
	Refresh() error
	EnsureDeleted(ctx context.Context, groupKind, namespace, name string) error
	Ensure(ctx context.Context, objs ...runtime.Object) error
}

func New

func New(log *logrus.Entry, restconfig *rest.Config) (Interface, error)

Directories

Path Synopsis
Code generated for package discovery by go-bindata DO NOT EDIT.
Code generated for package discovery by go-bindata DO NOT EDIT.

Jump to

Keyboard shortcuts

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