ni

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteNetworkNamespace

func DeleteNetworkNamespace(networkID string) error

Types

type Agent

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

func NewAgent

func NewAgent() *Agent

func (*Agent) CollectStats

func (a *Agent) CollectStats()

func (*Agent) DisableInjection

func (a *Agent) DisableInjection(si *ServiceInjection) error

func (*Agent) EnableInjection

func (a *Agent) EnableInjection(si *ServiceInjection) error

func (*Agent) GetJobQueue

func (a *Agent) GetJobQueue() *common.JobChan

func (*Agent) PendingSyncLoop

func (a *Agent) PendingSyncLoop(job gocron.Job) error

func (*Agent) ProcessEndpoint

func (a *Agent) ProcessEndpoint(ctx context.Context, id strfmt.UUID) error

func (*Agent) ProcessServices

func (a *Agent) ProcessServices(ctx context.Context) error

func (*Agent) Run

func (a *Agent) Run()

func (*Agent) SetupOpenStack

func (a *Agent) SetupOpenStack() error

type HAProxyController

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

func NewHAProxyController

func NewHAProxyController() *HAProxyController

type NetworkNamespace

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

func EnsureNetworkNamespace

func EnsureNetworkNamespace(port *ports.Port, client *gophercloud.ServiceClient) (*NetworkNamespace, error)

func (*NetworkNamespace) Close

func (ns *NetworkNamespace) Close() error

func (*NetworkNamespace) DisableNetworkNamespace

func (ns *NetworkNamespace) DisableNetworkNamespace() error

func (*NetworkNamespace) EnableNetworkNamespace

func (ns *NetworkNamespace) EnableNetworkNamespace() error

type ServiceInjection

type ServiceInjection struct {
	Id        strfmt.UUID
	Status    string
	PortId    strfmt.UUID
	Network   strfmt.UUID
	IpAddress strfmt.IPv4
	Port      int
}

Jump to

Keyboard shortcuts

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