options

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ContainerImageOrg is the org of the default image url
	ContainerImageOrg = "noobaa"
	// ContainerImageRepo is the repo of the default image url
	ContainerImageRepo = "noobaa-core"
	// ContainerImageTag is the tag of the default image url
	ContainerImageTag = "5"
	// ContainerImageConstraintSemver is the contraints of supported image versions
	ContainerImageConstraintSemver = ">=5, <6"
	// ContainerImageName is the default image name without the tag/version
	ContainerImageName = ContainerImageOrg + "/" + ContainerImageRepo
	// ContainerImage is the full default image url
	ContainerImage = ContainerImageName + ":" + ContainerImageTag

	// AdminAccountEmail is the default email used for admin account
	AdminAccountEmail = "admin@noobaa.io"

	// SystemName is a constant as we want just a single system per namespace
	SystemName = "noobaa"
)

Variables

View Source
var DBImage = "centos/mongodb-36-centos7"

DBImage is the default db image url it can be overriden for testing or for different registry locations.

View Source
var FlagSet = pflag.NewFlagSet("noobaa", pflag.ContinueOnError)

FlagSet defines the

View Source
var ImagePullSecret = ""

ImagePullSecret is optionally used to authenticate when pulling the container images which is needed when using a private container registry.

View Source
var Namespace = "noobaa"

Namespace is the target namespace for locating the noobaa system default is "noobaa" but in shared clusters (mainly for developers?) this can be very confusing and cause unintentional overrides so we may consider to use current namespace.

View Source
var NooBaaImage = ContainerImage

NooBaaImage is the container image url built from https://github.com/noobaa/noobaa-core it can be overriden for testing or for different registry locations.

View Source
var OperatorImage = "noobaa/noobaa-operator:" + version.Version

OperatorImage is the container image url built from https://github.com/noobaa/noobaa-operator it can be overriden for testing or for different registry locations.

View Source
var StorageClassName = ""

StorageClassName is used for PVC's allocation for the noobaa server data it can be overriden for testing or for different PV providers.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns a CLI command

func ObjectBucketProvisionerName

func ObjectBucketProvisionerName() string

ObjectBucketProvisionerName returns the provisioner name to be used in storage classes for OB/OBC

func RunOptions

func RunOptions(cmd *cobra.Command, args []string)

RunOptions runs a CLI command

func SubDomainNS added in v1.2.0

func SubDomainNS() string

SubDomainNS returns a unique subdomain for the namespace

Types

This section is empty.

Jump to

Keyboard shortcuts

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