Documentation ¶
Index ¶
Constants ¶
View Source
const ( LocalRegistry = "localhost/kubefox" GitHubClientId = "a76b4dc61b6fec162ef6" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { GitHub GitHub `json:"github"` KubeFox KubeFox `json:"kubefox"` Kind Kind `json:"kind"` ContainerRegistry ContainerRegistry `json:"containerRegistry"` RepoPath string `json:"-"` AppPath string `json:"-"` Flags Flags `json:"-"` Fresh bool `json:"-"` // contains filtered or unexported fields }
func (*Config) CleanPaths ¶
func (*Config) GetContainerRegistry ¶ added in v0.8.2
func (cfg *Config) GetContainerRegistry() ContainerRegistry
func (*Config) IsRegistryLocal ¶
type ContainerRegistry ¶
type Flags ¶
type Flags struct { // persistent flags defined in root command Timeout time.Duration AppPath string OutFormat string RegistryAddress string RegistryToken string RegistryUsername string DryRun bool Info bool Verbose bool // flags used by subcommands AppDeployment string Builder string Kind string Namespace string Platform string Version string VirtEnv string CreateTag bool ForceBuild bool Generate bool GraphQL bool NoCache bool PushImage bool Quickstart bool SkipDeploy bool WaitTime time.Duration }
type GitHub ¶
type GitHub struct { Org GitHubOrg `json:"org"` User GitHubUser `json:"user"` Token string `json:"token"` }
type GitHubError ¶
type GitHubUser ¶
Click to show internal directories.
Click to hide internal directories.