Documentation ¶
Index ¶
- func CreateAddonTPRs(host string, kclient clientset.Interface) error
- func CreatePlatformRoles(kclient clientset.Interface)
- func CreateReleaseTPRs(host string, kclient kclientset.Interface) error
- func CreateServicePlan3PRs(host string, kclient kclientset.Interface) error
- func CreateServicePlanStatus3PRs(host string, kclient kclientset.Interface) error
- type AddonController
- type BuildController
- type Config
- type DeployerController
- type NamespaceController
- type ReleaseController
- type ResourceAllocatorCtrl
- type ServicePlanController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAddonTPRs ¶
CreateAddonTPRs generates the third party resource required for interacting with addons
func CreatePlatformRoles ¶
CreatePlatformRoles initialize the needed roles for the platform
func CreateReleaseTPRs ¶
func CreateReleaseTPRs(host string, kclient kclientset.Interface) error
CreateReleaseTPRs generates the third party resource required for interacting with releases
func CreateServicePlan3PRs ¶
func CreateServicePlan3PRs(host string, kclient kclientset.Interface) error
CreateServicePlan3PRs generates the third party resource required for interacting with Service Plans
func CreateServicePlanStatus3PRs ¶
func CreateServicePlanStatus3PRs(host string, kclient kclientset.Interface) error
CreateServicePlanStatus3PRs generates the third party resource required for informing the status of a Service Plan
Types ¶
type AddonController ¶
type AddonController struct {
// contains filtered or unexported fields
}
AddonController controller
func NewAddonController ¶
func NewAddonController(addonInformer, psetInformer, spInformer cache.SharedIndexInformer, client clientset.Interface) *AddonController
NewAddonController creates a new addon controller
func (*AddonController) Run ¶
func (c *AddonController) Run(workers int, stopc <-chan struct{})
Run the controller.
type BuildController ¶
type BuildController struct {
// contains filtered or unexported fields
}
BuildController controller
func NewBuildController ¶
func NewBuildController( config *Config, releaseInf cache.SharedIndexInformer, sysClient clientset.CoreInterface, kclient kclientset.Interface) *BuildController
NewBuildController creates a new BuilderController
func (*BuildController) Run ¶
func (b *BuildController) Run(workers int, stopc <-chan struct{})
Run the controller.
type Config ¶
type Config struct { Host string GitReleaseHost string TLSInsecure bool TLSConfig restclient.TLSClientConfig SlugBuildImage string SlugRunnerImage string ClusterName string DebugBuild bool }
Config defines configuration parameters for the Operator.
func (*Config) IsValidStorageType ¶
IsValidStorageType check if it's valid storage type
type DeployerController ¶
type DeployerController struct {
// contains filtered or unexported fields
}
DeployerController controller
func NewDeployerController ¶
func NewDeployerController( config *Config, podInf, dpInf, relInf cache.SharedIndexInformer, sysClient clientset.CoreInterface, kclient kclientset.Interface) *DeployerController
NewDeployerController creates a new DeployerController
func (*DeployerController) Run ¶
func (d *DeployerController) Run(workers int, stopc <-chan struct{})
Run the controller.
type NamespaceController ¶
type NamespaceController struct {
// contains filtered or unexported fields
}
NamespaceController controller
func NewNamespaceController ¶
func NewNamespaceController(nsInf, spInf cache.SharedIndexInformer, kclient kclientset.Interface, sysClient clientset.CoreInterface) *NamespaceController
NewNamespaceController creates a NamespaceController
func (*NamespaceController) Run ¶
func (c *NamespaceController) Run(workers int, stopc <-chan struct{})
Run the controller.
type ReleaseController ¶
type ReleaseController struct {
// contains filtered or unexported fields
}
ReleaseController controller
func NewReleaseController ¶
func NewReleaseController(releaseInf, dpInf cache.SharedIndexInformer, sysClient clientset.CoreInterface, kclient kclientset.Interface) *ReleaseController
NewReleaseController creates a new ReleaseController
func (*ReleaseController) Run ¶
func (r *ReleaseController) Run(workers int, stopc <-chan struct{})
Run the controller.
type ResourceAllocatorCtrl ¶
type ResourceAllocatorCtrl struct {
// contains filtered or unexported fields
}
ResourceAllocatorCtrl controller
func NewResourceAllocatorCtrl ¶
func NewResourceAllocatorCtrl(dpInf, spInf cache.SharedIndexInformer, client kclientset.Interface, sysClient clientset.CoreInterface) *ResourceAllocatorCtrl
NewResourceAllocatorCtrl creates a ResourceAllocatorCtrl
func (*ResourceAllocatorCtrl) Run ¶
func (c *ResourceAllocatorCtrl) Run(workers int, stopc <-chan struct{})
Run the controller.
type ServicePlanController ¶
type ServicePlanController struct {
// contains filtered or unexported fields
}
ServicePlanController controller
func NewServicePlanController ¶
func NewServicePlanController(spInf cache.SharedIndexInformer, client kclientset.Interface, sysClient clientset.CoreInterface) *ServicePlanController
NewServicePlanController create a new ServicePlanController
func (*ServicePlanController) Run ¶
func (c *ServicePlanController) Run(workers int, stopc <-chan struct{})
Run the controller.