Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultAPIVersion = "0.1.0" DefaultKind = "ksonnet.io/registry" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LibraryRef ¶
type LibraryRefSpecs ¶
type LibraryRefSpecs map[string]*LibraryRef
type Manager ¶
type Manager interface { RegistrySpecDir() string RegistrySpecFilePath() string FetchRegistrySpec() (*Spec, error) MakeRegistryRefSpec() *app.RegistryRefSpec ResolveLibrarySpec(libID, libRefSpec string) (*parts.Spec, error) ResolveLibrary(libID, libAlias, version string, onFile ResolveFile, onDir ResolveDirectory) (*parts.Spec, *app.LibraryRefSpec, error) }
type ResolveDirectory ¶
type ResolveFile ¶
type Spec ¶
type Spec struct { APIVersion string `json:"apiVersion"` Kind string `json:"kind"` GitVersion *app.GitVersionSpec `json:"gitVersion"` Libraries LibraryRefSpecs `json:"libraries"` }
Click to show internal directories.
Click to hide internal directories.