events

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventHandler

type EventHandler interface {
	GetEvents(namespaceFunc NamespaceFunc) ([]*eventModels.Event, error)
}

EventHandler defines methods for interacting with Kubernetes events

func Init

func Init(kubeClient kubernetes.Interface) EventHandler

Init creates a new EventHandler

type NamespaceFunc

type NamespaceFunc func() string

NamespaceFunc defines a function that returns a namespace Used as argument in GetEvents to filter events by namespace

func RadixEnvironmentNamespace

func RadixEnvironmentNamespace(ra *v1.RadixApplication, envName string) NamespaceFunc

RadixEnvironmentNamespace builds a namespace from a RadixApplication and environment name

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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