Documentation ¶
Overview ¶
Copyright © 2020 GUILLAUME FOURNIER
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- type FSProbe
- func (fsp *FSProbe) EditEBPFConstants(spec *ebpf.CollectionSpec) error
- func (fsp *FSProbe) GetBootTime() time.Time
- func (fsp *FSProbe) GetCollection() *ebpf.Collection
- func (fsp *FSProbe) GetHostPidns() uint64
- func (fsp *FSProbe) GetOptions() *model.FSProbeOptions
- func (fsp *FSProbe) GetWaitGroup() *sync.WaitGroup
- func (fsp *FSProbe) Stop() error
- func (fsp *FSProbe) Watch(paths ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSProbe ¶
type FSProbe struct {
// contains filtered or unexported fields
}
FSProbe - Main File system probe structure
func NewFSProbeWithOptions ¶
func NewFSProbeWithOptions(options model.FSProbeOptions) *FSProbe
NewFSProbeWithOptions - Creates a new FSProbe instance with the provided options
func (*FSProbe) EditEBPFConstants ¶
func (fsp *FSProbe) EditEBPFConstants(spec *ebpf.CollectionSpec) error
EditEBPFConstants - Edit the runtime eBPF constants
func (*FSProbe) GetBootTime ¶
GetBootTime - Returns the boot time of fsprobe
func (*FSProbe) GetCollection ¶
func (fsp *FSProbe) GetCollection() *ebpf.Collection
GetCollection - Returns the eBPF collection of fsprobe
func (*FSProbe) GetHostPidns ¶
GetHostPidns - Returns the host pidns of fsprobe
func (*FSProbe) GetOptions ¶
func (fsp *FSProbe) GetOptions() *model.FSProbeOptions
GetOptions - Returns the config of fsprobe
func (*FSProbe) GetWaitGroup ¶
GetWaitGroup - Returns the wait group of fsprobe