Documentation ¶
Index ¶
- func New(p Projects, telemetry *telemetry.Telemetry) sdkservices.Projects
- type Projects
- func (ps *Projects) Build(ctx context.Context, projectID sdktypes.ProjectID) (sdktypes.BuildID, error)
- func (ps *Projects) Create(ctx context.Context, project sdktypes.Project) (sdktypes.ProjectID, error)
- func (ps *Projects) Delete(ctx context.Context, pid sdktypes.ProjectID) error
- func (ps *Projects) DownloadResources(ctx context.Context, projectID sdktypes.ProjectID) (map[string][]byte, error)
- func (ps *Projects) Export(ctx context.Context, projectID sdktypes.ProjectID) ([]byte, error)
- func (ps *Projects) GetByID(ctx context.Context, pid sdktypes.ProjectID) (sdktypes.Project, error)
- func (ps *Projects) GetByName(ctx context.Context, n sdktypes.Symbol) (sdktypes.Project, error)
- func (ps *Projects) List(ctx context.Context) ([]sdktypes.Project, error)
- func (ps *Projects) SetResources(ctx context.Context, projectID sdktypes.ProjectID, resources map[string][]byte) error
- func (ps *Projects) Update(ctx context.Context, project sdktypes.Project) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Projects ¶
type Projects struct { fx.In Z *zap.Logger DB db.DB Builds sdkservices.Builds Runtimes sdkservices.Runtimes Integrations sdkservices.Integrations }
func (*Projects) DownloadResources ¶
func (*Projects) SetResources ¶
Click to show internal directories.
Click to hide internal directories.