namespaced

package
v1.10.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAllResources

func CreateAllResources(args *FactoryArgs) ([]runtime.Object, error)

CreateAllResources creates all namespaced resources

func CreateResourceGroup

func CreateResourceGroup(group string, args *FactoryArgs) ([]runtime.Object, error)

CreateResourceGroup creates namespaced resources for a specific group/component

func GetPrivilegedAccounts added in v1.5.1

func GetPrivilegedAccounts(args *FactoryArgs) []string

GetPrivilegedAccounts return special accounts for OpenShift TODO should prob break this up into groups like the rest of this stuff

func IsFactoryResource added in v1.9.0

func IsFactoryResource(codeGroup string) bool

IsFactoryResource returns true id codeGroupo belolngs to factory functions

Types

type FactoryArgs

type FactoryArgs struct {
	DockerRepo             string `required:"true" split_words:"true"`
	DockerTag              string `required:"true" split_words:"true"`
	ControllerImage        string `required:"true" split_words:"true"`
	DeployClusterResources string `required:"true" split_words:"true"`
	ImporterImage          string `required:"true" split_words:"true"`
	ClonerImage            string `required:"true" split_words:"true"`
	APIServerImage         string `required:"true" envconfig:"apiserver_image"`
	UploadProxyImage       string `required:"true" split_words:"true"`
	UploadServerImage      string `required:"true" split_words:"true"`
	Verbosity              string `required:"true"`
	PullPolicy             string `required:"true" split_words:"true"`
	Namespace              string
}

FactoryArgs contains the required parameters to generate all namespaced resources

Jump to

Keyboard shortcuts

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