network

package
v0.0.90 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const KIND string = "network"

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network struct {
	Started    bool
	Shared     *Shared
	Definition v1.NetworkDefinition
}

func New

func New(mgr *manager.Manager) *Network

func (*Network) Apply

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

func (*Network) Compare

func (network *Network) Compare(user *authentication.User, jsonData []byte) (contracts.Response, error)

func (*Network) Delete

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

func (*Network) Get

func (network *Network) Get(request contracts.Control) contracts.Response

func (*Network) GetShared

func (network *Network) GetShared() interface{}

func (*Network) List

func (network *Network) List(request contracts.Control) contracts.Response

func (*Network) ListSupported

func (network *Network) ListSupported(request contracts.Control) contracts.Response

func (*Network) Remove

func (network *Network) Remove(request contracts.Control) contracts.Response

func (*Network) Run

func (network *Network) Run(operation string, request contracts.Control) contracts.Response

func (*Network) Start

func (network *Network) Start() error

type Shared

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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