kubernetestint

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KinterfaceTest

type KinterfaceTest struct {
	ConsoleURL               string
	ConsoleURLErorring       bool
	ExpectedNumberofCleanups int
	GetSecretResult          map[string]string
	GetPodLogsOutput         map[string]string
}

func (*KinterfaceTest) CleanupPipelines

func (k *KinterfaceTest) CleanupPipelines(_ context.Context, _ *zap.SugaredLogger, _ *v1alpha1.Repository,
	pr *v1beta1.PipelineRun, limitnumber int,
) error

func (*KinterfaceTest) CreateBasicAuthSecret

func (k *KinterfaceTest) CreateBasicAuthSecret(context.Context, *zap.SugaredLogger, *info.Event, string, string) error

func (*KinterfaceTest) DeleteBasicAuthSecret

func (k *KinterfaceTest) DeleteBasicAuthSecret(_ context.Context, _ *zap.SugaredLogger, _, _ string) error

func (*KinterfaceTest) GetConsoleUI

func (k *KinterfaceTest) GetConsoleUI(_ context.Context, _, _ string) (string, error)

func (*KinterfaceTest) GetPodLogs added in v0.14.0

func (k *KinterfaceTest) GetPodLogs(_ context.Context, ns, pod, cont string, _ int64) (string, error)

func (*KinterfaceTest) GetSecret

func (k *KinterfaceTest) GetSecret(_ context.Context, secretopt kubeinteraction.GetSecretOpt) (string, error)

Jump to

Keyboard shortcuts

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