Documentation ¶
Overview ¶
Package metadata contains asset targets that generates the metadata.yaml
Index ¶
Constants ¶
View Source
const (
// MetadataFilename is name of the file where clustermetadata is stored.
MetadataFilename = "metadata.json"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
Metadata depends on cluster and installconfig,
func (*Metadata) Dependencies ¶
Dependencies returns the dependency of the MetaData.
type Stock ¶
type Stock interface { // Metadata is the asset that generates the metadata.json file Metadata() asset.Asset }
Stock is the stock of the cluster assets that can be generated.
type StockImpl ¶
type StockImpl struct {
// contains filtered or unexported fields
}
StockImpl is the implementation of the cluster asset stock.
func (*StockImpl) EstablishStock ¶
func (s *StockImpl) EstablishStock(installConfigStock installconfig.Stock, clusterStock cluster.Stock)
EstablishStock establishes the stock of assets in the specified directory.
Click to show internal directories.
Click to hide internal directories.