Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewElasticsearchREST ¶
func NewElasticsearchREST( groupResource schema.GroupResource, codec runtime.Codec, es *elasticsearch.Client, opts Options, isNamespaced bool, newFunc func() runtime.Object, newListFunc func() runtime.Object, ) rest.Storage
NewelasticsearchREST instantiates a new REST storage.
Types ¶
type Options ¶
type Options struct { FieldMap map[string][]string DropFields []string Filter map[string]string DefaultTimeRange string Backend OptionsBackend }
func MakeDefaultOptions ¶
func MakeDefaultOptions() Options
func MakeOptionsFromConfig ¶
func MakeOptionsFromConfig(apiBinding *configv1alpha1.API) Options
Click to show internal directories.
Click to hide internal directories.