Skip to content

Commit

Permalink
added support for placement when creating new logging endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
RexBelli authored and sethvargo committed Nov 22, 2017
1 parent c1e80fc commit 22a781b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions fastly/logentries.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ type CreateLogentriesInput struct {
Format string `form:"format,omitempty"`
FormatVersion uint `form:"format_version,omitempty"`
ResponseCondition string `form:"response_condition,omitempty"`
Placement string `form:"placement,omitempty"`
}

// CreateLogentries creates a new Fastly logentries.
Expand Down
1 change: 1 addition & 0 deletions fastly/papertrail.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ type CreatePapertrailInput struct {
CreatedAt *time.Time `form:"created_at,omitempty"`
UpdatedAt *time.Time `form:"updated_at,omitempty"`
DeletedAt *time.Time `form:"deleted_at,omitempty"`
Placement string `form:"placement,omitempty"`
}

// CreatePapertrail creates a new Fastly papertrail.
Expand Down
1 change: 1 addition & 0 deletions fastly/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ type CreateS3Input struct {
ResponseCondition string `form:"response_condition,omitempty"`
TimestampFormat string `form:"timestamp_format,omitempty"`
Redundancy S3Redundancy `form:"redundancy,omitempty"`
Placement string `form:"placement,omitempty"`
}

// CreateS3 creates a new Fastly S3.
Expand Down
1 change: 1 addition & 0 deletions fastly/sumologic.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ type CreateSumologicInput struct {
ResponseCondition string `form:"response_condition,omitempty"`
MessageType string `form:"message_type,omitempty"`
FormatVersion int `form:"format_version,omitempty"`
Placement string `form:"placement,omitempty"`
}

// CreateSumologic creates a new Fastly sumologic.
Expand Down
1 change: 1 addition & 0 deletions fastly/syslog.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ type CreateSyslogInput struct {
FormatVersion uint `form:"format_version,omitempty"`
MessageType string `form:"message_type,omitempty"`
ResponseCondition string `form:"response_condition,omitempty"`
Placement string `form:"placement,omitempty"`
}

// CreateSyslog creates a new Fastly syslog.
Expand Down

0 comments on commit 22a781b

Please sign in to comment.