Documentation ¶
Index ¶
Constants ¶
View Source
const ( // StoreFile is the path to the file holding the persisted state. StoreFile = "/var/lib/clink/controlplane.db" // CAFile is the path to the certificate authority file. CAFile = "/etc/ssl/certs/clink_ca.pem" // CertificateFile is the path to the certificate file. CertificateFile = "/etc/ssl/certs/clink-controlplane.pem" // KeyFile is the path to the private-key file. KeyFile = "/etc/ssl/private/clink-controlplane.pem" // NamespaceEnvVariable is the environment variable // which should hold the clusterlink system namespace name. NamespaceEnvVariable = "CL_NAMESPACE" // SystemNamespace represents the default clusterlink system namespace. SystemNamespace = "clusterlink-system" )
Variables ¶
This section is empty.
Functions ¶
func NewCLControlplaneCommand ¶
NewCLControlplaneCommand creates a *cobra.Command object with default parameters.
Types ¶
type Options ¶
type Options struct { // LogFile is the path to file where logs will be written. LogFile string // LogLevel is the log level. LogLevel string // CRDMode indicates a k8s CRD-based controlplane. // This flag will be removed once the CRD-based controlplane feature is complete and stable. CRDMode bool }
Options contains everything necessary to create and run a controlplane.
Click to show internal directories.
Click to hide internal directories.