File: operator.go

package info (click to toggle)
golang-github-spiffe-spike-sdk-go 0.16.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,084 kB
  • sloc: sh: 53; makefile: 28
file content (13 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
//    \\ SPIKE: Secure your secrets with SPIFFE. — https://spike.ist/
//  \\\\\ Copyright 2024-present SPIKE contributors.
// \\\\\\\ SPDX-License-Identifier: Apache-2.0

package data

// RestorationStatus represents the status of a restoration process,
// including collected shards, remaining shards, and completion status.
type RestorationStatus struct {
	ShardsCollected int  `json:"collected"`
	ShardsRemaining int  `json:"remaining"`
	Restored        bool `json:"restored"`
}