cmf

package
v1.0.35-0...-0794924 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CMF

type CMF interface {
	GetVersion()
	CommitChanges()
	CommitAmend()
	InitializeProject()
}

func NewCMF

func NewCMF(repository Repository, templateManager TemplateManager, fsManager FS) CMF

type FS

type FS interface {
	GetFileFromVirtualFS(path string) (string, error)
	GetFileFromFS(path string) (string, error)
	GetCurrentDirectory() (string, error)
}

type Repository

type Repository interface {
	CheckWorkspaceChanges()
	Commit(message string)
	Amend(message string)
	BranchName() string
}

type TemplateManager

type TemplateManager interface {
	Run(yamlData string, injectedVariables map[string]string) (string, error)
}

Jump to

Keyboard shortcuts

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