carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1package release
2
3import (
4 "context"
5
6 "github.com/carlosframework/platform/internal/registry"
7)
8
9// Plan 5 of the zero-downtime deploys work consumes these names from plan
10// 4 and from main. See internal/activator/zdd5_surface_test.go for what to
11// do when this file does not compile.
12var (
13 _ func(context.Context, Store, string, string, string, string, string) (string, string, error) = CanonicalDemand
14 _ = StagedIdentity{Version: "", StagedPath: "", Digest: "", Demand: ""}
15 _ = Manifest{Swap: DemandHold}
16 _ = ErrStagedDigestMismatch
17 _ func(registry.Route) bool = SidecarAdoptable
18
19 _ = Generations{Schema: 1, Hosts: map[string][]string{}}
20 _ func(string) string = GenerationsPath
21 _ func(string) (*Generations, error) = ReadGenerations
22 _ func(string, Generations) error = WriteGenerations
23 _ func(string, func() ([]registry.Route, error)) PinSource = GenerationPins
24 _ func(string, []registry.Route) (StagedPaths, error) = BoxPins
25 _ func(string) (string, error) = FileSHA256
26 _ func(string, string) (*Refusal, error) = ReadRefusal // main, 9e628024
27 _ = ChannelPointer{}.PromotedAt
28 _ = Refusal{}.Version
29
30 // Added by the controller: plan 4's sweep pin reader.
31 _ func(string, string) (map[string]bool, error) = GenerationVersions
32)
33