pb

package
v0.0.0-...-6487a92 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: BSD-3-Clause Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_build_proto protoreflect.FileDescriptor
View Source
var File_fusectl_proto protoreflect.FileDescriptor
View Source
var File_mirrormeta_proto protoreflect.FileDescriptor

Functions

func RegisterFUSEServer

func RegisterFUSEServer(s *grpc.Server, srv FUSEServer)

Types

type Build

type Build struct {

	// A https URL to the upstream archive that should be built. Currently, only
	// tar.gz archives are supported.
	Source *string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
	// Details about how to pull a new version.
	Pull *Pull `protobuf:"bytes,19,opt,name=pull" json:"pull,omitempty"`
	// A SHA256 hash of the upstream archive, for verifying integrity.
	Hash *string `protobuf:"bytes,2,opt,name=hash" json:"hash,omitempty"`
	// The version number of this package, in format
	// `<upstream-version>-<distri-revision>`, e.g. `2.12-4`. The distri package
	// revision is a monotonically increasing number (even when the upstream
	// version changes!).
	//
	// The name of the package is the directory which contains `build.textproto`,
	// and the resulting package will be named `<package-name>-<version>`, so a
	// full package can be referenced by e.g. `i3status-amd64-2.12-4`.
	Version *string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
	// The filename of a file (relative to the directory containing `build.textproto`)
	// to copy into the source directory as-is. Could also be achieved by using
	// `cherry_pick`, but files are a little bit easier to maintain this way.
	ExtraFile []string `protobuf:"bytes,17,rep,name=extra_file,json=extraFile" json:"extra_file,omitempty"`
	// The filename of a patch (relative to the directory containing
	// `build.textproto`) to apply after extracting the upstream archive. The
	// order of directives is the order in which the patches are applied.
	CherryPick []string `protobuf:"bytes,6,rep,name=cherry_pick,json=cherryPick" json:"cherry_pick,omitempty"`
	// Enable writable_sourcedir if the package modifies files in its SourceDir
	// (instead of only placing files in the build directory).
	// A bug should be reported with the package upstream.
	//
	// Frequently also requires enabling in_tree_build.
	WritableSourcedir *bool `protobuf:"varint,20,opt,name=writable_sourcedir,json=writableSourcedir" json:"writable_sourcedir,omitempty"`
	// Enable if this package does not support building from a separate directory
	// (sometimes called “out-of-tree build”). A bug should be reported with the
	// package upstream.
	InTreeBuild *bool `protobuf:"varint,21,opt,name=in_tree_build,json=inTreeBuild" json:"in_tree_build,omitempty"`
	// By default, distri build will fail if there are empty .debug files.
	// Use this option to acknowledge the failure and add a free-form note
	// (for human consumption) with details.
	// E.g. ack_missing_dwarf: "TODO" if the failure is not yet understood.
	AckMissingDwarf *string `protobuf:"bytes,22,opt,name=ack_missing_dwarf,json=ackMissingDwarf" json:"ack_missing_dwarf,omitempty"`
	// TODO: rename to build_dep
	Dep []string `protobuf:"bytes,5,rep,name=dep" json:"dep,omitempty"`
	// TODO: move this field into a custom builder
	// Overwrites the chosen builder’s default build steps.
	BuildStep []*BuildStep `protobuf:"bytes,4,rep,name=build_step,json=buildStep" json:"build_step,omitempty"`
	// Types that are assignable to Builder:
	//	*Build_Cbuilder
	//	*Build_Cmakebuilder
	//	*Build_Mesonbuilder
	//	*Build_Perlbuilder
	//	*Build_Pythonbuilder
	//	*Build_Gomodbuilder
	//	*Build_Gobuilder
	Builder isBuild_Builder `protobuf_oneof:"builder"`
	// Additional run-time dependencies which are not automatically found.
	RuntimeDep []string `protobuf:"bytes,9,rep,name=runtime_dep,json=runtimeDep" json:"runtime_dep,omitempty"`
	// Additional steps to perform after the build completed.
	Install *Install `protobuf:"bytes,8,opt,name=install" json:"install,omitempty"`
	// Split files out of the resulting package into separate packages. This
	// feature should be used sparingly: prefer sticking to the mental model that
	// one package build instruction file results in one distri package.
	//
	// Use cases include fine grained dependencies (e.g. gcc-libs split out of
	// gcc) or breaking dependency cycles for bootstrap packages (e.g. libudev
	// split out of systemd).
	SplitPackage []*SplitPackage `protobuf:"bytes,11,rep,name=split_package,json=splitPackage" json:"split_package,omitempty"`
	// Runtime union directories are used to implement per-package exchange
	// directories (as opposed to global exchange directories). This is to be used
	// for tight coupling situations, e.g. when a plugin mechanism does not
	// guarantee ABI compatibility across versions.
	RuntimeUnion []*Union `protobuf:"bytes,15,rep,name=runtime_union,json=runtimeUnion" json:"runtime_union,omitempty"`
	// contains filtered or unexported fields
}

