Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegisterBuildData ¶
type RegisterBuildData struct {
ClusterID uuid.UUID
TemplateID api.TemplateID
UserID *uuid.UUID
Team *types.Team
Dockerfile string
Alias *string
Tags []string
StartCmd *string
ReadyCmd *string
CpuCount *int32
MemoryMB *int32
Version string
// TODO(ENG-3852): Remove once the template manager resolves the kernel and firecracker versions itself.
//
// Deprecated: Template manager should use its own.
KernelVersion string
// Deprecated: Template manager should use its own.
FirecrackerVersion string
}
type RegisterBuildResponse ¶
type RegisterBuildResponse struct {
TemplateID string
BuildID string
Aliases []string
Names []string
Tags []string
}
func RegisterBuild ¶
func RegisterBuild( ctx context.Context, templateCache *templatecache.TemplateCache, db *sqlcdb.Client, data RegisterBuildData, ) (*RegisterBuildResponse, *api.APIError)
Click to show internal directories.
Click to hide internal directories.