crdmanager

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualV1

Types

type Manager

type Manager[T CRD] struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager[T CRD](client crdClient[T], equalFunc func(old, new T) bool) *Manager[T]

func (*Manager[T]) Apply

func (m *Manager[T]) Apply(ctx context.Context, manifests resourceapply.AssetFunc, files ...string) error

func (*Manager[T]) Clean

func (m *Manager[T]) Clean(ctx context.Context, skip bool, manifests resourceapply.AssetFunc, files ...string) error

func (*Manager[T]) CleanOne

func (m *Manager[T]) CleanOne(ctx context.Context, name string, skip bool) error

type RemainingCRDError

type RemainingCRDError struct {
	RemainingCRDs []string
}

func (*RemainingCRDError) Error

func (r *RemainingCRDError) Error() string

Jump to

Keyboard shortcuts

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