func ReadBuildFile

func ReadBuildFile(path string) (*Build, error)

func (*Build) Descriptor deprecated

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

Deprecated: Use Build.ProtoReflect.Descriptor instead.

func (*Build) GetAckMissingDwarf

func (x *Build) GetAckMissingDwarf() string

func (*Build) GetBuildStep

func (x *Build) GetBuildStep() []*BuildStep

func (*Build) GetBuilder

func (m *Build) GetBuilder() isBuild_Builder

func (*Build) GetCbuilder

func (x *Build) GetCbuilder() *CBuilder

func (*Build) GetCherryPick

func (x *Build) GetCherryPick() []string

func (*Build) GetCmakebuilder

func (x *Build) GetCmakebuilder() *CMakeBuilder

func (*Build) GetDep

func (x *Build) GetDep() []string

func (*Build) GetExtraFile

func (x *Build) GetExtraFile() []string

func (*Build) GetGobuilder

func (x *Build) GetGobuilder() *GoBuilder

func (*Build) GetGomodbuilder

func (x *Build) GetGomodbuilder() *GomodBuilder

func (*Build) GetHash

func (x *Build) GetHash() string

func (*Build) GetInTreeBuild

func (x *Build) GetInTreeBuild() bool

func (*Build) GetInstall

func (x *Build) GetInstall() *Install

func (*Build) GetMesonbuilder

func (x *Build) GetMesonbuilder() *MesonBuilder

func (*Build) GetPerlbuilder

func (x *Build) GetPerlbuilder() *PerlBuilder

func (*Build) GetPull

func (x *Build) GetPull() *Pull

func (*Build) GetPythonbuilder

func (x *Build) GetPythonbuilder() *PythonBuilder

func (*Build) GetRuntimeDep

func (x *Build) GetRuntimeDep() []string

func (*Build) GetRuntimeUnion

func (x *Build) GetRuntimeUnion() []*Union

func (*Build) GetSource

func (x *Build) GetSource() string

func (*Build) GetSplitPackage

func (x *Build) GetSplitPackage() []*SplitPackage

func (*Build) GetVersion

func (x *Build) GetVersion() string

func (*Build) GetWritableSourcedir

func (x *Build) GetWritableSourcedir() bool

func (*Build) ProtoMessage

func (*Build) ProtoMessage()

func (*Build) ProtoReflect

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

func (*Build) Reset

func (x *Build) Reset()

func (*Build) String

func (x *Build) String() string

type BuildStep

