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

package update

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


Package Files

update.go update_cluster.go update_cluster_gke.go update_cluster_gke_terraform.go update_webhooks.go

func NewCmdUpdate Uses

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

NewCmdUpdate creates a command object for the "update" command

func NewCmdUpdateCluster Uses

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

NewCmdGet creates a command object for the generic "init" action, which installs the dependencies required to run the jenkins-x platform on a Kubernetes cluster.

func NewCmdUpdateClusterGKE Uses

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

func NewCmdUpdateClusterGKETerraform Uses

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

NewCmdUpdateClusterGKETerraform creates a command object for the updating an existing cluster running on GKE using terraform.

func NewCmdUpdateWebhooks Uses

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

type UpdateClusterFlags Uses

type UpdateClusterFlags struct {

type UpdateClusterGKEOptions Uses

type UpdateClusterGKEOptions struct {

CreateClusterOptions the flags for running create cluster

func (*UpdateClusterGKEOptions) Run Uses

func (o *UpdateClusterGKEOptions) Run() error

type UpdateClusterGKETerraformFlags Uses

type UpdateClusterGKETerraformFlags struct {
    ClusterName    string
    SkipLogin      bool
    ServiceAccount string

type UpdateClusterGKETerraformOptions Uses

type UpdateClusterGKETerraformOptions struct {

    Flags UpdateClusterGKETerraformFlags

UpdateClusterGKETerraformOptions the flags for updating a cluster on GKE using terraform

func (*UpdateClusterGKETerraformOptions) Run Uses

func (o *UpdateClusterGKETerraformOptions) Run() error

type UpdateClusterOptions Uses

type UpdateClusterOptions struct {
    InitOption initcmd.InitOptions
    Flags      initcmd.InitFlags
    Provider   string

UpdateClusterOptions the flags for running update cluster

func (*UpdateClusterOptions) Run Uses

func (o *UpdateClusterOptions) Run() error

type UpdateOptions Uses

type UpdateOptions struct {

    DisableImport bool
    OutDir        string

Update contains the command line options

func (*UpdateOptions) Run Uses

func (o *UpdateOptions) Run() error

Run implements this command

type UpdateWebhooksOptions Uses

type UpdateWebhooksOptions struct {
    Org             string
    User            string
    Repo            string
    ExactHookMatch  bool
    PreviousHookUrl string
    HMAC            string
    Endpoint        string
    DryRun          bool
    WarnOnFail      bool

UpdateWebhooksOptions the flags for updating webhooks

func (*UpdateWebhooksOptions) GetOrgOrUserFromOptions Uses

func (o *UpdateWebhooksOptions) GetOrgOrUserFromOptions() string

GetOrgOrUserFromOptions returns the Org if set, if not set, returns the user if that is set or "" if neither is set

func (*UpdateWebhooksOptions) Run Uses

func (o *UpdateWebhooksOptions) Run() error

Run runs the command

Package update imports 21 packages (graph) and is imported by 2 packages. Updated 2019-11-14. Refresh now. Tools for package owners.