Commit c85e73cc authored by Amos Wenger's avatar Amos Wenger

Move credentials type in a non-windows-visible package

parent 41ccf312
Pipeline #10374 failed with stage
in 3 minutes and 56 seconds
......@@ -7,11 +7,6 @@ import (
"golang.org/x/sys/windows/registry"
)
type Credentials struct {
Username string
Password string
}
func (i *instance) GetCredentials() (*Credentials, error) {
username, err := getRegistryString(i.settings, "username")
if err != nil {
......
......@@ -12,6 +12,11 @@ type Settings struct {
PerformElevatedSetup PerformElevatedSetupFunc
}
type Credentials struct {
Username string
Password string
}
type Instance interface {
Settings() *Settings
Check(consumer *state.Consumer) error
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment