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 = `` /* 653-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.
func K8SEmptyCertificateConfig ¶ added in v0.2.0
K8SEmptyCertificateConfig returns Kubernetes empty secrets for the control plane and data plane, used for deleting the secrets.
Types ¶
type Config ¶
type Config struct {
// Peer is the peer name.
Peer string
// Namespace is the namespace the components deployed.
Namespace string
// CACertificate is the CA certificate.
CACertificate *bootstrap.Certificate
// ControlplaneCertificate is the controlplane certificate.
ControlplaneCertificate *bootstrap.Certificate
// DataplaneCertificate is the dataplane certificate.
DataplaneCertificate *bootstrap.Certificate
// FabricCertificate is the fabric CA certificate.
FabricCertificate *bootstrap.Certificate
// PeerCertificate is the peer certificate.
PeerCertificate *bootstrap.Certificate
// Controlplanes is the number of controlplane servers to run.
Controlplanes uint16
// 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
// PeerLabels are the peer attributes to be considered by access policies
PeerLabels map[string]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
// IngressAnnotations is the annotations added to the ingress service.
IngressAnnotations map[string]string
}
Config holds a configuration to instantiate a template.
Click to show internal directories.
Click to hide internal directories.