Skip to content
This repository has been archived by the owner on Oct 11, 2019. It is now read-only.

Commit

Permalink
Regenerated library to pick up latest schema changes
Browse files Browse the repository at this point in the history
  • Loading branch information
petemoore committed Sep 12, 2018
1 parent 966fa9a commit bbb3b3b
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 10 deletions.
15 changes: 14 additions & 1 deletion codegenerator/model-data.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Generated: 1535390612
Generated: 1536776631
The following file is an auto-generated static dump of the API models at time of code generation.
It is provided here for reference purposes, but is not used by any code.

Expand Down Expand Up @@ -694,6 +694,7 @@ properties:
method: Method
port: Port
resource: Resource
sourceIp: SourceIP
Properties:
authorization:
IS_REQUIRED: false
Expand Down Expand Up @@ -772,12 +773,24 @@ properties:
string that follows the HTTP method.
**Note,** order of querystring elements is important.
type: string
sourceIp:
IS_REQUIRED: false
PROPERTY_NAME: sourceIp
SOURCE_URL: https://schemas.taskcluster.net/auth/v1/authenticate-hawk-request.json#/properties/sourceIp
TYPE_NAME: ""
description: |
Source IP of the authentication request or request that requires
authentication. This is only used for audit logging.
format: ipv4
title: Source IP
type: string
SortedPropertyNames:
- authorization
- host
- method
- port
- resource
- sourceIp
SourceURL: https://schemas.taskcluster.net/auth/v1/authenticate-hawk-request.json#/properties
required:
- method
Expand Down
2 changes: 1 addition & 1 deletion tcauth/tcauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
//
// The source code of this go package was auto-generated from the API definition at
// https://references.taskcluster.net/auth/v1/api.json together with the input and output schemas it references, downloaded on
// Mon, 27 Aug 2018 at 17:23:00 UTC. The code was generated
// Wed, 12 Sep 2018 at 18:23:00 UTC. The code was generated
// by https://github.com/taskcluster/taskcluster-client-go/blob/master/build.sh.
package tcauth

Expand Down
6 changes: 6 additions & 0 deletions tcauth/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,12 @@ type (
//
// See https://schemas.taskcluster.net/auth/v1/authenticate-hawk-request.json#/properties/resource
Resource string `json:"resource"`

// Source IP of the authentication request or request that requires
// authentication. This is only used for audit logging.
//
// See https://schemas.taskcluster.net/auth/v1/authenticate-hawk-request.json#/properties/sourceIp
SourceIP string `json:"sourceIp,omitempty"`
}

// Response from a request to authenticate a hawk request.
Expand Down
2 changes: 1 addition & 1 deletion tcgithub/tcgithub.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
//
// The source code of this go package was auto-generated from the API definition at
// https://references.taskcluster.net/github/v1/api.json together with the input and output schemas it references, downloaded on
// Mon, 27 Aug 2018 at 17:23:00 UTC. The code was generated
// Wed, 12 Sep 2018 at 18:23:00 UTC. The code was generated
// by https://github.com/taskcluster/taskcluster-client-go/blob/master/build.sh.
package tcgithub

Expand Down
2 changes: 1 addition & 1 deletion tchooks/tchooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
//
// The source code of this go package was auto-generated from the API definition at
// https://references.taskcluster.net/hooks/v1/api.json together with the input and output schemas it references, downloaded on
// Mon, 27 Aug 2018 at 17:23:00 UTC. The code was generated
// Wed, 12 Sep 2018 at 18:23:00 UTC. The code was generated
// by https://github.com/taskcluster/taskcluster-client-go/blob/master/build.sh.
package tchooks

Expand Down
2 changes: 1 addition & 1 deletion tcindex/tcindex.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
//
// The source code of this go package was auto-generated from the API definition at
// https://references.taskcluster.net/index/v1/api.json together with the input and output schemas it references, downloaded on
// Mon, 27 Aug 2018 at 17:23:00 UTC. The code was generated
// Wed, 12 Sep 2018 at 18:23:00 UTC. The code was generated
// by https://github.com/taskcluster/taskcluster-client-go/blob/master/build.sh.
package tcindex

Expand Down
2 changes: 1 addition & 1 deletion tclogin/tclogin.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
//
// The source code of this go package was auto-generated from the API definition at
// https://references.taskcluster.net/login/v1/api.json together with the input and output schemas it references, downloaded on
// Mon, 27 Aug 2018 at 17:23:00 UTC. The code was generated
// Wed, 12 Sep 2018 at 18:23:00 UTC. The code was generated
// by https://github.com/taskcluster/taskcluster-client-go/blob/master/build.sh.
package tclogin

Expand Down
2 changes: 1 addition & 1 deletion tcnotify/tcnotify.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
//
// The source code of this go package was auto-generated from the API definition at
// https://references.taskcluster.net/notify/v1/api.json together with the input and output schemas it references, downloaded on
// Mon, 27 Aug 2018 at 17:23:00 UTC. The code was generated
// Wed, 12 Sep 2018 at 18:23:00 UTC. The code was generated
// by https://github.com/taskcluster/taskcluster-client-go/blob/master/build.sh.
package tcnotify

Expand Down
2 changes: 1 addition & 1 deletion tcpurgecache/tcpurgecache.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
//
// The source code of this go package was auto-generated from the API definition at
// https://references.taskcluster.net/purge-cache/v1/api.json together with the input and output schemas it references, downloaded on
// Mon, 27 Aug 2018 at 17:23:00 UTC. The code was generated
// Wed, 12 Sep 2018 at 18:23:00 UTC. The code was generated
// by https://github.com/taskcluster/taskcluster-client-go/blob/master/build.sh.
package tcpurgecache

Expand Down
2 changes: 1 addition & 1 deletion tcqueue/tcqueue.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
//
// The source code of this go package was auto-generated from the API definition at
// https://references.taskcluster.net/queue/v1/api.json together with the input and output schemas it references, downloaded on
// Mon, 27 Aug 2018 at 17:23:00 UTC. The code was generated
// Wed, 12 Sep 2018 at 18:23:00 UTC. The code was generated
// by https://github.com/taskcluster/taskcluster-client-go/blob/master/build.sh.
package tcqueue

Expand Down
2 changes: 1 addition & 1 deletion tcsecrets/tcsecrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
//
// The source code of this go package was auto-generated from the API definition at
// https://references.taskcluster.net/secrets/v1/api.json together with the input and output schemas it references, downloaded on
// Mon, 27 Aug 2018 at 17:23:00 UTC. The code was generated
// Wed, 12 Sep 2018 at 18:23:00 UTC. The code was generated
// by https://github.com/taskcluster/taskcluster-client-go/blob/master/build.sh.
package tcsecrets

Expand Down

0 comments on commit bbb3b3b

Please sign in to comment.