jobs

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppliedConfEvent

type AppliedConfEvent struct {
	NetConf      host.NetConf
	AppliedRules nft.AppliedRules

	observer.EventType
}

AppliedConfEvent -

type Ask2ResolveDomainAddresses

type Ask2ResolveDomainAddresses struct {
	IpVersion   int
	FQDN        model.FQDN
	ValidBefore time.Time

	observer.EventType
}

Ask2ResolveDomainAddresses -

func (Ask2ResolveDomainAddresses) Cmp

Cmp -

type DnsRefresher

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

DnsRefresher -

func NewDnsRefresher

func NewDnsRefresher(sbj observer.Subject) *DnsRefresher

NewDnsRefresher -

func (*DnsRefresher) Close

func (rf *DnsRefresher) Close() error

Close -

func (*DnsRefresher) MakeObserver

func (rf *DnsRefresher) MakeObserver(ctx context.Context) observer.Observer

MakeObserver -

func (*DnsRefresher) Run

func (rf *DnsRefresher) Run(ctx context.Context) (err error)

Run -

type DomainAddresses

type DomainAddresses struct {
	IpVersion int
	FQDN      model.FQDN
	DnsAnswer internal.DomainAddresses

	observer.EventType
}

DomainAddresses -

type NftApplierJob

type NftApplierJob struct {
	Subject observer.Subject
	// contains filtered or unexported fields
}

NftApplierJob -

func NewNftApplierJob

func NewNftApplierJob(proc nft.NfTablesProcessor, client internal.SGClient, opts ...Option) *NftApplierJob

func (*NftApplierJob) Close

func (jb *NftApplierJob) Close() error

Close -

func (*NftApplierJob) MakeObserver

func (jb *NftApplierJob) MakeObserver() observer.Observer

MakeObserver -

func (*NftApplierJob) Run

func (jb *NftApplierJob) Run(ctx context.Context) (err error)

Run -

type Option

type Option interface {
	// contains filtered or unexported methods
}

Option -

type WithNetNS

type WithNetNS string

WithNetNS -

type WithSubject

type WithSubject struct {
	observer.Subject
}

WithSubject -

Jump to

Keyboard shortcuts

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