Help us shape the future of Go! Take the 2026 Go Developer Survey

action

package
v1.7.12 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Comment    Comment    `cmd:""  help:"GitHub action for Matter spec documents"`
	Disco      Disco      `cmd:"" default:"" help:"GitHub action for Matter spec documents"`
	ZAP        ZAP        `cmd:"" help:"GitHub action for Matter SDK ZAP XML"`
	MergeGuard MergeGuard `cmd:"" help:"GitHub action to prevent Provisionality and Parse errors to be merged."`
	ZAPDiff    ZAPDiff    `cmd:"" help:"GitHub action for ZAP XML diff"`
}

type Comment

type Comment struct {
}

func (*Comment) Run

func (c *Comment) Run(cc *cli.Context) (err error)

type ComparisonSet added in v1.6.14

type ComparisonSet struct {
	SDKRef                  string `yaml:"sdk_ref"`
	SDKLabel                string `yaml:"sdk_label"`
	SpecRef                 string `yaml:"spec_ref"`
	SpecLabel               string `yaml:"spec_label"`
	ZapGenerationAttributes string `yaml:"zap_generation_attributes"`
	AlchemyRef              string `yaml:"alchemy_ref"`
}

type Disco

type Disco struct {
}

func (*Disco) Run

func (c *Disco) Run(cc *cli.Context) (err error)

type EnforcementLevel added in v1.6.15

type EnforcementLevel string
const (
	// EnforcementMandatory applies to new files with suggestions or existing discoballed files with suggestions.
	EnforcementMandatory EnforcementLevel = "discoball-mandatory"
	EnforcementOptional  EnforcementLevel = "discoball-optional"
)

type MergeGuard added in v1.5.56

type MergeGuard struct {
	WriteComment bool `default:"false" hidden:"" help:"Write comment directly"`
}

func (*MergeGuard) Run added in v1.5.56

func (c *MergeGuard) Run(cc *cli.Context) (err error)

type ZAP

type ZAP struct {
}

func (*ZAP) Run

func (z *ZAP) Run(cc *cli.Context) (err error)

type ZAPDiff added in v1.6.14

type ZAPDiff struct {
	BaselineXMLDir   string `name:"baseline-xml" help:"Path to baseline XML file or directory" required:"true"`
	GeneratedXMLDir  string `name:"generated-xml" help:"Path to generated XML file or directory" required:"true"`
	GeneratedSDKRoot string `name:"sdk-root" help:"Path to SDK root directory (for ZAP generation)" required:"true"`
	SDKLabel         string `name:"sdk-label" help:"Label for SDK (used in human-readable reports)" default:"SDK"`
	SpecLabel        string `name:"spec-label" help:"Label for Spec (used in human-readable reports)" default:"Spec"`
	GenAttributes    string `name:"gen-attributes" help:"Zap generation attributes"`
	MismatchLevel    int    `name:"mismatch-level" help:"Mismatch level to report (1-3); 1 is most important" default:"3"`
	SpecRoot         string `name:"spec-root" help:"Path to Spec root directory" default:"."`
}

func (*ZAPDiff) Run added in v1.6.14

func (z *ZAPDiff) Run(cc *cli.Context) (err error)

type ZAPDiffConfig added in v1.6.14

type ZAPDiffConfig struct {
	ComparisonSets []ComparisonSet `yaml:"comparison_sets"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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