Documentation
¶
Index ¶
- type Exporter
- func (e *Exporter) AddToTarball(filename string, data []byte) error
- func (e *Exporter) CloseTarball() ([]byte, error)
- func (e *Exporter) ExportApplication(app *catalogv3.Application) ([]byte, map[string][]byte, error)
- func (e *Exporter) ExportArtifact(art *catalogv3.Artifact) ([]byte, error)
- func (e *Exporter) ExportDeploymentPackage(pkg *catalogv3.DeploymentPackage) ([]byte, error)
- func (e *Exporter) ExportRegistry(reg *catalogv3.Registry) ([]byte, error)
- func (e *Exporter) GetOutput() []string
- func (e *Exporter) LogChange(format string, a ...any)
- func (e *Exporter) NewTarball()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
TarBuffer *bytes.Buffer
TarWriter *tar.Writer
// contains filtered or unexported fields
}
Exporter implements the functions used to export YAML files
func (*Exporter) CloseTarball ¶
func (*Exporter) ExportApplication ¶
func (*Exporter) ExportArtifact ¶
func (*Exporter) ExportDeploymentPackage ¶
func (e *Exporter) ExportDeploymentPackage(pkg *catalogv3.DeploymentPackage) ([]byte, error)
func (*Exporter) ExportRegistry ¶
func (*Exporter) LogChange ¶
LogChange prints the given formatted output to stdout if the verbose flag is enabled
func (*Exporter) NewTarball ¶
func (e *Exporter) NewTarball()
Click to show internal directories.
Click to hide internal directories.