Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdapterOption ¶
type AdapterOption struct { EventHandlers EventHandlers Registry Registry Configuration Configuration }
AdapterOption ...
type Configuration ¶
Configuration ...
type ControllerOption ¶
type ControllerOption struct { HTTPAddress string MetricsEnabled bool SyncPeriod int32 LeaderElectionNamespace string LeaderElectionID string EnableLeaderElection bool GinLogEnabled bool GinLogSkipPath []string PprofEnabled bool GoroutineThreshold int MaxConcurrentReconciles int InitDefaultSidecars bool // Dubbo proxy settings ProxyHost string ProxyAttempts int32 ProxyPerTryTimeout int64 ProxyRetryOn string // MeshConfig Name MeshConfigName string MeshConfigNamespace string // Custome some labels SelectLabel string // Controller Enabled EnableAppMeshConfig bool EnableConfiguredService bool EnableIstioConfig bool EnableMeshConfig bool EnableServiceAccessor bool EnableServiceConfig bool WatchIstioCRD bool }
ControllerOption ...
func DefaultControllerOption ¶
func DefaultControllerOption() *ControllerOption
DefaultControllerOption ...
type EventHandlers ¶
type EventHandlers struct { AcceleratorSize int // options for kubernetes EnableK8s bool IsMultiClusters bool Kubeconfig string ConfigContext string ClusterOwner string ClusterNamespace string Namespace string DefaultNamespace string // you can add more options for other event handler you will utilize. EnableDebugLog bool QPS float32 Burst int }
EventHandlers ...
type RootOption ¶
type RootOption struct { Kubeconfig string ConfigContext string Namespace string DefaultNamespace string DevelopmentMode bool QPS float32 Burst int }
RootOption ...
func (*RootOption) GetK8sConfig ¶
func (r *RootOption) GetK8sConfig() (*rest.Config, error)
GetK8sConfig ...
func (*RootOption) GetKubeInterface ¶
func (r *RootOption) GetKubeInterface() (kubernetes.Interface, error)
GetKubeInterface ...
func (*RootOption) GetKubeInterfaceOrDie ¶
func (r *RootOption) GetKubeInterfaceOrDie() kubernetes.Interface
GetKubeInterfaceOrDie ...
Click to show internal directories.
Click to hide internal directories.