service

package
v0.0.0-test.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceController

type ServiceController struct {
	Log             *slog.Logger
	EAC             *entityserver_v1alpha.EntityAccessClient
	IPv4Routable    netip.Prefix   `asm:"ip4-routable"`
	ServicePrefixes []netip.Prefix `asm:"service-prefixes"`

	DisableLocalNet bool `asm:"disable-localnet,optional"`
	// contains filtered or unexported fields
}

func (*ServiceController) Create

func (*ServiceController) Delete

func (s *ServiceController) Delete(ctx context.Context, id entity.Id) error

func (*ServiceController) Init

func (s *ServiceController) Init(ctx context.Context) error

func (*ServiceController) UpdateEndpoints

func (s *ServiceController) UpdateEndpoints(ctx context.Context, event controller.Event) ([]entity.Attr, error)

Jump to

Keyboard shortcuts

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