verify

package
v2.0.400-0...-14731b4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2021 License: Apache-2.0 Imports: 71 Imported by: 0

Documentation

Index

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

func (*BehaviorOptions) Run

func (o *BehaviorOptions) Run() error

Run implements this command

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

Run implements this command

type StepVerifyEnvironmentsOptions

type StepVerifyEnvironmentsOptions struct {
	StepVerifyOptions
	Dir string
}

StepVerifyEnvironmentsOptions contains the command line flags

func (*StepVerifyEnvironmentsOptions) Run

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

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

Run implements this command

type StepVerifyOptions

type StepVerifyOptions struct {
	step.StepOptions
}

StepVerifyOptions contains the command line flags

func (*StepVerifyOptions) Run

func (o *StepVerifyOptions) Run() error

Run implements this command

type StepVerifyPackagesOptions

type StepVerifyPackagesOptions struct {
	step.StepOptions

	Namespace string
	HelmTLS   bool
	Packages  []string
	Dir       string
}

StepVerifyPackagesOptions contains the command line flags

func (*StepVerifyPackagesOptions) Run

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

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

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

Run implements this command

func (*StepVerifyPreInstallOptions) SaveConfig

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL