mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-18 19:47:54 -04:00
Document exported funcs,types,interfaces and enable check. (#475)
* Include EXC0014 and fix issues. * Include EXC0012 and fix issues. Signed-off-by: Fabian Kammel <fk@edgeless.systems> Co-authored-by: Otto Bittner <cobittner@posteo.net>
This commit is contained in:
parent
c9873f2bfb
commit
0d12e37c96
74 changed files with 337 additions and 78 deletions
|
@ -13,16 +13,20 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
DefaultProjectID = "constellation-images"
|
||||
// DefaultProjectID for Constellation images.
|
||||
DefaultProjectID = "constellation-images"
|
||||
// DefaultImageFamily for Constellation images.
|
||||
DefaultImageFamily = "constellation"
|
||||
)
|
||||
|
||||
// Options for GCP image API client.
|
||||
type Options struct {
|
||||
ProjectID string
|
||||
ImageFamily string
|
||||
Filter func(image string) (version string, err error)
|
||||
}
|
||||
|
||||
// DefaultOptions creates an Options object with good defaults.
|
||||
func DefaultOptions() Options {
|
||||
return Options{
|
||||
ProjectID: DefaultProjectID,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue