-
Notifications
You must be signed in to change notification settings - Fork 252
/
types.go
44 lines (38 loc) · 1.41 KB
/
types.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
// This source code file is AUTO-GENERATED by github.com/taskcluster/jsonschema2go
package tcpurgecacheevents
type (
// Message reporting that a specific cache should be purged
//
// See https://schemas.taskcluster.net/purge-cache/v1/purge-cache-message.json#
PurgeCacheMessage struct {
// Name of cache to purge. Notice that if a `workerType` have multiple kinds
// of caches (with independent names), it should purge all caches identified
// by `cacheName` regardless of cache type.
//
// See https://schemas.taskcluster.net/purge-cache/v1/purge-cache-message.json#/properties/cacheName
CacheName string `json:"cacheName"`
// `provisionerId` under which the `workerType` we want to purge for exists.
//
// Syntax: ^([a-zA-Z0-9-_]*)$
// Min length: 1
// Max length: 22
//
// See https://schemas.taskcluster.net/purge-cache/v1/purge-cache-message.json#/properties/provisionerId
ProvisionerID string `json:"provisionerId"`
// Message version
//
// Possible values:
// * 1
//
// See https://schemas.taskcluster.net/purge-cache/v1/purge-cache-message.json#/properties/version
Version int64 `json:"version"`
// `workerType` we wish to purge cache for.
//
// Syntax: ^([a-zA-Z0-9-_]*)$
// Min length: 1
// Max length: 22
//
// See https://schemas.taskcluster.net/purge-cache/v1/purge-cache-message.json#/properties/workerType
WorkerType string `json:"workerType"`
}
)