Help us shape the future of Go! Take the 2026 Go Developer Survey

utils

package
v0.225.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: Apache-2.0 Imports: 32 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(flagGrouping *cmdutils.FlagGrouping) *cobra.Command

Command will create the `utils` commands

func StackEventToString added in v0.136.0

func StackEventToString(event *types.StackEvent) string

Types

type VPCConfigUpdater added in v0.164.0

type VPCConfigUpdater interface {
	UpdateClusterConfig(ctx context.Context, input *eks.UpdateClusterConfigInput) error
}

A VPCConfigUpdater updates a cluster's VPC config.

type VPCHelper added in v0.164.0

type VPCHelper struct {
	// VPCUpdater updates the VPC config.
	VPCUpdater VPCConfigUpdater
	// ClusterMeta holds the cluster metadata.
	ClusterMeta *api.ClusterMeta
	// Cluster holds the current cluster state.
	Cluster *ekstypes.Cluster
	// PlanMode configures the plan mode.
	PlanMode bool
}

A VPCHelper is a helper for updating a cluster's VPC config.

func (*VPCHelper) UpdateClusterVPCConfig added in v0.164.0

func (v *VPCHelper) UpdateClusterVPCConfig(ctx context.Context, vpc *api.ClusterVPC) error

UpdateClusterVPCConfig updates the cluster endpoints and public access CIDRs.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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