feat: gitea client
This commit is contained in:
18
vendor/code.gitea.io/sdk/gitea/secret.go
generated
vendored
Normal file
18
vendor/code.gitea.io/sdk/gitea/secret.go
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
// 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.
|
||||
|
||||
package gitea
|
||||
|
||||
import "time"
|
||||
|
||||
type Secret struct {
|
||||
// the secret's name
|
||||
Name string `json:"name"`
|
||||
// the secret's data
|
||||
Data string `json:"data"`
|
||||
// the secret's description
|
||||
Description string `json:"description"`
|
||||
// Date and Time of secret creation
|
||||
Created time.Time `json:"created_at"`
|
||||
}
|
||||
Reference in New Issue
Block a user