Documentation ¶
Overview ¶
Package carvel implements experimental Carvel support
Index ¶
Constants ¶
View Source
const ( BundleAPIVersion = "imgpkg.carvel.dev/v1alpha1" BundleKind = "Bundle" )
Bundle Metadata
View Source
const CarvelBundleFilePath = ".imgpkg/bundle.yml"
CarvelBundleFilePath represents the usual bundle file for Carvel packaging
View Source
const CarvelImagesFilePath = ".imgpkg/images.yml"
CarvelImagesFilePath represents the usual images file for Carvel packaging
Variables ¶
This section is empty.
Functions ¶
func CreateImagesLock ¶
func CreateImagesLock(lock *imagelock.ImagesLock) (lockconfig.ImagesLock, error)
CreateImagesLock builds and set a new Carvel images lock struct
Types ¶
type BundleVersion ¶
type BundleVersion struct { APIVersion string `json:"apiVersion"` // This generated yaml, but due to lib we need to use `json` Kind string `json:"kind"` // This generated yaml, but due to lib we need to use `json` }
BundleVersion with detailsa bout the Carvel bundle version
type Metadata ¶
type Metadata struct { Version BundleVersion Metadata map[string]string `json:"metadata,omitempty"` Authors []Author `json:"authors,omitempty"` Websites []Website `json:"websites,omitempty"` }
Metadata for a Carvel bundle
func CreateBundleMetadata ¶
func CreateBundleMetadata(chartPath string, lock *imagelock.ImagesLock, cfg *chartutils.Configuration) (*Metadata, error)
CreateBundleMetadata builds and sets a new Carvel bundle struct
func NewCarvelBundle ¶
func NewCarvelBundle() *Metadata
NewCarvelBundle returns a new carvel bundle Metadata instance
Click to show internal directories.
Click to hide internal directories.