Documentation
¶
Index ¶
- func AgentInstance(processID int32, agentConfig *config.Config) *mpi.Instance
- func CertMeta(fileName, fileHash string) *mpi.FileMeta
- func ContainerInfo() *v1.ContainerInfo
- func ContainerizedResource() *v1.Resource
- func CreatAPIActionRequestNginxPlusGetHTTPServers(upstream, instanceID string) *mpi.ManagementPlaneRequest
- func CreatAPIActionRequestNginxPlusUpdateHTTPServers(upstream, instanceID string, servers []*structpb.Struct) *mpi.ManagementPlaneRequest
- func CreateAPIActionRequestNginxPlusGetStreamUpstreams(instanceID string) *mpi.ManagementPlaneRequest
- func CreateAPIActionRequestNginxPlusGetUpstreams(instanceID string) *mpi.ManagementPlaneRequest
- func CreateAPIActionRequestNginxPlusUpdateStreamServers(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 FileCache(files ...*os.File) (map[string]*mpi.FileMeta, error)
- func FileContents(content []byte) *mpi.FileContents
- func FileMeta(fileName, fileHash string) *mpi.FileMeta
- func FileMetaLargeFile(fileName, fileHash string) *mpi.FileMeta
- func FileOverview(filePath, fileHash string) *mpi.FileOverview
- func FileOverviewLargeFile(filePath, fileHash string) *mpi.FileOverview
- func HealthyInstanceHealth() *mpi.InstanceHealth
- func HostInfo() *v1.HostInfo
- func HostResource() *v1.Resource
- func InstanceHealths() []*v1.InstanceHealth
- func InstancesNoParentProcess(expectedModules []string) []*mpi.Instance
- func ManifestFileMeta(fileName, fileHash string) *mpi.FileMeta
- func MultipleInstances(expectedModules []string) []*mpi.Instance
- func MultipleInstancesWithUnsupportedInstance() []*mpi.Instance
- func NginxAppProtectInstance() *mpi.Instance
- func NginxOssInstance(expectedModules []string) *mpi.Instance
- func NginxPlusInstance(expectedModules []string) *mpi.Instance
- func OKDataPlaneResponse() *mpi.DataPlaneResponse
- func ReleaseInfo() *v1.ReleaseInfo
- func SortInstanceChildren(children []*v1.InstanceChild) []*v1.InstanceChild
- func UnhealthyInstanceHealth() *mpi.InstanceHealth
- func UnspecifiedInstanceHealth() *mpi.InstanceHealth
- func UnsupportedInstance() *mpi.Instance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AgentInstance ¶ added in v3.1.0
func ContainerInfo ¶ added in v3.1.0
func ContainerInfo() *v1.ContainerInfo
func ContainerizedResource ¶ added in v3.1.0
func CreatAPIActionRequestNginxPlusGetHTTPServers ¶
func CreatAPIActionRequestNginxPlusGetHTTPServers(upstream, instanceID string) *mpi.ManagementPlaneRequest
func CreatAPIActionRequestNginxPlusUpdateHTTPServers ¶
func CreatAPIActionRequestNginxPlusUpdateHTTPServers(upstream, instanceID string, servers []*structpb.Struct, ) *mpi.ManagementPlaneRequest
func CreateAPIActionRequestNginxPlusGetStreamUpstreams ¶
func CreateAPIActionRequestNginxPlusGetStreamUpstreams(instanceID string) *mpi.ManagementPlaneRequest
func CreateAPIActionRequestNginxPlusGetUpstreams ¶
func CreateAPIActionRequestNginxPlusGetUpstreams(instanceID string) *mpi.ManagementPlaneRequest
func CreateAPIActionRequestNginxPlusUpdateStreamServers ¶
func CreateAPIActionRequestNginxPlusUpdateStreamServers(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 FileMetaLargeFile ¶
func FileOverview ¶
func FileOverview(filePath, fileHash string) *mpi.FileOverview
func FileOverviewLargeFile ¶
func FileOverviewLargeFile(filePath, fileHash string) *mpi.FileOverview
func HealthyInstanceHealth ¶ added in v3.1.0
func HealthyInstanceHealth() *mpi.InstanceHealth
func HostResource ¶ added in v3.1.0
func InstanceHealths ¶ added in v3.1.0
func InstanceHealths() []*v1.InstanceHealth
func InstancesNoParentProcess ¶ added in v3.1.0
func ManifestFileMeta ¶
func MultipleInstances ¶ added in v3.1.0
func MultipleInstancesWithUnsupportedInstance ¶ added in v3.1.0
func NginxAppProtectInstance ¶ added in v3.1.0
func NginxOssInstance ¶ added in v3.1.0
func NginxPlusInstance ¶ added in v3.1.0
func OKDataPlaneResponse ¶
func OKDataPlaneResponse() *mpi.DataPlaneResponse
func ReleaseInfo ¶ added in v3.1.0
func ReleaseInfo() *v1.ReleaseInfo
func SortInstanceChildren ¶
func SortInstanceChildren(children []*v1.InstanceChild) []*v1.InstanceChild
func UnhealthyInstanceHealth ¶ added in v3.1.0
func UnhealthyInstanceHealth() *mpi.InstanceHealth
func UnspecifiedInstanceHealth ¶ added in v3.1.0
func UnspecifiedInstanceHealth() *mpi.InstanceHealth
func UnsupportedInstance ¶ added in v3.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.