Documentation ¶
Index ¶
- Variables
- func DaemonSetNodeName(o *kappsv1.DaemonSet) osgraph.UniqueName
- func DeploymentNodeName(o *kappsv1.Deployment) osgraph.UniqueName
- func DeploymentSpecNodeName(o *kappsv1.DeploymentSpec, ownerName osgraph.UniqueName) osgraph.UniqueName
- func HorizontalPodAutoscalerNodeName(o *autoscalingv1.HorizontalPodAutoscaler) osgraph.UniqueName
- func JobNodeName(o *batchv1.Job) osgraph.UniqueName
- func JobSpecNodeName(o *batchv1.JobSpec, ownerName osgraph.UniqueName) osgraph.UniqueName
- func PersistentVolumeClaimNodeName(o *corev1.PersistentVolumeClaim) osgraph.UniqueName
- func PodNodeName(o *corev1.Pod) osgraph.UniqueName
- func PodSpecNodeName(o *corev1.PodSpec, ownerName osgraph.UniqueName) osgraph.UniqueName
- func PodTemplateSpecNodeName(o *corev1.PodTemplateSpec, ownerName osgraph.UniqueName) osgraph.UniqueName
- func ReplicaSetNodeName(o *kappsv1.ReplicaSet) osgraph.UniqueName
- func ReplicaSetSpecNodeName(o *kappsv1.ReplicaSetSpec, ownerName osgraph.UniqueName) osgraph.UniqueName
- func ReplicationControllerNodeName(o *corev1.ReplicationController) osgraph.UniqueName
- func ReplicationControllerSpecNodeName(o *corev1.ReplicationControllerSpec, ownerName osgraph.UniqueName) osgraph.UniqueName
- func SecretNodeName(o *corev1.Secret) osgraph.UniqueName
- func ServiceAccountNodeName(o *corev1.ServiceAccount) osgraph.UniqueName
- func ServiceNodeName(o *corev1.Service) osgraph.UniqueName
- func StatefulSetNodeName(o *kappsv1.StatefulSet) osgraph.UniqueName
- func StatefulSetSpecNodeName(o *kappsv1.StatefulSetSpec, ownerName osgraph.UniqueName) osgraph.UniqueName
- type DaemonSetNode
- type DeploymentNode
- type DeploymentSpecNode
- type HorizontalPodAutoscalerNode
- type JobNode
- type JobSpecNode
- type PersistentVolumeClaimNode
- type PodNode
- type PodSpecNode
- type PodTemplateSpecNode
- type ReplicaSetNode
- type ReplicaSetSpecNode
- type ReplicationControllerNode
- type ReplicationControllerSpecNode
- type SecretNode
- type ServiceAccountNode
- type ServiceNode
- type StatefulSetNode
- type StatefulSetSpecNode
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ServiceNodeKind = reflect.TypeOf(corev1.Service{}).Name() PodNodeKind = reflect.TypeOf(corev1.Pod{}).Name() PodSpecNodeKind = reflect.TypeOf(corev1.PodSpec{}).Name() PodTemplateSpecNodeKind = reflect.TypeOf(corev1.PodTemplateSpec{}).Name() ReplicationControllerNodeKind = reflect.TypeOf(corev1.ReplicationController{}).Name() ReplicationControllerSpecNodeKind = reflect.TypeOf(corev1.ReplicationControllerSpec{}).Name() ServiceAccountNodeKind = reflect.TypeOf(corev1.ServiceAccount{}).Name() SecretNodeKind = reflect.TypeOf(corev1.Secret{}).Name() PersistentVolumeClaimNodeKind = reflect.TypeOf(corev1.PersistentVolumeClaim{}).Name() JobNodeKind = reflect.TypeOf(batchv1.Job{}).Name() JobSpecNodeKind = reflect.TypeOf(batchv1.JobSpec{}).Name() HorizontalPodAutoscalerNodeKind = reflect.TypeOf(autoscalingv1.HorizontalPodAutoscaler{}).Name() StatefulSetNodeKind = reflect.TypeOf(kappsv1.StatefulSet{}).Name() StatefulSetSpecNodeKind = reflect.TypeOf(kappsv1.StatefulSetSpec{}).Name() DeploymentNodeKind = reflect.TypeOf(kappsv1.Deployment{}).Name() DeploymentSpecNodeKind = reflect.TypeOf(kappsv1.DeploymentSpec{}).Name() ReplicaSetNodeKind = reflect.TypeOf(kappsv1.ReplicaSet{}).Name() ReplicaSetSpecNodeKind = reflect.TypeOf(kappsv1.ReplicaSetSpec{}).Name() DaemonSetNodeKind = reflect.TypeOf(kappsv1.DaemonSet{}).Name() )
Functions ¶
func DaemonSetNodeName ¶
func DaemonSetNodeName(o *kappsv1.DaemonSet) osgraph.UniqueName
func DeploymentNodeName ¶
func DeploymentNodeName(o *kappsv1.Deployment) osgraph.UniqueName
func DeploymentSpecNodeName ¶
func DeploymentSpecNodeName(o *kappsv1.DeploymentSpec, ownerName osgraph.UniqueName) osgraph.UniqueName
func HorizontalPodAutoscalerNodeName ¶
func HorizontalPodAutoscalerNodeName(o *autoscalingv1.HorizontalPodAutoscaler) osgraph.UniqueName
func JobNodeName ¶
func JobNodeName(o *batchv1.Job) osgraph.UniqueName
func JobSpecNodeName ¶
func JobSpecNodeName(o *batchv1.JobSpec, ownerName osgraph.UniqueName) osgraph.UniqueName
func PersistentVolumeClaimNodeName ¶
func PersistentVolumeClaimNodeName(o *corev1.PersistentVolumeClaim) osgraph.UniqueName
func PodNodeName ¶
func PodNodeName(o *corev1.Pod) osgraph.UniqueName
func PodSpecNodeName ¶
func PodSpecNodeName(o *corev1.PodSpec, ownerName osgraph.UniqueName) osgraph.UniqueName
func PodTemplateSpecNodeName ¶
func PodTemplateSpecNodeName(o *corev1.PodTemplateSpec, ownerName osgraph.UniqueName) osgraph.UniqueName
func ReplicaSetNodeName ¶
func ReplicaSetNodeName(o *kappsv1.ReplicaSet) osgraph.UniqueName
func ReplicaSetSpecNodeName ¶
func ReplicaSetSpecNodeName(o *kappsv1.ReplicaSetSpec, ownerName osgraph.UniqueName) osgraph.UniqueName
func ReplicationControllerNodeName ¶
func ReplicationControllerNodeName(o *corev1.ReplicationController) osgraph.UniqueName
func ReplicationControllerSpecNodeName ¶
func ReplicationControllerSpecNodeName(o *corev1.ReplicationControllerSpec, ownerName osgraph.UniqueName) osgraph.UniqueName
func SecretNodeName ¶
func SecretNodeName(o *corev1.Secret) osgraph.UniqueName
func ServiceAccountNodeName ¶
func ServiceAccountNodeName(o *corev1.ServiceAccount) osgraph.UniqueName
func ServiceNodeName ¶
func ServiceNodeName(o *corev1.Service) osgraph.UniqueName
func StatefulSetNodeName ¶
func StatefulSetNodeName(o *kappsv1.StatefulSet) osgraph.UniqueName
func StatefulSetSpecNodeName ¶
func StatefulSetSpecNodeName(o *kappsv1.StatefulSetSpec, ownerName osgraph.UniqueName) osgraph.UniqueName
Types ¶
type DaemonSetNode ¶
func EnsureDaemonSetNode ¶
func EnsureDaemonSetNode(g osgraph.MutableUniqueGraph, ds *kappsv1.DaemonSet) *DaemonSetNode
EnsureDaemonSetNode adds the provided daemon set to the graph if it does not exist
func FindOrCreateSyntheticDaemonSetNode ¶
func FindOrCreateSyntheticDaemonSetNode(g osgraph.MutableUniqueGraph, ds *kappsv1.DaemonSet) *DaemonSetNode
func (DaemonSetNode) Found ¶
func (n DaemonSetNode) Found() bool
func (*DaemonSetNode) Kind ¶
func (*DaemonSetNode) Kind() string
func (DaemonSetNode) Object ¶
func (n DaemonSetNode) Object() interface{}
func (DaemonSetNode) String ¶
func (n DaemonSetNode) String() string
type DeploymentNode ¶
type DeploymentNode struct { osgraph.Node Deployment *kappsv1.Deployment IsFound bool }
func EnsureDeploymentNode ¶
func EnsureDeploymentNode(g osgraph.MutableUniqueGraph, deployment *kappsv1.Deployment) *DeploymentNode
func FindOrCreateSyntheticDeploymentNode ¶
func FindOrCreateSyntheticDeploymentNode(g osgraph.MutableUniqueGraph, deployment *kappsv1.Deployment) *DeploymentNode
func (DeploymentNode) Found ¶
func (n DeploymentNode) Found() bool
func (*DeploymentNode) Kind ¶
func (*DeploymentNode) Kind() string
func (DeploymentNode) Object ¶
func (n DeploymentNode) Object() interface{}
func (DeploymentNode) String ¶
func (n DeploymentNode) String() string
func (DeploymentNode) UniqueName ¶
func (n DeploymentNode) UniqueName() osgraph.UniqueName
type DeploymentSpecNode ¶
type DeploymentSpecNode struct { osgraph.Node DeploymentSpec *kappsv1.DeploymentSpec Namespace string OwnerName osgraph.UniqueName }
func EnsureDeploymentSpecNode ¶
func EnsureDeploymentSpecNode(g osgraph.MutableUniqueGraph, spec *kappsv1.DeploymentSpec, namespace string, ownerName osgraph.UniqueName) *DeploymentSpecNode
func (*DeploymentSpecNode) Kind ¶
func (*DeploymentSpecNode) Kind() string
func (DeploymentSpecNode) Object ¶
func (n DeploymentSpecNode) Object() interface{}
func (DeploymentSpecNode) String ¶
func (n DeploymentSpecNode) String() string
func (DeploymentSpecNode) UniqueName ¶
func (n DeploymentSpecNode) UniqueName() osgraph.UniqueName
type HorizontalPodAutoscalerNode ¶
type HorizontalPodAutoscalerNode struct { osgraph.Node HorizontalPodAutoscaler *autoscalingv1.HorizontalPodAutoscaler }
func EnsureHorizontalPodAutoscalerNode ¶
func EnsureHorizontalPodAutoscalerNode(g osgraph.MutableUniqueGraph, hpa *autoscalingv1.HorizontalPodAutoscaler) *HorizontalPodAutoscalerNode
func (*HorizontalPodAutoscalerNode) Kind ¶
func (*HorizontalPodAutoscalerNode) Kind() string
func (HorizontalPodAutoscalerNode) Object ¶
func (n HorizontalPodAutoscalerNode) Object() interface{}
func (HorizontalPodAutoscalerNode) String ¶
func (n HorizontalPodAutoscalerNode) String() string
func (HorizontalPodAutoscalerNode) UniqueName ¶
func (n HorizontalPodAutoscalerNode) UniqueName() osgraph.UniqueName
type JobNode ¶
func EnsureJobNode ¶
func EnsureJobNode(g osgraph.MutableUniqueGraph, job *batchv1.Job) *JobNode
EnsureJobNode adds a graph node for the Job if it does not already exist.
func (JobNode) UniqueName ¶
func (n JobNode) UniqueName() osgraph.UniqueName
type JobSpecNode ¶
type JobSpecNode struct { osgraph.Node JobSpec *batchv1.JobSpec Namespace string OwnerName osgraph.UniqueName }
func EnsureJobSpecNode ¶
func EnsureJobSpecNode(g osgraph.MutableUniqueGraph, jobSpec *batchv1.JobSpec, namespace string, ownerName osgraph.UniqueName) *JobSpecNode
func (*JobSpecNode) Kind ¶
func (*JobSpecNode) Kind() string
func (JobSpecNode) Object ¶
func (n JobSpecNode) Object() interface{}
func (JobSpecNode) String ¶
func (n JobSpecNode) String() string
func (JobSpecNode) UniqueName ¶
func (n JobSpecNode) UniqueName() osgraph.UniqueName
type PersistentVolumeClaimNode ¶
type PersistentVolumeClaimNode struct { osgraph.Node PersistentVolumeClaim *corev1.PersistentVolumeClaim IsFound bool }
func EnsurePersistentVolumeClaimNode ¶
func EnsurePersistentVolumeClaimNode(g osgraph.MutableUniqueGraph, pvc *corev1.PersistentVolumeClaim) *PersistentVolumeClaimNode
func FindOrCreateSyntheticPVCNode ¶
func FindOrCreateSyntheticPVCNode(g osgraph.MutableUniqueGraph, pvc *corev1.PersistentVolumeClaim) *PersistentVolumeClaimNode
func (PersistentVolumeClaimNode) Found ¶
func (n PersistentVolumeClaimNode) Found() bool
func (*PersistentVolumeClaimNode) Kind ¶
func (*PersistentVolumeClaimNode) Kind() string
func (PersistentVolumeClaimNode) Object ¶
func (n PersistentVolumeClaimNode) Object() interface{}
func (PersistentVolumeClaimNode) String ¶
func (n PersistentVolumeClaimNode) String() string
func (PersistentVolumeClaimNode) UniqueName ¶
func (n PersistentVolumeClaimNode) UniqueName() osgraph.UniqueName
type PodNode ¶
func EnsurePodNode ¶
func EnsurePodNode(g osgraph.MutableUniqueGraph, pod *corev1.Pod) *PodNode
func (PodNode) UniqueName ¶
func (n PodNode) UniqueName() osgraph.UniqueName
type PodSpecNode ¶
type PodSpecNode struct { osgraph.Node *corev1.PodSpec Namespace string OwnerName osgraph.UniqueName }
func EnsurePodSpecNode ¶
func EnsurePodSpecNode(g osgraph.MutableUniqueGraph, podSpec *corev1.PodSpec, namespace string, ownerName osgraph.UniqueName) *PodSpecNode
func (*PodSpecNode) Kind ¶
func (*PodSpecNode) Kind() string
func (PodSpecNode) Object ¶
func (n PodSpecNode) Object() interface{}
func (PodSpecNode) String ¶
func (n PodSpecNode) String() string
func (PodSpecNode) UniqueName ¶
func (n PodSpecNode) UniqueName() osgraph.UniqueName
type PodTemplateSpecNode ¶
type PodTemplateSpecNode struct { osgraph.Node *corev1.PodTemplateSpec Namespace string OwnerName osgraph.UniqueName }
func EnsurePodTemplateSpecNode ¶
func EnsurePodTemplateSpecNode(g osgraph.MutableUniqueGraph, ptSpec *corev1.PodTemplateSpec, namespace string, ownerName osgraph.UniqueName) *PodTemplateSpecNode
func (*PodTemplateSpecNode) Kind ¶
func (*PodTemplateSpecNode) Kind() string
func (PodTemplateSpecNode) Object ¶
func (n PodTemplateSpecNode) Object() interface{}
func (PodTemplateSpecNode) String ¶
func (n PodTemplateSpecNode) String() string
func (PodTemplateSpecNode) UniqueName ¶
func (n PodTemplateSpecNode) UniqueName() osgraph.UniqueName
type ReplicaSetNode ¶
type ReplicaSetNode struct { osgraph.Node ReplicaSet *kappsv1.ReplicaSet IsFound bool }
func EnsureReplicaSetNode ¶
func EnsureReplicaSetNode(g osgraph.MutableUniqueGraph, rs *kappsv1.ReplicaSet) *ReplicaSetNode
EnsureReplicaSetNode adds a graph node for the ReplicaSet if it does not already exist.
func FindOrCreateSyntheticReplicaSetNode ¶
func FindOrCreateSyntheticReplicaSetNode(g osgraph.MutableUniqueGraph, rs *kappsv1.ReplicaSet) *ReplicaSetNode
func (ReplicaSetNode) Found ¶
func (n ReplicaSetNode) Found() bool
func (*ReplicaSetNode) Kind ¶
func (*ReplicaSetNode) Kind() string
func (ReplicaSetNode) Object ¶
func (n ReplicaSetNode) Object() interface{}
func (ReplicaSetNode) String ¶
func (n ReplicaSetNode) String() string
func (ReplicaSetNode) UniqueName ¶
func (n ReplicaSetNode) UniqueName() osgraph.UniqueName
type ReplicaSetSpecNode ¶
type ReplicaSetSpecNode struct { osgraph.Node ReplicaSetSpec *kappsv1.ReplicaSetSpec Namespace string OwnerName osgraph.UniqueName }
func EnsureReplicaSetSpecNode ¶
func EnsureReplicaSetSpecNode(g osgraph.MutableUniqueGraph, rsSpec *kappsv1.ReplicaSetSpec, namespace string, ownerName osgraph.UniqueName) *ReplicaSetSpecNode
func (*ReplicaSetSpecNode) Kind ¶
func (*ReplicaSetSpecNode) Kind() string
func (ReplicaSetSpecNode) Object ¶
func (n ReplicaSetSpecNode) Object() interface{}
func (ReplicaSetSpecNode) String ¶
func (n ReplicaSetSpecNode) String() string
func (ReplicaSetSpecNode) UniqueName ¶
func (n ReplicaSetSpecNode) UniqueName() osgraph.UniqueName
type ReplicationControllerNode ¶
type ReplicationControllerNode struct { osgraph.Node ReplicationController *corev1.ReplicationController IsFound bool }
func EnsureReplicationControllerNode ¶
func EnsureReplicationControllerNode(g osgraph.MutableUniqueGraph, rc *corev1.ReplicationController) *ReplicationControllerNode
EnsureReplicationControllerNode adds a graph node for the ReplicationController if it does not already exist.
func FindOrCreateSyntheticReplicationControllerNode ¶
func FindOrCreateSyntheticReplicationControllerNode(g osgraph.MutableUniqueGraph, rc *corev1.ReplicationController) *ReplicationControllerNode
func (ReplicationControllerNode) Found ¶
func (n ReplicationControllerNode) Found() bool
func (*ReplicationControllerNode) Kind ¶
func (*ReplicationControllerNode) Kind() string
func (ReplicationControllerNode) Object ¶
func (n ReplicationControllerNode) Object() interface{}
func (ReplicationControllerNode) String ¶
func (n ReplicationControllerNode) String() string
func (ReplicationControllerNode) UniqueName ¶
func (n ReplicationControllerNode) UniqueName() osgraph.UniqueName
type ReplicationControllerSpecNode ¶
type ReplicationControllerSpecNode struct { osgraph.Node ReplicationControllerSpec *corev1.ReplicationControllerSpec Namespace string OwnerName osgraph.UniqueName }
func EnsureReplicationControllerSpecNode ¶
func EnsureReplicationControllerSpecNode(g osgraph.MutableUniqueGraph, rcSpec *corev1.ReplicationControllerSpec, namespace string, ownerName osgraph.UniqueName) *ReplicationControllerSpecNode
func (*ReplicationControllerSpecNode) Kind ¶
func (*ReplicationControllerSpecNode) Kind() string
func (ReplicationControllerSpecNode) Object ¶
func (n ReplicationControllerSpecNode) Object() interface{}
func (ReplicationControllerSpecNode) String ¶
func (n ReplicationControllerSpecNode) String() string
func (ReplicationControllerSpecNode) UniqueName ¶
func (n ReplicationControllerSpecNode) UniqueName() osgraph.UniqueName
type SecretNode ¶
func EnsureSecretNode ¶
func EnsureSecretNode(g osgraph.MutableUniqueGraph, o *corev1.Secret) *SecretNode
func FindOrCreateSyntheticSecretNode ¶
func FindOrCreateSyntheticSecretNode(g osgraph.MutableUniqueGraph, o *corev1.Secret) *SecretNode
func (SecretNode) Found ¶
func (n SecretNode) Found() bool
func (*SecretNode) Kind ¶
func (*SecretNode) Kind() string
func (SecretNode) Object ¶
func (n SecretNode) Object() interface{}
func (SecretNode) String ¶
func (n SecretNode) String() string
type ServiceAccountNode ¶
type ServiceAccountNode struct { osgraph.Node *corev1.ServiceAccount IsFound bool }
func EnsureServiceAccountNode ¶
func EnsureServiceAccountNode(g osgraph.MutableUniqueGraph, o *corev1.ServiceAccount) *ServiceAccountNode
func FindOrCreateSyntheticServiceAccountNode ¶
func FindOrCreateSyntheticServiceAccountNode(g osgraph.MutableUniqueGraph, o *corev1.ServiceAccount) *ServiceAccountNode
func (ServiceAccountNode) Found ¶
func (n ServiceAccountNode) Found() bool
func (*ServiceAccountNode) Kind ¶
func (*ServiceAccountNode) Kind() string
func (ServiceAccountNode) Object ¶
func (n ServiceAccountNode) Object() interface{}
func (ServiceAccountNode) String ¶
func (n ServiceAccountNode) String() string
type ServiceNode ¶
func EnsureServiceNode ¶
func EnsureServiceNode(g osgraph.MutableUniqueGraph, svc *corev1.Service) *ServiceNode
EnsureServiceNode adds the provided service to the graph if it does not already exist.
func FindOrCreateSyntheticServiceNode ¶
func FindOrCreateSyntheticServiceNode(g osgraph.MutableUniqueGraph, svc *corev1.Service) *ServiceNode
FindOrCreateSyntheticServiceNode returns the existing service node or creates a synthetic node in its place
func (ServiceNode) Found ¶
func (n ServiceNode) Found() bool
func (*ServiceNode) Kind ¶
func (*ServiceNode) Kind() string
func (ServiceNode) Object ¶
func (n ServiceNode) Object() interface{}
func (ServiceNode) String ¶
func (n ServiceNode) String() string
type StatefulSetNode ¶
type StatefulSetNode struct { osgraph.Node StatefulSet *kappsv1.StatefulSet IsFound bool }
func EnsureStatefulSetNode ¶
func EnsureStatefulSetNode(g osgraph.MutableUniqueGraph, statefulSet *kappsv1.StatefulSet) *StatefulSetNode
func (StatefulSetNode) Found ¶
func (n StatefulSetNode) Found() bool
func (*StatefulSetNode) Kind ¶
func (*StatefulSetNode) Kind() string
func (StatefulSetNode) Object ¶
func (n StatefulSetNode) Object() interface{}
func (StatefulSetNode) String ¶
func (n StatefulSetNode) String() string
func (StatefulSetNode) UniqueName ¶
func (n StatefulSetNode) UniqueName() osgraph.UniqueName
type StatefulSetSpecNode ¶
type StatefulSetSpecNode struct { osgraph.Node StatefulSetSpec *kappsv1.StatefulSetSpec Namespace string OwnerName osgraph.UniqueName }
func EnsureStatefulSetSpecNode ¶
func EnsureStatefulSetSpecNode(g osgraph.MutableUniqueGraph, spec *kappsv1.StatefulSetSpec, namespace string, ownerName osgraph.UniqueName) *StatefulSetSpecNode
func (*StatefulSetSpecNode) Kind ¶
func (*StatefulSetSpecNode) Kind() string
func (StatefulSetSpecNode) Object ¶
func (n StatefulSetSpecNode) Object() interface{}
func (StatefulSetSpecNode) String ¶
func (n StatefulSetSpecNode) String() string
func (StatefulSetSpecNode) UniqueName ¶
func (n StatefulSetSpecNode) UniqueName() osgraph.UniqueName
Click to show internal directories.
Click to hide internal directories.