Documentation
¶
Overview ¶
Package dockerhsm provides a way to fire up the NetHSM docker image for use in tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DockerAvailable ¶
func DockerAvailable() bool
DockerAvailable is used to determine if docker is available. This can be used to skip tests.
Types ¶
type DockerHSM ¶
type DockerHSM struct {
// contains filtered or unexported fields
}
DockerHSM is a tool for running NetHSM in a docker container for testing.
func Create ¶
Create NetHSM docker container. When this function returns the container has been created and the NetHSM is starting. However it is not necessarily ready to serve requests yet.
func (*DockerHSM) AdminPassword ¶
AdminPassword returns the generated admin password.
func (*DockerHSM) UnlockPassword ¶
UnlockPassword returns the generated unlock password.
Click to show internal directories.
Click to hide internal directories.