Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterfaceChange ¶
type InterfaceChange struct {
InterfaceId client.InterfaceId
Name string
Specification []byte
}
type InterfaceOwnerOption ¶
type InterfaceOwnerOption struct {
ID string // user or org ID for CreateInterfaceRequest.Owner
Label string // shown in the list
Kind string // "user" or "org" for display help
}
func PromptInterfaceOwner ¶
func PromptInterfaceOwner(ctx context.Context, interfaceName string, options []InterfaceOwnerOption) (InterfaceOwnerOption, error)
type InterfaceRevisionUpdate ¶
type InterfaceRevisionUpdate struct {
InterfaceId client.InterfaceId
Specification []byte
Notes string
}
func RunBubbleTeaPushChangesTui ¶
func RunBubbleTeaPushChangesTui(changes []InterfaceChange) ([]InterfaceRevisionUpdate, bool, error)
type NewInterface ¶
type NewInterface struct {
Name string
Description string
RevisionNotes string
Type client.InterfaceType
}
func PromptNewInterfaceCommit ¶
func PromptNewInterfaceCommit(ctx context.Context, name string, ifaceType client.InterfaceType) (NewInterface, error)
type NewRevision ¶
type NewRevision struct {
Notes string
}
func PromptNewRevisionCommit ¶
func PromptNewRevisionCommit(ctx context.Context, name string) (NewRevision, error)
type ScanCandidate ¶
type ScanCandidate struct {
Path string
Type client.InterfaceType
DefaultName string
}
ScanCandidate is an untracked specification offered for addition.
type ScanSelection ¶
type ScanSelection struct {
Path string
Name string
Type client.InterfaceType
}
ScanSelection is a user-chosen candidate with the name to use in ifc.yaml.
func PromptScanAdd ¶
func PromptScanAdd(ctx context.Context, candidates []ScanCandidate) ([]ScanSelection, error)
PromptScanAdd presents untracked interface specs for multi-select and naming.
Click to show internal directories.
Click to hide internal directories.