Versions in this module Expand all Collapse all v4 v4.0.0 Jan 10, 2023 Changes in this version + var ErrInvalidPlatformName = errors.New("invalid platform name") + type Components struct + Cluster orchestrator.Cluster + EmailSender email.Sender + Machines machines.Machines + Secrets secrets.Secrets + Storage storage.Storage + Store store.Store + type Platform interface + EmailSender func() email.Sender + GetName func() string + Machines func() machines.Machines + Orchestrator func() orchestrator.Cluster + Secrets func() secrets.Secrets + Storage func() storage.Storage + Store func() store.Store + func NewPlatform(name string, components Components) (Platform, error)