Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultFieldMappingConfig = logs.FieldMappingConfig{ Message: []string{"message"}, Timestamp: []string{"@timestamp"}, Severity: []string{"log"}, }
Functions ¶
Types ¶
type Backend ¶
type Backend struct {
ConnectionName string `json:"connection,omitempty"`
Address string `json:"address,omitempty"`
Username *types.EnvVar `json:"username,omitempty"`
Password *types.EnvVar `json:"password,omitempty"`
}
+kubebuilder:object:generate=true
func (*Backend) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backend.
func (*Backend) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HitsInfo ¶
type HitsInfo struct {
Total TotalHitsInfo `json:"total"`
MaxScore float64 `json:"max_score"`
Hits []SearchHit `json:"hits"`
}
type Request ¶
type Request struct {
Index string `json:"index" template:"true"`
Query string `json:"query" template:"true"`
Limit string `json:"limit,omitempty" template:"true"`
}
+kubebuilder:object:generate=true
func (*Request) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Request.
func (*Request) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Result ¶
type Result struct {
// Id is the unique identifier provided by the underlying system, use to link to a point in time of a log stream
Id string `json:"id,omitempty"`
// RFC3339 timestamp
Time string `json:"timestamp,omitempty"`
Message string `json:"message,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
}
type SearchResults ¶
type TotalHitsInfo ¶
Click to show internal directories.
Click to hide internal directories.