challenges

package
v0.0.0-...-b0161eb Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Challenges []Challenge

Challenges contains all of the Kubernetes challenges

Functions

This section is empty.

Types

type Challenge

type Challenge struct {
	Name        string
	Description string
	AllowedTime time.Duration
	ClusterName string
	DeployFunc  func(ctx context.Context, clientSet *kubernetes.Clientset, r *rest.Config) error
	Readme      string
}

Challenge is an individual challenge, with a specified time limit

func SelectChallenge

func SelectChallenge() (*Challenge, error)

func (*Challenge) CreateReadme

func (c *Challenge) CreateReadme() error

CreateReadme will write a readme to the home directory, it can contain clues and other useful information

Jump to

Keyboard shortcuts

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