Documentation ¶
Index ¶
- func NewElasticsearchREST(groupResource schema.GroupResource, codec runtime.Codec, ...) rest.Storage
- type Dummy
- func (in *Dummy) DeepCopy() *Dummy
- func (in *Dummy) DeepCopyInto(out *Dummy)
- func (in *Dummy) DeepCopyObject() runtime.Object
- func (in *Dummy) GetGroupVersionResource() schema.GroupVersionResource
- func (in *Dummy) GetObjectMeta() *metav1.ObjectMeta
- func (in *Dummy) IsStorageVersion() bool
- func (in *Dummy) NamespaceScoped() bool
- func (in *Dummy) New() runtime.Object
- func (in *Dummy) NewList() runtime.Object
- type DummyList
- type Options
- type OptionsBackend
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 Dummy ¶ added in v0.0.5
type Dummy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Payload json.RawMessage `json:"payload"` }
Dummy +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Dummy) DeepCopy ¶ added in v0.0.5
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dummy.
func (*Dummy) DeepCopyInto ¶ added in v0.0.5
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Dummy) DeepCopyObject ¶ added in v0.0.5
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Dummy) GetGroupVersionResource ¶ added in v0.0.5
func (in *Dummy) GetGroupVersionResource() schema.GroupVersionResource
func (*Dummy) GetObjectMeta ¶ added in v0.0.5
func (in *Dummy) GetObjectMeta() *metav1.ObjectMeta
func (*Dummy) IsStorageVersion ¶ added in v0.0.5
func (*Dummy) NamespaceScoped ¶ added in v0.0.5
type DummyList ¶ added in v0.0.5
type DummyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Dummy `json:"items"` }
DummyList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*DummyList) DeepCopy ¶ added in v0.0.5
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DummyList.
func (*DummyList) DeepCopyInto ¶ added in v0.0.5
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DummyList) DeepCopyObject ¶ added in v0.0.5
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DummyList) GetListMeta ¶ added in v0.0.5
type Options ¶
type Options struct { FieldMap map[string][]string DropFields []string Filter labels.Requirements DefaultTimeRange string Backend OptionsBackend }
func MakeDefaultOptions ¶
func MakeDefaultOptions() Options
func MakeOptionsFromConfig ¶
func MakeOptionsFromConfig(apiBinding *configv1alpha1.API) (Options, error)