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 ¶
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
Click to show internal directories.
Click to hide internal directories.