writer

package
v0.37.2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdhocDataDirWriter

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

func NewAdhocDataDirWriter

func NewAdhocDataDirWriter(dataDir string) *AdhocDataDirWriter

func (*AdhocDataDirWriter) EnsureExists

func (w *AdhocDataDirWriter) EnsureExists() error

EnsureExist makes sure the ${dataDir} directory exists in the filesystem

func (*AdhocDataDirWriter) Write

func (w *AdhocDataDirWriter) Write(filename string, flame flamebearer.FlamebearerProfile) (string, error)

Write writes a flamebearer in json format to its dataDir

type Writer

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

func NewWriter

func NewWriter(cfg *config.Adhoc, st *storage.Storage, logger *logrus.Logger) Writer

func (Writer) Write

func (w Writer) Write(t0, t1 time.Time) error

Jump to

Keyboard shortcuts

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