Documentation
¶
Index ¶
- func ConvertAccessLogs(accessLogs []*AccessLog) (logs []string)
- func ConvertErrorLogs(errorLogs []*ErrorLog) (logs []string)
- func NginxConfPath(ctx context.Context, nginxInfo *ProcessInfo) string
- func NginxPrefix(ctx context.Context, nginxInfo *ProcessInfo) string
- type APIDetails
- type AccessLog
- type ConfigApplyMessage
- type ConfigApplySuccess
- type ErrorLog
- type FileAction
- type FileCache
- type ManifestFile
- type ManifestFileMeta
- type NginxConfigContext
- type ProcessInfo
- type ServerType
- type WriteStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertAccessLogs ¶
func ConvertErrorLogs ¶
func NginxConfPath ¶ added in v3.2.1
func NginxConfPath(ctx context.Context, nginxInfo *ProcessInfo) string
func NginxPrefix ¶ added in v3.2.1
func NginxPrefix(ctx context.Context, nginxInfo *ProcessInfo) string
Types ¶
type ConfigApplyMessage ¶
type ConfigApplySuccess ¶
type ConfigApplySuccess struct {
ConfigContext *NginxConfigContext
DataPlaneResponse *v1.DataPlaneResponse
}
type FileCache ¶
type FileCache struct {
File *mpi.File
Action FileAction
}
type ManifestFile ¶
type ManifestFile struct {
ManifestFileMeta *ManifestFileMeta `json:"manifest_file_meta"`
}
type ManifestFileMeta ¶
type NginxConfigContext ¶
type NginxConfigContext struct {
StubStatus *APIDetails
PlusAPI *APIDetails
StubStatuses []*APIDetails
PlusAPIs []*APIDetails
InstanceID string
ConfigPath string
Files []*v1.File
AccessLogs []*AccessLog
ErrorLogs []*ErrorLog
NAPSysLogServers []string
Includes []string
}
func (*NginxConfigContext) Equal ¶
func (ncc *NginxConfigContext) Equal(otherNginxConfigContext *NginxConfigContext) bool
type ProcessInfo ¶ added in v3.2.1
type ServerType ¶ added in v3.2.0
type ServerType int
const ( Command ServerType = iota Auxiliary )
func (ServerType) String ¶ added in v3.2.0
func (s ServerType) String() string
type WriteStatus ¶
type WriteStatus int
const ( RollbackRequired WriteStatus = iota + 1 NoChange Error OK )
Click to show internal directories.
Click to hide internal directories.