entity

package
v18.1.0-rc44 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2025 License: MIT Imports: 7 Imported by: 0

README

Entities

This package holds type definitions of entities that can be used in APIs. Types can be used in public APIs and internally.

Don't dump anything and everything here. This package is for commonly used types that exist or used outside this project too.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_entity_entity_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AgentkMeta added in v18.1.0

type AgentkMeta struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Deprecated: Marked as deprecated in pkg/entity/entity.proto.
	CommitId           string             `protobuf:"bytes,2,opt,name=commit_id,proto3" json:"commit_id,omitempty"`
	PodNamespace       string             `protobuf:"bytes,3,opt,name=pod_namespace,proto3" json:"pod_namespace,omitempty"`
	PodName            string             `protobuf:"bytes,4,opt,name=pod_name,proto3" json:"pod_name,omitempty"`
	KubernetesVersion  *KubernetesVersion `protobuf:"bytes,5,opt,name=kubernetes_version,proto3" json:"kubernetes_version,omitempty"`
	GitRef             string             `protobuf:"bytes,6,opt,name=git_ref,proto3" json:"git_ref,omitempty"`
	ExtraTelemetryData map[string]string  `` /* 167-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AgentkMeta) Descriptor deprecated added in v18.1.0

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

Deprecated: Use AgentkMeta.ProtoReflect.Descriptor instead.

func (*AgentkMeta) GetCommitId deprecated added in v18.1.0

func (x *AgentkMeta) GetCommitId() string

Deprecated: Marked as deprecated in pkg/entity/entity.proto.

func (*AgentkMeta) GetExtraTelemetryData added in v18.1.0

func (x *AgentkMeta) GetExtraTelemetryData() map[string]string

func (*AgentkMeta) GetGitRef added in v18.1.0

func (x *AgentkMeta) GetGitRef() string

func (*AgentkMeta) GetKubernetesVersion added in v18.1.0

func (x *AgentkMeta) GetKubernetesVersion() *KubernetesVersion

func (*AgentkMeta) GetPodName added in v18.1.0

func (x *AgentkMeta) GetPodName() string

func (*AgentkMeta) GetPodNamespace added in v18.1.0

func (x *AgentkMeta) GetPodNamespace() string

func (*AgentkMeta) GetVersion added in v18.1.0

func (x *AgentkMeta) GetVersion() string

func (*AgentkMeta) ProtoMessage added in v18.1.0

func (*AgentkMeta) ProtoMessage()

func (*AgentkMeta) ProtoReflect added in v18.1.0

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

func (*AgentkMeta) Reset added in v18.1.0

func (x *AgentkMeta) Reset()

func (*AgentkMeta) String added in v18.1.0

func (x *AgentkMeta) String() string

type AgentwMeta added in v18.1.0

type AgentwMeta struct {
	Version            string            `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	GitRef             string            `protobuf:"bytes,2,opt,name=git_ref,proto3" json:"git_ref,omitempty"`
	ExtraTelemetryData map[string]string `` /* 167-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AgentwMeta) Descriptor deprecated added in v18.1.0

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

Deprecated: Use AgentwMeta.ProtoReflect.Descriptor instead.

func (*AgentwMeta) GetExtraTelemetryData added in v18.1.0

func (x *AgentwMeta) GetExtraTelemetryData() map[string]string

func (*AgentwMeta) GetGitRef added in v18.1.0

func (x *AgentwMeta) GetGitRef() string

func (*AgentwMeta) GetVersion added in v18.1.0

func (x *AgentwMeta) GetVersion() string

func (*AgentwMeta) ProtoMessage added in v18.1.0

func (*AgentwMeta) ProtoMessage()

func (*AgentwMeta) ProtoReflect added in v18.1.0

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

func (*AgentwMeta) Reset added in v18.1.0

func (x *AgentwMeta) Reset()

func (*AgentwMeta) String added in v18.1.0

func (x *AgentwMeta) String() string

type GitalyInfo

type GitalyInfo struct {
	Address  string            `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Token    string            `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Features map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GitalyInfo) Descriptor deprecated

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

Deprecated: Use GitalyInfo.ProtoReflect.Descriptor instead.

func (*GitalyInfo) GetAddress

func (x *GitalyInfo) GetAddress() string

func (*GitalyInfo) GetFeatures

func (x *GitalyInfo) GetFeatures() map[string]string

func (*GitalyInfo) GetToken

func (x *GitalyInfo) GetToken() string

func (*GitalyInfo) ProtoMessage

func (*GitalyInfo) ProtoMessage()

func (*GitalyInfo) ProtoReflect

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

func (*GitalyInfo) Reset

func (x *GitalyInfo) Reset()

func (*GitalyInfo) String

func (x *GitalyInfo) String() string

type GitalyRepository

type GitalyRepository struct {
	StorageName                   string   `protobuf:"bytes,2,opt,name=storage_name,proto3" json:"storage_name,omitempty"`
	RelativePath                  string   `protobuf:"bytes,3,opt,name=relative_path,proto3" json:"relative_path,omitempty"`
	GitObjectDirectory            string   `protobuf:"bytes,4,opt,name=git_object_directory,proto3" json:"git_object_directory,omitempty"`
	GitAlternateObjectDirectories []string `protobuf:"bytes,5,rep,name=git_alternate_object_directories,proto3" json:"git_alternate_object_directories,omitempty"`
	GlRepository                  string   `protobuf:"bytes,6,opt,name=gl_repository,proto3" json:"gl_repository,omitempty"`
	GlProjectPath                 string   `protobuf:"bytes,8,opt,name=gl_project_path,proto3" json:"gl_project_path,omitempty"`
	// contains filtered or unexported fields
}

func (*GitalyRepository) Descriptor deprecated

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

Deprecated: Use GitalyRepository.ProtoReflect.Descriptor instead.

func (*GitalyRepository) GetGitAlternateObjectDirectories

func (x *GitalyRepository) GetGitAlternateObjectDirectories() []string

func (*GitalyRepository) GetGitObjectDirectory

func (x *GitalyRepository) GetGitObjectDirectory() string

func (*GitalyRepository) GetGlProjectPath

func (x *GitalyRepository) GetGlProjectPath() string

func (*GitalyRepository) GetGlRepository

func (x *GitalyRepository) GetGlRepository() string

func (*GitalyRepository) GetRelativePath

func (x *GitalyRepository) GetRelativePath() string

func (*GitalyRepository) GetStorageName

func (x *GitalyRepository) GetStorageName() string

func (*GitalyRepository) ProtoMessage

func (*GitalyRepository) ProtoMessage()

func (*GitalyRepository) ProtoReflect

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

func (*GitalyRepository) Reset

func (x *GitalyRepository) Reset()

func (*GitalyRepository) String

func (x *GitalyRepository) String() string

func (*GitalyRepository) ToGitalyRepository

func (r *GitalyRepository) ToGitalyRepository() *gitalypb.Repository

type KubernetesVersion

type KubernetesVersion struct {
	Major      string `protobuf:"bytes,1,opt,name=major,proto3" json:"major,omitempty"`
	Minor      string `protobuf:"bytes,2,opt,name=minor,proto3" json:"minor,omitempty"`
	GitVersion string `protobuf:"bytes,3,opt,name=git_version,proto3" json:"git_version,omitempty"`
	Platform   string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesVersion) Descriptor deprecated

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

Deprecated: Use KubernetesVersion.ProtoReflect.Descriptor instead.

func (*KubernetesVersion) GetGitVersion

func (x *KubernetesVersion) GetGitVersion() string

func (*KubernetesVersion) GetMajor

func (x *KubernetesVersion) GetMajor() string

func (*KubernetesVersion) GetMinor

func (x *KubernetesVersion) GetMinor() string

func (*KubernetesVersion) GetPlatform

func (x *KubernetesVersion) GetPlatform() string

func (*KubernetesVersion) ProtoMessage

func (*KubernetesVersion) ProtoMessage()

func (*KubernetesVersion) ProtoReflect

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

func (*KubernetesVersion) Reset

func (x *KubernetesVersion) Reset()

func (*KubernetesVersion) String

func (x *KubernetesVersion) String() string

Jump to

Keyboard shortcuts

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