Documentation
¶
Index ¶
- func CalculateNumberOfCollector(topicCount int, maxHostCount int) int
- func CheckMCISType(serviceType string) bool
- func CheckMCK8SType(serviceType string) bool
- func DeploymentTemplate(deploymentName string, collectorCreateOrder int, collectorUUID string, ...) *appsv1.Deployment
- func GetAllTopicBySort(topicsSlice []string) []string
- func GetCspCollectorIdx(topic string) (collectorIdx int)
- func GetFields(val reflect.Value) []string
- func GetLogger() *logrus.Logger
- func GetMCK8SRingQueue() *queue.Queue
- func GetProtocolDomainPort(url string) (protocol string, domain string, port string, err error)
- func GetRingQueue() *queue.Queue
- func Int32Ptr(i int32) *int32
- func Int64Ptr(i int64) *int64
- func MakeCollectorTopicMap(allTopics []string, maxHostCount int) (map[int][]string, []int)
- func MergeTopicsToOneString(topicsSlice []string) string
- func PutMCK8SRingQueue(topicManagePolicy string, topic string) error
- func ReturnDiffTopicList(a, b []string) (diff []string)
- func RingQueuePut(topicManagePolicy string, topic string) error
- func RunCommand(vmIP string, userName string, privateKey string, cmd string) (*string, error)
- func SplitOneStringToTopicsSlice(topicsStrings string) []string
- func StructToMap(i interface{}) (values url.Values)
- func ToFixed(num float64, precision int) float64
- func ToMap(val interface{}) (map[string]interface{}, error)
- func Unique(slice []string, sortOption bool) []string
- type TopicStructure
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateNumberOfCollector ¶ added in v0.2.8
func CheckMCISType ¶ added in v0.5.2
func CheckMCK8SType ¶ added in v0.5.2
func DeploymentTemplate ¶ added in v0.4.4
func GetAllTopicBySort ¶ added in v0.2.8
func GetCspCollectorIdx ¶ added in v0.4.4
func GetMCK8SRingQueue ¶ added in v0.5.2
func GetProtocolDomainPort ¶ added in v0.6.10
func GetRingQueue ¶ added in v0.4.4
func MakeCollectorTopicMap ¶ added in v0.2.8
func MergeTopicsToOneString ¶ added in v0.2.8
func PutMCK8SRingQueue ¶ added in v0.5.2
func ReturnDiffTopicList ¶ added in v0.2.8
func RingQueuePut ¶ added in v0.4.4
func RunCommand ¶
func SplitOneStringToTopicsSlice ¶ added in v0.2.8
func StructToMap ¶
Types ¶
type TopicStructure ¶ added in v0.4.4
Click to show internal directories.
Click to hide internal directories.