Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "ingress ID", Aliases: []string{"route"}, Short: "Edit a cluster ingress (load balancer)", Long: "Edit a cluster ingress for a cluster.", Example: ` # Make additional ingress with ID 'a1b2' private on a cluster named 'mycluster' rosa edit ingress --private --cluster=mycluster a1b2 # Update the router selectors for the additional ingress with ID 'a1b2' rosa edit ingress --label-match=foo=bar --cluster=mycluster a1b2 # Update the default ingress using the sub-domain identifier rosa edit ingress --private=false --cluster=mycluster apps # Update the load balancer type of the apps2 ingress rosa edit ingress --lb-type=nlb --cluster=mycluster apps2`, Run: run, Args: func(_ *cobra.Command, argv []string) error { if len(argv) != 1 { return fmt.Errorf( "Expected exactly one command line parameter containing the id of the ingress", ) } return nil }, }
Functions ¶
func IsIngressV2SetViaCLI ¶ added in v1.2.27
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.