Skip to content

Commit

Permalink
Generated v1.0.0-beta.31
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jul 1, 2024
1 parent 97b833d commit d44e31a
Show file tree
Hide file tree
Showing 33 changed files with 190 additions and 178 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [v1.0.0-beta.31](https://github.com/fastly/fastly-go/releases/tag/release/v1.0.0-beta.31) (2024-07-01)

**Bug fixes:**

- fix(logging): For several endpoints, correct use_tls to be string

**Enhancements:**

- feat(content): `/content/edge_check` endpoint now returns informational values in `hash` when a timeout occurs or when
an object is too large.
- feat(logging-datalog): Added additional regions

## [vv1.0.0-beta.30](https://github.com/fastly/fastly-go/releases/tag/release/vv1.0.0-beta.30) (2024-06-27)

**Bug fixes:**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Add the following to your project's `go.mod`:

```go.mod
require (
github.com/fastly/fastly-go v1.0.0-beta.30
github.com/fastly/fastly-go 1.0.0-beta.31
)
```

Expand Down
4 changes: 2 additions & 2 deletions docs/LoggingKafkaAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func main() {
authMethod := "authMethod_example" // string | SASL authentication method. (optional)
user := "user_example" // string | SASL user. (optional)
password := "password_example" // string | SASL password. (optional)
useTLS := openapiclient.logging_use_tls(0) // LoggingUseTLS | (optional) (default to 0)
useTLS := openapiclient.logging_use_tls_string("0") // LoggingUseTLSString | (optional) (default to "0")

cfg := fastly.NewConfiguration()
apiClient := fastly.NewAPIClient(cfg)
Expand Down Expand Up @@ -83,7 +83,7 @@ Other parameters are passed through a pointer to a apiCreateLogKafkaRequest stru

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**name** | **string** | The name for the real-time logging configuration. | **placement** | **string** | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. | **responseCondition** | **string** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | **format** | **string** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [default to "%h %l %u %t \"%r\" %>s %b"] **formatVersion** | **int32** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [default to 2] **tlsCaCert** | **string** | A secure certificate to authenticate a server with. Must be in PEM format. | [default to "null"] **tlsClientCert** | **string** | The client certificate used to make authenticated requests. Must be in PEM format. | [default to "null"] **tlsClientKey** | **string** | The client private key used to make authenticated requests. Must be in PEM format. | [default to "null"] **tlsHostname** | **string** | The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported. | [default to "null"] **topic** | **string** | The Kafka topic to send logs to. Required. | **brokers** | **string** | A comma-separated list of IP addresses or hostnames of Kafka brokers. Required. | **compressionCodec** | **string** | The codec used for compression of your logs. | **requiredAcks** | **int32** | The number of acknowledgements a leader must receive before a write is considered successful. | [default to 1] **requestMaxBytes** | **int32** | The maximum number of bytes sent in one request. Defaults `0` (no limit). | [default to 0] **parseLogKeyvals** | **bool** | Enables parsing of key=value tuples from the beginning of a logline, turning them into [record headers](https://cwiki.apache.org/confluence/display/KAFKA/KIP-82+-+Add+Record+Headers). | **authMethod** | **string** | SASL authentication method. | **user** | **string** | SASL user. | **password** | **string** | SASL password. | **useTLS** | [**LoggingUseTLS**](LoggingUseTLS.md) | | [default to 0]
**name** | **string** | The name for the real-time logging configuration. | **placement** | **string** | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. | **responseCondition** | **string** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | **format** | **string** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [default to "%h %l %u %t \"%r\" %>s %b"] **formatVersion** | **int32** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [default to 2] **tlsCaCert** | **string** | A secure certificate to authenticate a server with. Must be in PEM format. | [default to "null"] **tlsClientCert** | **string** | The client certificate used to make authenticated requests. Must be in PEM format. | [default to "null"] **tlsClientKey** | **string** | The client private key used to make authenticated requests. Must be in PEM format. | [default to "null"] **tlsHostname** | **string** | The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported. | [default to "null"] **topic** | **string** | The Kafka topic to send logs to. Required. | **brokers** | **string** | A comma-separated list of IP addresses or hostnames of Kafka brokers. Required. | **compressionCodec** | **string** | The codec used for compression of your logs. | **requiredAcks** | **int32** | The number of acknowledgements a leader must receive before a write is considered successful. | [default to 1] **requestMaxBytes** | **int32** | The maximum number of bytes sent in one request. Defaults `0` (no limit). | [default to 0] **parseLogKeyvals** | **bool** | Enables parsing of key=value tuples from the beginning of a logline, turning them into [record headers](https://cwiki.apache.org/confluence/display/KAFKA/KIP-82+-+Add+Record+Headers). | **authMethod** | **string** | SASL authentication method. | **user** | **string** | SASL user. | **password** | **string** | SASL password. | **useTLS** | [**LoggingUseTLSString**](LoggingUseTLSString.md) | | [default to "0"]

### Return type

Expand Down
8 changes: 4 additions & 4 deletions docs/LoggingKafkaAdditional.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Name | Type | Description | Notes
**AuthMethod** | Pointer to **string** | SASL authentication method. | [optional]
**User** | Pointer to **string** | SASL user. | [optional]
**Password** | Pointer to **string** | SASL password. | [optional]
**UseTLS** | Pointer to [**LoggingUseTLS**](LoggingUseTLS.md) | | [optional] [default to LOGGINGUSETLS_no_tls]
**UseTLS** | Pointer to [**LoggingUseTLSString**](LoggingUseTLSString.md) | | [optional] [default to LOGGINGUSETLSSTRING_no_tls]

## Methods

Expand Down Expand Up @@ -271,20 +271,20 @@ HasPassword returns a boolean if a field has been set.

### GetUseTLS

`func (o *LoggingKafkaAdditional) GetUseTLS() LoggingUseTLS`
`func (o *LoggingKafkaAdditional) GetUseTLS() LoggingUseTLSString`

GetUseTLS returns the UseTLS field if non-nil, zero value otherwise.

### GetUseTLSOk

`func (o *LoggingKafkaAdditional) GetUseTLSOk() (*LoggingUseTLS, bool)`
`func (o *LoggingKafkaAdditional) GetUseTLSOk() (*LoggingUseTLSString, bool)`

GetUseTLSOk returns a tuple with the UseTLS field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetUseTLS

`func (o *LoggingKafkaAdditional) SetUseTLS(v LoggingUseTLS)`
`func (o *LoggingKafkaAdditional) SetUseTLS(v LoggingUseTLSString)`

SetUseTLS sets UseTLS field to given value.

Expand Down
8 changes: 4 additions & 4 deletions docs/LoggingKafkaResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Name | Type | Description | Notes
**AuthMethod** | Pointer to **string** | SASL authentication method. | [optional]
**User** | Pointer to **string** | SASL user. | [optional]
**Password** | Pointer to **string** | SASL password. | [optional]
**UseTLS** | Pointer to [**LoggingUseTLS**](LoggingUseTLS.md) | | [optional] [default to LOGGINGUSETLS_no_tls]
**UseTLS** | Pointer to [**LoggingUseTLSString**](LoggingUseTLSString.md) | | [optional] [default to LOGGINGUSETLSSTRING_no_tls]

## Methods

Expand Down Expand Up @@ -725,20 +725,20 @@ HasPassword returns a boolean if a field has been set.

### GetUseTLS

`func (o *LoggingKafkaResponse) GetUseTLS() LoggingUseTLS`
`func (o *LoggingKafkaResponse) GetUseTLS() LoggingUseTLSString`

GetUseTLS returns the UseTLS field if non-nil, zero value otherwise.

### GetUseTLSOk

`func (o *LoggingKafkaResponse) GetUseTLSOk() (*LoggingUseTLS, bool)`
`func (o *LoggingKafkaResponse) GetUseTLSOk() (*LoggingUseTLSString, bool)`

GetUseTLSOk returns a tuple with the UseTLS field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetUseTLS

`func (o *LoggingKafkaResponse) SetUseTLS(v LoggingUseTLS)`
`func (o *LoggingKafkaResponse) SetUseTLS(v LoggingUseTLSString)`

SetUseTLS sets UseTLS field to given value.

Expand Down
8 changes: 4 additions & 4 deletions docs/LoggingKafkaResponsePost.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Name | Type | Description | Notes
**AuthMethod** | Pointer to **string** | SASL authentication method. | [optional]
**User** | Pointer to **string** | SASL user. | [optional]
**Password** | Pointer to **string** | SASL password. | [optional]
**UseTLS** | Pointer to [**LoggingUseTLS**](LoggingUseTLS.md) | | [optional] [default to LOGGINGUSETLS_no_tls]
**UseTLS** | Pointer to [**LoggingUseTLSString**](LoggingUseTLSString.md) | | [optional] [default to LOGGINGUSETLSSTRING_no_tls]

## Methods

Expand Down Expand Up @@ -725,20 +725,20 @@ HasPassword returns a boolean if a field has been set.

### GetUseTLS

`func (o *LoggingKafkaResponsePost) GetUseTLS() LoggingUseTLS`
`func (o *LoggingKafkaResponsePost) GetUseTLS() LoggingUseTLSString`

GetUseTLS returns the UseTLS field if non-nil, zero value otherwise.

### GetUseTLSOk

`func (o *LoggingKafkaResponsePost) GetUseTLSOk() (*LoggingUseTLS, bool)`
`func (o *LoggingKafkaResponsePost) GetUseTLSOk() (*LoggingUseTLSString, bool)`

GetUseTLSOk returns a tuple with the UseTLS field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetUseTLS

`func (o *LoggingKafkaResponsePost) SetUseTLS(v LoggingUseTLS)`
`func (o *LoggingKafkaResponsePost) SetUseTLS(v LoggingUseTLSString)`

SetUseTLS sets UseTLS field to given value.

Expand Down
8 changes: 4 additions & 4 deletions docs/LoggingLogentriesAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func main() {
formatVersion := int32(56) // int32 | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (optional) (default to 2)
port := int32(56) // int32 | The port number. (optional) (default to 20000)
token := "token_example" // string | Use token based authentication. (optional)
useTLS := openapiclient.logging_use_tls(0) // LoggingUseTLS | (optional) (default to LOGGINGUSETLS_no_tls)
useTLS := openapiclient.logging_use_tls_string("0") // LoggingUseTLSString | (optional) (default to LOGGINGUSETLSSTRING_no_tls)
region := "region_example" // string | The region to which to stream logs. (optional)

cfg := fastly.NewConfiguration()
Expand Down Expand Up @@ -73,7 +73,7 @@ Other parameters are passed through a pointer to a apiCreateLogLogentriesRequest

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**name** | **string** | The name for the real-time logging configuration. | **placement** | **string** | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. | **responseCondition** | **string** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | **format** | **string** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [default to "%h %l %u %t \"%r\" %>s %b"] **formatVersion** | **int32** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [default to 2] **port** | **int32** | The port number. | [default to 20000] **token** | **string** | Use token based authentication. | **useTLS** | [**LoggingUseTLS**](LoggingUseTLS.md) | | [default to LOGGINGUSETLS_no_tls] **region** | **string** | The region to which to stream logs. |
**name** | **string** | The name for the real-time logging configuration. | **placement** | **string** | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. | **responseCondition** | **string** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | **format** | **string** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [default to "%h %l %u %t \"%r\" %>s %b"] **formatVersion** | **int32** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [default to 2] **port** | **int32** | The port number. | [default to 20000] **token** | **string** | Use token based authentication. | **useTLS** | [**LoggingUseTLSString**](LoggingUseTLSString.md) | | [default to LOGGINGUSETLSSTRING_no_tls] **region** | **string** | The region to which to stream logs. |

### Return type

Expand Down Expand Up @@ -331,7 +331,7 @@ func main() {
formatVersion := int32(56) // int32 | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. (optional) (default to 2)
port := int32(56) // int32 | The port number. (optional) (default to 20000)
token := "token_example" // string | Use token based authentication. (optional)
useTLS := openapiclient.logging_use_tls(0) // LoggingUseTLS | (optional) (default to LOGGINGUSETLS_no_tls)
useTLS := openapiclient.logging_use_tls_string("0") // LoggingUseTLSString | (optional) (default to LOGGINGUSETLSSTRING_no_tls)
region := "region_example" // string | The region to which to stream logs. (optional)

cfg := fastly.NewConfiguration()
Expand Down Expand Up @@ -364,7 +364,7 @@ Other parameters are passed through a pointer to a apiUpdateLogLogentriesRequest

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**name** | **string** | The name for the real-time logging configuration. | **placement** | **string** | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. | **responseCondition** | **string** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | **format** | **string** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [default to "%h %l %u %t \"%r\" %>s %b"] **formatVersion** | **int32** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [default to 2] **port** | **int32** | The port number. | [default to 20000] **token** | **string** | Use token based authentication. | **useTLS** | [**LoggingUseTLS**](LoggingUseTLS.md) | | [default to LOGGINGUSETLS_no_tls] **region** | **string** | The region to which to stream logs. |
**name** | **string** | The name for the real-time logging configuration. | **placement** | **string** | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. | **responseCondition** | **string** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | **format** | **string** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [default to "%h %l %u %t \"%r\" %>s %b"] **formatVersion** | **int32** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [default to 2] **port** | **int32** | The port number. | [default to 20000] **token** | **string** | Use token based authentication. | **useTLS** | [**LoggingUseTLSString**](LoggingUseTLSString.md) | | [default to LOGGINGUSETLSSTRING_no_tls] **region** | **string** | The region to which to stream logs. |

### Return type

Expand Down
8 changes: 4 additions & 4 deletions docs/LoggingLogentriesAdditional.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Port** | Pointer to **int32** | The port number. | [optional] [default to 20000]
**Token** | Pointer to **string** | Use token based authentication. | [optional]
**UseTLS** | Pointer to [**LoggingUseTLS**](LoggingUseTLS.md) | | [optional] [default to LOGGINGUSETLS_no_tls]
**UseTLS** | Pointer to [**LoggingUseTLSString**](LoggingUseTLSString.md) | | [optional] [default to LOGGINGUSETLSSTRING_no_tls]
**Region** | Pointer to **string** | The region to which to stream logs. | [optional]

## Methods
Expand Down Expand Up @@ -80,20 +80,20 @@ HasToken returns a boolean if a field has been set.

### GetUseTLS

`func (o *LoggingLogentriesAdditional) GetUseTLS() LoggingUseTLS`
`func (o *LoggingLogentriesAdditional) GetUseTLS() LoggingUseTLSString`

GetUseTLS returns the UseTLS field if non-nil, zero value otherwise.

### GetUseTLSOk

`func (o *LoggingLogentriesAdditional) GetUseTLSOk() (*LoggingUseTLS, bool)`
`func (o *LoggingLogentriesAdditional) GetUseTLSOk() (*LoggingUseTLSString, bool)`

GetUseTLSOk returns a tuple with the UseTLS field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetUseTLS

`func (o *LoggingLogentriesAdditional) SetUseTLS(v LoggingUseTLS)`
`func (o *LoggingLogentriesAdditional) SetUseTLS(v LoggingUseTLSString)`

SetUseTLS sets UseTLS field to given value.

Expand Down
Loading

0 comments on commit d44e31a

Please sign in to comment.