Documentation ¶
Index ¶
- func GetLabel(image v1.Image, key string, value interface{}) error
- func GetStringLabel(image v1.Image, key string) (string, error)
- func Rename(buildpack, tag, newID, newVersion string) (string, error)
- func SetLabels(image v1.Image, labels map[string]interface{}) (v1.Image, error)
- type BuildpackDescriptor
- type BuildpackInfo
- type BuildpackLayerInfo
- type BuildpackLayerMetadata
- type BuildpackRef
- type BuildpackTomlInfo
- type Metadata
- type Order
- type OrderEntry
- type Stack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildpackDescriptor ¶
type BuildpackDescriptor struct { API string `toml:"api"` Info BuildpackTomlInfo `toml:"buildpack"` Stacks interface{} `toml:"stacks"` Order interface{} `toml:"order"` Metadata interface{} `toml:"metadata"` }
type BuildpackInfo ¶
type BuildpackLayerInfo ¶
type BuildpackLayerMetadata ¶
type BuildpackLayerMetadata map[string]map[string]BuildpackLayerInfo
type BuildpackRef ¶
type BuildpackRef struct { BuildpackInfo `json:",inline"` Optional bool `json:"optional,omitempty"` }
type BuildpackTomlInfo ¶
type BuildpackTomlInfo struct { ID string `toml:"id"` Version string `toml:"version"` Name string `toml:"name"` ClearEnv bool `toml:"clear-env,omitempty"` SBOMFormats []string `toml:"sbom-formats,omitempty"` Description string `toml:"description,omitempty"` Homepage string `toml:"homepage,omitempty"` }
type Metadata ¶
type Metadata struct { Id string `json:"id"` Name string `json:"name,omitempty"` Version string `json:"version,omitempty"` Homepage interface{} `json:"homepage,omitempty"` Description interface{} `json:"description,omitempty"` Keywords interface{} `json:"keywords,omitempty"` Licenses interface{} `json:"licenses,omitempty"` Stacks interface{} `toml:"stacks" json:"stacks,omitempty"` }
type Order ¶
type Order []OrderEntry
type OrderEntry ¶
type OrderEntry struct {
Group []BuildpackRef `json:"group,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.