Documentation ¶
Overview ¶
Package pool to manage a rook pool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PoolResource = opkit.CustomResource{ Name: customResourceName, Plural: customResourceNamePlural, Group: rookalpha.CustomResourceGroup, Version: rookalpha.Version, Scope: apiextensionsv1beta1.NamespaceScoped, Kind: reflect.TypeOf(rookalpha.Pool{}).Name(), }
PoolResource represents the Pool custom resource object
Functions ¶
func ValidatePool ¶ added in v0.7.0
Validate the pool arguments
Types ¶
type PoolController ¶
type PoolController struct {
// contains filtered or unexported fields
}
PoolController represents a controller object for pool custom resources
func NewPoolController ¶
func NewPoolController(context *clusterd.Context) *PoolController
NewPoolController create controller for watching pool custom resources created
func (*PoolController) StartWatch ¶
func (c *PoolController) StartWatch(namespace string, stopCh chan struct{}) error
Watch watches for instances of Pool custom resources and acts on them
Click to show internal directories.
Click to hide internal directories.