systemd

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Systemd

type Systemd struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, config *types.Config) (*Systemd, error)

func (*Systemd) Alive

func (s *Systemd) Alive(ctx context.Context) bool

func (*Systemd) Events

func (s *Systemd) Events(ctx context.Context) (<-chan *types.WorkloadEventMessage, <-chan error)

func (*Systemd) Get

func (s *Systemd) Get(ctx context.Context, ID string) (*source.Workload, error)

func (*Systemd) List

func (s *Systemd) List(ctx context.Context) ([]*source.Workload, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL