bootstrap

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificate

type Certificate struct {
	// contains filtered or unexported fields
}

Certificate represents a clusterlink certificate.

func CertificateFromRaw

func CertificateFromRaw(rawCert, rawKey []byte) (*Certificate, error)

CertificateFromRaw initializes a certificate from raw data.

func CreateControlplaneCertificate

func CreateControlplaneCertificate(peer string, peerCert *Certificate) (*Certificate, error)

CreatePeerCertificate creates a controlplane certificate.

func CreateDataplaneCertificate

func CreateDataplaneCertificate(peer string, peerCert *Certificate) (*Certificate, error)

CreatePeerCertificate creates a dataplane certificate.

func CreateFabricCertificate

func CreateFabricCertificate(name string) (*Certificate, error)

CreateFabricCertificate creates a clusterlink fabric (root) certificate.

func CreateGWCTLCertificate

func CreateGWCTLCertificate(peerCert *Certificate) (*Certificate, error)

CreatePeerCertificate creates a gwctl certificate.

func CreatePeerCertificate

func CreatePeerCertificate(name string, fabricCert *Certificate) (*Certificate, error)

CreatePeerCertificate creates a peer certificate.

func (*Certificate) RawCert

func (c *Certificate) RawCert() []byte

RawCert returns the raw certificate bytes.

func (*Certificate) RawKey

func (c *Certificate) RawKey() []byte

RawKey returns the raw private key bytes.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL