Documentation
¶
Index ¶
Constants ¶
View Source
const ( KindPod = "Pod" KindEndpoints = "Endpoints" )
View Source
const PackageName = "component.ek8s"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct { *kubernetes.Clientset // contains filtered or unexported fields }
Component ...
func (*Component) ListEndpoints ¶
func (*Component) NewWatcherApp ¶ added in v0.1.1
type Config ¶
type Config struct { Addr string Debug bool Token string Namespaces []string DeploymentPrefix string // 命名前缀 TLSClientConfigInsecure bool }
Config ...
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
func DefaultContainer ¶
func DefaultContainer() *Container
type KubernetesEvent ¶
type Option ¶
type Option func(c *Container)
Option 可选项
func WithDeploymentPrefix ¶
func WithNamespaces ¶
type WatcherApp ¶ added in v0.1.1
type WatcherApp struct { *kubernetes.Clientset // contains filtered or unexported fields }
func (*WatcherApp) ProcessWorkItem ¶ added in v0.1.1
func (c *WatcherApp) ProcessWorkItem(f func(info *KubernetesEvent) error) bool
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
examples
|
|
kubegrpc/helloworld
Package helloworld is a generated protocol buffer package.
|
Package helloworld is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.