jx: github.com/jenkins-x/jx/pkg/cmd/step/verify Index | Files

package verify

import "github.com/jenkins-x/jx/pkg/cmd/step/verify"

Index

Package 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

func NewCmdStepVerify Uses

func NewCmdStepVerify(commonOpts *opts.CommonOptions) *cobra.Command

func NewCmdStepVerifyBehavior Uses

func NewCmdStepVerifyBehavior(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepVerifyBehavior creates the command

func NewCmdStepVerifyDNS Uses

func NewCmdStepVerifyDNS(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepVerifyDNS creates a new verify url command

func NewCmdStepVerifyDependencies Uses

func NewCmdStepVerifyDependencies(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepVerifyDependencies creates the `jx step verify pod` command

func NewCmdStepVerifyEnvironments Uses

func NewCmdStepVerifyEnvironments(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepVerifyEnvironments creates the `jx step verify pod` command

func NewCmdStepVerifyGit Uses

func NewCmdStepVerifyGit(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepVerifyGit creates the `jx step verify pod` command

func NewCmdStepVerifyIngress Uses

func NewCmdStepVerifyIngress(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepVerifyIngress Creates a new Command object

func NewCmdStepVerifyInstall Uses

func NewCmdStepVerifyInstall(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepVerifyInstall creates the `jx step verify pod` command

func NewCmdStepVerifyPackages Uses

func NewCmdStepVerifyPackages(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepVerifyPackages creates the `jx step verify pod` command

func NewCmdStepVerifyPod Uses

func NewCmdStepVerifyPod(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepVerifyPod creates the `jx step verify pod` command

func NewCmdStepVerifyPodCount Uses

func NewCmdStepVerifyPodCount(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepVerifyPodCount performs deployment verification

func NewCmdStepVerifyPodReady Uses

func NewCmdStepVerifyPodReady(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepVerifyPodReady creates the `jx step verify pod` command

func NewCmdStepVerifyPreInstall Uses

func NewCmdStepVerifyPreInstall(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepVerifyPreInstall creates the `jx step verify pod` command

func NewCmdStepVerifyRequirements Uses

func NewCmdStepVerifyRequirements(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepVerifyRequirements creates the `jx step verify pod` command

func NewCmdStepVerifyURL Uses

func NewCmdStepVerifyURL(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepVerifyURL creates a new verify url command

func NewCmdStepVerifyValues Uses

func NewCmdStepVerifyValues(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdStepVerifyValues constructs the command

type BehaviorOptions Uses

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

func (*BehaviorOptions) Run Uses

func (o *BehaviorOptions) Run() error

Run implements this command

type StepVerifyDNSOptions Uses

type StepVerifyDNSOptions struct {
    step.StepOptions

    Timeout time.Duration
}

StepVerifyDNSOptions options for step verify dns command

func (*StepVerifyDNSOptions) Run Uses

func (o *StepVerifyDNSOptions) Run() error

Run waits with exponential backoff for an endpoint to return an expected HTTP status code

type StepVerifyDependenciesOptions Uses

type StepVerifyDependenciesOptions struct {
    step.StepOptions
    Dir string
}

StepVerifyDependenciesOptions contains the command line flags

func (*StepVerifyDependenciesOptions) Run Uses

func (o *StepVerifyDependenciesOptions) Run() error

Run implements this command

type StepVerifyEnvironmentsOptions Uses

type StepVerifyEnvironmentsOptions struct {
    StepVerifyOptions
    Dir string
}

StepVerifyEnvironmentsOptions contains the command line flags

func (*StepVerifyEnvironmentsOptions) Run Uses

func (o *StepVerifyEnvironmentsOptions) Run() error

Run implements this command

type StepVerifyGitOptions Uses

type StepVerifyGitOptions struct {
    step.StepOptions

    GitHubAppOwner string
}

StepVerifyGitOptions contains the command line flags

func (*StepVerifyGitOptions) Run Uses

func (o *StepVerifyGitOptions) Run() error

Run implements this command

type StepVerifyIngressOptions Uses

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 Uses

func (o *StepVerifyIngressOptions) Run() error

Run implements this command

type StepVerifyIngressResults Uses

type StepVerifyIngressResults struct {
    Pipeline    *pipelineapi.Pipeline
    Task        *pipelineapi.Task
    PipelineRun *pipelineapi.PipelineRun
}

StepVerifyIngressResults stores the generated results

type StepVerifyInstallOptions Uses

type StepVerifyInstallOptions struct {
    StepVerifyOptions
    Debug           bool
    Dir             string
    Namespace       string
    PodWaitDuration time.Duration
}

StepVerifyInstallOptions contains the command line flags

func (*StepVerifyInstallOptions) Run Uses

func (o *StepVerifyInstallOptions) Run() error

Run implements this command

type StepVerifyOptions Uses

type StepVerifyOptions struct {
    step.StepOptions
}

StepVerifyOptions contains the command line flags

func (*StepVerifyOptions) Run Uses

func (o *StepVerifyOptions) Run() error

Run implements this command

type StepVerifyPackagesOptions Uses

type StepVerifyPackagesOptions struct {
    step.StepOptions

    Namespace string
    HelmTLS   bool
    Packages  []string
    Dir       string
}

StepVerifyPackagesOptions contains the command line flags

func (*StepVerifyPackagesOptions) Run Uses

func (o *StepVerifyPackagesOptions) Run() error

Run implements this command

type StepVerifyPodCountOptions Uses

type StepVerifyPodCountOptions struct {
    step.StepOptions

    After    int32
    Pods     int32
    Restarts int32
}

StepVerifyPodCountOptions contains the command line flags

func (*StepVerifyPodCountOptions) Run Uses

func (o *StepVerifyPodCountOptions) Run() error

Run the `jx step verify pod count` command

type StepVerifyPodOptions Uses

type StepVerifyPodOptions struct {
    step.StepOptions
}

StepVerifyPodOptions contains the command line flags

func (*StepVerifyPodOptions) Run Uses

func (o *StepVerifyPodOptions) Run() error

Run implements this command

type StepVerifyPodReadyOptions Uses

type StepVerifyPodReadyOptions struct {
    step.StepOptions
    Debug            bool
    ExcludeBuildPods bool

    WaitDuration time.Duration
}

StepVerifyPodReadyOptions contains the command line flags

func (*StepVerifyPodReadyOptions) Run Uses

func (o *StepVerifyPodReadyOptions) Run() error

Run the `jx step verify pod ready` command

type StepVerifyPreInstallOptions Uses

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 Uses

func (o *StepVerifyPreInstallOptions) Run() error

Run implements this command

func (*StepVerifyPreInstallOptions) SaveConfig Uses

func (o *StepVerifyPreInstallOptions) SaveConfig(c *config.RequirementsConfig, fileName string) error

SaveConfig saves the configuration file to the given project directory

func (*StepVerifyPreInstallOptions) ValidateRequirements Uses

func (o *StepVerifyPreInstallOptions) ValidateRequirements(requirements *config.RequirementsConfig, fileName string) error

ValidateRequirements validate the requirements; e.g. the webhook and git provider

func (*StepVerifyPreInstallOptions) VerifyInstallConfig Uses

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 Uses

type StepVerifyRequirementsOptions struct {
    step.StepOptions

    Dir string
}

StepVerifyRequirementsOptions contains the command line flags

func (*StepVerifyRequirementsOptions) Run Uses

func (o *StepVerifyRequirementsOptions) Run() error

Run implements this command

type StepVerifyURLOptions Uses

type StepVerifyURLOptions struct {
    step.StepOptions

    Endpoint           string
    Code               int
    Timeout            time.Duration
    InsecureSkipVerify bool
}

StepVerifyURLOptions options for step verify url command

func (*StepVerifyURLOptions) Run Uses

func (o *StepVerifyURLOptions) Run() error

Run waits with exponential backoff for an endpoint to return an expected HTTP status code

type StepVerifyValuesOptions Uses

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 Uses

func (o *StepVerifyValuesOptions) Run() error

Run implements this command

Package verify imports 71 packages (graph). Updated 2020-09-30. Refresh now. Tools for package owners.