core

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildTime = ""

BuildTime of the running app.

View Source
var GitCommit = ""

GitCommit is the Git hash and a "+CHANGES" suffix if there are uncommitted changes.

View Source
var Version = ""

Version of the running app.

Functions

func Timestamp added in v0.7.0

func Timestamp() string

Timestamp return a string representation of the timestamp in format "yyyymmddhhmmss"

Types

type WriterRequest added in v0.7.0

type WriterRequest struct {
	FileToAdd string `yaml:"file"`
	InnerPath string `yaml:"inner"`
	ZipPath   string `yaml:"zip"`
}

WriterRequest represent request for a write operation

type ZipWriter added in v0.7.0

type ZipWriter struct {
	// contains filtered or unexported fields
}

ZipWriter write content to a zip

func NewZipWriter added in v0.7.0

func NewZipWriter(ui *clui.Clui) *ZipWriter

NewZipWriter factory function for zip writer component

func (*ZipWriter) Write added in v0.7.0

func (w *ZipWriter) Write(params WriterRequest) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL