Documentation
¶
Index ¶
- func NewCmdStepVerify(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepVerifyBehavior(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepVerifyDNS(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepVerifyDependencies(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepVerifyEnvironments(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepVerifyGit(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepVerifyIngress(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepVerifyInstall(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepVerifyPackages(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepVerifyPod(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepVerifyPodCount(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepVerifyPodReady(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepVerifyPreInstall(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepVerifyRequirements(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepVerifyURL(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdStepVerifyValues(commonOpts *opts.CommonOptions) *cobra.Command
- type BehaviorOptions
- type StepVerifyDNSOptions
- type StepVerifyDependenciesOptions
- type StepVerifyEnvironmentsOptions
- type StepVerifyGitOptions
- type StepVerifyIngressOptions
- type StepVerifyIngressResults
- type StepVerifyInstallOptions
- type StepVerifyOptions
- type StepVerifyPackagesOptions
- type StepVerifyPodCountOptions
- type StepVerifyPodOptions
- type StepVerifyPodReadyOptions
- type StepVerifyPreInstallOptions
- func (o *StepVerifyPreInstallOptions) Run() error
- func (o *StepVerifyPreInstallOptions) SaveConfig(c *config.RequirementsConfig, fileName string) error
- func (o *StepVerifyPreInstallOptions) ValidateRequirements(requirements *config.RequirementsConfig, fileName string) error
- func (o *StepVerifyPreInstallOptions) VerifyInstallConfig(kubeClient kubernetes.Interface, ns string, ...) error
- type StepVerifyRequirementsOptions
- type StepVerifyURLOptions
- type StepVerifyValuesOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdStepVerify ¶
func NewCmdStepVerify(commonOpts *opts.CommonOptions) *cobra.Command
func NewCmdStepVerifyBehavior ¶
func NewCmdStepVerifyBehavior(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepVerifyBehavior creates the command
func NewCmdStepVerifyDNS ¶
func NewCmdStepVerifyDNS(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepVerifyDNS creates a new verify url command
func NewCmdStepVerifyDependencies ¶
func NewCmdStepVerifyDependencies(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepVerifyDependencies creates the `jx step verify pod` command
func NewCmdStepVerifyEnvironments ¶
func NewCmdStepVerifyEnvironments(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepVerifyEnvironments creates the `jx step verify pod` command
func NewCmdStepVerifyGit ¶
func NewCmdStepVerifyGit(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepVerifyGit creates the `jx step verify pod` command
func NewCmdStepVerifyIngress ¶
func NewCmdStepVerifyIngress(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepVerifyIngress Creates a new Command object
func NewCmdStepVerifyInstall ¶
func NewCmdStepVerifyInstall(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepVerifyInstall creates the `jx step verify pod` command
func NewCmdStepVerifyPackages ¶
func NewCmdStepVerifyPackages(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepVerifyPackages creates the `jx step verify pod` command
func NewCmdStepVerifyPod ¶
func NewCmdStepVerifyPod(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepVerifyPod creates the `jx step verify pod` command
func NewCmdStepVerifyPodCount ¶
func NewCmdStepVerifyPodCount(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepVerifyPodCount performs deployment verification
func NewCmdStepVerifyPodReady ¶
func NewCmdStepVerifyPodReady(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepVerifyPodReady creates the `jx step verify pod` command
func NewCmdStepVerifyPreInstall ¶
func NewCmdStepVerifyPreInstall(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepVerifyPreInstall creates the `jx step verify pod` command
func NewCmdStepVerifyRequirements ¶
func NewCmdStepVerifyRequirements(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepVerifyRequirements creates the `jx step verify pod` command
func NewCmdStepVerifyURL ¶
func NewCmdStepVerifyURL(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepVerifyURL creates a new verify url command
func NewCmdStepVerifyValues ¶
func NewCmdStepVerifyValues(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepVerifyValues constructs the command
Types ¶
type BehaviorOptions ¶
type BehaviorOptions struct {
*opts.CommonOptions
SourceGitURL string
Branch string
NoImport bool
CredentialsSecret string
GitOrganisation string
UseGoProxy bool
TestSuite string
}
BehaviorOptions contains the command line options
type StepVerifyDNSOptions ¶
type StepVerifyDNSOptions struct {
step.StepOptions
Timeout time.Duration
}
StepVerifyDNSOptions options for step verify dns command
func (*StepVerifyDNSOptions) Run ¶
func (o *StepVerifyDNSOptions) Run() error
Run waits with exponential backoff for an endpoint to return an expected HTTP status code
type StepVerifyDependenciesOptions ¶
type StepVerifyDependenciesOptions struct {
step.StepOptions
Dir string
}
StepVerifyDependenciesOptions contains the command line flags
func (*StepVerifyDependenciesOptions) Run ¶
func (o *StepVerifyDependenciesOptions) Run() error
Run implements this command
type StepVerifyEnvironmentsOptions ¶
type StepVerifyEnvironmentsOptions struct {
StepVerifyOptions
Dir string
}
StepVerifyEnvironmentsOptions contains the command line flags
func (*StepVerifyEnvironmentsOptions) Run ¶
func (o *StepVerifyEnvironmentsOptions) Run() error
Run implements this command
type StepVerifyGitOptions ¶
type StepVerifyGitOptions struct {
step.StepOptions
GitHubAppOwner string
}
StepVerifyGitOptions contains the command line flags
func (*StepVerifyGitOptions) Run ¶
func (o *StepVerifyGitOptions) Run() error
Run implements this command
type StepVerifyIngressOptions ¶
type StepVerifyIngressOptions struct {
step.StepOptions
Dir string
Namespace string
Provider string
IngressNamespace string
IngressService string
ExternalIP string
LazyCreate bool
LazyCreateFlag string
}
StepVerifyIngressOptions contains the command line flags
func (*StepVerifyIngressOptions) Run ¶
func (o *StepVerifyIngressOptions) Run() error
Run implements this command
type StepVerifyIngressResults ¶
type StepVerifyIngressResults struct {
Pipeline *pipelineapi.Pipeline
Task *pipelineapi.Task
PipelineRun *pipelineapi.PipelineRun
}
StepVerifyIngressResults stores the generated results
type StepVerifyInstallOptions ¶
type StepVerifyInstallOptions struct {
StepVerifyOptions
Debug bool
Dir string
Namespace string
PodWaitDuration time.Duration
}
StepVerifyInstallOptions contains the command line flags
func (*StepVerifyInstallOptions) Run ¶
func (o *StepVerifyInstallOptions) Run() error
Run implements this command
type StepVerifyOptions ¶
type StepVerifyOptions struct {
step.StepOptions
}
StepVerifyOptions contains the command line flags
type StepVerifyPackagesOptions ¶
type StepVerifyPackagesOptions struct {
step.StepOptions
Namespace string
HelmTLS bool
Packages []string
Dir string
}
StepVerifyPackagesOptions contains the command line flags
func (*StepVerifyPackagesOptions) Run ¶
func (o *StepVerifyPackagesOptions) Run() error
Run implements this command
type StepVerifyPodCountOptions ¶
type StepVerifyPodCountOptions struct {
step.StepOptions
After int32
Pods int32
Restarts int32
}
StepVerifyPodCountOptions contains the command line flags
func (*StepVerifyPodCountOptions) Run ¶
func (o *StepVerifyPodCountOptions) Run() error
Run the `jx step verify pod count` command
type StepVerifyPodOptions ¶
type StepVerifyPodOptions struct {
step.StepOptions
}
StepVerifyPodOptions contains the command line flags
func (*StepVerifyPodOptions) Run ¶
func (o *StepVerifyPodOptions) Run() error
Run implements this command
type StepVerifyPodReadyOptions ¶
type StepVerifyPodReadyOptions struct {
step.StepOptions
Debug bool
ExcludeBuildPods bool
WaitDuration time.Duration
}
StepVerifyPodReadyOptions contains the command line flags
func (*StepVerifyPodReadyOptions) Run ¶
func (o *StepVerifyPodReadyOptions) Run() error
Run the `jx step verify pod ready` command
type StepVerifyPreInstallOptions ¶
type StepVerifyPreInstallOptions struct {
StepVerifyOptions
Debug bool
Dir string
LazyCreate bool
DisableVerifyHelm bool
DisableVerifyPackages bool
LazyCreateFlag string
Namespace string
ProviderValuesDir string
TestKanikoSecretData string
TestVeleroSecretData string
WorkloadIdentity bool
}
StepVerifyPreInstallOptions contains the command line flags
func (*StepVerifyPreInstallOptions) Run ¶
func (o *StepVerifyPreInstallOptions) Run() error
Run implements this command
func (*StepVerifyPreInstallOptions) SaveConfig ¶
func (o *StepVerifyPreInstallOptions) SaveConfig(c *config.RequirementsConfig, fileName string) error
SaveConfig saves the configuration file to the given project directory
func (*StepVerifyPreInstallOptions) ValidateRequirements ¶
func (o *StepVerifyPreInstallOptions) ValidateRequirements(requirements *config.RequirementsConfig, fileName string) error
ValidateRequirements validate the requirements; e.g. the webhook and git provider
func (*StepVerifyPreInstallOptions) VerifyInstallConfig ¶
func (o *StepVerifyPreInstallOptions) VerifyInstallConfig(kubeClient kubernetes.Interface, ns string, requirements *config.RequirementsConfig, requirementsFileName string) error
VerifyInstallConfig lets ensure we modify the install ConfigMap with the requirements
type StepVerifyRequirementsOptions ¶
type StepVerifyRequirementsOptions struct {
step.StepOptions
Dir string
}
StepVerifyRequirementsOptions contains the command line flags
func (*StepVerifyRequirementsOptions) Run ¶
func (o *StepVerifyRequirementsOptions) Run() error
Run implements this command
type StepVerifyURLOptions ¶
type StepVerifyURLOptions struct {
step.StepOptions
Endpoint string
Code int
Timeout time.Duration
InsecureSkipVerify bool
}
StepVerifyURLOptions options for step verify url command
func (*StepVerifyURLOptions) Run ¶
func (o *StepVerifyURLOptions) Run() error
Run waits with exponential backoff for an endpoint to return an expected HTTP status code
type StepVerifyValuesOptions ¶
type StepVerifyValuesOptions struct {
step.StepOptions
SchemaFile string
RequirementsDir string
ValuesFile string
// SecretClient secrets URL client (added as a field to be able to easy mock it)
SecretClient secreturl.Client
}
StepVerifyValuesOptions contains the command line options
func (*StepVerifyValuesOptions) Run ¶
func (o *StepVerifyValuesOptions) Run() error
Run implements this command
Source Files
¶
- common.go
- step_verify.go
- step_verify_behavior.go
- step_verify_dependencies.go
- step_verify_dns.go
- step_verify_environments.go
- step_verify_git.go
- step_verify_ingress.go
- step_verify_install.go
- step_verify_packages.go
- step_verify_pod.go
- step_verify_pod_count.go
- step_verify_pod_ready.go
- step_verify_preinstall.go
- step_verify_requirements.go
- step_verify_url.go
- step_verify_values.go