Documentation
¶
Index ¶
- func CleanupChallengeContainers(chall *database.Challenge, config cfg.BeastChallengeConfig) error
- func CleanupChallengeIfExist(config cfg.BeastChallengeConfig) error
- func CleanupChallengeImage(chall *database.Challenge) error
- func CleanupContainerByFilter(filter, filterVal string) error
- func CreateAuthor(name, username, email, publicKeyPath, password string)
- func DeleteChallengeEntryWithPorts(challname string) error
- func EncodeID(a string) string
- func GetChallengeDir(challengeName string) string
- func GetLogs(challname string, live bool) (*cr.Log, error)
- func GetTempContainerId(a string) string
- func GetTempImageId(a string) string
- func GetUser(authHeader string) (string, error)
- func IsContainerIdValid(a string) bool
- func IsImageIdValid(a string) bool
- func PrintTableHeader(w *tabwriter.Writer)
- func ShowAllChallenges() []error
- func ShowChallenge(chall database.Challenge) []error
- func ShowChallengeByName(name string) []error
- func ShowTagRelatedChallenges(Tag string) []error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupChallengeContainers ¶
func CleanupChallengeContainers(chall *database.Challenge, config cfg.BeastChallengeConfig) error
func CleanupChallengeIfExist ¶
func CleanupChallengeIfExist(config cfg.BeastChallengeConfig) error
func CleanupChallengeImage ¶
func CreateAuthor ¶
func CreateAuthor(name, username, email, publicKeyPath, password string)
func GetChallengeDir ¶
func GetTempContainerId ¶
func GetTempImageId ¶
func IsContainerIdValid ¶
func IsImageIdValid ¶
func PrintTableHeader ¶
func ShowAllChallenges ¶
func ShowAllChallenges() []error
func ShowChallenge ¶
func ShowChallengeByName ¶
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.