build_info

package
v0.0.38-alpha10 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DockerVersion string

DockerVersion encompasses go or auto_schema

View Source
var Time string

if build time is same time...

Functions

This section is empty.

Types

type BuildInfo

type BuildInfo struct {
	Time          string `yaml:"time"`
	DockerVersion string `yaml:"dockerVersion"`
	// contains filtered or unexported fields
}

func NewBuildInfo

func NewBuildInfo(cfg Config) *BuildInfo

compare with existing schema and write new one after bi.PostProcess

func (*BuildInfo) Changed

func (bi *BuildInfo) Changed() bool

flag as Changed

func (*BuildInfo) PostProcess

func (bi *BuildInfo) PostProcess() error

type Config

type Config interface {
	file.Config
	GetPathToBuildFile() string
}

Jump to

Keyboard shortcuts

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