Documentation ¶
Index ¶
- func CertMeta(fileName, fileHash string) *mpi.FileMeta
- func CreatAPIActionRequestNginxPlusGetHTTPServers(upstream, instanceID string) *mpi.ManagementPlaneRequest
- func CreatAPIActionRequestNginxPlusUpdateHTTPServers(upstream, instanceID string, servers []*structpb.Struct) *mpi.ManagementPlaneRequest
- func CreateConfigApplyRequest(overview *mpi.FileOverview) *mpi.ConfigApplyRequest
- func CreateConfigVersion() *v1.ConfigVersion
- func CreateManagementPlaneRequest() *mpi.ManagementPlaneRequest
- func CreateMessageMeta() *v1.MessageMeta
- func CreateProtoTime(timeString string) (*timestamppb.Timestamp, error)
- func FileContents(content []byte) *mpi.FileContents
- func FileMeta(fileName, fileHash string) *mpi.FileMeta
- func FileOverview(filePath, fileHash string) *mpi.FileOverview
- func GetAgentInstance(processID int32, agentConfig *config.Config) *mpi.Instance
- func GetContainerInfo() *v1.ContainerInfo
- func GetContainerizedResource() *v1.Resource
- func GetFileCache(files ...*os.File) (map[string]*mpi.FileMeta, error)
- func GetHealthyInstanceHealth() *mpi.InstanceHealth
- func GetHostInfo() *v1.HostInfo
- func GetHostResource() *v1.Resource
- func GetInstanceHealths() []*v1.InstanceHealth
- func GetInstancesNoParentProcess(expectedModules []string) []*mpi.Instance
- func GetMultipleInstances(expectedModules []string) []*mpi.Instance
- func GetMultipleInstancesWithUnsupportedInstance() []*mpi.Instance
- func GetNginxOssInstance(expectedModules []string) *mpi.Instance
- func GetNginxPlusInstance(expectedModules []string) *mpi.Instance
- func GetReleaseInfo() *v1.ReleaseInfo
- func GetUnhealthyInstanceHealth() *mpi.InstanceHealth
- func GetUnspecifiedInstanceHealth() *mpi.InstanceHealth
- func GetUnsupportedInstance() *mpi.Instance
- func OKDataPlaneResponse() *mpi.DataPlaneResponse
- func SortInstanceChildren(children []*v1.InstanceChild) []*v1.InstanceChild
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatAPIActionRequestNginxPlusGetHTTPServers ¶
func CreatAPIActionRequestNginxPlusGetHTTPServers(upstream, instanceID string) *mpi.ManagementPlaneRequest
func CreatAPIActionRequestNginxPlusUpdateHTTPServers ¶
func CreatAPIActionRequestNginxPlusUpdateHTTPServers(upstream, instanceID string, servers []*structpb.Struct, ) *mpi.ManagementPlaneRequest
func CreateConfigApplyRequest ¶
func CreateConfigApplyRequest(overview *mpi.FileOverview) *mpi.ConfigApplyRequest
func CreateConfigVersion ¶
func CreateConfigVersion() *v1.ConfigVersion
func CreateManagementPlaneRequest ¶
func CreateManagementPlaneRequest() *mpi.ManagementPlaneRequest
func CreateMessageMeta ¶
func CreateMessageMeta() *v1.MessageMeta
func CreateProtoTime ¶
func CreateProtoTime(timeString string) (*timestamppb.Timestamp, error)
func FileContents ¶
func FileContents(content []byte) *mpi.FileContents
func FileOverview ¶
func FileOverview(filePath, fileHash string) *mpi.FileOverview
func GetAgentInstance ¶
func GetContainerInfo ¶
func GetContainerInfo() *v1.ContainerInfo
func GetHealthyInstanceHealth ¶
func GetHealthyInstanceHealth() *mpi.InstanceHealth
func GetHostInfo ¶
func GetHostResource ¶
func GetInstanceHealths ¶
func GetInstanceHealths() []*v1.InstanceHealth
func GetMultipleInstances ¶
func GetNginxOssInstance ¶
func GetNginxPlusInstance ¶
func GetReleaseInfo ¶
func GetReleaseInfo() *v1.ReleaseInfo
func GetUnhealthyInstanceHealth ¶
func GetUnhealthyInstanceHealth() *mpi.InstanceHealth
func GetUnspecifiedInstanceHealth ¶
func GetUnspecifiedInstanceHealth() *mpi.InstanceHealth
func GetUnsupportedInstance ¶
func OKDataPlaneResponse ¶
func OKDataPlaneResponse() *mpi.DataPlaneResponse
func SortInstanceChildren ¶
func SortInstanceChildren(children []*v1.InstanceChild) []*v1.InstanceChild
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.