Documentation ¶
Overview ¶
Package driver is the package serving the driver registry. A driver is identified by group and name, via the ID type.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
All = NewRegistry()
)
View Source
var (
DefaultDriver = map[Group]string{
GroupApp: "forking",
GroupContainer: "oci",
GroupIP: "host",
GroupTask: "host",
GroupVolume: "",
GroupSync: "rsync",
GroupVhost: "envoy",
GroupCertificate: "tls",
GroupRoute: "envoy",
GroupExpose: "envoy",
}
)
Functions ¶
func NamesByGroup ¶
Types ¶
type Group ¶
type Group int
Group groups drivers sharing some properties. A resourceset is a collection of resources having the same drivergroup and subset.
func (Group) MarshalText ¶
MarshalText marshals the enum as a quoted json string
func (*Group) UnmarshalText ¶
UnmarshalText unmashals a quoted json string to the enum value
type ID ¶
ID is the driver main struct. It identifies a driver by Group and name.
func (ID) NewGenericID ¶
func (ID) Unstructured ¶
Click to show internal directories.
Click to hide internal directories.