Help us shape the future of Go! Take the 2026 Go Developer Survey

diagnose

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v1.0.1

type Config struct {
	KubeConfig    string   `yaml:"kubeConfig"`
	CloudProvider string   `yaml:"cloudProvider"`
	NetworkPlugin string   `yaml:"networkPlugin"`
	ProxyModel    string   `yaml:"proxyModel"`
	ClusterCidr   string   `yaml:"clusterCidr"`
	ExtraArgs     []string `yaml:"extraArgs"`
}

type Controller

type Controller interface {
	Diagnose(ctx context.Context, taskConfig *skoopContext.TaskConfig) (string, error)
}

func NewDiagnoseController

func NewDiagnoseController(namespace string, config *Config) Controller

type Diagnostor added in v1.0.1

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

func (*Diagnostor) Diagnose added in v1.0.1

func (d *Diagnostor) Diagnose(ctx context.Context, taskConfig *skoopContext.TaskConfig) (string, error)

Jump to

Keyboard shortcuts

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