Documentation
¶
Index ¶
- Constants
- func Convert_kubedb_v1alpha1_To_v1alpha2(item unstructured.Unstructured, catalogmap map[KindVersion]interface{}, ...) (map[string]interface{}, error)
- func LoadCatalog(client cs.Interface, local bool) (map[KindVersion]interface{}, error)
- func NewCmdCalculate(clientGetter genericclioptions.RESTClientGetter) *cobra.Command
- func NewCmdCheckDeprecated(clientGetter genericclioptions.RESTClientGetter) *cobra.Command
- func NewCmdCompletion() *cobra.Command
- func NewCmdConvert(clientGetter genericclioptions.RESTClientGetter) *cobra.Command
- func NewRootCmd() *cobra.Command
- type ClusterStats
- type KindVersion
- type ResourceStats
- type Stats
Constants ¶
View Source
const TerminationPolicyPause kubedbv1alpha2.TerminationPolicy = "Pause"
Variables ¶
This section is empty.
Functions ¶
func Convert_kubedb_v1alpha1_To_v1alpha2 ¶
func Convert_kubedb_v1alpha1_To_v1alpha2(item unstructured.Unstructured, catalogmap map[KindVersion]interface{}, topology *core_util.Topology) (map[string]interface{}, error)
func LoadCatalog ¶
func LoadCatalog(client cs.Interface, local bool) (map[KindVersion]interface{}, error)
func NewCmdCalculate ¶
func NewCmdCalculate(clientGetter genericclioptions.RESTClientGetter) *cobra.Command
func NewCmdCheckDeprecated ¶
func NewCmdCheckDeprecated(clientGetter genericclioptions.RESTClientGetter) *cobra.Command
func NewCmdCompletion ¶
func NewCmdConvert ¶
func NewCmdConvert(clientGetter genericclioptions.RESTClientGetter) *cobra.Command
func NewRootCmd ¶
Types ¶
type ClusterStats ¶
type ClusterStats struct { ClusterID string `json:"clusterID"` Context string `json:"context,omitempty"` Stats []ResourceStats `json:"stats"` Total Stats `json:"total"` }
type KindVersion ¶
type ResourceStats ¶
type Stats ¶
type Stats struct { Count int `json:"count"` Resources core.ResourceList `json:"resources,omitempty"` }
Click to show internal directories.
Click to hide internal directories.