Documentation
¶
Index ¶
- Variables
- func SetupTestBootstrapSecret(t *testing.T, conf *conftypes.Config) string
- func SetupTestCA(t *testing.T, caCertPath string) string
- func SetupTestCerts(t *testing.T, clientCertPath string, clientKeyPath string, caCertPath string) (string, string)
- func TestInitElektra(t *testing.T)
- type Elektra
- type Interface
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 ¶
SetupTestBootstrapSecret generates a test bootstrap secret
func SetupTestCA ¶
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 ¶
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
Directories
¶
| Path | Synopsis |
|---|---|
|
Package managers implements some core utilities
|
Package managers implements some core utilities |
Click to show internal directories.
Click to hide internal directories.