agentwcfg

package
v18.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LogLevelEnum_name = map[int32]string{
		0: "info",
		1: "debug",
		2: "warn",
		3: "error",
	}
	LogLevelEnum_value = map[string]int32{
		"info":  0,
		"debug": 1,
		"warn":  2,
		"error": 3,
	}
)

Enum value maps for LogLevelEnum.

View Source
var File_internal_agentwcfg_agentwcfg_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AgentConfiguration

type AgentConfiguration struct {
	AgentId       int64          `protobuf:"varint,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	Observability *Observability `protobuf:"bytes,2,opt,name=observability,proto3" json:"observability,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentConfiguration) Descriptor deprecated

func (*AgentConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use AgentConfiguration.ProtoReflect.Descriptor instead.

func (*AgentConfiguration) GetAgentId

func (x *AgentConfiguration) GetAgentId() int64

func (*AgentConfiguration) GetObservability

func (x *AgentConfiguration) GetObservability() *Observability

func (*AgentConfiguration) ProtoMessage

func (*AgentConfiguration) ProtoMessage()

func (*AgentConfiguration) ProtoReflect

func (x *AgentConfiguration) ProtoReflect() protoreflect.Message

func (*AgentConfiguration) Reset

func (x *AgentConfiguration) Reset()

func (*AgentConfiguration) String

func (x *AgentConfiguration) String() string

type GoogleProfiler

type GoogleProfiler struct {
	Enabled         bool   `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	ProjectId       string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	CredentialsFile string `protobuf:"bytes,3,opt,name=credentials_file,json=credentialsFile,proto3" json:"credentials_file,omitempty"`
	DebugLogging    bool   `protobuf:"varint,4,opt,name=debug_logging,json=debugLogging,proto3" json:"debug_logging,omitempty"`
	// contains filtered or unexported fields
}

func (*GoogleProfiler) Descriptor deprecated

func (*GoogleProfiler) Descriptor() ([]byte, []int)

Deprecated: Use GoogleProfiler.ProtoReflect.Descriptor instead.

func (*GoogleProfiler) GetCredentialsFile

func (x *GoogleProfiler) GetCredentialsFile() string

func (*GoogleProfiler) GetDebugLogging

func (x *GoogleProfiler) GetDebugLogging() bool

func (*GoogleProfiler) GetEnabled

func (x *GoogleProfiler) GetEnabled() bool

func (*GoogleProfiler) GetProjectId

func (x *GoogleProfiler) GetProjectId() string

func (*GoogleProfiler) ProtoMessage

func (*GoogleProfiler) ProtoMessage()

func (*GoogleProfiler) ProtoReflect

func (x *GoogleProfiler) ProtoReflect() protoreflect.Message

func (*GoogleProfiler) Reset

func (x *GoogleProfiler) Reset()

func (*GoogleProfiler) String

func (x *GoogleProfiler) String() string

type LogLevelEnum

type LogLevelEnum int32
const (
	LogLevelEnum_info  LogLevelEnum = 0
	LogLevelEnum_debug LogLevelEnum = 1
	LogLevelEnum_warn  LogLevelEnum = 2
	LogLevelEnum_error LogLevelEnum = 3
)

func (LogLevelEnum) Descriptor

func (LogLevelEnum) Enum

func (x LogLevelEnum) Enum() *LogLevelEnum

func (LogLevelEnum) EnumDescriptor deprecated

func (LogLevelEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogLevelEnum.Descriptor instead.

func (LogLevelEnum) Number

func (LogLevelEnum) String

func (x LogLevelEnum) String() string

func (LogLevelEnum) Type

type Logging

type Logging struct {
	Level     LogLevelEnum  `protobuf:"varint,1,opt,name=level,proto3,enum=gitlab.agent.agentwcfg.LogLevelEnum" json:"level,omitempty"`
	GrpcLevel *LogLevelEnum `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Logging) Descriptor deprecated

func (*Logging) Descriptor() ([]byte, []int)

Deprecated: Use Logging.ProtoReflect.Descriptor instead.

func (*Logging) GetGrpcLevel

func (x *Logging) GetGrpcLevel() LogLevelEnum

func (*Logging) GetLevel

func (x *Logging) GetLevel() LogLevelEnum

func (*Logging) ProtoMessage

func (*Logging) ProtoMessage()

func (*Logging) ProtoReflect

func (x *Logging) ProtoReflect() protoreflect.Message

func (*Logging) Reset

func (x *Logging) Reset()

func (*Logging) String

func (x *Logging) String() string

type Observability

type Observability struct {
	Logging        *Logging        `protobuf:"bytes,1,opt,name=logging,proto3" json:"logging,omitempty"`
	GoogleProfiler *GoogleProfiler `protobuf:"bytes,2,opt,name=google_profiler,json=googleProfiler,proto3" json:"google_profiler,omitempty"`
	// contains filtered or unexported fields
}

func (*Observability) Descriptor deprecated

func (*Observability) Descriptor() ([]byte, []int)

Deprecated: Use Observability.ProtoReflect.Descriptor instead.

func (*Observability) GetGoogleProfiler

func (x *Observability) GetGoogleProfiler() *GoogleProfiler

func (*Observability) GetLogging

func (x *Observability) GetLogging() *Logging

func (*Observability) ProtoMessage

func (*Observability) ProtoMessage()

func (*Observability) ProtoReflect

func (x *Observability) ProtoReflect() protoreflect.Message

func (*Observability) Reset

func (x *Observability) Reset()

func (*Observability) String

func (x *Observability) String() string

Jump to

Keyboard shortcuts

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