elektra

package
v0.0.0-...-26c5a85 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 24 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// DefaultTestVpcID is the default VPC ID for testing
	DefaultTestVpcID = "00000000-0000-4000-8000-000000000000"
	// DefaultTestNetworkSegmentID is the default NetworkSegment ID for testing
	DefaultTestNetworkSegmentID = "00000000-0000-4000-9000-000000000000"
	// DefaultTestTenantKeysetID is the default TenantKeyset ID for testing
	DefaultTestTenantKeysetID = "00000000-0000-4000-a000-000000000000"
	// DefaultTestIBParitionID is the default IBPartition ID for testing
	DefaultTestIBParitionID = "00000000-0000-4000-b000-000000000000"
)

Functions

func SetupTestBootstrapSecret

func SetupTestBootstrapSecret(t *testing.T, conf *conftypes.Config) string

SetupTestBootstrapSecret generates a test bootstrap secret

func SetupTestCA

func SetupTestCA(t *testing.T, caCertPath string) string

SetupTestCA generates a test CA certificate and key.

func SetupTestCerts

func SetupTestCerts(t *testing.T, clientCertPath string, clientKeyPath string, caCertPath string) (string, string)

SetupTestCerts generates a test server/client certificate and key signed by the provided CA.

func TestInitElektra

func TestInitElektra(t *testing.T)

TestInitElektra initializes a test version of the Site Agent

Types

type Elektra

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

Elektra - Managers struct

func NewElektraAPI

func NewElektraAPI(superElektra *elektratypes.Elektra, utMode bool) (*Elektra, error)

NewElektraAPI - Instantiate new struct

func (*Elektra) Init

func (Cluster *Elektra) Init() (err error)

Init - initializes the cluster

func (*Elektra) Managers

func (Cluster *Elektra) Managers() *managers.Manager

Managers () Instantiate the Managers

func (*Elektra) Start

func (Cluster *Elektra) Start() (err error)

Start () Start the Cluster

type Interface

type Interface interface {
	Managers() managers.Manager
}

Interface - Managers' interface

Jump to

Keyboard shortcuts

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