Documentation
¶
Index ¶
- func ConvertAccessLogs(accessLogs []*AccessLog) (logs []string)
- func ConvertErrorLogs(errorLogs []*ErrorLog) (logs []string)
- type APIDetails
- type AccessLog
- type ConfigApplyMessage
- type ConfigApplySuccess
- type ErrorLog
- type FileAction
- type FileCache
- type ManifestFile
- type ManifestFileMeta
- type NginxConfigContext
- type WriteStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertAccessLogs ¶
func ConvertErrorLogs ¶
Types ¶
type APIDetails ¶
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
InstanceID string
Files []*v1.File
AccessLogs []*AccessLog
ErrorLogs []*ErrorLog
NAPSysLogServers []string
}
func (*NginxConfigContext) Equal ¶
func (ncc *NginxConfigContext) Equal(otherNginxConfigContext *NginxConfigContext) bool
Complexity is 11, allowed is 10 nolint: revive, cyclop
type WriteStatus ¶
type WriteStatus int
const ( RollbackRequired WriteStatus = iota + 1 NoChange Error OK )
Click to show internal directories.
Click to hide internal directories.