sunset

package
v0.0.65 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Builder

func Builder() *cobra.Command

func DiffBuilder

func DiffBuilder() *cobra.Command

DiffBuilder builds the diff command with the following signature: sunset diff --base base-spec.json --spec spec.json.

func ListBuilder

func ListBuilder() *cobra.Command

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"`
}

type DiffOpts

type DiffOpts struct {
	// contains filtered or unexported fields
}

func (*DiffOpts) Run

func (o *DiffOpts) Run() error

type ListOpts

type ListOpts struct {
	// contains filtered or unexported fields
}

func (*ListOpts) Run

func (o *ListOpts) Run() error

Jump to

Keyboard shortcuts

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