Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder(config types.AppConfig, registry *common.ImageRegistry, scheduler *scheduler.Scheduler, tailscale *network.Tailscale, containerRepo repository.ContainerRepository) (*Builder, error)
func (*Builder) Build ¶
func (b *Builder) Build(ctx context.Context, opts *BuildOpts, outputChan chan common.OutputMsg) error
Build user image
type ImageIdHash ¶
type ImageService ¶
type ImageService interface { pb.ImageServiceServer VerifyImageBuild(ctx context.Context, in *pb.VerifyImageBuildRequest) (*pb.VerifyImageBuildResponse, error) BuildImage(in *pb.BuildImageRequest, stream pb.ImageService_BuildImageServer) error }
func NewRuncImageService ¶
func NewRuncImageService( ctx context.Context, opts ImageServiceOpts, ) (ImageService, error)
type ImageServiceOpts ¶
type ImageServiceOpts struct { Config types.AppConfig ContainerRepo repository.ContainerRepository Scheduler *scheduler.Scheduler Tailscale *network.Tailscale }
type RuncImageService ¶
type RuncImageService struct { pb.UnimplementedImageServiceServer // contains filtered or unexported fields }
func (*RuncImageService) BuildImage ¶
func (is *RuncImageService) BuildImage(in *pb.BuildImageRequest, stream pb.ImageService_BuildImageServer) error
func (*RuncImageService) VerifyImageBuild ¶
func (is *RuncImageService) VerifyImageBuild(ctx context.Context, in *pb.VerifyImageBuildRequest) (*pb.VerifyImageBuildResponse, error)
Click to show internal directories.
Click to hide internal directories.