namespaced

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: Apache-2.0 Imports: 8 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FactoryArgs

type FactoryArgs struct {
	DockerRepo        string
	DockerTag         string
	ControllerImage   string
	ImporterImage     string
	ClonerImage       string
	APIServerImage    string
	UploadProxyImage  string
	UploadServerImage string
	Verbosity         string
	PullPolicy        string
	Namespace         string
}

FactoryArgs contains the required parameters to generate all namespaced resources

type Resource

type Resource interface {
	runtime.Object
	SetNamespace(string)
	GetNamespace() string
}

Resource defines the interface for namespaced resources

func CreateAllResources

func CreateAllResources(args *FactoryArgs) ([]Resource, error)

CreateAllResources creates all namespaced resources

func CreateResourceGroup

func CreateResourceGroup(group string, args *FactoryArgs) ([]Resource, error)

CreateResourceGroup creates namespaced resources for a specific group/component

Jump to

Keyboard shortcuts

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