Documentation ¶
Index ¶
- Constants
- func CreateHost(so Options) (*host.Host, error)
- func MakeExtendedHostExpiration(host *host.Host, extendBy time.Duration) (time.Time, error)
- func SetHostRDPPassword(ctx context.Context, host *host.Host, password string) error
- func TerminateHost(ctx context.Context, host *host.Host, settings *evergreen.Settings, ...) error
- func ValidateRDPPassword(password string) bool
- type Options
Constants ¶
View Source
const ( MaxPerUser = 3 DefaultExpiration = 24 * time.Hour MaxExpirationDurationHours = 24 * time.Hour * 7 // 7 days )
Variables ¶
This section is empty.
Functions ¶
func CreateHost ¶
CreateHost spawns a host with the given options.
func SetHostRDPPassword ¶
func TerminateHost ¶
func ValidateRDPPassword ¶
XXX: if modifying any of the password validation logic, you changes must also be ported into public/static/js/directives/directives.spawn.js
Types ¶
Click to show internal directories.
Click to hide internal directories.