This repository has been archived by the owner on Jul 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 100
/
types.go
51 lines (43 loc) · 1.73 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package service
// Stability is a type that represents the relative stability of a service
// module
type Stability int
const (
// StabilityExperimental represents relative stability of the most immature
// service modules. At this level of stability, we're not even certain we've
// built the right thing!
StabilityExperimental Stability = iota
// StabilityPreview represents relative stability of modules we believe are
// approaching a stable state.
StabilityPreview
// StabilityStable represents relative stability of the mature, production-
// ready service modules.
StabilityStable
)
const (
// MigrationTag is the tag of migration services. It can be used for tag
// filter to filter out migration services.
MigrationTag string = "Migration"
// DRTag is the tag of DR services. It can be used for tag filter to
// filter out DR services.
DRTag string = "Disaster Recovery"
)
// ProvisioningParameters wraps a map containing provisioning parameters.
type ProvisioningParameters struct {
Parameters
}
// InstanceDetails is an alias for the emoty interface. It exists only to
// improve the clarity of function signatures and documentation.
type InstanceDetails interface{}
// BindingParameters wraps a map containing binding parameters.
type BindingParameters struct {
Parameters
}
// BindingDetails is an alias for the empty interface. It exists only to improve
// the clarity of function signatures and documentation.
type BindingDetails interface{}
// Credentials is an interface to be implemented by service-specific types
// that represent service credentials. This interface doesn't require any
// functions to be implemented. It exists to improve the clarity of function
// signatures and documentation.
type Credentials interface{}