Documentation ¶
Index ¶
Constants ¶
View Source
const ( RoleHost = "host" RoleMember = "member" ClientTLSSecretName = "api-client-tls" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { Cluster string // ClusterRole will determine how operator will be running: // Host: operator will start an API server // Member: operator has to fetch CA cert and create certificate from host cluster's API server ClusterRole string Namespace string ClusterCIDRs []string EdgePodCIDRv4 string EdgePodCIDRv6 string EdgePodCIDRMaskSizeIPv4 int EdgePodCIDRMaskSizeIPv6 int EndpointIDFormat string EdgeLabels map[string]string CNIType string AutoKeepIPPools bool CASecretName string CertValidPeriod int64 CertOrganization string Agent agentctl.Config Connector connectorctl.Config Proxy proxyctl.Config ManagerOpts manager.Options APIServerCertFile string APIServerKeyFile string APIServerListenAddress string APIServerAddress string TokenValidPeriod time.Duration InitToken string Store storepkg.Interface ClusterCIDRsMap *types.ClusterCIDRsMap PodCIDRStore types.PodCIDRStore NewEndpoint types.NewEndpointFunc Manager manager.Manager APIServer *http.Server APIClient fclient.Interface PrivateKey *rsa.PrivateKey }
func (*Options) ExtractAgentArgumentMap ¶ added in v0.6.0
func (opts *Options) ExtractAgentArgumentMap()
ExtractAgentArgumentMap extract arguments of agent pod
func (Options) RunManager ¶
Click to show internal directories.
Click to hide internal directories.