Documentation ¶
Index ¶
- type OwnerReferenceTracer
- func (ort *OwnerReferenceTracer) GetDeploymentOrDeploymentConfigOwningPod(pod core_v1.Pod) (*appsv1.Deployment, *openshiftappsv1.DeploymentConfig, error)
- func (ort *OwnerReferenceTracer) GetRootControllerKindAndNameOfOwnerReferences(namespace string, ownerRefs []meta_v1.OwnerReference) (kind, name string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OwnerReferenceTracer ¶
type OwnerReferenceTracer struct {
// contains filtered or unexported fields
}
OwnerReferenceTracer struct to trace owner references
func NewDefaultOwnerReferenceTracer ¶
func NewDefaultOwnerReferenceTracer() (*OwnerReferenceTracer, error)
NewDefaultOwnerReferenceTracer build OwnerReferenceTracer
func NewOwnerReferenceTracerWithConfig ¶
func NewOwnerReferenceTracerWithConfig(cfg rest.Config) (*OwnerReferenceTracer, error)
NewOwnerReferenceTracerWithConfig build OwnerReferenceTracer
func (*OwnerReferenceTracer) GetDeploymentOrDeploymentConfigOwningPod ¶ added in v0.3.8
func (ort *OwnerReferenceTracer) GetDeploymentOrDeploymentConfigOwningPod(pod core_v1.Pod) (*appsv1.Deployment, *openshiftappsv1.DeploymentConfig, error)
func (*OwnerReferenceTracer) GetRootControllerKindAndNameOfOwnerReferences ¶
func (ort *OwnerReferenceTracer) GetRootControllerKindAndNameOfOwnerReferences(namespace string, ownerRefs []meta_v1.OwnerReference) (kind, name string, err error)
GetRootControllerKindAndNameOfOwnerReferences gets root owner references that is Controller
Click to show internal directories.
Click to hide internal directories.