Documentation ¶
Index ¶
- func CreateAppVersionArchive(archivePath string, outputPath string) error
- func GetRenderedApp(versionArchive string, downstreamName, kustomizeBinPath string) ([]byte, map[string][]byte, error)
- func GetRenderedV1Beta1ChartsArchive(versionArchive string, downstreamName, kustomizeBinPath string) ([]byte, map[string][]byte, error)
- func GetRenderedV1Beta2FileMap(deployedVersionArchive, downstream string) (map[string][]byte, error)
- func GetV1Beta2ChartsArchive(deployedVersionArchive string) ([]byte, error)
- func RenderChartsArchive(baseDir string, overlaysDir string, downstreamName string, ...) ([]byte, map[string][]byte, error)
- func WriteRenderedApp(options AppWriteOptions) error
- func WriteRenderedV1Beta2HelmCharts(opts WriteRenderedV1Beta2HelmChartsOptions) error
- func WriteV1Beta2HelmCharts(opts WriteV1Beta2HelmChartsOptions) error
- type AppWriteOptions
- type Diff
- type WriteRenderedV1Beta2HelmChartsOptions
- type WriteV1Beta2HelmChartsOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAppVersionArchive ¶ added in v1.112.0
CreateAppVersionArchive takes an unarchived app, makes an archive and then writes it to the filestore at the given output path
func GetRenderedApp ¶
func GetRenderedV1Beta2FileMap ¶
func GetRenderedV1Beta2FileMap(deployedVersionArchive, downstream string) (map[string][]byte, error)
GetRenderedV1Beta2FileMap returns a map of the rendered v1beta2 charts to be deployed
func GetV1Beta2ChartsArchive ¶
GetV1Beta2ChartsArchive returns an archive of the v1beta2 charts to be deployed
func RenderChartsArchive ¶
func WriteRenderedApp ¶
func WriteRenderedApp(options AppWriteOptions) error
func WriteRenderedV1Beta2HelmCharts ¶
func WriteRenderedV1Beta2HelmCharts(opts WriteRenderedV1Beta2HelmChartsOptions) error
WriteRenderedV1Beta2HelmCharts writes the rendered v1beta2 helm charts to the rendered directory for diffing
func WriteV1Beta2HelmCharts ¶
func WriteV1Beta2HelmCharts(opts WriteV1Beta2HelmChartsOptions) error
WriteV1Beta2HelmCharts copies the upstream helm chart archive and rendered values to the helm directory and processes online images (if necessary)
Types ¶
type AppWriteOptions ¶
type Diff ¶
type WriteRenderedV1Beta2HelmChartsOptions ¶
type WriteRenderedV1Beta2HelmChartsOptions struct { HelmDir string RenderedDir string Log *logger.CLILogger Downstreams []string KotsKinds *kotsutil.KotsKinds ProcessImageOptions imagetypes.ProcessImageOptions }
type WriteV1Beta2HelmChartsOptions ¶
type WriteV1Beta2HelmChartsOptions struct { Upstream *upstreamtypes.Upstream WriteUpstreamOptions upstreamtypes.WriteOptions RenderOptions *base.RenderOptions ProcessImageOptions imagetypes.ProcessImageOptions KotsKinds *kotsutil.KotsKinds Clientset kubernetes.Interface }
Click to show internal directories.
Click to hide internal directories.