Documentation ¶
Index ¶
- Constants
- func ControlplaneDirectory(peer, fabric, path string) string
- func DataplaneDirectory(peer, fabric, path string) string
- func FabricCertificate(name, path string) string
- func FabricDirectory(name, path string) string
- func FabricKey(name, path string) string
- func GWCTLDirectory(peer, fabric, path string) string
- func PeerDirectory(peer, fabric, path string) string
Constants ¶
View Source
const ( // PrivateKeyFileName is the filename used by private key files. PrivateKeyFileName = "key.pem" // CertificateFileName is the filename used by certificate files. CertificateFileName = "cert.pem" // DefaultFabric is the default fabric name. DefaultFabric = "default_fabric" // DockerRunFile is the filename of the docker-run script. DockerRunFile = "docker-run.sh" // GWCTLInitFile is the filename of the gwctl-init script. GWCTLInitFile = "gwctl-init.sh" // K8SYAMLFile is the filename of the kubernetes deployment yaml file. K8SYAMLFile = "k8s.yaml" // K8SSecretYAMLFile is the filename of the kubernetes secrets yaml file. K8SSecretYAMLFile = "cl-secret.yaml" //nolint:gosec // G101(Potential hardcoded credentials): Enable secret usage in filenames. // K8SClusterLinkInstanceYAMLFile is the filename of the ClusterLink instance CRD file that will use by the operator. K8SClusterLinkInstanceYAMLFile = "cl-instance.yaml" // PersistencyDirectoryName is the directory name containing container persisted files. PersistencyDirectoryName = "persist" // ControlplaneDirectoryName is the directory name containing controlplane server configuration. ControlplaneDirectoryName = "controlplane" // DataplaneDirectoryName is the directory name containing dataplane server configuration. DataplaneDirectoryName = "dataplane" // GWCTLDirectoryName is the directory name containing gwctl certificates. GWCTLDirectoryName = "gwctl" // GHCR is the path to the GitHub container registry. GHCR = "ghcr.io/clusterlink-net" // DefaultRegistry is the default container registry used. DefaultRegistry = GHCR )
Variables ¶
This section is empty.
Functions ¶
func ControlplaneDirectory ¶
ControlplaneDirectory returns the path for a controlplane server.
func DataplaneDirectory ¶
DataplaneDirectory returns the path for a dataplane server.
func FabricCertificate ¶
FabricCertificate returns the fabric certificate name.
func FabricDirectory ¶
FabricDirectory returns the base path of the fabric.
func GWCTLDirectory ¶
GWCTLDirectory returns the path for a gwctl instance.
func PeerDirectory ¶
PeerDirectory returns the base path for a specific peer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.