Skip to content
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

feat(api): update via SDK Studio #1694

Merged
merged 1 commit into from
Apr 8, 2024
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
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 1297
configured_endpoints: 1293
38 changes: 0 additions & 38 deletions addressing/prefixbgpbinding.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,6 @@ func (r serviceBindingJSON) RawJSON() string {

func (r ServiceBinding) implementsWorkersBinding() {}

func (r ServiceBinding) implementsWorkersBindingItem() {}

// Status of a Service Binding's deployment to the Cloudflare network
type ServiceBindingProvisioning struct {
// When a binding has been deployed to a majority of Cloudflare datacenters, the
Expand Down Expand Up @@ -186,42 +184,6 @@ func (r ServiceBindingProvisioningState) IsKnown() bool {
return false
}

type ServiceBindingParam struct {
// IP Prefix in Classless Inter-Domain Routing format.
CIDR param.Field[string] `json:"cidr"`
// Status of a Service Binding's deployment to the Cloudflare network
Provisioning param.Field[ServiceBindingProvisioningParam] `json:"provisioning"`
// Identifier
ServiceID param.Field[string] `json:"service_id"`
// Name of a service running on the Cloudflare network
ServiceName param.Field[string] `json:"service_name"`
}

func (r ServiceBindingParam) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r)
}

func (r ServiceBindingParam) implementsWorkersBindingItemUnionParam() {}

func (r ServiceBindingParam) implementsWorkersBindingItemUnionParam() {}

func (r ServiceBindingParam) implementsWorkersBindingItemUnionParam() {}

func (r ServiceBindingParam) implementsWorkersBindingItemUnionParam() {}

func (r ServiceBindingParam) implementsWorkersBindingItemUnionParam() {}

// Status of a Service Binding's deployment to the Cloudflare network
type ServiceBindingProvisioningParam struct {
// When a binding has been deployed to a majority of Cloudflare datacenters, the
// binding will become active and can be used with its associated service.
State param.Field[ServiceBindingProvisioningState] `json:"state"`
}

func (r ServiceBindingProvisioningParam) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r)
}

type PrefixBGPBindingNewParams struct {
// Identifier
AccountID param.Field[string] `path:"account_id,required"`
Expand Down
65 changes: 1 addition & 64 deletions api.md

Large diffs are not rendered by default.

26 changes: 0 additions & 26 deletions workers/deployment.go

This file was deleted.

119 changes: 0 additions & 119 deletions workers/deploymentbyscript.go

This file was deleted.

45 changes: 0 additions & 45 deletions workers/deploymentbyscript_test.go

This file was deleted.

121 changes: 0 additions & 121 deletions workers/deploymentbyscriptdetail.go

This file was deleted.

Loading