Documentation ¶
Index ¶
- Constants
- func CreateObjects(t *testing.T, k8s kubernetes.Interface, arango arangoClientSet.Interface, ...) func(t *testing.T)
- func DeleteObjects(t *testing.T, k8s kubernetes.Interface, arango arangoClientSet.Interface, ...)
- func DurationBetween() func(t *testing.T, expected time.Duration, skew float64)
- func GetContainerByNameT(t *testing.T, containers []core.Container, name string) core.Container
- func Handle(handler operator.Handler, item operation.Item) error
- func HandleFunc(in func(ctx context.Context) (bool, error)) error
- func HandleWithMax(handler operator.Handler, item operation.Item, max int) error
- func Interrupt() error
- func IsNamespaced(in meta.Object) bool
- func NewEmptyInspector(t *testing.T) inspectorInterface.Inspector
- func NewInspector(t *testing.T, c kclient.Client) inspectorInterface.Inspector
- func NewItem(t *testing.T, o operation.Operation, object meta.Object) operation.Item
- func NewMetaObject[T meta.Object](t *testing.T, namespace, name string, mods ...MetaObjectMod[T]) T
- func NewMetaObjectInDefaultNamespace[T meta.Object](t *testing.T, name string, mods ...MetaObjectMod[T]) T
- func RefreshObjects(t *testing.T, k8s kubernetes.Interface, arango arangoClientSet.Interface, ...)
- func RefreshObjectsC(t *testing.T, client kclient.Client, objects ...interface{})
- func SetMetaBasedOnType(t *testing.T, object meta.Object)
- func UpdateObjects(t *testing.T, k8s kubernetes.Interface, arango arangoClientSet.Interface, ...) func(t *testing.T)
- func UpdateObjectsC(t *testing.T, client kclient.Client, objects ...interface{}) func(t *testing.T)
- func WithLogScanner(t *testing.T, name string, in func(t *testing.T, s LogScanner))
- type KubernetesObject
- type LogScanner
- type MetaObjectMod
- type Timeout
Constants ¶
View Source
const FakeJWTSecretName = "fake-jwt-secret"
View Source
const FakeNamespace = "fake"
Variables ¶
This section is empty.
Functions ¶
func CreateObjects ¶
func CreateObjects(t *testing.T, k8s kubernetes.Interface, arango arangoClientSet.Interface, objects ...interface{}) func(t *testing.T)
func DeleteObjects ¶
func DeleteObjects(t *testing.T, k8s kubernetes.Interface, arango arangoClientSet.Interface, objects ...interface{})
func DurationBetween ¶
func GetContainerByNameT ¶
func HandleWithMax ¶
func IsNamespaced ¶
func NewEmptyInspector ¶
func NewEmptyInspector(t *testing.T) inspectorInterface.Inspector
func NewInspector ¶
func NewMetaObject ¶
func RefreshObjects ¶
func RefreshObjects(t *testing.T, k8s kubernetes.Interface, arango arangoClientSet.Interface, objects ...interface{})
func RefreshObjectsC ¶
func UpdateObjects ¶
func UpdateObjects(t *testing.T, k8s kubernetes.Interface, arango arangoClientSet.Interface, objects ...interface{}) func(t *testing.T)
func UpdateObjectsC ¶
func WithLogScanner ¶
Types ¶
type LogScanner ¶
Click to show internal directories.
Click to hide internal directories.