(client *api.Client, snapshots api.ListSnapshotsResponse)
| 37 | } |
| 38 | |
| 39 | func NewSnapshotDeleteModel(client *api.Client, snapshots api.ListSnapshotsResponse) snapshotDeleteModel { |
| 40 | s := NewPrimarySpinner() |
| 41 | ps := NewPanelStyles() |
| 42 | ps.Title = PrimaryTitleStyle().MarginTop(1).MarginBottom(1) |
| 43 | |
| 44 | return snapshotDeleteModel{ |
| 45 | step: snapshotDeleteStepSelect, |
| 46 | client: client, |
| 47 | spinner: s, |
| 48 | snapshots: snapshots, |
| 49 | styles: ps, |
| 50 | warningBox: WarningBoxStyle().MarginTop(1).MarginBottom(1), |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | func (m snapshotDeleteModel) Init() tea.Cmd { |
| 55 | return nil |
no test coverage detected