Documentation ¶
Index ¶
Constants ¶
View Source
const ( SuccessSynced = "Synced" ErrResourceExists = "ErrResourceExists" MessageResourceExists = "Resource %q already exists and is not managed by TaskCluster" MessageResourceSynced = "TaskCluster synced successfully" FieldManager = controllerAgentName )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskClusterController ¶
type TaskClusterController struct {
// contains filtered or unexported fields
}
This is a copy of the Kubernetes task-controller, with minor changes to instead reconcile TaskCluster objects.
For the original controller implementation, please see: https://github.com/kubernetes/task-controller/blob/v0.31.1/controller.go
func NewTaskClusterController ¶
func NewTaskClusterController( ctx context.Context, kubeclientset kubernetes.Interface, taskclientset clientset.Interface, deploymentInformer appsinformers.DeploymentInformer, taskClusterInformer informers.TaskClusterInformer) *TaskClusterController
type TaskController ¶
type TaskController struct {
// contains filtered or unexported fields
}
func NewTaskController ¶
func NewTaskController( ctx context.Context, kubeclientset kubernetes.Interface, taskclientset clientset.Interface, taskClusterInformer informers.TaskClusterInformer, podInformer coreinformers.PodInformer, taskObjectInformer informers.TaskObjectInformer, taskInformer informers.TaskInformer) *TaskController
Click to show internal directories.
Click to hide internal directories.