entity

package
v17.6.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 6 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 AgentMeta

type AgentMeta 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"`
	// contains filtered or unexported fields
}

func (*AgentMeta) Descriptor deprecated

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

Deprecated: Use AgentMeta.ProtoReflect.Descriptor instead.

func (*AgentMeta) GetCommitId deprecated

func (x *AgentMeta) GetCommitId() string

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

func (*AgentMeta) GetGitRef added in v17.3.0

func (x *AgentMeta) GetGitRef() string

func (*AgentMeta) GetKubernetesVersion

func (x *AgentMeta) GetKubernetesVersion() *KubernetesVersion

func (*AgentMeta) GetPodName

func (x *AgentMeta) GetPodName() string

func (*AgentMeta) GetPodNamespace

func (x *AgentMeta) GetPodNamespace() string

func (*AgentMeta) GetVersion

func (x *AgentMeta) GetVersion() string

func (*AgentMeta) ProtoMessage

func (*AgentMeta) ProtoMessage()

func (*AgentMeta) ProtoReflect

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

func (*AgentMeta) Reset

func (x *AgentMeta) Reset()

func (*AgentMeta) String

func (x *AgentMeta) 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 `` /* 157-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