Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REST ¶
REST implements a RESTStorage for metrics against etcd.
func (*REST) Create ¶
func (r *REST) Create(ctx context.Context, obj runtime.Object, _ rest.ValidateObjectFunc, _ *metav1.CreateOptions) (runtime.Object, error)
Create creates a new version of a resource.
func (*REST) NamespaceScoped ¶
NamespaceScoped returns true if the storage is namespaced
type Storage ¶
type Storage struct {
ClusterOverview *REST
}
Storage includes storage for metrics and all sub resources.
func NewStorage ¶
func NewStorage(_ genericregistry.RESTOptionsGetter, platformClient platformversionedclient.PlatformV1Interface, businessClient businessversionedclient.BusinessV1Interface, cacher cache.Cacher) *Storage
NewStorage returns a Storage object that will work against metrics.
Click to show internal directories.
Click to hide internal directories.