type BuildStep struct {

	// argv to pass to execve(2)
	Argv []string `protobuf:"bytes,1,rep,name=argv" json:"argv,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildStep) Descriptor deprecated

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

Deprecated: Use BuildStep.ProtoReflect.Descriptor instead.

func (*BuildStep) GetArgv

func (x *BuildStep) GetArgv() []string

func (*BuildStep) ProtoMessage

func (*BuildStep) ProtoMessage()

func (*BuildStep) ProtoReflect

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

func (*BuildStep) Reset

func (x *BuildStep) Reset()

func (*BuildStep) String

func (x *BuildStep) String() string

type Build_Cbuilder

type Build_Cbuilder struct {
	// The cbuilder builds autoconf (or compatible) projects.
	Cbuilder *CBuilder `protobuf:"bytes,7,opt,name=cbuilder,oneof"`
}

type Build_Cmakebuilder

type Build_Cmakebuilder struct {
	// The cmakebuilder builds CMake projects.
	Cmakebuilder *CMakeBuilder `protobuf:"bytes,14,opt,name=cmakebuilder,oneof"`
}

type Build_Gobuilder

type Build_Gobuilder struct {
	// The gobuilder builds Go projects.
	Gobuilder *GoBuilder `protobuf:"bytes,18,opt,name=gobuilder,oneof"`
}

type Build_Gomodbuilder

type Build_Gomodbuilder struct {
	// The gomodbuilder captures the module cache of the specified module. The
	// resulting package is meant to be used as build dependency for gobuilder
	// packages.
	Gomodbuilder *GomodBuilder `protobuf:"bytes,13,opt,name=gomodbuilder,oneof"`
}

type Build_Mesonbuilder

type Build_Mesonbuilder struct {
	// The meson builder builds meson projects.
	Mesonbuilder *MesonBuilder `protobuf:"bytes,16,opt,name=mesonbuilder,oneof"`
}

type Build_Perlbuilder

type Build_Perlbuilder struct {
	// The perlbuilder builds Perl projects.
	Perlbuilder *PerlBuilder `protobuf:"bytes,10,opt,name=perlbuilder,oneof"`
}

type Build_Pythonbuilder

type Build_Pythonbuilder struct {
	// The pythonbuilder builds Python projects.
	Pythonbuilder *PythonBuilder `protobuf:"bytes,12,opt,name=pythonbuilder,oneof"`
}

type CBuilder

type CBuilder struct {

	// Additional flag to pass to `configure`.
	ExtraConfigureFlag []string `protobuf:"bytes,1,rep,name=extra_configure_flag,json=extraConfigureFlag" json:"extra_configure_flag,omitempty"`
	// Additional flag to pass to `make`.
	ExtraMakeFlag []string `protobuf:"bytes,4,rep,name=extra_make_flag,json=extraMakeFlag" json:"extra_make_flag,omitempty"`
	// Whether to run autoreconf(1)
	Autoreconf *bool `protobuf:"varint,5,opt,name=autoreconf" json:"autoreconf,omitempty"`
	// Additional flag to append to the `LDFLAGS` environment variable when
	// building.
	ExtraLdflag []string `protobuf:"bytes,3,rep,name=extra_ldflag,json=extraLdflag" json:"extra_ldflag,omitempty"`
	// contains filtered or unexported fields
}

func (*CBuilder) Descriptor deprecated

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

Deprecated: Use CBuilder.ProtoReflect.Descriptor instead.

func (*CBuilder) GetAutoreconf

func (x *CBuilder) GetAutoreconf() bool

func (*CBuilder) GetExtraConfigureFlag

func (x *CBuilder) GetExtraConfigureFlag() []string

func (*CBuilder) GetExtraLdflag

func (x *CBuilder) GetExtraLdflag() []string

func (*CBuilder) GetExtraMakeFlag

func (x *CBuilder) GetExtraMakeFlag() []string

func (*CBuilder) ProtoMessage

func (*CBuilder) ProtoMessage()

func (*CBuilder) ProtoReflect

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

func (*CBuilder) Reset

func (x *CBuilder) Reset()

func (*CBuilder) String

func (x *CBuilder) String() string

type CMakeBuilder

type CMakeBuilder struct {

	// Additional flag to pass to cmake(1), e.g.:
	// extra_cmake_flag: "-DKICAD_SCRIPTING_WXPYTHON_PHOENIX:BOOL=true"
	ExtraCmakeFlag []string `protobuf:"bytes,1,rep,name=extra_cmake_flag,json=extraCmakeFlag" json:"extra_cmake_flag,omitempty"`
	// contains filtered or unexported fields
}

func (*CMakeBuilder) Descriptor deprecated

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

Deprecated: Use CMakeBuilder.ProtoReflect.Descriptor instead.

func (*CMakeBuilder) GetExtraCmakeFlag

func (x *CMakeBuilder) GetExtraCmakeFlag() []string

func (*CMakeBuilder) ProtoMessage

func (*CMakeBuilder) ProtoMessage()

func (*CMakeBuilder) ProtoReflect

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

func (*CMakeBuilder) Reset

func (x *CMakeBuilder) Reset()

func (*CMakeBuilder) String

func (x *CMakeBuilder) String() string

type Claim

type Claim struct {

	// glob pattern, interpreted by Go’s
	// https://golang.org/pkg/path/filepath/#Glob
	Glob *string `protobuf:"bytes,1,opt,name=glob" json:"glob,omitempty"` // required
	// Overwrite the destination directory within the split package.
	Dir *string `protobuf:"bytes,2,opt,name=dir" json:"dir,omitempty"`
	// contains filtered or unexported fields
}

func (*Claim) Descriptor deprecated

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

Deprecated: Use Claim.ProtoReflect.Descriptor instead.

func (*Claim) GetDir

func (x *Claim) GetDir() string

func (*Claim) GetGlob

func (x *Claim) GetGlob() string

func (*Claim) ProtoMessage

func (*Claim) ProtoMessage()

func (*Claim) ProtoReflect

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

func (*Claim) Reset

func (x *Claim) Reset()

func (*Claim) String

func (x *Claim) String() string

type FUSEClient

type FUSEClient interface {
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingReply, error)
	// MkdirAll creates the specified directory in the root of the mountpoint
	// (e.g. /ro/systemd-amd64-239). This is useful for bind-mounting
	// DESTDIR/PREFIX to PREFIX when building packages.
	MkdirAll(ctx context.Context, in *MkdirAllRequest, opts ...grpc.CallOption) (*MkdirAllReply, error)
	// ScanPackages discovers new packages in the mounted repository. This is
	// called by “distri install”.
	ScanPackages(ctx context.Context, in *ScanPackagesRequest, opts ...grpc.CallOption) (*ScanPackagesReply, error)
}

FUSEClient is the client API for FUSE service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewFUSEClient

func NewFUSEClient(cc grpc.ClientConnInterface) FUSEClient

type FUSEServer

type FUSEServer interface {
	Ping(context.Context, *PingRequest) (*PingReply, error)
	// MkdirAll creates the specified directory in the root of the mountpoint
	// (e.g. /ro/systemd-amd64-239). This is useful for bind-mounting
	// DESTDIR/PREFIX to PREFIX when building packages.
	MkdirAll(context.Context, *MkdirAllRequest) (*MkdirAllReply, error)
	// ScanPackages discovers new packages in the mounted repository. This is
	// called by “distri install”.
	ScanPackages(context.Context, *ScanPackagesRequest) (*ScanPackagesReply, error)
}

FUSEServer is the server API for FUSE service.

type GoBuilder

type GoBuilder struct {

	// Additional flags to pass to “go install”, e.g. “./...” or “cmd/distri”.
	Install *string `protobuf:"bytes,1,opt,name=install" json:"install,omitempty"`
	// Import path of the package that is being built,
	// e.g. “github.com/junegunn/fzf”.
	//
	// Derived from the source URL by default; should usually not be specified.
	ImportPath *string `protobuf:"bytes,2,opt,name=import_path,json=importPath" json:"import_path,omitempty"`
	// Additional go environment variable to set when calling e.g. “go install”.
	// E.g. go_env: "CGO_ENABLED=0"
	GoEnv []string `protobuf:"bytes,3,rep,name=go_env,json=goEnv" json:"go_env,omitempty"`
	// contains filtered or unexported fields
}

func (*GoBuilder) Descriptor deprecated

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

Deprecated: Use GoBuilder.ProtoReflect.Descriptor instead.

func (*GoBuilder) GetGoEnv

func (x *GoBuilder) GetGoEnv() []string

func (*GoBuilder) GetImportPath

func (x *GoBuilder) GetImportPath() string

func (*GoBuilder) GetInstall

func (x *GoBuilder) GetInstall() string

func (*GoBuilder) ProtoMessage

func (*GoBuilder) ProtoMessage()

func (*GoBuilder) ProtoReflect

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

func (*GoBuilder) Reset

func (x *GoBuilder) Reset()

func (*GoBuilder) String

func (x *GoBuilder) String() string

type GomodBuilder

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

func (*GomodBuilder) Descriptor deprecated

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

Deprecated: Use GomodBuilder.ProtoReflect.Descriptor instead.

func (*GomodBuilder) ProtoMessage

func (*GomodBuilder) ProtoMessage()

func (*GomodBuilder) ProtoReflect

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

func (*GomodBuilder) Reset

func (x *GomodBuilder) Reset()

func (*GomodBuilder) String

func (x *GomodBuilder) String() string

type Install

type Install struct {
	SystemdUnit []string `protobuf:"bytes,1,rep,name=systemd_unit,json=systemdUnit" json:"systemd_unit,omitempty"`
	// Create a symbolic link.
	Symlink []*Install_Symlink `protobuf:"bytes,2,rep,name=symlink" json:"symlink,omitempty"`
	// Create an empty directory with the specified name.
	EmptyDir []string `protobuf:"bytes,3,rep,name=empty_dir,json=emptyDir" json:"empty_dir,omitempty"` // relative to ${DISTRI_PREFIX}/out
	// Change the mode of a file.
	Chmod []*Install_Chmod `protobuf:"bytes,4,rep,name=chmod" json:"chmod,omitempty"`
	// Apply a file-based capability.
	Capability []*Install_Cap `protobuf:"bytes,5,rep,name=capability" json:"capability,omitempty"`
	// Install a file.
	File []*Install_File `protobuf:"bytes,6,rep,name=file" json:"file,omitempty"`
	// Rename an installed file.
	Rename []*Install_Rename `protobuf:"bytes,7,rep,name=rename" json:"rename,omitempty"`
	// Delete a file.
	Delete []string `protobuf:"bytes,8,rep,name=delete" json:"delete,omitempty"` // relative to ${DISTRI_PREFIX}/out
	// contains filtered or unexported fields
}

func (*Install) Descriptor deprecated

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

Deprecated: Use Install.ProtoReflect.Descriptor instead.

func (*Install) GetCapability

func (x *Install) GetCapability() []*Install_Cap

func (*Install) GetChmod

func (x *Install) GetChmod() []*Install_Chmod

func (*Install) GetDelete

func (x *Install) GetDelete() []string

func (*Install) GetEmptyDir

func (x *Install) GetEmptyDir() []string

func (*Install) GetFile

func (x *Install) GetFile() []*Install_File

func (*Install) GetRename

func (x *Install) GetRename() []*Install_Rename
func (x *Install) GetSymlink() []*Install_Symlink

func (*Install) GetSystemdUnit

func (x *Install) GetSystemdUnit() []string

func (*Install) ProtoMessage

func (*Install) ProtoMessage()

func (*Install) ProtoReflect

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

func (*Install) Reset

func (x *Install) Reset()

func (*Install) String

func (x *Install) String() string

type Install_Cap

type Install_Cap struct {
	Capability *string `protobuf:"bytes,2,opt,name=capability" json:"capability,omitempty"` // specified in cap_from_text(3)
	Filename   *string `protobuf:"bytes,1,opt,name=filename" json:"filename,omitempty"`     // relative to ${DISTRI_PREFIX}
	// contains filtered or unexported fields
}

func (*Install_Cap) Descriptor deprecated

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

Deprecated: Use Install_Cap.ProtoReflect.Descriptor instead.

func (*Install_Cap) GetCapability

func (x *Install_Cap) GetCapability() string

func (*Install_Cap) GetFilename

func (x *Install_Cap) GetFilename() string

func (*Install_Cap) ProtoMessage

func (*Install_Cap) ProtoMessage()

func (*Install_Cap) ProtoReflect

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

func (*Install_Cap) Reset

func (x *Install_Cap) Reset()

func (*Install_Cap) String

func (x *Install_Cap) String() string

type Install_Chmod

type Install_Chmod struct {

	// Whether to set the setuid bit.
	Setuid *bool `protobuf:"varint,1,opt,name=setuid" json:"setuid,omitempty"`
	// TODO: rename to filename for consistency
	// The filename of the file whose mode to change
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // relative to ${DISTRI_PREFIX}/out
	// contains filtered or unexported fields
}

func (*Install_Chmod) Descriptor deprecated

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

Deprecated: Use Install_Chmod.ProtoReflect.Descriptor instead.

func (*Install_Chmod) GetName

func (x *Install_Chmod) GetName() string

func (*Install_Chmod) GetSetuid

func (x *Install_Chmod) GetSetuid() bool

func (*Install_Chmod) ProtoMessage

func (*Install_Chmod) ProtoMessage()

func (*Install_Chmod) ProtoReflect

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

func (*Install_Chmod) Reset

func (x *Install_Chmod) Reset()

func (*Install_Chmod) String

func (x *Install_Chmod) String() string

type Install_File

type Install_File struct {
	Srcpath  *string `protobuf:"bytes,1,opt,name=srcpath" json:"srcpath,omitempty"`   // relative to ${DISTRI_SOURCEDIR}
	Destpath *string `protobuf:"bytes,2,opt,name=destpath" json:"destpath,omitempty"` // relative to ${DISTRI_PREFIX}
	// contains filtered or unexported fields
}

func (*Install_File) Descriptor deprecated

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

Deprecated: Use Install_File.ProtoReflect.Descriptor instead.

func (*Install_File) GetDestpath

func (x *Install_File) GetDestpath() string

func (*Install_File) GetSrcpath

func (x *Install_File) GetSrcpath() string

func (*Install_File) ProtoMessage

func (*Install_File) ProtoMessage()

func (*Install_File) ProtoReflect

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

func (*Install_File) Reset

func (x *Install_File) Reset()

func (*Install_File) String

func (x *Install_File) String() string

type Install_Rename

type Install_Rename struct {
	Oldname *string `protobuf:"bytes,1,opt,name=oldname" json:"oldname,omitempty"` // relative to ${DISTRI_PREFIX}/out
	Newname *string `protobuf:"bytes,2,opt,name=newname" json:"newname,omitempty"` // relative to ${DISTRI_PREFIX}/out
	// contains filtered or unexported fields
}

func (*Install_Rename) Descriptor deprecated

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

Deprecated: Use Install_Rename.ProtoReflect.Descriptor instead.

func (*Install_Rename) GetNewname

func (x *Install_Rename) GetNewname() string

func (*Install_Rename) GetOldname

func (x *Install_Rename) GetOldname() string

func (*Install_Rename) ProtoMessage

func (*Install_Rename) ProtoMessage()

func (*Install_Rename) ProtoReflect

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

func (*Install_Rename) Reset

func (x *Install_Rename) Reset()

func (*Install_Rename) String

func (x *Install_Rename) String() string
type Install_Symlink struct {

	// The symbolic link target.
	Oldname *string `protobuf:"bytes,1,opt,name=oldname" json:"oldname,omitempty"`
	// The filename of the symbolic link to create.
	Newname *string `protobuf:"bytes,2,opt,name=newname" json:"newname,omitempty"` // relative to ${DISTRI_PREFIX}/out
	// contains filtered or unexported fields
}

func (*Install_Symlink) Descriptor deprecated

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

Deprecated: Use Install_Symlink.ProtoReflect.Descriptor instead.

func (*Install_Symlink) GetNewname

func (x *Install_Symlink) GetNewname() string

func (*Install_Symlink) GetOldname

func (x *Install_Symlink) GetOldname() string

func (*Install_Symlink) ProtoMessage

func (*Install_Symlink) ProtoMessage()

func (*Install_Symlink) ProtoReflect

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

func (*Install_Symlink) Reset

func (x *Install_Symlink) Reset()

func (*Install_Symlink) String

func (x *Install_Symlink) String() string

type MesonBuilder

type MesonBuilder struct {

	// Additional flag to pass to meson(1), e.g.:
	// extra_meson_flag: "-Dsystemdsystemunitdir=${DISTRI_PREFIX}/lib/systemd/system"
	ExtraMesonFlag []string `protobuf:"bytes,1,rep,name=extra_meson_flag,json=extraMesonFlag" json:"extra_meson_flag,omitempty"`
	// contains filtered or unexported fields
}

func (*MesonBuilder) Descriptor deprecated

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

Deprecated: Use MesonBuilder.ProtoReflect.Descriptor instead.

func (*MesonBuilder) GetExtraMesonFlag

func (x *MesonBuilder) GetExtraMesonFlag() []string

func (*MesonBuilder) ProtoMessage

func (*MesonBuilder) ProtoMessage()

func (*MesonBuilder) ProtoReflect

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

func (*MesonBuilder) Reset

func (x *MesonBuilder) Reset()

func (*MesonBuilder) String

func (x *MesonBuilder) String() string

type Meta

type Meta struct {

	// Transitive closure of runtime dependency package names. E.g.:
	// ["glibc-amd64-2.31-4", "pam-amd64-1.3.1-11"]
	RuntimeDep []string `protobuf:"bytes,1,rep,name=runtime_dep,json=runtimeDep" json:"runtime_dep,omitempty"`
	// The source package from which this package was built. Useful to tie
	// split packages back to their source, and for globbing versions.
	SourcePkg *string `protobuf:"bytes,2,opt,name=source_pkg,json=sourcePkg" json:"source_pkg,omitempty"`
	// The version of the package. In some contexts, the version is already
	// included in the filename, but not when e.g. “distri install” is obtaining
	// meta.textproto files by accessing a symbolic link.
	Version *string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
	// Runtime union directories are used to implement per-package exchange
	// directories (as opposed to global exchange directories). This is to be used
	// for tight coupling situations, e.g. when a plugin mechanism does not
	// guarantee ABI compatibility across versions.
	RuntimeUnion []*Union `protobuf:"bytes,4,rep,name=runtime_union,json=runtimeUnion" json:"runtime_union,omitempty"`
	// Opaque (printable) digest of all inputs to this build. Used by e.g. distri
	// batch to figure out what to rebuild.
	InputDigest *string `protobuf:"bytes,5,opt,name=input_digest,json=inputDigest" json:"input_digest,omitempty"`
	// contains filtered or unexported fields
}

func ReadMetaFile

func ReadMetaFile(path string) (*Meta, error)

func (*Meta) Descriptor deprecated

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

Deprecated: Use Meta.ProtoReflect.Descriptor instead.

func (*Meta) GetInputDigest

func (x *Meta) GetInputDigest() string

func (*Meta) GetRuntimeDep

func (x *Meta) GetRuntimeDep() []string

func (*Meta) GetRuntimeUnion

func (x *Meta) GetRuntimeUnion() []*Union

func (*Meta) GetSourcePkg

func (x *Meta) GetSourcePkg() string

func (*Meta) GetVersion

func (x *Meta) GetVersion() string

func (*Meta) ProtoMessage

func (*Meta) ProtoMessage()

func (*Meta) ProtoReflect

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

func (*Meta) Reset

func (x *Meta) Reset()

func (*Meta) String

func (x *Meta) String() string

type MirrorMeta

type MirrorMeta struct {
	Package []*MirrorMeta_Package `protobuf:"bytes,1,rep,name=package" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*MirrorMeta) Descriptor deprecated

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

