Documentation ¶
Index ¶
- Constants
- type Config
- type KubeEvent
- func (k *KubeEvent) Category() api.Category
- func (k *KubeEvent) Commit(events []api.Event)
- func (k *KubeEvent) Config() interface{}
- func (k *KubeEvent) Init(context api.Context) error
- func (k *KubeEvent) ProductLoop(productFunc api.ProductFunc)
- func (k *KubeEvent) Start() error
- func (k *KubeEvent) Stop()
- func (k *KubeEvent) String() string
- func (k *KubeEvent) Type() api.Type
Constants ¶
View Source
const Type = "kubeEvent"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { KubeConfig string `yaml:"kubeconfig,omitempty"` Master string `yaml:"master,omitempty"` BufferSize int `yaml:"bufferSize,omitempty" default:"1000" validate:"gte=1"` LeaderElectionNamespace string `yaml:"electionNamespace,omitempty" default:"kube-system"` LeaderElectionKey string `yaml:"electionKey,omitempty" default:"loggie-leader-election-key"` LatestEventsEnabled bool `yaml:"watchLatestEvents,omitempty"` LatestEventsPreviousTime time.Duration `yaml:"latestEventsPreviousTime,omitempty" default:"30s"` BlackListNamespaces []string `yaml:"blackListNamespaces,omitempty"` }
type KubeEvent ¶
type KubeEvent struct {
// contains filtered or unexported fields
}
func (*KubeEvent) ProductLoop ¶
func (k *KubeEvent) ProductLoop(productFunc api.ProductFunc)
Click to show internal directories.
Click to hide internal directories.