Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REST ¶
type REST struct { rest.TableConvertor // contains filtered or unexported fields }
REST is a wrapper for CustomMetricsProvider that provides implementation for Storage and Lister interfaces.
func NewREST ¶
func NewREST(emProvider provider.ExternalMetricsProvider) *REST
NewREST returns new REST object for provided CustomMetricsProvider.
func (*REST) List ¶
func (r *REST) List(ctx context.Context, options *metainternalversion.ListOptions) (runtime.Object, error)
List selects resources in the storage which match to the selector.
Click to show internal directories.
Click to hide internal directories.