crdmanager

package
v0.0.0-...-b86b35d Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Copyright Contributors to the Open Cluster Management project

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