Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceProvider ¶
type ResourceProvider interface { // InitResource initializes the resource provider InitResource(instance ec2.EC2Instance) error // DeInitResources de initializes the resource provider DeInitResource(instance ec2.EC2Instance) error // UpdateResourceCapacity updates the resource capacity UpdateResourceCapacity(instance ec2.EC2Instance) error // SubmitAsyncJob submits a job to the worker SubmitAsyncJob(job interface{}) // ProcessAsyncJob processes a job form the worker queue ProcessAsyncJob(job interface{}) (ctrl.Result, error) // GetPool returns the warm pool for resources that support warm pool GetPool(nodeName string) (pool.Pool, bool) // IsInstanceSupported returns true if an instance type is supported by the provider IsInstanceSupported(instance ec2.EC2Instance) bool // Introspect allows introspection of all nodes for the given resource Introspect() interface{} // IntrospectNode allows introspection of a node for the given resource IntrospectNode(node string) interface{} // GetHealthChecker provider a health check subpath for pinging provider GetHealthChecker() healthz.Checker // IntrospectSummary allows introspection of resources summary per node IntrospectSummary() interface{} ReconcileNode(nodeName string) bool }
ResourceProvider is the provider interface that each resource managed by the controller has to implement
Click to show internal directories.
Click to hide internal directories.