Documentation
¶
Index ¶
- type Dependencies
- type Factory
- func (f *Factory) Build(ctx context.Context) (*Dependencies, error)
- func (f *Factory) UseExecutableImage(image string) *Factory
- func (f *Factory) WithAnalyzerFactory() *Factory
- func (f *Factory) WithAwsIamAuth() *Factory
- func (f *Factory) WithAwsSnow() *Factory
- func (f *Factory) WithBootstrapper() *Factory
- func (f *Factory) WithCAPIClusterResourceSetManager() *Factory
- func (f *Factory) WithCAPIManager() *Factory
- func (f *Factory) WithClusterAwsCli() *Factory
- func (f *Factory) WithClusterManager(clusterConfig *v1alpha1.Cluster) *Factory
- func (f *Factory) WithClusterctl() *Factory
- func (f *Factory) WithCmk() *Factory
- func (f *Factory) WithCollectorFactory() *Factory
- func (f *Factory) WithDiagnosticBundleFactory() *Factory
- func (f *Factory) WithDiagnosticCollectorImage(diagnosticCollectorImage string) *Factory
- func (f *Factory) WithDocker() *Factory
- func (f *Factory) WithEksdInstaller() *Factory
- func (f *Factory) WithEksdUpgrader() *Factory
- func (f *Factory) WithExecutableBuilder() *Factory
- func (f *Factory) WithExecutableImage() *Factory
- func (f *Factory) WithExecutableMountDirs(mountDirs ...string) *Factory
- func (f *Factory) WithFileReader() *Factory
- func (f *Factory) WithFlux() *Factory
- func (f *Factory) WithFluxAddonClient(clusterConfig *v1alpha1.Cluster, fluxConfig *v1alpha1.FluxConfig, ...) *Factory
- func (f *Factory) WithGit(clusterConfig *v1alpha1.Cluster, fluxConfig *v1alpha1.FluxConfig) *Factory
- func (f *Factory) WithGovc() *Factory
- func (f *Factory) WithHelm() *Factory
- func (f *Factory) WithKind() *Factory
- func (f *Factory) WithKubectl() *Factory
- func (f *Factory) WithManifestReader() *Factory
- func (f *Factory) WithNetworking(clusterConfig *v1alpha1.Cluster) *Factory
- func (f *Factory) WithPbnj(clusterConfigFile string) *Factory
- func (f *Factory) WithProvider(clusterConfigFile string, clusterConfig *v1alpha1.Cluster, skipIpCheck bool, ...) *Factory
- func (f *Factory) WithProxyConfiguration(proxyConfig map[string]string) *Factory
- func (f *Factory) WithRegistryMirror(mirror string) *Factory
- func (f *Factory) WithSnowConfigManager() *Factory
- func (f *Factory) WithTink(clusterConfigFile string) *Factory
- func (f *Factory) WithTroubleshoot() *Factory
- func (f *Factory) WithUnAuthKubeClient() *Factory
- func (f *Factory) WithWriter() *Factory
- func (f *Factory) WithWriterFolder(folder string) *Factory
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
Cmk *executables.Cmk
Tink *executables.Tink
Pbnj *pbnj.Pbnj
SnowAwsClient aws.Clients
SnowConfigManager *snow.ConfigManager
TinkerbellClients tinkerbell.TinkerbellClients
Writer filewriter.FileWriter
Kind *executables.Kind
Clusterctl *executables.Clusterctl
Flux *executables.Flux
Troubleshoot *executables.Troubleshoot
Helm *executables.Helm
UnAuthKubeClient *kubernetes.UnAuthClient
Networking clustermanager.Networking
AwsIamAuth clustermanager.AwsIamAuth
ClusterManager *clustermanager.ClusterManager
Bootstrapper *bootstrapper.Bootstrapper
FluxAddonClient *addonclients.FluxAddonClient
Git *gitfactory.GitTools
EksdInstaller *eksd.Installer
EksdUpgrader *eksd.Upgrader
AnalyzerFactory diagnostics.AnalyzerFactory
CollectorFactory diagnostics.CollectorFactory
DignosticCollectorFactory diagnostics.DiagnosticBundleFactory
CAPIManager *clusterapi.Manager
ResourceSetManager *clusterapi.ResourceSetManager
FileReader *files.Reader
ManifestReader *manifests.Reader
// contains filtered or unexported fields
}
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory() *Factory
func (*Factory) UseExecutableImage ¶ added in v0.9.0
func (*Factory) WithAnalyzerFactory ¶
func (*Factory) WithAwsIamAuth ¶
func (*Factory) WithAwsSnow ¶ added in v0.9.0
func (*Factory) WithBootstrapper ¶
func (*Factory) WithCAPIClusterResourceSetManager ¶
func (*Factory) WithCAPIManager ¶
func (*Factory) WithClusterAwsCli ¶
func (*Factory) WithClusterManager ¶
func (*Factory) WithClusterctl ¶
func (*Factory) WithCollectorFactory ¶
func (*Factory) WithDiagnosticBundleFactory ¶
func (*Factory) WithDiagnosticCollectorImage ¶
func (*Factory) WithDocker ¶
func (*Factory) WithEksdInstaller ¶ added in v0.9.0
func (*Factory) WithEksdUpgrader ¶ added in v0.9.0
func (*Factory) WithExecutableBuilder ¶
func (*Factory) WithExecutableImage ¶ added in v0.7.0
WithExecutableImage sets the right cli tools image for the executable builder, reading from the Bundle and using the first VersionsBundle This is just the default for when there is not an specific kubernetes version available For commands that receive a cluster config file or a kubernetes version directly as input, use UseExecutableImage to specify the image directly
func (*Factory) WithExecutableMountDirs ¶ added in v0.7.0
func (*Factory) WithFileReader ¶ added in v0.9.0
func (*Factory) WithFluxAddonClient ¶
func (*Factory) WithKubectl ¶
func (*Factory) WithManifestReader ¶ added in v0.9.0
func (*Factory) WithNetworking ¶
func (*Factory) WithProvider ¶
func (*Factory) WithProxyConfiguration ¶ added in v0.9.0
func (*Factory) WithRegistryMirror ¶ added in v0.9.0
func (*Factory) WithSnowConfigManager ¶ added in v0.9.0
func (*Factory) WithTroubleshoot ¶
func (*Factory) WithUnAuthKubeClient ¶ added in v0.9.0
func (*Factory) WithWriter ¶
func (*Factory) WithWriterFolder ¶
Click to show internal directories.
Click to hide internal directories.