Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PLZWorker ¶
type PLZWorker struct {
// contains filtered or unexported fields
}
PLZWorker is an internal representation of PrivateLoadZone, which is regularly polling GCk6 and can (in the future) receive async updates of the state through the channel
func NewPLZWorker ¶
func NewPLZWorker(plz *v1alpha1.PrivateLoadZone, token string, k8sClient client.Client, logger logr.Logger) *PLZWorker
NewPLZWorker constructs a PLZWorker, create a template for test runs and creates a poller.
func (*PLZWorker) Deregister ¶
Deregister PLZ with the Cloud.
func (*PLZWorker) StartFactory ¶
func (w *PLZWorker) StartFactory()
StartFactory starts a poller and starts to watch the channel for new test runs.
type PLZWorkers ¶
type PLZWorkers struct {
// contains filtered or unexported fields
}
PLZWorkers is a gathering point for multiple PLZ workers. Note: while PLZWorkers is thread-safe, a lone PLZWorker is not.
func (*PLZWorkers) DeleteWorker ¶
func (w *PLZWorkers) DeleteWorker(name string)
Click to show internal directories.
Click to hide internal directories.