diagram

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Diagram

type Diagram struct {
	// contains filtered or unexported fields
}

func NewDiagram

func NewDiagram(outputDir, filename, label string) (*Diagram, error)

func (*Diagram) AddPodInDaemonSet

func (d *Diagram) AddPodInDaemonSet(namespace, daemonSetName, podName string)

func (*Diagram) AddPodInReplicaSet

func (d *Diagram) AddPodInReplicaSet(namespace, replicaSetName, podName string)

func (*Diagram) AddPodInStatefulSet

func (d *Diagram) AddPodInStatefulSet(namespace, statefulSetName, podName string)

func (*Diagram) GenerateDaemonSets

func (d *Diagram) GenerateDaemonSets(namespace string, o *appsv1.DaemonSetList)

func (*Diagram) GenerateDeployments

func (d *Diagram) GenerateDeployments(namespace string, o *appsv1.DeploymentList)

func (*Diagram) GenerateDiagram

func (d *Diagram) GenerateDiagram(namespace string, o *discovery.Objects)

func (*Diagram) GenerateIngresses

func (d *Diagram) GenerateIngresses(namespace string, o *networkingv1.IngressList)

func (*Diagram) GenerateLinksFromServiceToPods

func (d *Diagram) GenerateLinksFromServiceToPods(namespace string, service string, endpoints *corev1.EndpointsList)

func (*Diagram) GeneratePods

func (d *Diagram) GeneratePods(namespace string, o *corev1.PodList)

func (*Diagram) GenerateReplicaSets

func (d *Diagram) GenerateReplicaSets(namespace string, o *appsv1.ReplicaSetList)

func (*Diagram) GenerateServices

func (d *Diagram) GenerateServices(namespace string, services *corev1.ServiceList, endpoints *corev1.EndpointsList)

func (*Diagram) GenerateStatefulSets

func (d *Diagram) GenerateStatefulSets(namespace string, o *appsv1.StatefulSetList)

func (*Diagram) RenderDiagram

func (d *Diagram) RenderDiagram() error

Jump to

Keyboard shortcuts

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