2024-05-03 14:52:34 +01:00
|
|
|
// Copyright 2024 The Forgejo Authors. All rights reserved.
|
2024-02-23 00:26:49 +00:00
|
|
|
// Use of this source code is governed by a MIT-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2023-08-15 16:15:48 +01:00
|
|
|
// Copyright 2023 The Gitea Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a MIT-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2024-02-23 00:26:49 +00:00
|
|
|
package forgejo
|
2023-08-15 16:15:48 +01:00
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
type Secret struct {
|
|
|
|
// the secret's name
|
|
|
|
Name string `json:"name"`
|
2024-05-03 14:52:34 +01:00
|
|
|
// the secret's data
|
|
|
|
Data string `json:"data"`
|
2023-08-15 16:15:48 +01:00
|
|
|
// Date and Time of secret creation
|
|
|
|
Created time.Time `json:"created_at"`
|
|
|
|
}
|