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 { //get cluster all nodes GetNodes(clusterid string) ([]*types.NodeInfo, error) //deploy application //deploy is defination json CeateDeployment(clusterid string, deploy []byte) error //fetch deployed deployment info FetchDeployment(deploy *types.DeployDetection) (interface{}, error) //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.