controllerref

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerRevisionManager

type ControllerRevisionManager struct {
	k8s.BaseControllerRefManager
	// contains filtered or unexported fields
}

func NewControllerRevisionManager

func NewControllerRevisionManager(client client.ControllerRevisionInterface, parent metav1.Object, selector labels.Selector, parentKind schema.GroupVersionKind, canAdopt func() error) *ControllerRevisionManager

func (*ControllerRevisionManager) ClaimControllerRevisions

func (m *ControllerRevisionManager) ClaimControllerRevisions(children []*v1alpha1.ControllerRevision) ([]*v1alpha1.ControllerRevision, error)

type UnstructuredManager

type UnstructuredManager struct {
	k8s.BaseControllerRefManager
	// contains filtered or unexported fields
}

func NewUnstructuredManager

func NewUnstructuredManager(client *dynamicclientset.ResourceClient, parent metav1.Object, selector labels.Selector, parentKind, childKind schema.GroupVersionKind, canAdopt func() error) *UnstructuredManager

func (*UnstructuredManager) ClaimChildren

func (m *UnstructuredManager) ClaimChildren(children []*unstructured.Unstructured) ([]*unstructured.Unstructured, error)

Jump to

Keyboard shortcuts

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