Documentation ¶
Index ¶
- Constants
- func CompileFuryctl(outputPath string) func()
- func ConnectOpenVPN(certPath string) (*gexec.Session, error)
- func Copy(src, dst string)
- func CreateFuryctlYaml(s *ContextState, furyctlYamlTplName string, ...)
- func Download(toolName, version string) string
- func DownloadFuryDistribution(furyctlConfPath string) distribution.DownloadResult
- func DownloadFuryagent(version string) string
- func DownloadKubectl(version string) string
- func DownloadTerraform(version string) string
- func FuryctlYamlCreatorIdentityStrategy(prevData []byte) []byte
- func KillOpenVPN() (*gexec.Session, error)
- func Must0(err error)
- func Must1[T any](t T, err error) T
- func PrepareDirs(testName string, testID int64) (string, string)
- type Conf
- type ConfMeta
- type ConfSpec
- type ContextState
- type FuryctlCreator
- type FuryctlDeleter
- type FuryctlYamlCreatorStrategy
Constants ¶
View Source
const ( TestIDCeiling = 100000 BuildWaitTime = 5 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
func CompileFuryctl ¶
func CompileFuryctl(outputPath string) func()
func CreateFuryctlYaml ¶
func CreateFuryctlYaml(s *ContextState, furyctlYamlTplName string, strategy FuryctlYamlCreatorStrategy)
func DownloadFuryDistribution ¶
func DownloadFuryDistribution(furyctlConfPath string) distribution.DownloadResult
func DownloadFuryagent ¶
func DownloadKubectl ¶
func DownloadTerraform ¶
func KillOpenVPN ¶
Types ¶
type Conf ¶
type Conf struct { APIVersion string `validate:"required,api-version" yaml:"apiVersion"` Kind string `validate:"required,cluster-kind" yaml:"kind"` Metadata ConfMeta `validate:"required" yaml:"metadata"` Spec ConfSpec `validate:"required" yaml:"spec"` }
func LoadFuryCtl ¶
type ConfSpec ¶
type ConfSpec struct {
DistributionVersion string `validate:"required" yaml:"distributionVersion"`
}
type ContextState ¶
type ContextState struct { TestID int64 `json:"testId"` TestName string `json:"testName"` ClusterName string `json:"clusterName"` Kubeconfig string `json:"kubeconfig"` FuryctlYaml string `json:"furyctlYaml"` DataDir string `json:"dataDir"` TestDir string `json:"testDir"` }
func NewContextState ¶
func NewContextState(testName string) ContextState
type FuryctlCreator ¶
type FuryctlCreator struct {
// contains filtered or unexported fields
}
func NewFuryctlCreator ¶
func NewFuryctlCreator(furyctl, configPath, testDir string, dryRun bool) *FuryctlCreator
type FuryctlDeleter ¶
type FuryctlDeleter struct {
// contains filtered or unexported fields
}
func NewFuryctlDeleter ¶
func NewFuryctlDeleter( furyctl, configPath, testDir string, dryRun bool, ) *FuryctlDeleter
Click to show internal directories.
Click to hide internal directories.