network

package
v0.1.59 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network struct {
	Started bool
	Shared  *Shared
}

func New

func New(mgr *manager.Manager) *Network

func (*Network) Apply

func (network *Network) Apply(user *authentication.User, definition []byte, agent string) (iresponse.Response, error)

func (*Network) Delete

func (network *Network) Delete(user *authentication.User, definition []byte, agent string) (iresponse.Response, error)

func (*Network) Event added in v0.0.137

func (network *Network) Event(event ievents.Event) error

func (*Network) GetShared

func (network *Network) GetShared() ishared.Shared

func (*Network) Start

func (network *Network) Start() error

func (*Network) State added in v0.1.31

func (network *Network) State(user *authentication.User, definition []byte, agent string) (iresponse.Response, error)

type Shared

type Shared struct {
	Manager *manager.Manager
	Client  *clients.Http
}

func (*Shared) Drain added in v0.1.56

func (shared *Shared) Drain()

func (*Shared) GetCluster added in v0.1.56

func (shared *Shared) GetCluster() *cluster.Cluster

func (*Shared) IsDrained added in v0.1.56

func (shared *Shared) IsDrained() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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