-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.gen.go
65 lines (51 loc) · 1.72 KB
/
types.gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// Package api provides primitives to interact with the openapi HTTP API.
//
// Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
package api
import (
"time"
)
// Error エラーメッセージモデル
type Error struct {
Message string `json:"message"`
}
// Image コンテナイメージモデル
type Image struct {
Digest string `json:"digest"`
PushedAt time.Time `json:"pushed_at"`
RepositoryName string `json:"repository_name"`
Size float32 `json:"size"`
Tags []string `json:"tags"`
Uri string `json:"uri"`
}
// Repository リポジトリモデル
type Repository struct {
Name string `json:"name"`
Uri string `json:"uri"`
}
// Service サービスモデル
type Service struct {
Name string `json:"name"`
}
// Setting リリース設定モデル
type Setting struct {
ImageUri *string `json:"image_uri,omitempty"`
IsReleased bool `json:"is_released"`
ReleaseAt *time.Time `json:"release_at,omitempty"`
}
// RepositoryName defines model for repository_name.
type RepositoryName = string
// ServiceName defines model for service_name.
type ServiceName = string
// ErrorResponse エラーメッセージモデル
type ErrorResponse = Error
// ImagesResponse defines model for imagesResponse.
type ImagesResponse = []Image
// RepositoriesResponse defines model for repositoriesResponse.
type RepositoriesResponse = []Repository
// ServicesResponse defines model for servicesResponse.
type ServicesResponse = []Service
// SettingRequest リリース設定モデル
type SettingRequest = Setting
// PostSettingJSONRequestBody defines body for PostSetting for application/json ContentType.
type PostSettingJSONRequestBody = Setting