Documentation ¶
Index ¶
- Variables
- func AddFinalizer(dst Object, additions ...string)
- func AddInitializer(dst Object, additions ...string)
- func HasFinalizer(obj Object, name string) bool
- func HasInitializer(obj Object, names ...string) bool
- func RemoveFinalizer(dst Object, removals ...string)
- func RemoveInitializer(dst Object, removals ...string)
- type Initializer
- type InitializerManager
- type InitializerMap
- type Object
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrSkip = fmt.Errorf("This initializer will not process this resource")
)
Functions ¶
func AddFinalizer ¶
func AddInitializer ¶
func HasFinalizer ¶
func HasInitializer ¶
True if it has any one of them
func RemoveFinalizer ¶
func RemoveInitializer ¶
Types ¶
type Initializer ¶
type InitializerManager ¶
type InitializerManager struct {
// contains filtered or unexported fields
}
func NewInitializerManager ¶
func NewInitializerManager(list []Initializer, kubeClient clientset.Interface) (im *InitializerManager, err error)
func (*InitializerManager) Finalize ¶
func (im *InitializerManager) Finalize(obj Object) (updatedObj Object, err error, retry bool)
func (*InitializerManager) FinalizeAll ¶
func (im *InitializerManager) FinalizeAll(obj Object) (updatedObj Object, err error, retry bool)
func (*InitializerManager) Initialize ¶
func (im *InitializerManager) Initialize(obj Object) (updatedObj Object, err error, retry bool)
type InitializerMap ¶
type InitializerMap map[string]Initializer
Click to show internal directories.
Click to hide internal directories.