dependencies

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependencies

type Dependencies struct {
	Provider                  providers.Provider
	ClusterAwsCli             *executables.Clusterawsadm
	DockerClient              *executables.Docker
	Kubectl                   *executables.Kubectl
	Govc                      *executables.Govc
	Writer                    filewriter.FileWriter
	Kind                      *executables.Kind
	Clusterctl                *executables.Clusterctl
	Flux                      *executables.Flux
	Troubleshoot              *executables.Troubleshoot
	Helm                      *executables.Helm
	Networking                clustermanager.Networking
	AwsIamAuth                clustermanager.AwsIamAuth
	ClusterManager            *clustermanager.ClusterManager
	Bootstrapper              *bootstrapper.Bootstrapper
	FluxAddonClient           *addonclients.FluxAddonClient
	AnalyzerFactory           diagnostics.AnalyzerFactory
	CollectorFactory          diagnostics.CollectorFactory
	DignosticCollectorFactory diagnostics.DiagnosticBundleFactory
	CAPIManager               *clusterapi.Manager
	ResourceSetManager        *clusterapi.ResourceSetManager
	// contains filtered or unexported fields
}

func (*Dependencies) Close added in v0.7.0

func (d *Dependencies) Close(ctx context.Context) error

type Factory

type Factory struct {
	// contains filtered or unexported fields
}

func ForSpec

func ForSpec(ctx context.Context, clusterSpec *cluster.Spec) *Factory

func NewFactory

func NewFactory() *Factory

func (*Factory) Build

func (f *Factory) Build(ctx context.Context) (*Dependencies, error)

func (*Factory) WithAnalyzerFactory

func (f *Factory) WithAnalyzerFactory() *Factory

func (*Factory) WithAwsIamAuth

func (f *Factory) WithAwsIamAuth() *Factory

func (*Factory) WithBootstrapper

func (f *Factory) WithBootstrapper() *Factory

func (*Factory) WithCAPIClusterResourceSetManager

func (f *Factory) WithCAPIClusterResourceSetManager() *Factory

func (*Factory) WithCAPIManager

func (f *Factory) WithCAPIManager() *Factory

func (*Factory) WithClusterAwsCli

func (f *Factory) WithClusterAwsCli() *Factory

func (*Factory) WithClusterManager

func (f *Factory) WithClusterManager(clusterConfig *v1alpha1.Cluster) *Factory

func (*Factory) WithClusterctl

func (f *Factory) WithClusterctl() *Factory

func (*Factory) WithCollectorFactory

func (f *Factory) WithCollectorFactory() *Factory

func (*Factory) WithDiagnosticBundleFactory

func (f *Factory) WithDiagnosticBundleFactory() *Factory

func (*Factory) WithDiagnosticCollectorImage

func (f *Factory) WithDiagnosticCollectorImage(diagnosticCollectorImage string) *Factory

func (*Factory) WithDocker

func (f *Factory) WithDocker() *Factory

func (*Factory) WithExecutableBuilder

func (f *Factory) WithExecutableBuilder() *Factory

func (*Factory) WithExecutableImage added in v0.7.0

func (f *Factory) WithExecutableImage(image string) *Factory

func (*Factory) WithExecutableMountDirs added in v0.7.0

func (f *Factory) WithExecutableMountDirs(mountDirs ...string) *Factory

func (*Factory) WithFlux

func (f *Factory) WithFlux() *Factory

func (*Factory) WithFluxAddonClient

func (f *Factory) WithFluxAddonClient(ctx context.Context, clusterConfig *v1alpha1.Cluster, gitOpsConfig *v1alpha1.GitOpsConfig) *Factory

func (*Factory) WithGovc

func (f *Factory) WithGovc() *Factory

func (*Factory) WithHelm added in v0.7.0

func (f *Factory) WithHelm() *Factory

func (*Factory) WithKind

func (f *Factory) WithKind() *Factory

func (*Factory) WithKubectl

func (f *Factory) WithKubectl() *Factory

func (*Factory) WithNetworking

func (f *Factory) WithNetworking(clusterConfig *v1alpha1.Cluster) *Factory

func (*Factory) WithProvider

func (f *Factory) WithProvider(clusterConfigFile string, clusterConfig *v1alpha1.Cluster, skipIpCheck bool, hardwareConfigFile string) *Factory

func (*Factory) WithProviderFactory

func (f *Factory) WithProviderFactory(clusterConfig *v1alpha1.Cluster) *Factory

func (*Factory) WithTroubleshoot

func (f *Factory) WithTroubleshoot() *Factory

func (*Factory) WithWriter

func (f *Factory) WithWriter() *Factory

func (*Factory) WithWriterFolder

func (f *Factory) WithWriterFolder(folder string) *Factory

Jump to

Keyboard shortcuts

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