validate

package
v0.0.0-...-6263d3d Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRelease

func CheckRelease(release string) ([]string, string, []error)

func GetValidateCommand

func GetValidateCommand() *cobra.Command

func TestCompletionFiles

func TestCompletionFiles(r ReleaseInfo) error

func TestDebian

func TestDebian(info ReleaseInfo) error

func TestDocker

func TestDocker(r ReleaseInfo) error

func TestGrafana

func TestGrafana(r ReleaseInfo) error

func TestHelmChartVersions

func TestHelmChartVersions(r ReleaseInfo) error

func TestHelmVersionsIstio

func TestHelmVersionsIstio(r ReleaseInfo) error

func TestIstioctlArchive

func TestIstioctlArchive(r ReleaseInfo) error

func TestIstioctlProfiles

func TestIstioctlProfiles(r ReleaseInfo) error

func TestIstioctlStandalone

func TestIstioctlStandalone(r ReleaseInfo) error

func TestLicenses

func TestLicenses(r ReleaseInfo) error

func TestManifest

func TestManifest(r ReleaseInfo) error

func TestProxyVersion

func TestProxyVersion(r ReleaseInfo) error

func TestRpm

func TestRpm(info ReleaseInfo) error

Types

type BuildInfo

type BuildInfo struct {
	Version       string `json:"version"`
	GitRevision   string `json:"revision"`
	GolangVersion string `json:"golang_version"`
	BuildStatus   string `json:"status"`
	GitTag        string `json:"tag"`
}

BuildInfo describes version information about the binary build.

type DockerConfig

type DockerConfig struct {
	Config DockerConfigConfig `json:"config"`
}

type DockerConfigConfig

type DockerConfigConfig struct {
	Env []string `json:"Env"`
}

type DockerManifest

type DockerManifest struct {
	Config string `json:"Config"`
}

type GenericMap

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

func (GenericMap) Path

func (g GenericMap) Path(path []string) (interface{}, error)

type ReleaseInfo

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

func NewReleaseInfo

func NewReleaseInfo(release string) ReleaseInfo

type ValidationFunction

type ValidationFunction func(ReleaseInfo) error

type Version

type Version struct {
	ClientVersion *BuildInfo `json:"clientVersion,omitempty" yaml:"clientVersion,omitempty"`
}

Version holds info for client and control plane versions

Jump to

Keyboard shortcuts

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