Documentation ¶
Index ¶
- func IsClusterManagerExist(cilent clustermanagerclient.Interface) bool
- func NewCmd(clusteradmFlags *genericclioptionsclusteradm.ClusteradmFlags, ...) *cobra.Command
- func WaitResourceToBeDelete(context context.Context, client clustermanagerclient.Interface, name string, ...) error
- type Hub
- type Options
- type Values
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsClusterManagerExist ¶
func IsClusterManagerExist(cilent clustermanagerclient.Interface) bool
func NewCmd ¶
func NewCmd(clusteradmFlags *genericclioptionsclusteradm.ClusteradmFlags, streams genericclioptions.IOStreams) *cobra.Command
NewCmd ...
func WaitResourceToBeDelete ¶
Types ¶
type Hub ¶
type Hub struct { //TokenID: A token id allowing the cluster to connect back to the hub TokenID string `json:"tokenID"` //TokenSecret: A token secret allowing the cluster to connect back to the hub TokenSecret string `json:"tokenSecret"` }
Hub: The hub values for the template
type Options ¶
type Options struct { //ClusteradmFlags: The generic options from the clusteradm cli-runtime. ClusteradmFlags *genericclioptionsclusteradm.ClusteradmFlags Values Values //The cluster manager resource name ClusterManageName string //The file to output the resources will be sent to the file. OutputFile string Streams genericclioptions.IOStreams // contains filtered or unexported fields }
Options is holding all the command-line options
func NewOptions ¶ added in v0.3.0
func NewOptions(clusteradmFlags *genericclioptionsclusteradm.ClusteradmFlags, streams genericclioptions.IOStreams) *Options
Click to show internal directories.
Click to hide internal directories.