networkdetection

package
v1.30.0-alpha.15 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdbClient

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

CmdbClient client for cmdb

func NewCmdbClient

func NewCmdbClient(conf *config.Config) (*CmdbClient, error)

NewCmdbClient client instance

type ContainerPlatform

type ContainerPlatform interface {
	// GetNodes xxx
	// get cluster all nodes
	GetNodes(clusterid string) ([]*types.NodeInfo, error)
	// CeateDeployment xxx
	// deploy application
	// deploy is definition json
	CeateDeployment(clusterid string, deploy []byte) error
	// FetchDeployment xxx
	// fetch deployed deployment info
	FetchDeployment(deploy *types.DeployDetection) (interface{}, error)
	// FetchPods xxx
	// fetch deloyment't pods
	FetchPods(clusterid, ns, name string) ([]byte, error)
}

ContainerPlatform definition for fetch container info

type NetworkDetection

type NetworkDetection struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

NetworkDetection implementation

func NewNetworkDetection

func NewNetworkDetection(conf *config.Config) *NetworkDetection

NewNetworkDetection new NetworkDetection object

func (*NetworkDetection) Start

func (n *NetworkDetection) Start() error

Start networkdetection work

Jump to

Keyboard shortcuts

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