Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sLogFetcher ¶
type K8sLogFetcher struct {
// contains filtered or unexported fields
}
func New ¶
func New(conn connection.KubernetesConnection) *K8sLogFetcher
type Request ¶
type Request struct {
logs.LogsRequestBase `json:",inline" yaml:",inline" template:"true"`
Kind string `json:"kind" template:"true"`
ApiVersion string `json:"apiVersion" template:"true"`
Namespace string `json:"namespace" template:"true"`
Name string `json:"name" template:"true"`
// Logs will include pods that match any of these selectors.
//
// This applies when retrieving logs at a higher resource level,
// such as fetching logs for a deployment spanning multiple pods.
Pods types.ResourceSelectors `json:"pods,omitempty"`
// Containers filters logs from only these containers.
Containers types.MatchExpressions `json:"containers,omitempty"`
}
Request represents available parameters for Kubernetes log queries.
+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.
Click to show internal directories.
Click to hide internal directories.