Versions in this module Expand all Collapse all v0 v0.9.1 Dec 2, 2020 Changes in this version + const DefaultServiceManifestFilename + var ErrServiceNotFound = errors.New("not found") + func DecideRevisionName(sm ServiceManifest, commit string) (string, error) + func FindImageTag(sm ServiceManifest) (string, error) + type Client interface + Apply func(ctx context.Context, sm ServiceManifest) (*Service, error) + List func(ctx context.Context) error + type Registry interface + Client func(ctx context.Context, name string, cfg *config.CloudProviderCloudRunConfig, ...) (Client, error) + func DefaultRegistry() Registry + type RevisionTraffic struct + Percent int + RevisionName string + type Service run.Service + type ServiceManifest struct + Name string + func LoadServiceManifest(appDir, serviceFilename string) (ServiceManifest, error) + func ParseServiceManifest(data []byte) (ServiceManifest, error) + func (m ServiceManifest) SetRevision(name string) error + func (m ServiceManifest) UpdateAllTraffic(revision string) error + func (m ServiceManifest) UpdateTraffic(revisions []RevisionTraffic) error + func (m ServiceManifest) YamlBytes() ([]byte, error) + type ServiceManifestCache struct + AppID string + Cache cache.Cache + Logger *zap.Logger + func (c ServiceManifestCache) Get(commit string) (ServiceManifest, bool) + func (c ServiceManifestCache) Put(commit string, sm ServiceManifest)