multicluster-scheduler: admiralty.io/multicluster-scheduler/pkg/controllers/chaperon Index | Files

package chaperon

import "admiralty.io/multicluster-scheduler/pkg/controllers/chaperon"

Index

Package Files

controller.go

Constants

const (
    // SuccessSynced is used as part of the Event 'reason' when a PodChaperon is synced
    SuccessSynced = "Synced"
    // ErrResourceExists is used as part of the Event 'reason' when a PodChaperon fails
    // to sync due to a Pod of the same name already existing.
    ErrResourceExists = "ErrResourceExists"

    // MessageResourceExists is the message used for Events when a resource
    // fails to sync due to a Pod already existing
    MessageResourceExists = "Resource %q already exists and is not managed by PodChaperon"
    // MessageResourceSynced is the message used for an Event fired when a PodChaperon
    // is synced successfully
    MessageResourceSynced = "PodChaperon synced successfully"
)

func NewController Uses

func NewController(
    kubeclientset kubernetes.Interface,
    customclientset clientset.Interface,
    podInformer coreinformers.PodInformer,
    podChaperonInformer informers.PodChaperonInformer) *controller.Controller

NewController returns a new chaperon controller

Package chaperon imports 25 packages (graph) and is imported by 1 packages. Updated 2020-08-18. Refresh now. Tools for package owners.