Documentation ¶
Index ¶
Constants ¶
View Source
const ( //setting default threadiness to number of go-routines DefaultThreadiness = 5 DefaultElection = true DefaultElectionID = "app-mesh-controller-leader" DefaultElectionNamespace = "" )
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(cfg ServerOptions) *http.Server
Types ¶
type ClientOptions ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( cloud aws.CloudAPI, kubeclientset kubernetes.Interface, meshclientset meshclientset.Interface, podInformer coreinformers.PodInformer, meshInformer meshinformers.MeshInformer, virtualNodeInformer meshinformers.VirtualNodeInformer, virtualServiceInformer meshinformers.VirtualServiceInformer, stats *metrics.Recorder, leaderElection bool, leaderElectionID string, leaderElectionNamespace string) (*Controller, error)
func (*Controller) Run ¶
func (c *Controller) Run(threadiness int, stopCh chan struct{}) error
type ServerOptions ¶
type ServerOptions struct {
Address string
}
Click to show internal directories.
Click to hide internal directories.