a1connection

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager is a struct of A1 interface

func NewManager

func NewManager(caPath string, keyPath string, certPath string, grpcPort int, a1PolicyTypes []*topoapi.A1PolicyType, xAppName string) (*Manager, error)

NewManager creates a new A1 manager

func (*Manager) AddXAppElementOnTopo added in v0.8.3

func (m *Manager) AddXAppElementOnTopo(ctx context.Context) error

AddXAppElementOnTopo adds XApp type on topo

func (*Manager) DeleteXAppElementOnTopo added in v0.8.3

func (m *Manager) DeleteXAppElementOnTopo(ctx context.Context) error

DeleteXAppElementOnTopo removes all aspects on topo

func (*Manager) GetID

func (m *Manager) GetID() topoapi.ID

GetID returns ID

func (*Manager) Start

func (m *Manager) Start(ctx context.Context)

Start inits and starts A1 server

Jump to

Keyboard shortcuts

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