Documentation ¶
Index ¶
- type IVResourceCondition
- type IntegrityVerifierMode
- type LogScopeConfig
- type LoggingScopeConfig
- type PatchConfig
- type PluginConfig
- type VerifierConfig
- func (ec *VerifierConfig) ConsoleLogEnabled(reqc *common.ReqContext) bool
- func (ec *VerifierConfig) ContextLogEnabled(reqc *common.ReqContext) bool
- func (ec *VerifierConfig) ContextLoggerConfig() logger.ContextLoggerConfig
- func (ec *VerifierConfig) DeepCopy() *VerifierConfig
- func (ec *VerifierConfig) DeepCopyInto(ec2 *VerifierConfig)
- func (ec *VerifierConfig) GetEnabledPlugins() map[string]bool
- func (ec *VerifierConfig) LogConfig() *LoggingScopeConfig
- func (ec *VerifierConfig) LoggerConfig() logger.LoggerConfig
- func (ec *VerifierConfig) PatchEnabled() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IVResourceCondition ¶
type IVResourceCondition struct { OperatorResources []*common.ResourceRef `json:"operatorResources,omitempty"` ServerResources []*common.ResourceRef `json:"serverResources,omitempty"` OperatorServiceAccount string `json:"operatorServiceAccount,omitempty"` }
func (*IVResourceCondition) IsOperatorResource ¶
func (self *IVResourceCondition) IsOperatorResource(ref *common.ResourceRef) bool
func (*IVResourceCondition) IsServerResource ¶
func (self *IVResourceCondition) IsServerResource(ref *common.ResourceRef) bool
type IntegrityVerifierMode ¶
type IntegrityVerifierMode string
const ( UnknownMode IntegrityVerifierMode = "" EnforceMode IntegrityVerifierMode = "enforce" DetectMode IntegrityVerifierMode = "detect" )
type LogScopeConfig ¶
type LogScopeConfig struct { Enabled bool `json:"enabled,omitempty"` InScope []profile.RequestPattern `json:"inScope,omitempty"` Ignore []profile.RequestPattern `json:"ignore,omitempty"` }
func (*LogScopeConfig) IsInScope ¶
func (sc *LogScopeConfig) IsInScope(reqc *common.ReqContext) bool
type LoggingScopeConfig ¶
type LoggingScopeConfig struct { LogLevel string `json:"logLevel,omitempty"` LogAllResponse bool `json:"logAllResponse,omitempty"` IncludeRequest bool `json:"includeRequest,omitempty"` IncludeRelease bool `json:"includeRelease,omitempty"` ConsoleLog *LogScopeConfig `json:"consoleLog,omitempty"` ContextLog *LogScopeConfig `json:"contextLog,omitempty"` ConsoleLogFormat string `json:"consoleLogFormat,omitempty"` ConsoleLogFile string `json:"consoleLogFile,omitempty"` ContextLogFile string `json:"contextLogFile,omitempty"` ContextLogRotateSize int64 `json:"contextLogRotateSize,omitempty"` }
type PatchConfig ¶
type PatchConfig struct {
Enabled bool `json:"enabled,omitempty"`
}
type PluginConfig ¶
type VerifierConfig ¶
type VerifierConfig struct { Patch *PatchConfig `json:"patch,omitempty"` Log *LoggingScopeConfig `json:"log,omitempty"` InScopeNamespaceSelector *common.NamespaceSelector `json:"inScopeNamespaceSelector,omitempty"` Allow []profile.RequestPattern `json:"allow,omitempty"` Ignore []profile.RequestPattern `json:"ignore,omitempty"` Mode IntegrityVerifierMode `json:"mode,omitempty"` Plugin []PluginConfig `json:"plugin,omitempty"` CommonProfile *rspapi.ResourceSigningProfileSpec `json:"commonProfile,omitempty"` Namespace string `json:"namespace,omitempty"` SignatureNamespace string `json:"signatureNamespace,omitempty"` ProfileNamespace string `json:"profileNamespace,omitempty"` VerifyType string `json:"verifyType"` KeyPathList []string `json:"keyPathList,omitempty"` ChartDir string `json:"chartPath,omitempty"` ChartRepo string `json:"chartRepo,omitempty"` IVResource string `json:"ivResource,omitempty"` IVResourceCondition *IVResourceCondition `json:"ivResourceCondition,omitempty"` IVAdminUserGroup string `json:"ivAdminUserGroup,omitempty"` IVAdminUserName string `json:"ivAdminUserName,omitempty"` IVServerUserName string `json:"ivServerUserName,omitempty"` Options []string `json:"options,omitempty"` }
func (*VerifierConfig) ConsoleLogEnabled ¶
func (ec *VerifierConfig) ConsoleLogEnabled(reqc *common.ReqContext) bool
func (*VerifierConfig) ContextLogEnabled ¶
func (ec *VerifierConfig) ContextLogEnabled(reqc *common.ReqContext) bool
func (*VerifierConfig) ContextLoggerConfig ¶
func (ec *VerifierConfig) ContextLoggerConfig() logger.ContextLoggerConfig
func (*VerifierConfig) DeepCopy ¶
func (ec *VerifierConfig) DeepCopy() *VerifierConfig
func (*VerifierConfig) DeepCopyInto ¶
func (ec *VerifierConfig) DeepCopyInto(ec2 *VerifierConfig)
func (*VerifierConfig) GetEnabledPlugins ¶
func (ec *VerifierConfig) GetEnabledPlugins() map[string]bool
func (*VerifierConfig) LogConfig ¶
func (ec *VerifierConfig) LogConfig() *LoggingScopeConfig
func (*VerifierConfig) LoggerConfig ¶
func (ec *VerifierConfig) LoggerConfig() logger.LoggerConfig
func (*VerifierConfig) PatchEnabled ¶
func (ec *VerifierConfig) PatchEnabled() bool
Click to show internal directories.
Click to hide internal directories.