Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateContext ¶
func CreateContext(masterURL, kubeconfig string) (awsclient.ServiceoperatorV1alpha1Interface, kubernetes.Interface, *rest.Config, error)
CreateContext will create all the contexts for the informers
func CreateRecorder ¶
func CreateRecorder(logger *logrus.Entry, kubeclientset kubernetes.Interface) record.EventRecorder
Types ¶
type Config ¶
type Config struct { Version *goVersion.Info Region string Kubeconfig string MasterURL string QueueURL string QueueARN string AWSSession *session.Session AWSClientset awsclient.ServiceoperatorV1alpha1Interface KubeClientset kubernetes.Interface RESTConfig *rest.Config LoggingConfig LoggingConfig Logger *logrus.Entry Resources map[string]bool ClusterName string Bucket string AccountID string DefaultNamespace string Recorder record.EventRecorder }
Config defines the configuration for the operator
Click to show internal directories.
Click to hide internal directories.