Documentation ¶
Index ¶
Constants ¶
View Source
const ( // 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/key/clink-controlplane.pem" // PeerTLSDirectory is the path to the directory holding the peer TLS certificates. PeerTLSDirectory = "/etc/ssl/certs/clink" // PeerCertificateFile is the name to the peer certificate file. PeerCertificateFile = "cert.pem" // PeerKeyFile is the name of the peer private-key file. PeerKeyFile = "key.pem" // FabricCertificateFile is the name of the fabric CA file. FabricCertificateFile = "ca.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 FabricCertificateFilePath ¶ added in v0.3.0
func FabricCertificateFilePath() string
FabricCertificateFilePath returns the path to the fabric CA file.
func NewCLControlplaneCommand ¶
NewCLControlplaneCommand creates a *cobra.Command object with default parameters.
func PeerCertificateFilePath ¶ added in v0.3.0
func PeerCertificateFilePath() string
PeerCertificateFilePath returns the path to the peer certificate file.
func PeerKeyFilePath ¶ added in v0.3.0
func PeerKeyFilePath() string
PeerKeyFilePath returns the path to the peer private key file.
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 }
Options contains everything necessary to create and run a controlplane.
Click to show internal directories.
Click to hide internal directories.