Documentation ¶
Index ¶
- Constants
- func ConfigureExportSection(buildConfig Build, isLocal bool, vendirSyncDirectory string)
- func NewDefaultAppTemplateSpec() *v1alpha1.AppTemplateSpec
- type AppBuild
- func (b *AppBuild) GetAppSpec() *kcv1alpha1.AppSpec
- func (b *AppBuild) GetExport() []Export
- func (b *AppBuild) GetObjectMeta() *metav1.ObjectMeta
- func (b *AppBuild) HasHelmTemplate() bool
- func (b *AppBuild) InitializeOrKeepDeploySection()
- func (b *AppBuild) Save() error
- func (b *AppBuild) SetAppSpec(appSpec *kcv1alpha1.AppSpec)
- func (b *AppBuild) SetExport(exportObj *[]Export)
- func (b *AppBuild) SetObjectMeta(metaObj *metav1.ObjectMeta)
- type Build
- type Export
- type ImgpkgBundle
- type PackageBuild
- func (b *PackageBuild) GetAppSpec() *kcv1alpha1.AppSpec
- func (b *PackageBuild) GetExport() []Export
- func (b *PackageBuild) GetObjectMeta() *metav1.ObjectMeta
- func (b *PackageBuild) HasHelmTemplate() bool
- func (b *PackageBuild) InitializeOrKeepDeploySection()
- func (b *PackageBuild) Save() error
- func (b *PackageBuild) SetAppSpec(appSpec *kcv1alpha1.AppSpec)
- func (b *PackageBuild) SetExport(exportObj *[]Export)
- func (b *PackageBuild) SetObjectMeta(metaObj *metav1.ObjectMeta)
- type PackageBuildSpec
- type Release
- type ReleaseResource
- type ReleaseYAML
- type Spec
- type Template
Constants ¶
View Source
const ( StdIn = "-" FetchContentAnnotationKey = "fetch-content-from" AppBuildFileName = "app-build.yml" )
View Source
const (
PkgBuildFileName = "package-build.yml"
)
Variables ¶
This section is empty.
Functions ¶
func ConfigureExportSection ¶
func NewDefaultAppTemplateSpec ¶
func NewDefaultAppTemplateSpec() *v1alpha1.AppTemplateSpec
Types ¶
type AppBuild ¶
type AppBuild struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec Spec `json:"spec,omitempty"` }
func NewAppBuild ¶
func NewAppBuildFromFile ¶
func NewDefaultAppBuild ¶
func NewDefaultAppBuild() *AppBuild
func (*AppBuild) GetAppSpec ¶
func (b *AppBuild) GetAppSpec() *kcv1alpha1.AppSpec
func (*AppBuild) GetObjectMeta ¶
func (b *AppBuild) GetObjectMeta() *metav1.ObjectMeta
func (*AppBuild) HasHelmTemplate ¶
func (*AppBuild) InitializeOrKeepDeploySection ¶
func (b *AppBuild) InitializeOrKeepDeploySection()
func (*AppBuild) Save ¶
Save will persist the appBuild onto the fileSystem. Before saving, it will remove the Annotations from the AppBuild.
func (*AppBuild) SetAppSpec ¶
func (b *AppBuild) SetAppSpec(appSpec *kcv1alpha1.AppSpec)
func (*AppBuild) SetObjectMeta ¶
func (b *AppBuild) SetObjectMeta(metaObj *metav1.ObjectMeta)
type Build ¶
type Build interface { Save() error GetAppSpec() *kcv1alpha1.AppSpec SetAppSpec(*kcv1alpha1.AppSpec) GetObjectMeta() *metav1.ObjectMeta SetObjectMeta(*metav1.ObjectMeta) SetExport(export *[]Export) GetExport() []Export HasHelmTemplate() bool InitializeOrKeepDeploySection() }
type Export ¶
type Export struct { ImgpkgBundle *ImgpkgBundle `json:"imgpkgBundle,omitempty"` IncludePaths []string `json:"includePaths,omitempty"` }
type ImgpkgBundle ¶
type PackageBuild ¶
type PackageBuild struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec PackageBuildSpec `json:"spec,omitempty"` }
func NewPackageBuildFromFile ¶
func NewPackageBuildFromFile(filePath string) (*PackageBuild, error)
func (*PackageBuild) GetAppSpec ¶
func (b *PackageBuild) GetAppSpec() *kcv1alpha1.AppSpec
func (*PackageBuild) GetExport ¶
func (b *PackageBuild) GetExport() []Export
func (*PackageBuild) GetObjectMeta ¶
func (b *PackageBuild) GetObjectMeta() *metav1.ObjectMeta
func (*PackageBuild) HasHelmTemplate ¶
func (b *PackageBuild) HasHelmTemplate() bool
func (*PackageBuild) InitializeOrKeepDeploySection ¶
func (b *PackageBuild) InitializeOrKeepDeploySection()
func (*PackageBuild) Save ¶
func (b *PackageBuild) Save() error
func (*PackageBuild) SetAppSpec ¶
func (b *PackageBuild) SetAppSpec(appSpec *kcv1alpha1.AppSpec)
func (*PackageBuild) SetExport ¶
func (b *PackageBuild) SetExport(exportObj *[]Export)
func (*PackageBuild) SetObjectMeta ¶
func (b *PackageBuild) SetObjectMeta(metaObj *metav1.ObjectMeta)
type PackageBuildSpec ¶
type Release ¶
type Release struct { Resource *ReleaseResource `json:"resource,omitempty"` YAML *ReleaseYAML `json:"yaml,omitempty"` }
type ReleaseResource ¶
type ReleaseResource struct { }
type ReleaseYAML ¶
type ReleaseYAML struct { }
Click to show internal directories.
Click to hide internal directories.