Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdInfo ¶
NewCmdInfo returns a cobra command for get specified nebula cluster information
Types ¶
type NebulaClusterInfo ¶
type NebulaClusterInfo struct { Name string Namespace string CreationTimestamp time.Time Components []NebulaComponentInfo Service NebulaServiceInfo }
func NewNebulaClusterInfo ¶
func NewNebulaClusterInfo(clusterName, namespace string, runtimeCli client.Client) (*NebulaClusterInfo, error)
func (*NebulaClusterInfo) Render ¶
func (i *NebulaClusterInfo) Render() (string, error)
type NebulaComponentInfo ¶
type NebulaServiceEndpoints ¶
type NebulaServiceInfo ¶
type NebulaServiceInfo struct { Type corev1.ServiceType Port int32 Endpoints []*NebulaServiceEndpoints }
type Options ¶
type Options struct { Namespace string NebulaClusterName string genericclioptions.IOStreams // contains filtered or unexported fields }
Options is a struct to support info command
func NewOptions ¶
func NewOptions(streams genericclioptions.IOStreams) *Options
NewOptions returns initialized Options
Click to show internal directories.
Click to hide internal directories.