Documentation ¶
Index ¶
- Constants
- Variables
- func GetConfigTemplatePath(basePath string, conf config.Furyctl) (string, error)
- func GetPrivateSchemaPath(basePath string, conf config.Furyctl) (string, error)
- func GetPublicSchemaPath(basePath string, conf config.Furyctl) (string, error)
- func HasFeature(kfd config.KFD, name Feature) bool
- type CompatibilityCheck
- type CompatibilityChecker
- type EKSClusterCheck
- type Feature
- type IACBuilder
- type KFDDistributionCheck
- type OnPremisesCheck
Constants ¶
View Source
const ( EKSClusterKind = "EKSCluster" KFDDistributionKind = "KFDDistribution" OnPremisesKind = "OnPremises" )
View Source
const ( FeatureClusterUpgrade = Feature("ClusterUpgrade") FeatureTracingModule = Feature("TracingModule") FeatureKubeconfigInSchema = Feature("KubeconfigInSchema") FeaturePlugins = Feature("Plugins") FeatureYqSupport = Feature("YqSupport") FeatureKubernetesLogTypes = Feature("KubernetesLogTypes") )
View Source
const ValidLength = 2
Variables ¶
View Source
var ( ErrSourceDirDoesNotExist = errors.New("source directory does not exist") ErrInvalidKind = errors.New("invalid kind") )
View Source
var ErrPluginsFeatureNotSupported = errors.New("plugins feature not supported")
View Source
var ErrUnsupportedKind = errors.New("unsupported kind")
Functions ¶
func GetConfigTemplatePath ¶
func GetPrivateSchemaPath ¶
func GetPublicSchemaPath ¶
Types ¶
type CompatibilityCheck ¶ added in v0.27.3
type CompatibilityCheck struct {
// contains filtered or unexported fields
}
type CompatibilityChecker ¶ added in v0.27.3
type CompatibilityChecker interface {
IsCompatible() bool
}
func NewCompatibilityChecker ¶ added in v0.27.3
func NewCompatibilityChecker(distributionVersion, kind string) (CompatibilityChecker, error)
type EKSClusterCheck ¶ added in v0.27.3
type EKSClusterCheck struct {
CompatibilityCheck
}
func NewEKSClusterCheck ¶ added in v0.27.3
func NewEKSClusterCheck(distributionVersion string) *EKSClusterCheck
func (*EKSClusterCheck) IsCompatible ¶ added in v0.27.3
func (c *EKSClusterCheck) IsCompatible() bool
type IACBuilder ¶
type IACBuilder struct {
// contains filtered or unexported fields
}
func NewIACBuilder ¶
func (*IACBuilder) Build ¶
func (m *IACBuilder) Build() error
type KFDDistributionCheck ¶ added in v0.27.3
type KFDDistributionCheck struct {
CompatibilityCheck
}
func NewKFDDistributionCheck ¶ added in v0.27.3
func NewKFDDistributionCheck(distributionVersion string) *KFDDistributionCheck
func (*KFDDistributionCheck) IsCompatible ¶ added in v0.27.3
func (c *KFDDistributionCheck) IsCompatible() bool
type OnPremisesCheck ¶ added in v0.27.3
type OnPremisesCheck struct {
CompatibilityCheck
}
func NewOnPremisesCheck ¶ added in v0.27.3
func NewOnPremisesCheck(distributionVersion string) *OnPremisesCheck
func (*OnPremisesCheck) IsCompatible ¶ added in v0.27.3
func (c *OnPremisesCheck) IsCompatible() bool
Click to show internal directories.
Click to hide internal directories.