cfgutil

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureAlphaNumericDash

func EnsureAlphaNumericDash(str string) string

func GetOperatorImage added in v1.4.0

func GetOperatorImage() string

Types

type BuildSettings

type BuildSettings struct {
	Version Version `yaml:"version"`
	Jenkins Jenkins `yaml:"jenkins"`
	Dev     Dev     `yaml:"dev"`
}

func ReadBuildSettings

func ReadBuildSettings() BuildSettings

type ClusterActions

type ClusterActions struct {
	DeleteCluster       func() error
	ClusterExists       func() bool
	CreateCluster       func()
	LoadImage           func(image string)
	InstallTool         func()
	ReloadLocalImage    func(image string)
	ApplyDefaultStorage func()
	SetupKubeconfig     func()
	DescribeEnv         func() map[string]string
}

func NewClusterActions

func NewClusterActions(
	deleteF func() error,
	clusterExistsF func() bool,
	createClusterF func(),
	loadImageF func(string),
	installToolF func(),
	reloadLocalImageF func(string),
	applyDefaultStorageF func(),
	setupKubeconfigF func(),
	describeEnvF func() map[string]string,
) ClusterActions

type Dev

type Dev struct {
	DseImages    []string `yaml:"dseImages"`
	UbiDseImages []string `yaml:"ubiDseImages"`
	OssImages    []string `yaml:"ossImages"`
	UbiOssImages []string `yaml:"ubiOssImages"`
	SharedImages []string `yaml:"sharedImages"`
}

type Jenkins

type Jenkins struct {
	Master Master `yaml:"master"`
}

type Master

type Master struct {
	Plugins []string `yaml:"plugins"`
}

type Version

type Version struct {
	Major      int    `yaml:"major"`
	Minor      int    `yaml:"minor"`
	Patch      int    `yaml:"patch"`
	Prerelease string `yaml:"prerelease"`
}

func (Version) String

func (v Version) String() string

Jump to

Keyboard shortcuts

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