Documentation ¶
Index ¶
- Constants
- func CheckPhase(phase string) error
- func RegisterCreatorFactory(apiVersion, kind string, factory CreatorFactory)
- func RegisterDeleterFactory(apiVersion, kind string, factory DeleterFactory)
- type Creator
- type CreatorFactory
- type CreatorPaths
- type CreatorProperty
- type Deleter
- type DeleterFactory
- type DeleterPaths
- type DeleterProperty
- type OperationPhase
- type OperationPhaseOption
Constants ¶
View Source
const ( CreatorPropertyConfigPath = "configpath" CreatorPropertyWorkDir = "workdir" CreatorPropertyFuryctlConf = "furyctlconf" CreatorPropertyKfdManifest = "kfdmanifest" CreatorPropertyDistroPath = "distropath" CreatorPropertyBinPath = "binpath" CreatorPropertyPhase = "phase" CreatorPropertySkipVpn = "skipvpn" CreatorPropertyVpnAutoConnect = "vpnautoconnect" CreatorPropertyKubeconfig = "kubeconfig" CreatorPropertyDryRun = "dryrun" )
View Source
const ( DeleterPropertyFuryctlConf = "furyctlconf" DeleterPropertyPhase = "phase" DeleterPropertyWorkDir = "workdir" DeleterPropertyKfdManifest = "kfdmanifest" DeleterPropertyBinPath = "binpath" DeleterPropertySkipVpn = "skipvpn" DeleterPropertyVpnAutoConnect = "vpnautoconnect" DeleterPropertyKubeconfig = "kubeconfig" DeleterPropertyDryRun = "dryrun" )
View Source
const ( OperationPhaseInfrastructure = "infrastructure" OperationPhaseKubernetes = "kubernetes" OperationPhaseDistribution = "distribution" OperationPhaseAll = "" OperationPhaseOptionVPNAutoConnect = "vpnautoconnect" )
Variables ¶
This section is empty.
Functions ¶
func CheckPhase ¶ added in v0.25.0
func RegisterCreatorFactory ¶ added in v0.25.0
func RegisterCreatorFactory(apiVersion, kind string, factory CreatorFactory)
func RegisterDeleterFactory ¶ added in v0.25.0
func RegisterDeleterFactory(apiVersion, kind string, factory DeleterFactory)
Types ¶
type Creator ¶ added in v0.25.0
type CreatorFactory ¶ added in v0.25.0
type CreatorFactory func(configPath string, props []CreatorProperty) (Creator, error)
func NewCreatorFactory ¶ added in v0.25.0
func NewCreatorFactory[T Creator, S any](cc T) CreatorFactory
type CreatorPaths ¶ added in v0.25.0
type CreatorProperty ¶ added in v0.25.0
type Deleter ¶ added in v0.25.0
type Deleter interface { SetProperties(props []DeleterProperty) SetProperty(name string, value any) Delete() error }
type DeleterFactory ¶ added in v0.25.0
type DeleterFactory func(configPath string, props []DeleterProperty) (Deleter, error)
func NewDeleterFactory ¶ added in v0.25.0
func NewDeleterFactory[T Deleter, S any](dd T) DeleterFactory
type DeleterPaths ¶ added in v0.25.0
type DeleterProperty ¶ added in v0.25.0
type OperationPhase ¶ added in v0.25.0
type OperationPhase struct { Path string TerraformPath string KustomizePath string KubectlPath string YqPath string PlanPath string LogsPath string OutputsPath string SecretsPath string // contains filtered or unexported fields }
func NewOperationPhase ¶ added in v0.25.0
func (*OperationPhase) CopyFromTemplate ¶ added in v0.25.0
func (*OperationPhase) CopyFromTemplate(cfg template.Config, prefix, sourcePath, targetPath string) error
func (*OperationPhase) CreateFolder ¶ added in v0.25.0
func (cp *OperationPhase) CreateFolder() error
func (*OperationPhase) CreateFolderStructure ¶ added in v0.25.0
func (cp *OperationPhase) CreateFolderStructure() error
type OperationPhaseOption ¶ added in v0.25.0
Click to show internal directories.
Click to hide internal directories.