cluster

package
v1.2.48-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "cluster",
	Short: "Edit cluster",
	Long:  "Edit cluster.",
	Example: `  # Edit a cluster named "mycluster" to make it private
  rosa edit cluster -c mycluster --private

  # Edit a cluster named "mycluster" to enable User Workload Monitoring
  rosa edit cluster -c mycluster --disable-workload-monitoring=false

  # Edit all options interactively
  rosa edit cluster -c mycluster --interactive`,
	Run:  run,
	Args: cobra.NoArgs,
}

Functions

func BuildClusterConfigWithRegistry

func BuildClusterConfigWithRegistry(clusterConfig ocm.Spec, allowedRegistries []string,
	blockedRegistries []string, insecureRegistries []string, additionalTrustedCa string,
	allowedRegistriesForImport string, platformAllowlist string) (ocm.Spec, error)

func PromptUserToAcceptRegistryChange

func PromptUserToAcceptRegistryChange(r *rosa.Runtime) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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