Version: v0.0.0-...-1b19c93 Latest Latest

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

Go to latest
Published: Aug 25, 2021 License: Apache-2.0 Imports: 12 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type Report

type Report struct {
	// contains filtered or unexported fields

func NewReport

func NewReport(t *testing.T, config *rest.Config, types ...ReportType) *Report

NewReport creates a report with chosen resources

func (*Report) PrintJsonReport

func (r *Report) PrintJsonReport(namespace string)

PrintJsonReport prints chosen resources taking part in binding usage and service catalog test

for injected namespace as a json in testing logs

type ReportType

type ReportType func(r *Report, ns string)

func WithApp

func WithApp() ReportType

WithApp creates report with Application resources list: Application, ApplicationMapping

func WithHB

func WithHB() ReportType

WithHB creates report with HelmBroker resources list: AddonsConfiguration, ClusterAddonsConfiguration

func WithK8s

func WithK8s() ReportType

WithK8s creates report with Kubernetes resources list: Deployment, Pod, Service

func WithSBU

func WithSBU() ReportType

WithSBU creates report with ServiceBindingUsage list

func WithSC

func WithSC() ReportType

WithSC creates report with Service Catalog resources list: ServiceBroker, ServiceClass, ServiceInstance, ServiceBinding, ClusterServiceBroker, ClusterServiceClass

type TestLogWriter

type TestLogWriter struct {
	// contains filtered or unexported fields

func (TestLogWriter) Write

func (t TestLogWriter) Write(p []byte) (n int, err error)

Source Files

Jump to

Keyboard shortcuts

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