types

package
v2.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	Name          string            `yaml:"name" yamltags:"required"`
	Context       string            `yaml:"context" yamltags:"required"`
	Dev           Dev               `yaml:"dev" yamltags:"required"`
	DevIterations int64             `yaml:"devIterations" yamltags:"required"`
	Labels        map[string]string `yaml:"labels" yamltags:"required"`
}

Application represends a single test application

type ComparisonStatsCmdArgs

type ComparisonStatsCmdArgs struct {
	SkaffoldBinaries []string
	ExampleAppName   string
	ExampleSrcFile   string
	CommentText      string
}

func ParseComparisonStatsCmdArgs

func ParseComparisonStatsCmdArgs(args []string) ComparisonStatsCmdArgs

type ComparisonStatsSummary

type ComparisonStatsSummary struct {
	BinaryPath            string
	CmdArgs               []string
	BinarySize            int64
	DevIterations         int64
	DevLoopEventDurations *DevLoopTimes
}

func (*ComparisonStatsSummary) String

func (cs *ComparisonStatsSummary) String() string

type Config

type Config struct {
	DevIterations       int64  `yaml:"devIterations"`
	FirstSkaffoldFlags  string `yaml:"mainBranchSkaffoldFlags"` // NOTE: names mismatched for make vs gh action UX usage
	SecondSkaffoldFlags string `yaml:"thisPRSkaffoldFlags"`
	ExampleAppName      string `yaml:"exampleAppName"`
	ExampleSrcFile      string `yaml:"exampleSrcFile"`
	CommentText         string `yaml:"commentText"`
}

type Dev

type Dev struct {
	Command string `yaml:"command" yamltags:"required"`
}

Dev describes necessary info for running `skaffold dev` on a test application

type DevLoopTimes

type DevLoopTimes struct {
	InitialBuildTime       time.Duration
	InitialDeployTime      time.Duration
	InitialStatusCheckTime time.Duration
	InnerBuildTimes        durations
	InnerDeployTimes       durations
	InnerStatusCheckTimes  durations
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL