model

package
v1.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 0 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL