model

package
v3.0.0-...-6fc1f16 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIDetails

type APIDetails struct {
	URL      string
	Listen   string
	Location string
}

type AccessLog

type AccessLog struct {
	Name        string
	Format      string
	Permissions string
	Readable    bool
}

type ConfigApplyMessage

type ConfigApplyMessage struct {
	Error         error
	CorrelationID string
	InstanceID    string
}

type ErrorLog

type ErrorLog struct {
	Name        string
	LogLevel    string
	Permissions string
	Readable    bool
}

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
)

Jump to

Keyboard shortcuts

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