forked from cloudfoundry/bosh-bootloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bosh.go
22 lines (19 loc) · 970 Bytes
/
bosh.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package storage
import "reflect"
type BOSH struct {
DirectorName string `json:"directorName"`
DirectorUsername string `json:"directorUsername"`
DirectorPassword string `json:"directorPassword"`
DirectorAddress string `json:"directorAddress"`
DirectorSSLCA string `json:"directorSSLCA"`
DirectorSSLCertificate string `json:"directorSSLCertificate"`
DirectorSSLPrivateKey string `json:"directorSSLPrivateKey"`
Credentials map[string]string `json:"credentials"`
Variables string `json:"variables"`
State map[string]interface{} `json:"state"`
Manifest string `json:"manifest"`
UserOpsFile string `json:"userOpsFile"`
}
func (b BOSH) IsEmpty() bool {
return reflect.DeepEqual(b, BOSH{})
}