Documentation ¶
Index ¶
Constants ¶
View Source
const (
AgentName = "rolloutblock-controller"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a Kubernetes controller that updates rolloutblock objects. The RolloutBlock objects' main objective is to block application and releases rollout during an outage.
RolloutBlock Controller has one primary workqueues: a rolloutblock updater object queue.
func NewController ¶
func NewController( shipperClientset clientset.Interface, informerFactory shipperinformers.SharedInformerFactory, recorder record.EventRecorder, ) *Controller
NewController returns a new RolloutBlock controller.
func (*Controller) Run ¶
func (c *Controller) Run(threadiness int, stopCh <-chan struct{})
Run starts RolloutBlock controller workers and blocks until stopCh is closed.
Click to show internal directories.
Click to hide internal directories.