It builds!

This commit is contained in:
James Mills
2021-01-30 15:56:03 +10:00
parent 35fd594477
commit c4f53a0be9
14 changed files with 255 additions and 12 deletions

View File

@@ -149,7 +149,7 @@ func WithBaseURL(baseURL string) Option {
}
}
// WithAdminUser sets the Admin user used for granting special features to
// WithAdminUser sets the Admin username
func WithAdminUser(adminUser string) Option {
return func(cfg *Config) error {
cfg.AdminUser = adminUser
@@ -157,6 +157,14 @@ func WithAdminUser(adminUser string) Option {
}
}
// WithAdminPass sets the Admin password
func WithAdminPass(adminPass string) Option {
return func(cfg *Config) error {
cfg.AdminPass = adminPass
return nil
}
}
// WithAdminName sets the Admin name used to identify the pod operator
func WithAdminName(adminName string) Option {
return func(cfg *Config) error {