Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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.