agentcfg

package
v14.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Enum value maps for LoggingLevelEnum.

View Source
var File_pkg_agentcfg_agentcfg_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AgentConfiguration

type AgentConfiguration struct {
	Gitops        *GitopsCF        `protobuf:"bytes,1,opt,name=gitops,proto3" json:"gitops,omitempty"`
	Observability *ObservabilityCF `protobuf:"bytes,2,opt,name=observability,proto3" json:"observability,omitempty"`
	Cilium        *CiliumCF        `protobuf:"bytes,3,opt,name=cilium,proto3" json:"cilium,omitempty"`
	AgentId       int64            `protobuf:"varint,4,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	ProjectId     int64            `protobuf:"varint,5,opt,name=project_id,json=projectId,proto3" json:"project_id,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) GetCilium

func (x *AgentConfiguration) GetCilium() *CiliumCF

func (*AgentConfiguration) GetGitops

func (x *AgentConfiguration) GetGitops() *GitopsCF

func (*AgentConfiguration) GetObservability

func (x *AgentConfiguration) GetObservability() *ObservabilityCF

func (*AgentConfiguration) GetProjectId

func (x *AgentConfiguration) GetProjectId() int64

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

func (*AgentConfiguration) Validate

func (m *AgentConfiguration) Validate() error

Validate checks the field values on AgentConfiguration with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AgentConfigurationValidationError

type AgentConfigurationValidationError struct {
	// contains filtered or unexported fields
}

AgentConfigurationValidationError is the validation error returned by AgentConfiguration.Validate if the designated constraints aren't met.

func (AgentConfigurationValidationError) Cause

Cause function returns cause value.

func (AgentConfigurationValidationError) Error

Error satisfies the builtin error interface

func (AgentConfigurationValidationError) ErrorName

ErrorName returns error name.

func (AgentConfigurationValidationError) Field

Field function returns field value.

func (AgentConfigurationValidationError) Key

Key function returns key value.

func (AgentConfigurationValidationError) Reason

Reason function returns reason value.

type CiliumCF

type CiliumCF struct {
	HubbleRelayAddress string `protobuf:"bytes,1,opt,name=hubble_relay_address,proto3" json:"hubble_relay_address,omitempty"`
	// contains filtered or unexported fields
}

func (*CiliumCF) Descriptor deprecated

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

Deprecated: Use CiliumCF.ProtoReflect.Descriptor instead.

func (*CiliumCF) GetHubbleRelayAddress

func (x *CiliumCF) GetHubbleRelayAddress() string

func (*CiliumCF) ProtoMessage

func (*CiliumCF) ProtoMessage()

func (*CiliumCF) ProtoReflect

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

func (*CiliumCF) Reset

func (x *CiliumCF) Reset()

func (*CiliumCF) String

func (x *CiliumCF) String() string

func (*CiliumCF) Validate

func (m *CiliumCF) Validate() error

Validate checks the field values on CiliumCF with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CiliumCFValidationError

type CiliumCFValidationError struct {
	// contains filtered or unexported fields
}

CiliumCFValidationError is the validation error returned by CiliumCF.Validate if the designated constraints aren't met.

func (CiliumCFValidationError) Cause

func (e CiliumCFValidationError) Cause() error

Cause function returns cause value.

func (CiliumCFValidationError) Error

func (e CiliumCFValidationError) Error() string

Error satisfies the builtin error interface

func (CiliumCFValidationError) ErrorName

func (e CiliumCFValidationError) ErrorName() string

ErrorName returns error name.

func (CiliumCFValidationError) Field

func (e CiliumCFValidationError) Field() string

Field function returns field value.

func (CiliumCFValidationError) Key

func (e CiliumCFValidationError) Key() bool

Key function returns key value.

func (CiliumCFValidationError) Reason

func (e CiliumCFValidationError) Reason() string

Reason function returns reason value.

type ConfigurationFile

type ConfigurationFile struct {
	Gitops        *GitopsCF        `protobuf:"bytes,1,opt,name=gitops,proto3" json:"gitops,omitempty"`
	Observability *ObservabilityCF `protobuf:"bytes,2,opt,name=observability,proto3" json:"observability,omitempty"`
	Cilium        *CiliumCF        `protobuf:"bytes,3,opt,name=cilium,proto3" json:"cilium,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigurationFile) Descriptor deprecated

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

Deprecated: Use ConfigurationFile.ProtoReflect.Descriptor instead.

func (*ConfigurationFile) GetCilium

func (x *ConfigurationFile) GetCilium() *CiliumCF

func (*ConfigurationFile) GetGitops

func (x *ConfigurationFile) GetGitops() *GitopsCF

func (*ConfigurationFile) GetObservability

func (x *ConfigurationFile) GetObservability() *ObservabilityCF

func (*ConfigurationFile) ProtoMessage

func (*ConfigurationFile) ProtoMessage()

func (*ConfigurationFile) ProtoReflect

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

func (*ConfigurationFile) Reset

func (x *ConfigurationFile) Reset()

func (*ConfigurationFile) String

func (x *ConfigurationFile) String() string

func (*ConfigurationFile) Validate

func (m *ConfigurationFile) Validate() error

Validate checks the field values on ConfigurationFile with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ConfigurationFileValidationError

type ConfigurationFileValidationError struct {
	// contains filtered or unexported fields
}

ConfigurationFileValidationError is the validation error returned by ConfigurationFile.Validate if the designated constraints aren't met.

func (ConfigurationFileValidationError) Cause

Cause function returns cause value.

func (ConfigurationFileValidationError) Error

Error satisfies the builtin error interface

func (ConfigurationFileValidationError) ErrorName

ErrorName returns error name.

func (ConfigurationFileValidationError) Field

Field function returns field value.

func (ConfigurationFileValidationError) Key

Key function returns key value.

func (ConfigurationFileValidationError) Reason

Reason function returns reason value.

type GitopsCF

type GitopsCF struct {
	ManifestProjects []*ManifestProjectCF `protobuf:"bytes,1,rep,name=manifest_projects,proto3" json:"manifest_projects,omitempty"`
	// contains filtered or unexported fields
}

func (*GitopsCF) Descriptor deprecated

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

Deprecated: Use GitopsCF.ProtoReflect.Descriptor instead.

func (*GitopsCF) GetManifestProjects

func (x *GitopsCF) GetManifestProjects() []*ManifestProjectCF

func (*GitopsCF) ProtoMessage

func (*GitopsCF) ProtoMessage()

func (*GitopsCF) ProtoReflect

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

func (*GitopsCF) Reset

func (x *GitopsCF) Reset()

func (*GitopsCF) String

func (x *GitopsCF) String() string

func (*GitopsCF) Validate

func (m *GitopsCF) Validate() error

Validate checks the field values on GitopsCF with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GitopsCFValidationError

type GitopsCFValidationError struct {
	// contains filtered or unexported fields
}

GitopsCFValidationError is the validation error returned by GitopsCF.Validate if the designated constraints aren't met.

func (GitopsCFValidationError) Cause

func (e GitopsCFValidationError) Cause() error

Cause function returns cause value.

func (GitopsCFValidationError) Error

func (e GitopsCFValidationError) Error() string

Error satisfies the builtin error interface

func (GitopsCFValidationError) ErrorName

func (e GitopsCFValidationError) ErrorName() string

ErrorName returns error name.

func (GitopsCFValidationError) Field

func (e GitopsCFValidationError) Field() string

Field function returns field value.

func (GitopsCFValidationError) Key

func (e GitopsCFValidationError) Key() bool

Key function returns key value.

func (GitopsCFValidationError) Reason

func (e GitopsCFValidationError) Reason() string

Reason function returns reason value.

type LoggingCF

type LoggingCF struct {
	Level LoggingLevelEnum `protobuf:"varint,1,opt,name=level,proto3,enum=gitlab.agent.agentcfg.LoggingLevelEnum" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*LoggingCF) Descriptor deprecated

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

Deprecated: Use LoggingCF.ProtoReflect.Descriptor instead.

func (*LoggingCF) GetLevel

func (x *LoggingCF) GetLevel() LoggingLevelEnum

func (*LoggingCF) ProtoMessage

func (*LoggingCF) ProtoMessage()

func (*LoggingCF) ProtoReflect

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

func (*LoggingCF) Reset

func (x *LoggingCF) Reset()

func (*LoggingCF) String

func (x *LoggingCF) String() string

func (*LoggingCF) Validate

func (m *LoggingCF) Validate() error

Validate checks the field values on LoggingCF with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type LoggingCFValidationError

type LoggingCFValidationError struct {
	// contains filtered or unexported fields
}

LoggingCFValidationError is the validation error returned by LoggingCF.Validate if the designated constraints aren't met.

func (LoggingCFValidationError) Cause

func (e LoggingCFValidationError) Cause() error

Cause function returns cause value.

func (LoggingCFValidationError) Error

func (e LoggingCFValidationError) Error() string

Error satisfies the builtin error interface

func (LoggingCFValidationError) ErrorName

func (e LoggingCFValidationError) ErrorName() string

ErrorName returns error name.

func (LoggingCFValidationError) Field

func (e LoggingCFValidationError) Field() string

Field function returns field value.

func (LoggingCFValidationError) Key

Key function returns key value.

func (LoggingCFValidationError) Reason

func (e LoggingCFValidationError) Reason() string

Reason function returns reason value.

type LoggingLevelEnum

type LoggingLevelEnum int32
const (
	LoggingLevelEnum_info  LoggingLevelEnum = 0
	LoggingLevelEnum_debug LoggingLevelEnum = 1
	LoggingLevelEnum_warn  LoggingLevelEnum = 2
	LoggingLevelEnum_error LoggingLevelEnum = 3
)

func (LoggingLevelEnum) Descriptor

func (LoggingLevelEnum) Enum

func (LoggingLevelEnum) EnumDescriptor deprecated

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

Deprecated: Use LoggingLevelEnum.Descriptor instead.

func (LoggingLevelEnum) Number

func (LoggingLevelEnum) String

func (x LoggingLevelEnum) String() string

func (LoggingLevelEnum) Type

type ManifestProjectCF

type ManifestProjectCF struct {
	Id               string             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DefaultNamespace string             `protobuf:"bytes,4,opt,name=default_namespace,proto3" json:"default_namespace,omitempty"`
	Paths            []*PathCF          `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"`
	ReconcileTimeout *duration.Duration `protobuf:"bytes,6,opt,name=reconcile_timeout,proto3" json:"reconcile_timeout,omitempty"`
	DryRunStrategy   string             `protobuf:"bytes,7,opt,name=dry_run_strategy,proto3" json:"dry_run_strategy,omitempty"`
	// Types that are assignable to PruneOneof:
	//	*ManifestProjectCF_Prune
	PruneOneof             isManifestProjectCF_PruneOneof `protobuf_oneof:"prune_oneof"`
	PruneTimeout           *duration.Duration             `protobuf:"bytes,9,opt,name=prune_timeout,proto3" json:"prune_timeout,omitempty"`
	PrunePropagationPolicy string                         `protobuf:"bytes,10,opt,name=prune_propagation_policy,proto3" json:"prune_propagation_policy,omitempty"`
	InventoryPolicy        string                         `protobuf:"bytes,11,opt,name=inventory_policy,proto3" json:"inventory_policy,omitempty"`
	// contains filtered or unexported fields
}

func (*ManifestProjectCF) Descriptor deprecated

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

Deprecated: Use ManifestProjectCF.ProtoReflect.Descriptor instead.

func (*ManifestProjectCF) GetDefaultNamespace

func (x *ManifestProjectCF) GetDefaultNamespace() string

func (*ManifestProjectCF) GetDryRunStrategy

func (x *ManifestProjectCF) GetDryRunStrategy() string

func (*ManifestProjectCF) GetId

func (x *ManifestProjectCF) GetId() string

func (*ManifestProjectCF) GetInventoryPolicy

func (x *ManifestProjectCF) GetInventoryPolicy() string

func (*ManifestProjectCF) GetPaths

func (x *ManifestProjectCF) GetPaths() []*PathCF

func (*ManifestProjectCF) GetPrune

func (x *ManifestProjectCF) GetPrune() bool

func (*ManifestProjectCF) GetPruneOneof

func (m *ManifestProjectCF) GetPruneOneof() isManifestProjectCF_PruneOneof

func (*ManifestProjectCF) GetPrunePropagationPolicy

func (x *ManifestProjectCF) GetPrunePropagationPolicy() string

func (*ManifestProjectCF) GetPruneTimeout

func (x *ManifestProjectCF) GetPruneTimeout() *duration.Duration

func (*ManifestProjectCF) GetReconcileTimeout

func (x *ManifestProjectCF) GetReconcileTimeout() *duration.Duration

func (*ManifestProjectCF) ProtoMessage

func (*ManifestProjectCF) ProtoMessage()

func (*ManifestProjectCF) ProtoReflect

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

func (*ManifestProjectCF) Reset

func (x *ManifestProjectCF) Reset()

func (*ManifestProjectCF) String

func (x *ManifestProjectCF) String() string

func (*ManifestProjectCF) Validate

func (m *ManifestProjectCF) Validate() error

Validate checks the field values on ManifestProjectCF with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ManifestProjectCFValidationError

type ManifestProjectCFValidationError struct {
	// contains filtered or unexported fields
}

ManifestProjectCFValidationError is the validation error returned by ManifestProjectCF.Validate if the designated constraints aren't met.

func (ManifestProjectCFValidationError) Cause

Cause function returns cause value.

func (ManifestProjectCFValidationError) Error

Error satisfies the builtin error interface

func (ManifestProjectCFValidationError) ErrorName

ErrorName returns error name.

func (ManifestProjectCFValidationError) Field

Field function returns field value.

func (ManifestProjectCFValidationError) Key

Key function returns key value.

func (ManifestProjectCFValidationError) Reason

Reason function returns reason value.

type ManifestProjectCF_Prune

type ManifestProjectCF_Prune struct {
	Prune bool `protobuf:"varint,8,opt,name=prune,proto3,oneof"`
}

type ObservabilityCF

type ObservabilityCF struct {
	Logging *LoggingCF `protobuf:"bytes,1,opt,name=logging,proto3" json:"logging,omitempty"`
	// contains filtered or unexported fields
}

func (*ObservabilityCF) Descriptor deprecated

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

Deprecated: Use ObservabilityCF.ProtoReflect.Descriptor instead.

func (*ObservabilityCF) GetLogging

func (x *ObservabilityCF) GetLogging() *LoggingCF

func (*ObservabilityCF) ProtoMessage

func (*ObservabilityCF) ProtoMessage()

func (*ObservabilityCF) ProtoReflect

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

func (*ObservabilityCF) Reset

func (x *ObservabilityCF) Reset()

func (*ObservabilityCF) String

func (x *ObservabilityCF) String() string

func (*ObservabilityCF) Validate

func (m *ObservabilityCF) Validate() error

Validate checks the field values on ObservabilityCF with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ObservabilityCFValidationError

type ObservabilityCFValidationError struct {
	// contains filtered or unexported fields
}

ObservabilityCFValidationError is the validation error returned by ObservabilityCF.Validate if the designated constraints aren't met.

func (ObservabilityCFValidationError) Cause

Cause function returns cause value.

func (ObservabilityCFValidationError) Error

Error satisfies the builtin error interface

func (ObservabilityCFValidationError) ErrorName

func (e ObservabilityCFValidationError) ErrorName() string

ErrorName returns error name.

func (ObservabilityCFValidationError) Field

Field function returns field value.

func (ObservabilityCFValidationError) Key

Key function returns key value.

func (ObservabilityCFValidationError) Reason

Reason function returns reason value.

type PathCF

type PathCF struct {
	Glob string `protobuf:"bytes,1,opt,name=glob,proto3" json:"glob,omitempty"`
	// contains filtered or unexported fields
}

func (*PathCF) Descriptor deprecated

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

Deprecated: Use PathCF.ProtoReflect.Descriptor instead.

func (*PathCF) GetGlob

func (x *PathCF) GetGlob() string

func (*PathCF) ProtoMessage

func (*PathCF) ProtoMessage()

func (*PathCF) ProtoReflect

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

func (*PathCF) Reset

func (x *PathCF) Reset()

func (*PathCF) String

func (x *PathCF) String() string

func (*PathCF) Validate

func (m *PathCF) Validate() error

Validate checks the field values on PathCF with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PathCFValidationError

type PathCFValidationError struct {
	// contains filtered or unexported fields
}

PathCFValidationError is the validation error returned by PathCF.Validate if the designated constraints aren't met.

func (PathCFValidationError) Cause

func (e PathCFValidationError) Cause() error

Cause function returns cause value.

func (PathCFValidationError) Error

func (e PathCFValidationError) Error() string

Error satisfies the builtin error interface

func (PathCFValidationError) ErrorName

func (e PathCFValidationError) ErrorName() string

ErrorName returns error name.

func (PathCFValidationError) Field

func (e PathCFValidationError) Field() string

Field function returns field value.

func (PathCFValidationError) Key

func (e PathCFValidationError) Key() bool

Key function returns key value.

func (PathCFValidationError) Reason

func (e PathCFValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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