8000 [CDTOOL-1070] feat(logging): Add support for 'processing region' attribute. by kpfleming · Pull Request #1491 · fastly/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[CDTOOL-1070] feat(logging): Add support for 'processing region' attribute. #1491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- feat(config-store): Allow for dynamic limits on Config Store entry lengths [#1485](https://github.com/fastly/cli/pull/1485)
- feat(backend): Add support for 'prefer IPv6' attribute. ([#1487](https://github.com/fastly/cli/pull/1487))
- feat(tools/domain): add `suggest` and `status` domain tools endpoints ([#1482](https://github.com/fastly/cli/pull/1482))
- feat(logging): Add support for 'processing region' attribute. ([#1491](https://github.com/fastly/cli/pull/1491))

### Bug fixes:
- fix(sso): Don't display the token after authentication. ([#1490](https://github.com/fastly/cli/pull/1490))
Expand Down
F438
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ func listBlobStoragesOK(i *fastly.ListBlobStoragesInput) ([]*fastly.BlobStorage,
Placement: fastly.ToPointer("none"),
ResponseCondition: fastly.ToPointer("Prevent default logging"),
CompressionCodec: fastly.ToPointer("zstd"),
ProcessingRegion: fastly.ToPointer("us"),
},
{
ServiceID: fastly.ToPointer(i.ServiceID),
Expand All @@ -345,6 +346,7 @@ func listBlobStoragesOK(i *fastly.ListBlobStoragesInput) ([]*fastly.BlobStorage,
Placement: fastly.ToPointer("none"),
PublicKey: fastly.ToPointer(pgpPublicKey()),
CompressionCodec: fastly.ToPointer("zstd"),
ProcessingRegion: fastly.ToPointer("us"),
},
}, nil
}
Expand Down Expand Up @@ -385,6 +387,7 @@ Version: 1
Public key: `+pgpPublicKey()+`
File max bytes: 0
Compression codec: zstd
Processing region: us
BlobStorage 2/2
Service ID: 123
Version: 1
Expand All @@ -404,6 +407,7 @@ Version: 1
Public key: `+pgpPublicKey()+`
File max bytes: 0
Compression codec: zstd
Processing region: us
`) + "\n\n"

func getBlobStorageOK(i *fastly.GetBlobStorageInput) (*fastly.BlobStorage, error) {
Expand All @@ -423,6 +427,7 @@ func getBlobStorageOK(i *fastly.GetBlobStorageInput) (*fastly.BlobStorage, error
MessageType: fastly.ToPointer("classic"),
TimestampFormat: fastly.ToPointer("%Y-%m-%dT%H:%M:%S.000"),
Placement: fastly.ToPointer("none"),
ProcessingRegion: fastly.ToPointer("us"),
PublicKey: fastly.ToPointer(pgpPublicKey()),
CompressionCodec: fastly.ToPointer("zstd"),
}, nil
Expand All @@ -445,6 +450,7 @@ Name: logs
Path: /logs
Period: 3600
Placement: none
Processing region: us
Public key: `+pgpPublicKey()+`
Response condition: Prevent default logging
SAS token: token
Expand Down
4 changes: 4 additions & 0 deletions pkg/commands/logging/azureblob/azureblob_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func TestCreateBlobStorageInput(t *testing.T) {
ResponseCondition: fastly.ToPointer("Prevent default logging"),
TimestampFormat: fastly.ToPointer("%Y-%m-%dT%H:%M:%S.000"),
Placement: fastly.ToPointer("none"),
ProcessingRegion: fastly.ToPointer("eu"),
PublicKey: fastly.ToPointer(pgpPublicKey()),
CompressionCodec: fastly.ToPointer("zstd"),
},
Expand Down Expand Up @@ -129,6 +130,7 @@ func TestUpdateBlobStorageInput(t *testing.T) {
MessageType: fastly.ToPointer("new8"),
TimestampFormat: fastly.ToPointer("new9"),
Placement: fastly.ToPointer("new10"),
ProcessingRegion: fastly.ToPointer("eu"),
PublicKey: fastly.ToPointer("new11"),
CompressionCodec: fastly.ToPointer("new12"),
},
Expand Down Expand Up @@ -276,6 +278,7 @@ func createCommandAll() *azureblob.CreateCommand {
ResponseCondition: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "Prevent default logging"},
TimestampFormat: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "%Y-%m-%dT%H:%M:%S.000"},
Placement: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "none"},
ProcessingRegion: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "eu"},
MessageType: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "classic"},
PublicKey: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: pgpPublicKey()},
CompressionCodec: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "zstd"},
Expand Down Expand Up @@ -364,6 +367,7 @@ func updateCommandAll() *azureblob.UpdateCommand {
MessageType: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "new8"},
TimestampFormat: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "new9"},
Placement: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "new10"},
ProcessingRegion: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "eu"},
PublicKey: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "new11"},
CompressionCodec: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "new12"},
}
Expand Down
5 changes: 5 additions & 0 deletions pkg/commands/logging/azureblob/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ type CreateCommand struct {
ResponseCondition argparser.OptionalString
TimestampFormat argparser.OptionalString
Placement argparser.OptionalString
ProcessingRegion argparser.OptionalString
PublicKey argparser.OptionalString
FileMaxBytes argparser.OptionalInt
CompressionCodec argparser.OptionalString
Expand Down Expand Up @@ -79,6 +80,7 @@ func NewCreateCommand(parent argparser.Registerer, g *global.Data) *CreateComman
common.Path(c.CmdClause, &c.Path)
common.Period(c.CmdClause, &c.Period)
common.Placement(c.CmdClause, &c.Placement)
common.ProcessingRegion(c.CmdClause, &c.ProcessingRegion, "Azure Blob Storage")
common.PublicKey(c.CmdClause, &c.PublicKey)
common.ResponseCondition(c.CmdClause, &c.ResponseCondition)
c.CmdClause.Flag("sas-token", "The Azure shared access signature providing write access to the blob service objects. Be sure to update your token before it expires or the logging functionality will not work").Action(c.SASToken.Set).StringVar(&c.SASToken.Value)
Expand Down Expand Up @@ -151,6 +153,9 @@ func (c *CreateCommand) ConstructInput(serviceID string, serviceVersion int) (*f
if c.Placement.WasSet {
input.Placement = &c.Placement.Value
}
if c.ProcessingRegion.WasSet {
input.ProcessingRegion = &c.ProcessingRegion.Value
}
if c.PublicKey.WasSet {
input.PublicKey = &c.PublicKey.Value
}
Expand Down
1 change: 1 addition & 0 deletions pkg/commands/logging/azureblob/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ func (c *DescribeCommand) Exec(_ io.Reader, out io.Writer) error {
"Path": fastly.ToValue(o.Path),
"Period": fastly.ToValue(o.Period),
"Placement": fastly.ToValue(o.Placement),
"Processing region": fastly.ToValue(o.ProcessingRegion),
"Public key": fastly.ToValue(o.PublicKey),
"Response condition": fastly.ToValue(o.ResponseCondition),
"SAS token": fastly.ToValue(o.SASToken),
Expand Down
1 change: 1 addition & 0 deletions pkg/commands/logging/azureblob/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ func (c *ListCommand) Exec(_ io.Reader, out io.Writer) error {
fmt.Fprintf(out, "\t\tPublic key: %s\n", fastly.ToValue(azureblob.PublicKey))
fmt.Fprintf(out, "\t\tFile max bytes: %d\n", fastly.ToValue(azureblob.FileMaxBytes))
fmt.Fprintf(out, "\t\tCompression codec: %s\n", fastly.ToValue(azureblob.CompressionCodec))
fmt.Fprintf(out, "\t\tProcessing region: %s\n", fastly.ToValue(azureblob.ProcessingRegion))
}
fmt.Fprintln(out)

Expand Down
5 changes: 5 additions & 0 deletions pkg/commands/logging/azureblob/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ type UpdateCommand struct {
ResponseCondition argparser.OptionalString
TimestampFormat argparser.OptionalString
Placement argparser.OptionalString
ProcessingRegion argparser.OptionalString
PublicKey argparser.OptionalString
FileMaxBytes argparser.OptionalInt
CompressionCodec argparser.OptionalString
Expand Down Expand Up @@ -82,6 +83,7 @@ func NewUpdateCommand(parent argparser.Registerer, g *global.Data) *UpdateComman
common.Path(c.CmdClause, &c.Path)
common.Period(c.CmdClause, &c.Period)
common.Placement(c.CmdClause, &c.Placement)
common.ProcessingRegion(c.CmdClause, &c.ProcessingRegion, "Azure Blob Storage")
common.PublicKey(c.CmdClause, &c.PublicKey)
common.ResponseCondition(c.CmdClause, &c.ResponseCondition)
c.CmdClause.Flag("sas-token", "The Azure shared access signature providing write access to the blob service objects. Be sure to update your token before it expires or the logging functionality will not work").Action(c.SASToken.Set).StringVar(&c.SASToken.Value)
Expand Down Expand Up @@ -149,6 +151,9 @@ func (c *UpdateCommand) ConstructInput(serviceID string, serviceVersion int) (*f
if c.Placement.WasSet {
input.Placement = &c.Placement.Value
}
if c.ProcessingRegion.WasSet {
input.ProcessingRegion = &c.ProcessingRegion.Value
}
if c.PublicKey.WasSet {
input.PublicKey = &c.PublicKey.Value
}
Expand Down
6 changes: 6 additions & 0 deletions pkg/commands/logging/bigquery/bigquery_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ func listBigQueriesOK(i *fastly.ListBigQueriesInput) ([]*fastly.BigQuery, error)
Template: fastly.ToPointer("%Y%m%d"),
Placement: fastly.ToPointer("none"),
ResponseCondition: fastly.ToPointer("Prevent default logging"),
ProcessingRegion: fastly.ToPointer("us"),
},
{
ServiceID: fastly.ToPointer(i.ServiceID),
Expand All @@ -315,6 +316,7 @@ func listBigQueriesOK(i *fastly.ListBigQueriesInput) ([]*fastly.BigQuery, error)
Template: fastly.ToPointer("%Y%m%d"),
Placement: fastly.ToPointer("none"),
ResponseCondition: fastly.ToPointer("Prevent default logging"),
ProcessingRegion: fastly.ToPointer("us"),
},
}, nil
}
Expand Down Expand Up @@ -351,6 +353,7 @@ Version: 1
Response condition: Prevent default logging
Placement: none
Format version: 0
Processing region: us
BigQuery 2/2
Service ID: 123
Version: 1
Expand All @@ -366,6 +369,7 @@ Version: 1
Response condition: Prevent default logging
Placement: none
Format version: 0
Processing region: us
`) + "\n\n"

func getBigQueryOK(i *fastly.GetBigQueryInput) (*fastly.BigQuery, error) {
Expand All @@ -383,6 +387,7 @@ func getBigQueryOK(i *fastly.GetBigQueryInput) (*fastly.BigQuery, error) {
Template: fastly.ToPointer("%Y%m%d"),
Placement: fastly.ToPointer("none"),
ResponseCondition: fastly.ToPointer("Prevent default logging"),
ProcessingRegion: fastly.ToPointer("us"),
}, nil
}

Expand All @@ -397,6 +402,7 @@ Format: %h %l %u %t "%r" %>s %b
Format version: 0
Name: logs
Placement: none
Processing region: us
Project ID: my-project
Response condition: Prevent default logging
Secret key: -----BEGIN RSA PRIVATE KEY-----MIIEogIBAAKCA
Expand Down
4 changes: 4 additions & 0 deletions pkg/commands/logging/bigquery/bigquery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func TestCreateBigQueryInput(t *testing.T) {
Format: fastly.ToPointer(`%h %l %u %t "%r" %>s %b`),
ResponseCondition: fastly.ToPointer("Prevent default logging"),
Placement: fastly.ToPointer("none"),
ProcessingRegion: fastly.ToPointer("eu"),
FormatVersion: fastly.ToPointer(2),
},
},
Expand Down Expand Up @@ -138,6 +139,7 @@ func TestUpdateBigQueryInput(t *testing.T) {
Template: fastly.ToPointer("new7"),
ResponseCondition: fastly.ToPointer("new8"),
Placement: fastly.ToPointer("new9"),
ProcessingRegion: fastly.ToPointer("eu"),
Format: fastly.ToPointer("new10"),
FormatVersion: fastly.ToPointer(3),
},
Expand Down Expand Up @@ -269,6 +271,7 @@ func createCommandAll() *bigquery.CreateCommand {
Template: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "template"},
ResponseCondition: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "Prevent default logging"},
Placement: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "none"},
ProcessingRegion: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "eu"},
Format: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: `%h %l %u %t "%r" %>s %b`},
FormatVersion: argparser.OptionalInt{Optional: argparser.Optional{WasSet: true}, Value: 2},
}
Expand Down Expand Up @@ -352,6 +355,7 @@ func updateCommandAll() *bigquery.UpdateCommand {
Template: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "new7"},
ResponseCondition: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "new8"},
Placement: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "new9"},
ProcessingRegion: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "eu"},
Format: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "new10"},
FormatVersion: argparser.OptionalInt{Optional: argparser.Optional{WasSet: true}, Value: 3},
}
Expand Down
5 changes: 5 additions & 0 deletions pkg/commands/logging/bigquery/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ type CreateCommand struct {
Format argparser.OptionalString
FormatVersion argparser.OptionalInt
Placement argparser.OptionalString
ProcessingRegion argparser.OptionalString
ProjectID argparser.OptionalString
ResponseCondition argparser.OptionalString
SecretKey argparser.OptionalString
Expand Down Expand Up @@ -68,6 +69,7 @@ func NewCreateCommand(parent argparser.Registerer, g *global.Data) *CreateComman
common.FormatVersion(c.CmdClause, &c.FormatVersion)
c.CmdClause.Flag("name", "The name of the BigQuery logging object. Used as a primary key for API access").Short('n').Action(c.EndpointName.Set).StringVar(&c.EndpointName.Value)
common.Placement(c.CmdClause, &c.Placement)
common.ProcessingRegion(c.CmdClause, &c.ProcessingRegion, "BigQuery")
c.CmdClause.Flag("project-id", "Your Google Cloud Platform project ID").Action(c.ProjectID.Set).StringVar(&c.ProjectID.Value)
common.ResponseCondition(c.CmdClause, &c.ResponseCondition)
c.CmdClause.Flag("secret-key", "Your Google Cloud Platform account secret key. The private_key field in your service account authentication JSON.").Action(c.SecretKey.Set).StringVar(&c.SecretKey.Value)
Expand Down Expand Up @@ -114,6 +116,9 @@ func (c *CreateCommand) ConstructInput(serviceID string, serviceVersion int) (*f
if c.Placement.WasSet {
input.Placement = &c.Placement.Value
}
if c.ProcessingRegion.WasSet {
input.ProcessingRegion = &c.ProcessingRegion.Value
}
if c.ProjectID.WasSet {
input.ProjectID = &c.ProjectID.Value
}
Expand Down
1 change: 1 addition & 0 deletions pkg/commands/logging/bigquery/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ func (c *DescribeCommand) Exec(_ io.Reader, out io.Writer) error {
"Format": fastly.ToValue(o.Format),
"Name": fastly.ToValue(o.Name),
"Placement": fastly.ToValue(o.Placement),
"Processing region": fastly.ToValue(o.ProcessingRegion),
"Project ID": fastly.ToValue(o.ProjectID),
"Response condition": fastly.ToValue(o.ResponseCondition),
"Secret key": fastly.ToValue(o.SecretKey),
Expand Down
1 change: 1 addition & 0 deletions pkg/commands/logging/bigquery/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ func (c *ListCommand) Exec(_ io.Reader, out io.Writer) error {
fmt.Fprintf(out, "\t\tResponse condition: %s\n", fastly.ToValue(bq.ResponseCondition))
fmt.Fprintf(out, "\t\tPlacement: %s\n", fastly.ToValue(bq.Placement))
fmt.Fprintf(out, "\t\tFormat version: %d\n", fastly.ToValue(bq.FormatVersion))
fmt.Fprintf(out, "\t\tProcessing region: %s\n", fastly.ToValue(bq.ProcessingRegion))
}
fmt.Fprintln(out)

Expand Down
5 changes: 5 additions & 0 deletions pkg/commands/logging/bigquery/update.go
10000
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ type UpdateCommand struct {
FormatVersion argparser.OptionalInt
NewName argparser.OptionalString
Placement argparser.OptionalString
ProcessingRegion argparser.OptionalString
ProjectID argparser.OptionalString
ResponseCondition argparser.OptionalString
SecretKey argparser.OptionalString
Expand Down Expand Up @@ -70,6 +71,7 @@ func NewUpdateCommand(parent argparser.Registerer, g *global.Data) *UpdateComman
common.FormatVersion(c.CmdClause, &c.FormatVersion)
c.CmdClause.Flag("new-name", "New name of the BigQuery logging object").Action(c.NewName.Set).StringVar(&c.NewName.Value)
common.Placement(c.CmdClause, &c.Placement)
common.ProcessingRegion(c.CmdClause, &c.ProcessingRegion, "BigQuery")
c.CmdClause.Flag("project-id", "Your Google Cloud Platform project ID").Action(c.ProjectID.Set).StringVar(&c.ProjectID.Value)
common.ResponseCondition(c.CmdClause, &c.ResponseCondition)
c.CmdClause.Flag("secret-key", "Your Google Cloud Platform account secret key. The private_key field in your service account authentication JSON.").Action(c.SecretKey.Set).StringVar(&c.SecretKey.Value)
Expand Down Expand Up @@ -117,6 +119,9 @@ func (c *UpdateCommand) ConstructInput(serviceID string, serviceVersion int) (*f
if c.Placement.WasSet {
input.Placement = &c.Placement.Value
}
if c.ProcessingRegion.WasSet {
input.ProcessingRegion = &c.ProcessingRegion.Value
}
if c.ProjectID.WasSet {
input.ProjectID = &c.ProjectID.Value
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ func listCloudfilesOK(i *fastly.ListCloudfilesInput) ([]*fastly.Cloudfiles, erro
MessageType: fastly.ToPointer("classic"),
TimestampFormat: fastly.ToPointer("%Y-%m-%dT%H:%M:%S.000"),
PublicKey: fastly.ToPointer(pgpPublicKey()),
ProcessingRegion: fastly.ToPointer("us"),
},
{
ServiceID: fastly.ToPointer(i.ServiceID),
Expand All @@ -336,6 +337,7 @@ func listCloudfilesOK(i *fastly.ListCloudfilesInput) ([]*fastly.Cloudfiles, erro
MessageType: fastly.ToPointer("classic"),
TimestampFormat: fastly.ToPointer("%Y-%m-%dT%H:%M:%S.000"),
PublicKey: fastly.ToPointer(pgpPublicKey()),
ProcessingRegion: fastly.ToPointer("us"),
},
}, nil
}
Expand Down Expand Up @@ -375,6 +377,7 @@ Version: 1
Message type: classic
Timestamp format: %Y-%m-%dT%H:%M:%S.000
Public key: `+pgpPublicKey()+`
Processing region: us
Cloudfiles 2/2
Service ID: 123
Version: 1
Expand All @@ -393,6 +396,7 @@ Version: 1
Message type: classic
Timestamp format: %Y-%m-%dT%H:%M:%S.000
Public key: `+pgpPublicKey()+`
Processing region: us
`) + "\n\n"

func getCloudfilesOK(i *fastly.GetCloudfilesInput) (*fastly.Cloudfiles, error) {
Expand All @@ -407,6 +411,7 @@ func getCloudfilesOK(i *fastly.GetCloudfilesInput) (*fastly.Cloudfiles, error) {
Region: fastly.ToPointer("ORD"),
Placement: fastly.ToPointer("none"),
Period: fastly.ToPointer(3600),
ProcessingRegion: fastly.ToPointer("us"),
GzipLevel: fastly.ToPointer(9),
Format: fastly.ToPointer(`%h %l %u %t "%r" %>s %b`),
FormatVersion: fastly.ToPointer(2),
Expand All @@ -432,6 +437,7 @@ Name: logs
Path: logs/
Period: 3600
Placement: none
Processing region: us
Public key: `+pgpPublicKey()+`
Region: ORD
Response condition: Prevent default logging
Expand Down
4 changes: 4 additions & 0 deletions pkg/commands/logging/cloudfiles/cloudfiles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func TestCreateCloudfilesInput(t *testing.T) {
TimestampFormat: fastly.ToPointer("%Y-%m-%dT%H:%M:%S.000"),
PublicKey: fastly.ToPointer(pgpPublicKey()),
CompressionCodec: fastly.ToPointer("zstd"),
ProcessingRegion: fastly.ToPointer("eu"),
},
},
{
Expand Down Expand Up @@ -147,6 +148,7 @@ func TestUpdateCloudfilesInput(t *testing.T) {
PublicKey: fastly.ToPointer("new11"),
User: fastly.ToPointer("new12"),
CompressionCodec: fastly.ToPointer("new13"),
ProcessingRegion: fastly.ToPointer("eu"),
},
},
{
Expand Down Expand Up @@ -280,6 +282,7 @@ func createCommandAll() *cloudfiles.CreateCommand {
TimestampFormat: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "%Y-%m-%dT%H:%M:%S.000"},
PublicKey: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: pgpPublicKey()},
CompressionCodec: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "zstd"},
ProcessingRegion: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "eu"},
}
}

Expand Down Expand Up @@ -368,6 +371,7 @@ func updateCommandAll() *cloudfiles.UpdateCommand {
PublicKey: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "new11"},
User: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "new12"},
CompressionCodec: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "new13"},
ProcessingRegion: argparser.OptionalString{Optional: argparser.Optional{WasSet: true}, Value: "eu"},
}
}

Expand Down
Loading
0