framework

package
v2.5.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Framework

type Framework struct {
	Options   Options
	RestCfg   *rest.Config
	K8sClient client.Client
	Cloud     aws.Cloud

	CTRLInstallationManager controller.InstallationManager
	NSManager               k8sresources.NamespaceManager
	DPManager               k8sresources.DeploymentManager
	SVCManager              k8sresources.ServiceManager
	INGManager              k8sresources.IngressManager
	LBManager               awsresources.LoadBalancerManager
	TGManager               awsresources.TargetGroupManager

	HTTPVerifier http.Verifier

	Logger         logr.Logger
	LoggerReporter httpexpect.LoggerReporter
}

func InitFramework

func InitFramework() (*Framework, error)

type Options

type Options struct {
	ClusterName string
	AWSRegion   string
	AWSVPCID    string
	HelmChart   string
	KubeConfig  string

	// AWS Load Balancer Controller image. leave empty to use default one from helm chart.
	ControllerImage string

	// Additional parameters for e2e tests
	S3BucketName      string
	CertificateARNs   string
	IPFamily          string
	TestImageRegistry string
}

Options are the configuration options.

func (*Options) BindFlags

func (options *Options) BindFlags()

func (*Options) Validate

func (options *Options) Validate() error

Directories

Path Synopsis
resources
aws
k8s

Jump to

Keyboard shortcuts

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