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

package e2e

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

Index

Package Files

step_e2e.go step_e2e_gc.go step_e2e_label.go

func NewCmdStepE2E Uses

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

NewCmdStepE2E Steps a command object for the "e2e" command

func NewCmdStepE2EGC Uses

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

NewCmdStepE2EGC creates the CLI command

func NewCmdStepE2ELabel Uses

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

NewCmdStepE2ELabel creates the CLI command

type StepE2EGCOptions Uses

type StepE2EGCOptions struct {
    step.StepOptions
    ProjectID string
    Region    string
    Duration  int
}

StepE2EGCOptions contains the command line flags

func (*StepE2EGCOptions) GetBuildNumberFromCluster Uses

func (o *StepE2EGCOptions) GetBuildNumberFromCluster(cluster *gke.Cluster) (int, error)

GetBuildNumberFromCluster gets the build number from the cluster labels

func (*StepE2EGCOptions) Run Uses

func (o *StepE2EGCOptions) Run() error

Run runs the command

func (*StepE2EGCOptions) ShouldDeleteDueToNewerRun Uses

func (o *StepE2EGCOptions) ShouldDeleteDueToNewerRun(cluster *gke.Cluster, clusters []gke.Cluster) bool

ShouldDeleteDueToNewerRun returns true if a cluster with a higher build number exists

func (*StepE2EGCOptions) ShouldDeleteMarkedCluster Uses

func (o *StepE2EGCOptions) ShouldDeleteMarkedCluster(cluster *gke.Cluster) bool

ShouldDeleteMarkedCluster returns true if the cluster has a delete label

func (*StepE2EGCOptions) ShouldDeleteOlderThanDuration Uses

func (o *StepE2EGCOptions) ShouldDeleteOlderThanDuration(cluster *gke.Cluster) bool

ShouldDeleteOlderThanDuration returns true if the cluster is older than the delete duration and does not have a keep label

type StepE2ELabelOptions Uses

type StepE2ELabelOptions struct {
    step.StepOptions
    ProjectID string
    Region    string
    Keep      bool
    Delete    bool
}

StepE2ELabelOptions contains the command line flags

func (*StepE2ELabelOptions) Run Uses

func (o *StepE2ELabelOptions) Run() error

Run runs the command

type StepE2EOptions Uses

type StepE2EOptions struct {
    step.StepOptions
}

StepE2EOptions contains the command line flags

func (*StepE2EOptions) Run Uses

func (o *StepE2EOptions) Run() error

Run implements this command

Package e2e imports 16 packages (graph) and is imported by 1 packages. Updated 2019-08-29. Refresh now. Tools for package owners.