Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RunCrane (0.09 sec)

  1. tools/docker-builder/crane.go

    // pushing all images drops to sub-second times, with the registry being the bottleneck (which could
    // also use sha256-simd possibly).
    func RunCrane(ctx context.Context, a Args) error {
    	ctx, span := tracing.Start(ctx, "RunCrane")
    	defer span.End()
    	g := errgroup.Group{}
    
    	variants := sets.New(a.Variants...)
    	// hasDoubleDefault checks if we defined both DefaultVariant and PrimaryVariant. If we did, these
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 01:07:39 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. tools/docker-builder/builder/crane.go

    	name string
    }
    
    var (
    	bases   = map[baseKey]v1.Image{}
    	basesMu sync.RWMutex
    )
    
    func WarmBase(ctx context.Context, architectures []string, baseImages ...string) {
    	_, span := tracing.Start(ctx, "RunCrane")
    	defer span.End()
    	basesMu.Lock()
    	wg := sync.WaitGroup{}
    	wg.Add(len(baseImages) * len(architectures))
    	resolvedBaseImages := make([]v1.Image, len(baseImages)*len(architectures))
    	keys := []baseKey{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 01:07:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. tools/docker-builder/main.go

    		// The crane builder is much faster but less tested.
    		// Neither builder is doing standard logic; see each builder for details.
    		if args.Builder == CraneBuilder {
    			return RunCrane(ctx, args)
    		}
    
    		return RunDocker(args)
    	},
    }
    
    func ValidateArgs(a Args) error {
    	if len(a.Targets) == 0 {
    		return fmt.Errorf("no targets specified")
    	}
    	if a.Push && a.Save {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 13:23:41 UTC 2023
    - 10K bytes
    - Viewed (0)
Back to top