Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Root ¶
type Root struct {
ID basespec.RootID `json:"id"`
StorageKey basespec.StorageKey `json:"storageKey"`
DisplayName string `json:"displayName"`
Description string `json:"description,omitempty"`
Revision uint64 `json:"revision"`
CreatedAt time.Time `json:"createdAt"`
ModifiedAt time.Time `json:"modifiedAt"`
RetiredAt *time.Time `json:"retiredAt,omitempty"`
}
type RootDraft ¶
type RootDraft struct {
ID basespec.RootID `json:"id" required:"true"`
StorageKey basespec.StorageKey `json:"storageKey" required:"true"`
DisplayName string `json:"displayName" required:"true"`
Description string `json:"description,omitempty"`
}
RootDraft is the caller-owned input for Root creation.
type RootUpdate ¶
type RootUpdate struct {
ExpectedRevision uint64 `json:"expectedRevision"`
DisplayName string `json:"displayName"`
Description string `json:"description,omitempty"`
}
RootUpdate is the caller-owned input for a Root metadata update.
Click to show internal directories.
Click to hide internal directories.