Documentation
¶
Index ¶
- Variables
- func BuildBeacon(cli *client.Client, req *clientpb.Generate) error
- func BuildBind(cli *client.Client, req *clientpb.Generate) error
- func BuildModules(cli *client.Client, req *clientpb.Generate) error
- func BuildPrelude(cli *client.Client, req *clientpb.Generate) error
- func BuildPulse(cli *client.Client, req *clientpb.Generate) error
- func GenerateProfile(req *clientpb.Generate) error
- func GetDockerClient() (*client.Client, error)
- func MaleficSRDI(src, dst, platform, arch, funcName, dataPath string) ([]byte, error)
- func MoveBuildOutput(target, buildType string) (string, string, error)
- func NewMaleficSRDIArtifact(name, src, platform, arch, stage, funcName, dataPath string) (*models.Builder, []byte, error)
- func SaveArtifact(dst string, bin []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NameSpace = "ghcr.io/chainreactors" Tag = "nightly-2023-09-18-latest" ContainerSourceCodePath = "/root/src" ContainerCargoRegistryCache = "/root/cargo/registry" ContainerCargoGitCache = "/root/cargo/git" ContainerBinPath = "/root/bin" LocalMutantPath = filepath.Join(configs.BinPath, "malefic-mutant") SourceCodeVolume = fmt.Sprintf("%s:%s", filepath.ToSlash(sourcePath), ContainerSourceCodePath) CargoRegistryCacheVolume = fmt.Sprintf("%s:%s", filepath.ToSlash(registryPath), ContainerCargoRegistryCache) CargoGitCacheVolume = fmt.Sprintf("%s:%s", filepath.ToSlash(gitPath), ContainerCargoGitCache) BinPathVolume = fmt.Sprintf("%s:%s", filepath.ToSlash(binPath), ContainerBinPath) Volumes = []string{SourceCodeVolume, CargoRegistryCacheVolume, CargoGitCacheVolume, BinPathVolume} )
Functions ¶
func GenerateProfile ¶
func GetDockerClient ¶
func MaleficSRDI ¶
func NewMaleficSRDIArtifact ¶
func SaveArtifact ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.