Deprecated: Use MirrorMeta.ProtoReflect.Descriptor instead.

func (*MirrorMeta) GetPackage

func (x *MirrorMeta) GetPackage() []*MirrorMeta_Package

func (*MirrorMeta) ProtoMessage

func (*MirrorMeta) ProtoMessage()

func (*MirrorMeta) ProtoReflect

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

func (*MirrorMeta) Reset

func (x *MirrorMeta) Reset()

func (*MirrorMeta) String

func (x *MirrorMeta) String() string

type MirrorMeta_Package

type MirrorMeta_Package struct {
	Name          *string  `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	WellKnownPath []string `protobuf:"bytes,2,rep,name=well_known_path,json=wellKnownPath" json:"well_known_path,omitempty"`
	// contains filtered or unexported fields
}

func (*MirrorMeta_Package) Descriptor deprecated

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

Deprecated: Use MirrorMeta_Package.ProtoReflect.Descriptor instead.

func (*MirrorMeta_Package) GetName

func (x *MirrorMeta_Package) GetName() string

func (*MirrorMeta_Package) GetWellKnownPath

func (x *MirrorMeta_Package) GetWellKnownPath() []string

func (*MirrorMeta_Package) ProtoMessage

func (*MirrorMeta_Package) ProtoMessage()

func (*MirrorMeta_Package) ProtoReflect

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

func (*MirrorMeta_Package) Reset

func (x *MirrorMeta_Package) Reset()

func (*MirrorMeta_Package) String

func (x *MirrorMeta_Package) String() string

type MkdirAllReply

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

func (*MkdirAllReply) Descriptor deprecated

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

Deprecated: Use MkdirAllReply.ProtoReflect.Descriptor instead.

func (*MkdirAllReply) ProtoMessage

func (*MkdirAllReply) ProtoMessage()

func (*MkdirAllReply) ProtoReflect

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

func (*MkdirAllReply) Reset

func (x *MkdirAllReply) Reset()

func (*MkdirAllReply) String

func (x *MkdirAllReply) String() string

type MkdirAllRequest

type MkdirAllRequest struct {
	Dir *string `protobuf:"bytes,1,opt,name=dir" json:"dir,omitempty"`
	// contains filtered or unexported fields
}

func (*MkdirAllRequest) Descriptor deprecated

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

Deprecated: Use MkdirAllRequest.ProtoReflect.Descriptor instead.

func (*MkdirAllRequest) GetDir

func (x *MkdirAllRequest) GetDir() string

func (*MkdirAllRequest) ProtoMessage

func (*MkdirAllRequest) ProtoMessage()

func (*MkdirAllRequest) ProtoReflect

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

func (*MkdirAllRequest) Reset

func (x *MkdirAllRequest) Reset()

func (*MkdirAllRequest) String

func (x *MkdirAllRequest) String() string

type PerlBuilder

type PerlBuilder struct {

	// Extra flags to be specified when running Makefile.PL, e.g.
	// EXPATLIBPATH=/ro/expat-2.2.6/buildoutput/lib
	ExtraMakefileFlag []string `protobuf:"bytes,1,rep,name=extra_makefile_flag,json=extraMakefileFlag" json:"extra_makefile_flag,omitempty"`
	// contains filtered or unexported fields
}

func (*PerlBuilder) Descriptor deprecated

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

Deprecated: Use PerlBuilder.ProtoReflect.Descriptor instead.

func (*PerlBuilder) GetExtraMakefileFlag

func (x *PerlBuilder) GetExtraMakefileFlag() []string

func (*PerlBuilder) ProtoMessage

func (*PerlBuilder) ProtoMessage()

func (*PerlBuilder) ProtoReflect

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

func (*PerlBuilder) Reset

func (x *PerlBuilder) Reset()

func (*PerlBuilder) String

func (x *PerlBuilder) String() string

type PingReply

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

func (*PingReply) Descriptor deprecated

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

Deprecated: Use PingReply.ProtoReflect.Descriptor instead.

func (*PingReply) ProtoMessage

func (*PingReply) ProtoMessage()

func (*PingReply) ProtoReflect

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

func (*PingReply) Reset

func (x *PingReply) Reset()

func (*PingReply) String

func (x *PingReply) String() string

type PingRequest

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

func (*PingRequest) Descriptor deprecated

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

Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) ProtoReflect

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

func (*PingRequest) Reset

func (x *PingRequest) Reset()

func (*PingRequest) String

func (x *PingRequest) String() string

type Pull

type Pull struct {

	// URL (https:// preferred, http:// accepted) to a Debian repository Packages
	// file. E.g. https://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages
	DebianPackages *string `protobuf:"bytes,1,opt,name=debian_packages,json=debianPackages" json:"debian_packages,omitempty"`
	// URL (https:// preferred, http:// accepted) to a page listing at least the
	// latest release (or multiple releases).
	ReleasesUrl *string `protobuf:"bytes,2,opt,name=releases_url,json=releasesUrl" json:"releases_url,omitempty"`
	// Go regexp (see https://golang.org/pkg/regexp/) for matching upstream
	// releases. The first capture group is expected to capture the upstream
	// version number.
	ReleaseRegexp *string `protobuf:"bytes,3,opt,name=release_regexp,json=releaseRegexp" json:"release_regexp,omitempty"`
	// Go regexp (see https://golang.org/pkg/regexp/) for replacing matches in the
	// version number. Can be used e.g. to convert _ to . (see pkgs/nss).
	ReleaseReplaceAll *RegexpReplaceAll `protobuf:"bytes,4,opt,name=release_replace_all,json=releaseReplaceAll" json:"release_replace_all,omitempty"`
	// Enforce version numbers to conform to SemVer by filtering out non-conforming
	// version numbers. This is useful for projects which have now committed to
	// SemVer but have previous, non-conforming releases still available.
	ForceSemver *bool `protobuf:"varint,5,opt,name=force_semver,json=forceSemver" json:"force_semver,omitempty"`
	// contains filtered or unexported fields
}

func (*Pull) Descriptor deprecated

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

Deprecated: Use Pull.ProtoReflect.Descriptor instead.

func (*Pull) GetDebianPackages

func (x *Pull) GetDebianPackages() string

func (*Pull) GetForceSemver

func (x *Pull) GetForceSemver() bool

func (*Pull) GetReleaseRegexp

func (x *Pull) GetReleaseRegexp() string

func (*Pull) GetReleaseReplaceAll

func (x *Pull) GetReleaseReplaceAll() *RegexpReplaceAll

func (*Pull) GetReleasesUrl

func (x *Pull) GetReleasesUrl() string

func (*Pull) ProtoMessage

func (*Pull) ProtoMessage()

func (*Pull) ProtoReflect

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

func (*Pull) Reset

func (x *Pull) Reset()

func (*Pull) String

func (x *Pull) String() string

type PythonBuilder

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

func (*PythonBuilder) Descriptor deprecated

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

Deprecated: Use PythonBuilder.ProtoReflect.Descriptor instead.

func (*PythonBuilder) ProtoMessage

func (*PythonBuilder) ProtoMessage()

func (*PythonBuilder) ProtoReflect

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

func (*PythonBuilder) Reset

func (x *PythonBuilder) Reset()

func (*PythonBuilder) String

func (x *PythonBuilder) String() string

type RegexpReplaceAll

type RegexpReplaceAll struct {
	Expr *string `protobuf:"bytes,1,opt,name=expr" json:"expr,omitempty"`
	Repl *string `protobuf:"bytes,2,opt,name=repl" json:"repl,omitempty"`
	// contains filtered or unexported fields
}

func (*RegexpReplaceAll) Descriptor deprecated

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

Deprecated: Use RegexpReplaceAll.ProtoReflect.Descriptor instead.

func (*RegexpReplaceAll) GetExpr

func (x *RegexpReplaceAll) GetExpr() string

func (*RegexpReplaceAll) GetRepl

func (x *RegexpReplaceAll) GetRepl() string

func (*RegexpReplaceAll) ProtoMessage

func (*RegexpReplaceAll) ProtoMessage()

func (*RegexpReplaceAll) ProtoReflect

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

func (*RegexpReplaceAll) Reset

func (x *RegexpReplaceAll) Reset()

func (*RegexpReplaceAll) String

func (x *RegexpReplaceAll) String() string

type ScanPackagesReply

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

func (*ScanPackagesReply) Descriptor deprecated

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

Deprecated: Use ScanPackagesReply.ProtoReflect.Descriptor instead.

func (*ScanPackagesReply) ProtoMessage

func (*ScanPackagesReply) ProtoMessage()

func (*ScanPackagesReply) ProtoReflect

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

func (*ScanPackagesReply) Reset

func (x *ScanPackagesReply) Reset()

func (*ScanPackagesReply) String

func (x *ScanPackagesReply) String() string

type ScanPackagesRequest

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

func (*ScanPackagesRequest) Descriptor deprecated

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

Deprecated: Use ScanPackagesRequest.ProtoReflect.Descriptor instead.

func (*ScanPackagesRequest) ProtoMessage

func (*ScanPackagesRequest) ProtoMessage()

func (*ScanPackagesRequest) ProtoReflect

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

func (*ScanPackagesRequest) Reset

func (x *ScanPackagesRequest) Reset()

func (*ScanPackagesRequest) String

func (x *ScanPackagesRequest) String() string

type SplitPackage

type SplitPackage struct {

	// Name of the split package, e.g. gcc-libs
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // required
	// A claim specifies which files this split package claims for itself.
	Claim []*Claim `protobuf:"bytes,3,rep,name=claim" json:"claim,omitempty"` // required
	// Additional run-time dependencies which are not automatically found, for
	// this split package.
	RuntimeDep []string `protobuf:"bytes,2,rep,name=runtime_dep,json=runtimeDep" json:"runtime_dep,omitempty"`
	// contains filtered or unexported fields
}

func (*SplitPackage) Descriptor deprecated

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

Deprecated: Use SplitPackage.ProtoReflect.Descriptor instead.

func (*SplitPackage) GetClaim

func (x *SplitPackage) GetClaim() []*Claim

func (*SplitPackage) GetName

func (x *SplitPackage) GetName() string

func (*SplitPackage) GetRuntimeDep

func (x *SplitPackage) GetRuntimeDep() []string

func (*SplitPackage) ProtoMessage

func (*SplitPackage) ProtoMessage()

func (*SplitPackage) ProtoReflect

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

func (*SplitPackage) Reset

func (x *SplitPackage) Reset()

func (*SplitPackage) String

func (x *SplitPackage) String() string

type UnimplementedFUSEServer

type UnimplementedFUSEServer struct {
}

UnimplementedFUSEServer can be embedded to have forward compatible implementations.

func (*UnimplementedFUSEServer) MkdirAll

func (*UnimplementedFUSEServer) Ping

func (*UnimplementedFUSEServer) ScanPackages

type Union

type Union struct {

	// Directory (within the package) to overlay on top of pkg,
	// e.g. “out/lib/irssi/modules”
	Dir *string `protobuf:"bytes,1,opt,name=dir" json:"dir,omitempty"` // required
	// distri package on top of which to overlay our files, e.g. “irssi”
	Pkg *string `protobuf:"bytes,2,opt,name=pkg" json:"pkg,omitempty"` // required
	// contains filtered or unexported fields
}

func (*Union) Descriptor deprecated

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

Deprecated: Use Union.ProtoReflect.Descriptor instead.

func (*Union) GetDir

func (x *Union) GetDir() string

func (*Union) GetPkg

func (x *Union) GetPkg() string

func (*Union) ProtoMessage

func (*Union) ProtoMessage()

func (*Union) ProtoReflect

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

func (*Union) Reset

func (x *Union) Reset()

func (*Union) String

func (x *Union) String() string

Directories

Path Synopsis
Package builder defines a gRPC protocol to leverage remote compute resources in a distri build.
Package builder defines a gRPC protocol to leverage remote compute resources in a distri build.

Jump to

Keyboard shortcuts

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