etcd-operator/pkg/controller/etcd_cluster_list.go

16 строки
438 B
Go

package controller
import (
"github.com/coreos/kube-etcd-controller/pkg/spec"
"k8s.io/kubernetes/pkg/api/unversioned"
)
type EtcdClusterList struct {
unversioned.TypeMeta `json:",inline"`
// Standard list metadata
// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
unversioned.ListMeta `json:"metadata,omitempty"`
// Items is a list of third party objects
Items []spec.EtcdCluster `json:"items"`
}