Documentation
¶
Index ¶
- type DockerInfos
- type Env
- type GitInfos
- type MageDir
- func (c *MageDir) DockerDetails(registry, image, user string) *DockerInfos
- func (c *MageDir) Format() error
- func (c *MageDir) GitDetails() (*GitInfos, error)
- func (c *MageDir) InstallDeps() error
- func (c *MageDir) Lint() error
- func (c *MageDir) ProjectDetails() (*ProjectInfos, error)
- func (c *MageDir) Version() string
- func (c *MageDir) Vet() error
- func (c *MageDir) ZipFiles(filename string, files []string) error
- type ProjectInfos
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerInfos ¶
type DockerInfos struct { Registry string Image string Usr string Pwd string // contains filtered or unexported fields }
DockerInfos holds information regarding docker
type GitInfos ¶
type GitInfos struct { Rev string TagAtRev string LatestTag string RevAtLatestTag string // contains filtered or unexported fields }
GitInfos holds information regarding git
type MageDir ¶
type MageDir struct { Workdir string // contains filtered or unexported fields }
MageDir holds the shareable information for Mage
func NewMageDir ¶
NewMageDir creates a Commons structure
func (*MageDir) DockerDetails ¶
func (c *MageDir) DockerDetails(registry, image, user string) *DockerInfos
DockerDetails aggregates the information regarding docker
func (*MageDir) GitDetails ¶
GitDetails aggregates the information regarding git
func (*MageDir) InstallDeps ¶ added in v0.1.0
InstallDeps installs the additional dependencies: goimports & golint
func (*MageDir) ProjectDetails ¶
func (c *MageDir) ProjectDetails() (*ProjectInfos, error)
ProjectDetails aggregates the information regarding the go project
type ProjectInfos ¶
type ProjectInfos struct { Pkgs []string // contains filtered or unexported fields }
ProjectInfos holds information regarding the go project
Click to show internal directories.
Click to hide internal directories.