k8s

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DockerNameField         = "Docker.ContainerName"
	DockerPodNameField      = "Docker.Labels.io.kubernetes.pod.name"
	DockerPodNamespaceField = "Docker.Labels.io.kubernetes.pod.namespace"
)

commonly accessed docker specific fields

Variables

This section is empty.

Functions

This section is empty.

Types

type PolicyPoint added in v0.19.1

type PolicyPoint string
const (
	PolicyPointBegin PolicyPoint = "begin"
	PolicyPointEnd   PolicyPoint = "end"
)

func (PolicyPoint) String added in v0.19.1

func (val PolicyPoint) String() string

type PolicyTarget added in v0.19.1

type PolicyTarget string
const (
	PolicyTargetDeny  PolicyTarget = "deny"
	PolicyTargetAllow PolicyTarget = "allow"
)

func (PolicyTarget) String added in v0.19.1

func (val PolicyTarget) String() string

type PolicyType added in v0.19.1

type PolicyType string
const (
	PolicyTypeIngress PolicyType = "ingress"
	PolicyTypeEgress  PolicyType = "egress"
)

func (PolicyType) String added in v0.19.1

func (val PolicyType) String() string

type Probe

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

Probe for tracking k8s events

func NewProbe

func NewProbe(g *graph.Graph) (*Probe, error)

NewProbe create the Probe for tracking k8s events

func (*Probe) Start

func (p *Probe) Start()

Start k8s probe

func (*Probe) Stop

func (p *Probe) Stop()

Stop k8s probe

Source Files

  • client.go
  • cluster.go
  • container.go
  • cronjob.go
  • daemonset.go
  • deployment.go
  • endpoints.go
  • graph.go
  • ingress.go
  • job.go
  • namespace.go
  • networkpolicy.go
  • node.go
  • persistentvolume.go
  • persistentvolumeclaim.go
  • pod.go
  • probe.go
  • replicaset.go
  • replicationcontroller.go
  • service.go
  • statefulset.go
  • storageclass.go

Jump to

Keyboard shortcuts

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