Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DataplaneTypeEnvoy represents an envoy-type dataplane. DataplaneTypeEnvoy = "envoy" // DataplaneTypeGo represents a go-type dataplane. DataplaneTypeGo = "go" )
View Source
const (
ClusterLinkInstanceTemplate = `` /* 583-byte string literal not displayed */
)
Variables ¶
This section is empty.
Functions ¶
func K8SCertificateConfig ¶
K8SCertificateConfig returns a kubernetes secrets that contains all the certificates.
func K8SClusterLinkInstanceConfig ¶
K8SClusterLinkInstanceConfig returns a YAML file for the ClusterLink instance.
Types ¶
type Config ¶
type Config struct { // Peer is the peer name. Peer string // Namespace is the namespace the components deployed. Namespace string // FabricCertificate is the fabric certificate. FabricCertificate *bootstrap.Certificate // PeerCertificate is the peer certificate. PeerCertificate *bootstrap.Certificate // ControlplaneCertificate is the controlplane certificate. ControlplaneCertificate *bootstrap.Certificate // DataplaneCertificate is the dataplane certificate. DataplaneCertificate *bootstrap.Certificate // GWCTLCertificate is the gwctl certificate. GWCTLCertificate *bootstrap.Certificate // Dataplanes is the number of dataplane servers to run. Dataplanes uint16 // DataplaneType is the type of dataplane to create (envoy or go-based) DataplaneType string // LogLevel is the log level. LogLevel string // ContainerRegistry is the container registry to pull the project images. ContainerRegistry string // Tag represents the tag of the project images. Tag string // IngressType is the type of ingress to create. IngressType string // IngressPort is the ingress port number to create. IngressPort uint16 // CRDMode indicates a CRD-based controlplane. CRDMode bool }
Config holds a configuration to instantiate a template.
Click to show internal directories.
Click to hide internal directories.