Fleet Types
const ( TopLevel = "top-level" Enterprise = "enterprise" Store = "store" BasicStore = "basic-store" Banner = "banner-infra" Cluster = "cluster-infra" CouchDB = "couchdb-masters" )
Label is the K8s resource label used to store fleet information.
const Label = "fleet." + constants.Domain
LabelType is the type of the label in the edge database for the fleet type
const LabelType = "edge-fleet"
var ErrInvalidType = fmt.Errorf("invalid fleet type, expected %v", Types)
var Types = []Type{TopLevel, Enterprise, Store, BasicStore, Banner, Cluster, CouchDB}
func IsClusterInfraCluster(val Type) bool
func IsStoreCluster(val Type) bool
func IsValid(ft string) error
type AnnotationsGetter interface { GetAnnotations() map[string]string }
Type is the enum type representing Edge Fleets
type Type string
func (ft Type) IsValid() error
IsValid checks that a Fleet Type enum value is correct.
func (ft Type) String() string
String is a convenience function for casting a fleet.Type to a string