version_management

package
v0.65.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSyncerCliBuildInformation

func CreateSyncerCliBuildInformation(minimalCliVersion *semver.Version) *version2.CliBuildInformation

func IsValidToSync

func IsValidToSync(ctx context.Context, plugin version2.CliVersionHandler, syncerMinimalVersion *semver.Version) (bool, error)

Types

type Compatibility

type Compatibility int
const (
	CompatibilityUnknown Compatibility = iota
	NotSupported
	Deprecated
	Supported
)

type CompatibilityInformation

type CompatibilityInformation struct {
	Compatibility        Compatibility
	DeprecatedWarningMsg *string
	SupportedVersions    string
}

func IsCompatibleWithRaitoCloud

func IsCompatibleWithRaitoCloud(config *types.BaseConfig) (CompatibilityInformation, error)

type IncompatiblePluginVersionError

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

func (IncompatiblePluginVersionError) Error

type SupportedRaitoCloudVersions

type SupportedRaitoCloudVersions struct {
	SupportedVersions    *semver.Constraints
	DeprecatedVersions   *semver.Constraints
	DeprecatedVersionMsg *string
}

Jump to

Keyboard shortcuts

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