Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "furan", Short: "Docker image builder", Long: `API application to build Docker images on command`, SilenceUsage: true, }
RootCmd represents the base command when called without any subcommands
Functions ¶
func NewInClusterK8sClient ¶
func NewInClusterK8sClient() (kubernetes.Interface, error)
func WaitForFuranServer ¶
Types ¶
type IntegrationTest ¶
type IntegrationTest struct { Name string `json:"name"` Build furanrpc.BuildDefinition `json:"build"` ImageRepos []string `json:"image_repos"` SkipIfExists bool `json:"skip_if_exists"` ExpectFailure bool `json:"expect_failure"` ExpectSkipped bool `json:"expect_skipped"` SecretNames K8sSecretNames `json:"secret_names"` }
type IntegrationTests ¶
type IntegrationTests struct {
Tests []IntegrationTest `json:"tests"`
}
type K8sSecretNames ¶
type K8sSecretNames struct {
GitHubToken string `json:"github_token"`
}
K8sSecretNames defines the k8s secrets containing various secret values for the integration test
Click to show internal directories.
Click to hide internal directories.