Documentation
¶
Index ¶
- type StosLicence
- func (l StosLicence) GetClusterCapacityBytes() uint64
- func (l StosLicence) GetClusterID() string
- func (l StosLicence) GetCustomerName() string
- func (l StosLicence) GetExpiresAt() time.Time
- func (l StosLicence) GetFeatures() *[]string
- func (l StosLicence) GetKind() string
- func (l StosLicence) GetUsedBytes() uint64
- func (l StosLicence) GetVersion() string
- type StosObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StosLicence ¶ added in v1.2.15
type StosLicence struct {
ClusterID string
ExpiresAt time.Time
ClusterCapacityBytes uint64
UsedBytes uint64
Kind string
CustomerName string
Features *[]string
Version string
}
func (StosLicence) GetClusterCapacityBytes ¶ added in v1.2.15
func (l StosLicence) GetClusterCapacityBytes() uint64
func (StosLicence) GetClusterID ¶ added in v1.2.15
func (l StosLicence) GetClusterID() string
func (StosLicence) GetCustomerName ¶ added in v1.2.15
func (l StosLicence) GetCustomerName() string
func (StosLicence) GetExpiresAt ¶ added in v1.2.15
func (l StosLicence) GetExpiresAt() time.Time
func (StosLicence) GetFeatures ¶ added in v1.2.15
func (l StosLicence) GetFeatures() *[]string
func (StosLicence) GetKind ¶ added in v1.2.15
func (l StosLicence) GetKind() string
func (StosLicence) GetUsedBytes ¶ added in v1.2.15
func (l StosLicence) GetUsedBytes() uint64
func (StosLicence) GetVersion ¶ added in v1.2.15
func (l StosLicence) GetVersion() string
type StosObject ¶
type StosObject struct {
Inner interface{}
ID string
Name string
Namespace string
Labels map[string]string
Healthy bool
}
StosObject is a wrapper around an object from the StorageOS API. Allows us to use the same interface around most of our code base.
func (StosObject) GetID ¶
func (v StosObject) GetID() string
func (StosObject) GetInner ¶
func (v StosObject) GetInner() interface{}
func (StosObject) GetLabels ¶
func (v StosObject) GetLabels() map[string]string
func (StosObject) GetName ¶
func (v StosObject) GetName() string
func (StosObject) GetNamespace ¶
func (v StosObject) GetNamespace() string
func (StosObject) IsHealthy ¶
func (v StosObject) IsHealthy() bool
Click to show internal directories.
Click to hide internal directories.