//
pkg.gl
Category
github.com/ueokande/logbook
pkg
k8s
package
0.0.1
Repository:
https://github.com/ueokande/logbook.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
1
Files
127 SLOC
#
Functions
LoadCurrentContext
LoadCurrentContext loads a context in KUBECONFIG and returns it.
NewClient
NewClient loads Kubernetes configuration by the kubeconfig and returns new Client.
#
Constants
PodAdded
The pod is added.
PodDeleted
The pod is deleted.
PodModified
The pod is updated.
#
Structs
Client
Client is a wrapper for a Kubernetes client.
PodEvent
PodEvent represents an event of the pods in Kubernetes API.
#
Type aliases
PodEventType
PodEventType represents an event type of the pod.