Documentation ¶
Index ¶
- type FileReader
- type HelmChartExtender
- type Inspector
- type Interface
- type Manager
- func (s Manager) Dev() bool
- func (m Manager) FileReader() FileReader
- func (s Manager) HeadCommit() string
- func (m Manager) Inspector() Inspector
- func (s Manager) LocalGitRepo() git_repo.GitRepo
- func (s Manager) LooseGiterminism() bool
- func (s Manager) ProjectDir() string
- func (s Manager) RelativeToGitProjectDir() string
- type NewManagerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileReader ¶
type FileReader interface { IsConfigExistAnywhere(ctx context.Context, relPath string) (bool, error) ReadConfig(ctx context.Context, customRelPath string) (string, []byte, error) ReadConfigTemplateFiles(ctx context.Context, customRelDirPath string, tmplFunc func(templatePathInsideDir string, data []byte, err error) error) error ConfigGoTemplateFilesGet(ctx context.Context, relPath string) ([]byte, error) ConfigGoTemplateFilesGlob(ctx context.Context, pattern string) (map[string]interface{}, error) ReadDockerfile(ctx context.Context, relPath string) ([]byte, error) IsDockerignoreExistAnywhere(ctx context.Context, relPath string) (bool, error) ReadDockerignore(ctx context.Context, relPath string) ([]byte, error) HelmChartExtender }
type HelmChartExtender ¶
type Inspector ¶
type Inspector interface { InspectCustomTags() error InspectConfigGoTemplateRenderingEnv(ctx context.Context, envName string) error InspectConfigStapelFromLatest() error InspectConfigStapelGitBranch() error InspectConfigStapelMountBuildDir() error InspectConfigStapelMountFromPath(fromPath string) error InspectConfigDockerfileContextAddFile(relPath string) error InspectBuildContextFiles(ctx context.Context, matcher path_matcher.PathMatcher) error }
type Interface ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (Manager) FileReader ¶
func (m Manager) FileReader() FileReader
func (Manager) HeadCommit ¶
func (s Manager) HeadCommit() string
func (Manager) LocalGitRepo ¶
func (Manager) LooseGiterminism ¶
func (s Manager) LooseGiterminism() bool
func (Manager) ProjectDir ¶
func (s Manager) ProjectDir() string
func (Manager) RelativeToGitProjectDir ¶
func (s Manager) RelativeToGitProjectDir() string
type NewManagerOptions ¶
Click to show internal directories.
Click to hide internal directories.