agent

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAgentMetadata added in v0.4.4

func GetAgentMetadata(c echo.Context) error

GetAgentMetadata 에이전트 메타데이터 조회 @Summary Get Agent Metadata @Description 에이전트 메타데이터 단일 조회 @Tags [Agent] Monitoring Agent @Accept json @Produce json @Param ns_id query string false "네임스페이스 아이디" Enums(test_ns) @Param service_type query string false "서비스 타입" Enums(mcis) @Param service_id query string false "서비스 아이디" Enums(mcis_id) @Success 200 {object} rest.JSONResult{[DEFAULT]=[]MetaDataListType,[ID]=common.AgentInfo} "Different return structures by the given param" @Failure 404 {object} rest.SimpleMsg @Failure 500 {object} rest.SimpleMsg @Router /agent/metadata [get]

func GetTelegrafConfFile

func GetTelegrafConfFile(c echo.Context) error

Telegraf config 파일 다운로드

func GetTelegrafPkgFile

func GetTelegrafPkgFile(c echo.Context) error

Telegraf package 파일 다운로드

func GetWindowInstaller

func GetWindowInstaller(c echo.Context) error

TODO: WINDOW Version

func InstallTelegraf

func InstallTelegraf(c echo.Context) error

InstallTelegraf 에이전트 설치 @Summary Install Agent @Description 모니터링 에이전트 설치 @Tags [Agent] Monitoring Agent @Accept json @Produce json @Param agentInfo body rest.AgentType true "Details for an Agent Install object" @Success 200 {object} rest.SimpleMsg @Failure 404 {object} rest.SimpleMsg @Failure 500 {object} rest.SimpleMsg @Router /agent [post]

func ListAgentMetadata added in v0.3.5

func ListAgentMetadata(c echo.Context) error

ListAgentMetadata 에이전트 메타데이터 조회 @Summary List Agent Metadata @Description 에이전트 메타데이터 목록 조회 @Tags [Agent] Monitoring Agent @Accept json @Produce json @Success 200 {object} rest.JSONResult{[DEFAULT]=[]MetaDataListType,[ID]=common.AgentInfo} "Different return structures by the given param" @Failure 404 {object} rest.SimpleMsg @Failure 500 {object} rest.SimpleMsg @Router /agents/metadata [get]

func PutAgentMetadata added in v0.4.4

func PutAgentMetadata(c echo.Context) error

PutAgentMetadata 에이전트 메타데이터 수정 @Summary Put Agent Metadata @Description 에이전트 메타데이터 수정 @Tags [Agent] Monitoring Agent @Accept json @Produce json @Param ns query string false "네임스페이스 아이디" Enums(test_ns) @Param mcisId query string false "MCIS 아이디" Enums(test_mcis) @Param vmId query string false "VM 아이디" Enums(test_vm) @Param cspType query string false "VM의 CSP 정보" Enums(aws) @Param mck8sId query string false "MCK8S 아이디" Enums(test_mck8s) @Success 200 {object} rest.JSONResult{[DEFAULT]=[]MetaDataListType,[ID]=common.AgentInfo} "Different return structures by the given param" @Failure 404 {object} rest.SimpleMsg @Failure 500 {object} rest.SimpleMsg @Router /agent/metadata [put]

func UninstallAgent

func UninstallAgent(c echo.Context) error

UninstallAgent 에이전트 삭제 @Summary Uninstall Agent @Description 모니터링 에이전트 제거 @Tags [Agent] Monitoring Agent @Accept json @Produce json @Param agentInfo body rest.AgentType true "Details for an Agent Remove object" @Success 200 {object} rest.SimpleMsg @Failure 404 {object} rest.SimpleMsg @Failure 500 {object} rest.SimpleMsg @Router /agent [delete]

Types

type MetaDataListType added in v0.4.2

type MetaDataListType struct {
	Id common.AgentInfo `json:"id(ns_id/mcis_id/vm_id/csp_type)"`
}

Jump to

Keyboard shortcuts

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