Documentation ¶
Index ¶
- Constants
- func AgentID(agentID int64) zap.Field
- func CommitID(commitID string) zap.Field
- func DurationInMilliseconds(duration time.Duration) zap.Field
- func Error(err error) zap.Field
- func GRPCMethod(method string) zap.Field
- func GRPCService(service string) zap.Field
- func GitRef(gitRef string) zap.Field
- func GitRepositoryURL(url string) zap.Field
- func InventoryName(name string) zap.Field
- func InventoryNamespace(namespace string) zap.Field
- func IsWebSocket(isWebSocket bool) zap.Field
- func K8sGroup(groupName string) zap.Field
- func K8sObjectName(name string) zap.Field
- func K8sResource(resourceName string) zap.Field
- func KASURL(kasURL string) zap.Field
- func LevelFromString(levelStr string) (zapcore.Level, error)
- func ModuleName(name string) zap.Field
- func NamespacedName(n string) zap.Field
- func NetAddress(listenAddress string) zap.Field
- func NetAddressFromAddr(addr net.Addr) zap.Field
- func NetNetwork(listenNetwork string) zap.Field
- func NetNetworkFromAddr(addr net.Addr) zap.Field
- func NewProductionEncoderConfig() zapcore.EncoderConfig
- func NoSync(w io.Writer) zapcore.WriteSyncer
- func NumberOfFilesSent(n uint32) zap.Field
- func NumberOfFilesVisited(n uint32) zap.Field
- func ObjectKey(obj interface{}) zap.Field
- func PayloadSizeInBytes(size int) zap.Field
- func PodLog(podLog string) zap.Field
- func PodName(podName string) zap.Field
- func PodStatus(podStatus string) zap.Field
- func PoolConnectionURL(poolConnURL string) zap.Field
- func ProjectID(projectID string) zap.Field
- func ProjectsToReconcile(p []string) zap.Field
- func ProtoJSONValue(key string, value proto.Message) zap.Field
- func RedisKey(key []byte) zap.Field
- func RemovedHashKeys(n int) zap.Field
- func RequestID(requestID string) zap.Field
- func StatusCode(code int32) zap.Field
- func TargetNamespace(namespace string) zap.Field
- func TokenLimit(limit uint64) zap.Field
- func TraceID(traceID trace.TraceID) zap.Field
- func TraceIDFromContext(ctx context.Context) zap.Field
- func TunnelsByAgent(numTunnels int) zap.Field
- func U64Count(count uint64) zap.Field
- func URL(url string) zap.Field
- func URLPath(url string) zap.Field
- func URLPathPrefix(urlPrefix string) zap.Field
- func VulnerabilitiesCount(n int) zap.Field
- func WorkspaceDataCount(count int) zap.Field
- func WorkspaceName(name string) zap.Field
- func WorkspaceNamespace(namespace string) zap.Field
Constants ¶
View Source
const ( AgentConfig = "agent_config" ApplyEvent = "apply_event" )
Variables ¶
This section is empty.
Functions ¶
func GRPCMethod ¶ added in v16.9.0
func GRPCService ¶ added in v16.9.0
func GitRepositoryURL ¶ added in v16.9.0
func InventoryName ¶ added in v16.3.0
func InventoryNamespace ¶ added in v16.5.0
func IsWebSocket ¶
func K8sObjectName ¶ added in v16.9.0
func K8sResource ¶ added in v16.1.0
func NamespacedName ¶ added in v16.1.0
func NetAddress ¶
func NetNetwork ¶
func NewProductionEncoderConfig ¶
func NewProductionEncoderConfig() zapcore.EncoderConfig
func NoSync ¶
func NoSync(w io.Writer) zapcore.WriteSyncer
NoSync can be used to wrap a io.Writer that implements zapcore.WriteSyncer but does not actually support the Sync() operation. An example is os.Stderr that returns "sync /dev/stderr: inappropriate ioctl for device" on sync attempt.
func NumberOfFilesSent ¶
func NumberOfFilesVisited ¶
func PayloadSizeInBytes ¶
func PoolConnectionURL ¶ added in v16.9.0
func ProjectID ¶ added in v16.9.0
ProjectID is the human-readable GitLab project path (e.g. gitlab-org/gitlab).
func ProjectsToReconcile ¶ added in v16.1.0
func ProtoJSONValue ¶ added in v16.9.0
func RemovedHashKeys ¶
func StatusCode ¶
func TargetNamespace ¶
func TunnelsByAgent ¶ added in v16.9.0
func URLPathPrefix ¶ added in v16.9.0
func VulnerabilitiesCount ¶
func WorkspaceDataCount ¶
func WorkspaceName ¶
func WorkspaceNamespace ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.