 Documentation
      ¶
      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 GetSchemas ¶
func Register ¶
func Register(managementContext *config.ManagementContext, portGetter common.KubeConfigGetter)
func WaitCluster ¶
func WaitCluster(baseClient *clientbase.APIBaseClient, id, schemaType string) error
Types ¶
type Lifecycle ¶
type Lifecycle struct {
	TokenClient     v3.TokenInterface
	UserClient      v3.UserInterface
	UserManager     user.Manager
	HTTPSPortGetter common.KubeConfigGetter
	ComposeClient   v3.ComposeConfigInterface
}
    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 ¶
func (l Lifecycle) Create(obj *v3.ComposeConfig) (*v3.ComposeConfig, error)
 Click to show internal directories. 
   Click to hide internal directories.