Documentation
¶
Index ¶
- type AppInfo
- func (cfg *AppInfo) GetAppConfigFile() string
- func (cfg *AppInfo) GetAppDescription() string
- func (cfg *AppInfo) GetAppFileDir() string
- func (cfg *AppInfo) GetAppName() string
- func (cfg *AppInfo) GetAppVersion() string
- func (cfg *AppInfo) GetDockerRunArgs() (dockerRunArgs []string)
- func (cfg *AppInfo) GetDockerfile() string
- func (cfg *AppInfo) GetResolvedAppConfig() string
- func (cfg *AppInfo) IsConsoleApp() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppInfo ¶
type AppInfo struct {
// contains filtered or unexported fields
}
AppInfo represents an application config file
func NewAppInfo ¶
NewAppInfo returns a representation of an application config file
func NewFakeAppInfo ¶
NewFakeAppInfo returns a fake representation of an application config file for unit-testing
func (*AppInfo) GetAppConfigFile ¶
GetAppConfigFile returns the app file
func (*AppInfo) GetAppDescription ¶
GetAppDescription returns the description of an application file
func (*AppInfo) GetAppFileDir ¶
GetAppFileDir returns the app file directory
func (*AppInfo) GetAppName ¶
GetAppName returns the name of the application
func (*AppInfo) GetAppVersion ¶
GetAppVersion returns the version of an application file
func (*AppInfo) GetDockerRunArgs ¶
GetDockerRunArgs returns for an app file the resolved docker run arguments
func (*AppInfo) GetDockerfile ¶
GetDockerfile returns for an app file the resolved dockerfile
func (*AppInfo) GetResolvedAppConfig ¶
GetResolvedAppConfig returns the resolved app file
func (*AppInfo) IsConsoleApp ¶
IsConsoleApp returns true if a TTY should be allocated and stdin should be opened (default behavior)