protos

package
v3.0.0-...-28adb68 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertMeta

func CertMeta(fileName, fileHash string) *mpi.FileMeta

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 FileMeta

func FileMeta(fileName, fileHash string) *mpi.FileMeta

func FileOverview

func FileOverview(filePath, fileHash string) *mpi.FileOverview

func GetAgentInstance

func GetAgentInstance(processID int32, agentConfig *config.Config) *mpi.Instance

func GetContainerInfo

func GetContainerInfo() *v1.ContainerInfo

func GetContainerizedResource

func GetContainerizedResource() *v1.Resource

func GetFileCache

func GetFileCache(files ...*os.File) (map[string]*mpi.FileMeta, error)

func GetHealthyInstanceHealth

func GetHealthyInstanceHealth() *mpi.InstanceHealth

func GetHostInfo

func GetHostInfo() *v1.HostInfo

func GetHostResource

func GetHostResource() *v1.Resource

func GetInstanceHealths

func GetInstanceHealths() []*v1.InstanceHealth

func GetInstancesNoParentProcess

func GetInstancesNoParentProcess(expectedModules []string) []*mpi.Instance

func GetMultipleInstances

func GetMultipleInstances(expectedModules []string) []*mpi.Instance

func GetMultipleInstancesWithUnsupportedInstance

func GetMultipleInstancesWithUnsupportedInstance() []*mpi.Instance

func GetNginxOssInstance

func GetNginxOssInstance(expectedModules []string) *mpi.Instance

func GetNginxPlusInstance

func GetNginxPlusInstance(expectedModules []string) *mpi.Instance

func GetReleaseInfo

func GetReleaseInfo() *v1.ReleaseInfo

func GetUnhealthyInstanceHealth

func GetUnhealthyInstanceHealth() *mpi.InstanceHealth

func GetUnspecifiedInstanceHealth

func GetUnspecifiedInstanceHealth() *mpi.InstanceHealth

func GetUnsupportedInstance

func GetUnsupportedInstance() *mpi.Instance

func OKDataPlaneResponse

func OKDataPlaneResponse() *mpi.DataPlaneResponse

func SortInstanceChildren

func SortInstanceChildren(children []*v1.InstanceChild) []*v1.InstanceChild

Types

This section is empty.

Jump to

Keyboard shortcuts

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