distribution

package
v0.29.5-rc.3 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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 GetConfigTemplatePath(basePath string, conf config.Furyctl) (string, error)

func GetPrivateSchemaPath

func GetPrivateSchemaPath(basePath string, conf config.Furyctl) (string, error)

func GetPublicSchemaPath

func GetPublicSchemaPath(basePath string, conf config.Furyctl) (string, error)

func HasFeature added in v0.27.0

func HasFeature(kfd config.KFD, name Feature) bool

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 Feature added in v0.27.0

type Feature string

type IACBuilder

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

func NewIACBuilder

func NewIACBuilder(
	furyctlFile map[any]any,
	distroPath,
	kind,
	outDir,
	furyctlConfPath string,
	noOverwrite,
	dryRun bool,
) (*IACBuilder, error)

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

Jump to

Keyboard shortcuts

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