compose

package
v2.0.0-rc3+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// WaitCondition is a set of function that can be customized to wait for a resource
	WaitCondition = map[string]func(baseClient *clientbase.APIBaseClient, id, schemaType string) error{}
)

Functions

func CreateGlobalResources

func CreateGlobalResources(globalCLient *managementClient.Client, config *compose.Config) error

func GetSchemaMap

func GetSchemaMap(globalClient *managementClient.Client) map[string]types.Schema

func Register

func Register(managementContext *config.ManagementContext, portGetter common.KubeConfigGetter)

func WaitCluster

func WaitCluster(baseClient *clientbase.APIBaseClient, id, schemaType string) error

Types

type ClientSet

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

type Lifecycle

type Lifecycle struct {
	TokenClient     v3.TokenInterface
	UserClient      v3.UserInterface
	UserManager     user.Manager
	HTTPSPortGetter common.KubeConfigGetter
	ComposeClient   v3.GlobalComposeConfigInterface
}

Lifecycle for GlobalComposeConfig is a controller which watches composeConfig and execute the yaml config and create a bunch of global resources. There is no sync logic between yaml file and resources, which means config is only executed once. And resource is not deleted even if the compose config is deleted.

func (Lifecycle) Create

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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