Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffBuilder ¶
DiffBuilder builds the diff command with the following signature: sunset diff --base base-spec.json --spec spec.json.
func ListBuilder ¶
ListBuilder builds the list command with the following signature: sunset ls -s spec.json -f 2024-01-01 -t 2024-09-22.
Types ¶
type Diff ¶
type Diff struct {
Operation string `json:"http_method" yaml:"http_method"`
Path string `json:"path" yaml:"path"`
Version string `json:"version" yaml:"version"`
BaseSunsetDate string `json:"base_sunset_date" yaml:"base_sunset_date"`
SpecSunsetDate string `json:"spec_sunset_date" yaml:"spec_sunset_date"`
BaseSpec string `json:"base_spec" yaml:"base_spec"`
Spec string `json:"spec" yaml:"spec"`
Team string `json:"team" yaml:"team"`
}
Click to show internal directories.
Click to hide internal directories.