versionsupport

package
v0.0.0-...-788efc0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JavaMinVersion, _ = version.NewVersion("17.0.11+8")

Functions

func IsRuntimeVersionSupported

func IsRuntimeVersionSupported(ctx context.Context, details []v1alpha1.RuntimeDetailsByContainer) (bool, error)

Types

type DotNetVersionCheck

type DotNetVersionCheck struct{}

func (DotNetVersionCheck) GetSupportedVersion

func (g DotNetVersionCheck) GetSupportedVersion() string

func (DotNetVersionCheck) IsVersionSupported

func (g DotNetVersionCheck) IsVersionSupported(version *version.Version) bool

type GoVersionCheck

type GoVersionCheck struct{}

func (GoVersionCheck) GetSupportedVersion

func (g GoVersionCheck) GetSupportedVersion() string

func (GoVersionCheck) IsVersionSupported

func (g GoVersionCheck) IsVersionSupported(version *version.Version) bool

type IgnoredVersionCheck

type IgnoredVersionCheck struct{}

func (IgnoredVersionCheck) GetSupportedVersion

func (g IgnoredVersionCheck) GetSupportedVersion() string

func (IgnoredVersionCheck) IsVersionSupported

func (g IgnoredVersionCheck) IsVersionSupported(version *version.Version) bool

type JavaVersionChecker

type JavaVersionChecker struct{}

func (JavaVersionChecker) GetSupportedVersion

func (j JavaVersionChecker) GetSupportedVersion() string

func (JavaVersionChecker) IsVersionSupported

func (j JavaVersionChecker) IsVersionSupported(version *version.Version) bool

type MySQLVersionCheck

type MySQLVersionCheck struct{}

func (MySQLVersionCheck) GetSupportedVersion

func (g MySQLVersionCheck) GetSupportedVersion() string

func (MySQLVersionCheck) IsVersionSupported

func (g MySQLVersionCheck) IsVersionSupported(version *version.Version) bool

type NginxVersionCheck

type NginxVersionCheck struct{}

func (NginxVersionCheck) GetSupportedVersion

func (g NginxVersionCheck) GetSupportedVersion() string

func (NginxVersionCheck) IsVersionSupported

func (g NginxVersionCheck) IsVersionSupported(version *version.Version) bool

type NodeVersionCheck

type NodeVersionCheck struct{}

func (NodeVersionCheck) GetSupportedVersion

func (g NodeVersionCheck) GetSupportedVersion() string

func (NodeVersionCheck) IsVersionSupported

func (g NodeVersionCheck) IsVersionSupported(version *version.Version) bool

type PythonVersionCheck

type PythonVersionCheck struct{}

func (PythonVersionCheck) GetSupportedVersion

func (g PythonVersionCheck) GetSupportedVersion() string

func (PythonVersionCheck) IsVersionSupported

func (g PythonVersionCheck) IsVersionSupported(version *version.Version) bool

type RuntimeVersionChecker

type RuntimeVersionChecker interface {
	IsVersionSupported(version *version.Version) bool
	GetSupportedVersion() string
}

type UnknownVersionCheck

type UnknownVersionCheck struct{}

func (UnknownVersionCheck) GetSupportedVersion

func (g UnknownVersionCheck) GetSupportedVersion() string

func (UnknownVersionCheck) IsVersionSupported

func (g UnknownVersionCheck) IsVersionSupported(version *version.Version) bool

Jump to

Keyboard shortcuts

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