Documentation ¶
Overview ¶
Copyright © 2019 Portworx
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2020 Portworx ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterAddCommand ¶ added in v0.25.0
func ClusterListAddCommand ¶ added in v0.31.1
func NewClustersGetFormatter ¶ added in v0.31.1
Types ¶
type ClusterInfo ¶ added in v0.31.1
type ClusterInfo struct { Kubernetes *KubernetesClusterInfo `json:"kubernetes" yaml:"kubernetes"` Portworx *PortworxClusterInfo `json:"portworx" yaml:"portworx"` }
func NewClusterInfo ¶ added in v0.31.1
func NewClusterInfo(context, clusterName string) *ClusterInfo
type KubernetesClusterInfo ¶ added in v0.31.1
type PortworxClusterInfo ¶ added in v0.31.1
type PortworxClusterInfo struct { Cluster *api.StorageCluster `json:"cluster" yaml:"cluster"` Nodes []*api.StorageNode `json:"nodes" yaml:"nodes"` }