Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
73e0719
build(deps): bump slackapi/slack-github-action from 2.0.0 to 2.1.0 (#…
dependabot[bot] May 13, 2025
91b5023
Add lke versions helper and update tests (#748)
ykim-akamai May 16, 2025
255b155
Fix setupInstanceFirewall for accounts with default firewall (#741)
zliang-akamai May 16, 2025
ea79a00
Fix tag for LKE control plane ACL revision ID field (#749)
zliang-akamai May 19, 2025
6ac31fd
fix: update MigratingTo field to accept int or null (#736)
cxdy May 19, 2025
4862b5f
Drop v4beta and LA notice for Limits Visibility (#752)
yec-akamai May 20, 2025
891c21f
ACLP: updating variable type for entity_ids for different service_typ…
rbajoria26 May 20, 2025
0bb8fc2
Project: Configurable DB Params (#755)
ezilber-akamai May 21, 2025
a13a99b
Add support to auto-allocate ipv4 addrs from range specified (#756)
rahulait May 27, 2025
a3c3b47
project: UDP NodeBalancers (#751)
ezilber-akamai May 27, 2025
d10106f
Deprecate MarkEventRead function (#753)
zliang-akamai Jun 2, 2025
dc7858d
Fix in-line doc for `UpdateInstance` function (#761)
rammanoj Jun 2, 2025
ebf2210
UseURL should require host and scheme (#758)
kokes Jun 5, 2025
43ce150
Add `DoublePointer` helper function (#764)
zliang-akamai Jun 5, 2025
c334574
build(deps): bump golang.org/x/net from 0.40.0 to 0.41.0 (#766)
dependabot[bot] Jun 11, 2025
2f56bb2
build(deps): bump golang.org/x/text from 0.25.0 to 0.26.0 (#767)
dependabot[bot] Jun 17, 2025
d7ccdef
Fix Lint (#778)
zliang-akamai Jul 2, 2025
d987792
Add InterfaceGeneration to Linode instance structs (#779)
zliang-akamai Jul 3, 2025
4cf3166
build(deps): bump slackapi/slack-github-action from 2.1.0 to 2.1.1 (#…
dependabot[bot] Jul 14, 2025
a020349
build(deps): bump golang.org/x/text from 0.26.0 to 0.27.0 (#783)
dependabot[bot] Jul 14, 2025
7800bdf
build(deps): bump golang.org/x/net from 0.41.0 to 0.42.0 (#784)
dependabot[bot] Jul 18, 2025
d05c8f4
Removed go.work.sum (#787)
ezilber-akamai Jul 22, 2025
2f5a5d2
Fix lint fmt issue (#789)
yec-akamai Jul 28, 2025
703ce62
Feat: add support for instanceFirewallUpdate (#788)
tchinmai7 Jul 28, 2025
a7ffa73
Add support for creation of NB with IPv4 Reserved Address (#733)
hcwagner Aug 11, 2025
4fbc607
update fixture (#796)
yec-akamai Aug 12, 2025
96cc59d
Support ACLP fetching entity metrics (#777)
yec-akamai Aug 12, 2025
30df653
Fixed account settings tests (#797)
ezilber-akamai Aug 13, 2025
06ccfbb
build(deps): bump golang.org/x/text from 0.27.0 to 0.28.0 (#794)
dependabot[bot] Aug 13, 2025
dca68fa
build(deps): bump golang.org/x/net from 0.42.0 to 0.43.0 (#793)
dependabot[bot] Aug 13, 2025
6cea778
Project: Host Maintenance Policy (#798)
ezilber-akamai Aug 13, 2025
bcb371a
Ran golangci-lint fmt (#799)
ezilber-akamai Aug 13, 2025
ff17027
Add label field to lkenodepool (#786)
sphan-akamai Aug 18, 2025
abba1f8
build(deps): bump actions/checkout from 4 to 5 (#801)
dependabot[bot] Aug 19, 2025
967aacd
build(deps): bump github.com/jarcoal/httpmock from 1.4.0 to 1.4.1 (#802)
dependabot[bot] Aug 20, 2025
923cc42
Project: Linode Interfaces (#735)
zliang-akamai Aug 21, 2025
e4bd93a
project: VPC Dual Stack (#782)
lgarber-akamai Aug 25, 2025
8ddfb56
Correct the type of Linode ID of a shared IPv4 for Linode Interfaces …
zliang-akamai Aug 25, 2025
3f96d64
build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 (…
dependabot[bot] Sep 3, 2025
d6838a7
Support LKE-E: Bring Your Own VPC, Dual Stack Cluster, Audit Log Enab…
yec-akamai Sep 5, 2025
bee68b4
build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 (…
dependabot[bot] Sep 5, 2025
0fa653f
build(deps): bump actions/github-script from 7 to 8 (#813)
dependabot[bot] Sep 9, 2025
d79f1fd
build(deps): bump actions/setup-go from 5 to 6 (#814)
dependabot[bot] Sep 10, 2025
d5d7262
build(deps): bump actions/setup-python from 5 to 6 (#815)
dependabot[bot] Sep 10, 2025
c74cc4d
build(deps): bump actions/stale from 9 to 10 (#816)
dependabot[bot] Sep 10, 2025
679a42c
Remove AddPlacementGroups user grant (#810)
zliang-akamai Sep 11, 2025
bb1cc23
build(deps): bump golang.org/x/text from 0.28.0 to 0.29.0 and go from…
dependabot[bot] Sep 11, 2025
b01b5bc
build(deps): bump golang.org/x/net from 0.43.0 to 0.44.0 (#819)
dependabot[bot] Sep 15, 2025
33e08cf
build(deps): bump golang.org/x/oauth2 from 0.30.0 to 0.31.0 (#812)
dependabot[bot] Sep 15, 2025
dac763f
change isPublic to be a pointer on new IPv6/linode interface config t…
eljohnson92 Sep 16, 2025
2e1fcf5
Change types of interfaces create options slices to be pointers (#817)
zliang-akamai Sep 16, 2025
5a81d98
Add VPCInterfaceUpdateOptions (#825)
zliang-akamai Sep 19, 2025
2ef37ae
Format everything with `golangci-lint` (#830)
zliang-akamai Sep 24, 2025
cee3651
Fix firewall device for linode interfaces (#829)
zliang-akamai Sep 25, 2025
706e083
project: DBaaS/VPC Integration (#832)
lgarber-akamai Oct 6, 2025
3ed0466
Creates negative test cases for ACLP Metrics & Alerts (#818)
psnoch-akamai Oct 7, 2025
9900e5f
build(deps): bump github/codeql-action from 3 to 4 (#837)
dependabot[bot] Oct 15, 2025
db2cd96
build(deps): bump golang.org/x/oauth2 from 0.31.0 to 0.32.0 (#836)
dependabot[bot] Oct 15, 2025
aa42ec3
build(deps): bump golang.org/x/net from 0.44.0 to 0.45.0 (#834)
dependabot[bot] Oct 15, 2025
fec54e0
Remove `stale` workflow; fix lint (#843)
zliang-akamai Nov 5, 2025
081d3a8
Project: Private Image Sharing (#844)
ezilber-akamai Nov 5, 2025
1da7c96
aclp region and group_by changes (#807)
pmajali Nov 6, 2025
9fc7ac8
Fixed formatting for Private Image Sharing Tests (#845)
ezilber-akamai Nov 6, 2025
e478ad9
build(deps): bump golang.org/x/oauth2 from 0.32.0 to 0.33.0 (#846)
dependabot[bot] Nov 10, 2025
16b8765
Add `firewall_id` field to node pool structs (#840)
rammanoj Nov 12, 2025
e689c8b
build(deps): bump golangci/golangci-lint-action from 8 to 9 (#847)
dependabot[bot] Nov 12, 2025
ae3ce60
build(deps): bump golang.org/x/text from 0.30.0 to 0.31.0 (#850)
dependabot[bot] Nov 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
lint-tidy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
with:
go-version: stable

- name: golangci-lint
uses: golangci/golangci-lint-action@v8
uses: golangci/golangci-lint-action@v9
with:
version: latest

Expand All @@ -38,19 +38,19 @@ jobs:
EXIT_STATUS: 0
steps:
- name: Clone Repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: 'recursive'

- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: 'stable'
- run: go version

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.x'

Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:

steps:
- name: Notify Slack
uses: slackapi/slack-github-action@v2.0.0
uses: slackapi/slack-github-action@v2.1.1
with:
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ jobs:
build-mode: autobuild
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
queries: security-and-quality

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
10 changes: 5 additions & 5 deletions .github/workflows/integration_tests_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'workflow_dispatch' && inputs.sha != ''
steps:
- uses: actions/setup-go@v5
- uses: actions/setup-go@v6
with:
go-version: 'stable'
- run: go version
Expand All @@ -32,7 +32,7 @@ jobs:

# Check out merge commit
- name: Checkout PR
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.sha }}

Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/github-script@v7
- uses: actions/github-script@v8
id: update-check-run
if: ${{ inputs.pull_request_number != '' && fromJson(steps.commit-hash.outputs.data).repository.pullRequest.headRef.target.oid == inputs.sha }}
env:
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: 'recursive'
Expand All @@ -132,7 +132,7 @@ jobs:

steps:
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.x'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
-
name: Run Labeler
uses: crazy-max/ghaction-github-labeler@24d110aa46a59976b8a7f35518cb7f14f434c916
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly_smoke_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: 'recursive'
ref: ${{ github.event.inputs.sha || github.ref }}

- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: '1.x'

Expand All @@ -38,7 +38,7 @@ jobs:

- name: Notify Slack
if: (success() || failure()) && github.repository == 'linode/linodego'
uses: slackapi/slack-github-action@v2.0.0
uses: slackapi/slack-github-action@v2.1.1
with:
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-cross-repo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout terraform repo
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: linode/terraform-provider-linode
fetch-depth: 0
submodules: 'recursive'

- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: 'stable'
- run: go version
- run: make deps

- name: Clone Repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
path: linodego

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-notify-slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Notify Slack - Main Message
uses: slackapi/slack-github-action@v2.0.0
uses: slackapi/slack-github-action@v2.1.1
with:
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/security_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout repository'
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: 'Dependency Review'
uses: actions/dependency-review-action@v4
with:
Expand All @@ -22,7 +22,7 @@ jobs:
GO111MODULE: on
steps:
- name: Checkout Source
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Run Gosec Security Scanner on root directory
uses: securego/gosec@master
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/stale.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ linters:
- nilerr
- nlreturn
- noctx
- noinlineerr
- nolintlint
- nonamedreturns
- perfsprint
Expand Down Expand Up @@ -72,11 +73,15 @@ linters:
- builtin$
- examples$
formatters:
settings:
golines:
max-len: 160
enable:
- gci
- gofmt
- gofumpt
- goimports
- golines
exclusions:
generated: lax
paths:
Expand Down
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ BIN_DIR := $(GOPATH)/bin
INTEGRATION_DIR := ./test/integration
FIXTURES_DIR := $(INTEGRATION_DIR)/fixtures

TEST_TAGS := integration
TEST_TIMEOUT := 5h

SKIP_DOCKER ?= 0
Expand All @@ -28,7 +29,7 @@ test-unit:
cd test && make test-unit

test-int:
cd test && make test-int
cd test && make test-int TEST_TIMEOUT=$(TEST_TIMEOUT)

testcov-func:
@go test -v -coverprofile="coverage.txt" . > /dev/null 2>&1
Expand All @@ -40,7 +41,7 @@ testcov-html:
@go tool cover -html coverage.txt

test-smoke:
cd test && make test-smoke
cd test && make test-smoke TEST_TIMEOUT=$(TEST_TIMEOUT)

build: vet lint
go build ./...
Expand Down Expand Up @@ -77,7 +78,7 @@ run_fixtures:
LINODE_API_VERSION="v4beta" \
LINODE_URL="$(LINODE_URL)" \
GO111MODULE="on" \
go test --tags $(TEST_TAGS) -timeout=$(TEST_TIMEOUT) -v $(TEST_ARGS)
go test -timeout=$(TEST_TIMEOUT) -v $(TEST_ARGS)

sanitize:
@echo "* Sanitizing fixtures"
Expand Down
3 changes: 2 additions & 1 deletion account.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (i Account) GetUpdateOptions() (o AccountUpdateOptions) {
o.TaxID = i.TaxID
o.Zip = i.Zip

return
return o
}

// UnmarshalJSON implements the json.Unmarshaler interface
Expand All @@ -72,6 +72,7 @@ func (i *Account) UnmarshalJSON(b []byte) error {

p := struct {
*Mask

ActiveSince *parseabletime.ParseableTime `json:"active_since"`
}{
Mask: (*Mask)(i),
Expand Down
2 changes: 1 addition & 1 deletion account_agreements.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func (i AccountAgreements) GetUpdateOptions() (o AccountAgreementsUpdateOptions)
o.MasterServiceAgreement = i.MasterServiceAgreement
o.PrivacyPolicy = i.PrivacyPolicy

return
return o
}

// GetAccountAgreements gets all agreements and their acceptance status for the Account.
Expand Down
5 changes: 4 additions & 1 deletion account_betas.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import (
"github.com/linode/linodego/internal/parseabletime"
)

// The details and enrollment information of a Beta program that an account is enrolled in.
// AccountBetaProgram represents an enrolled Account Beta Program object,
// which contains the details and enrollment information of a Beta program
// that an account is enrolled in.
type AccountBetaProgram struct {
Label string `json:"label"`
ID string `json:"id"`
Expand All @@ -31,6 +33,7 @@ func (cBeta *AccountBetaProgram) UnmarshalJSON(b []byte) error {

p := struct {
*Mask

Started *parseabletime.ParseableTime `json:"started"`
Ended *parseabletime.ParseableTime `json:"ended"`
Enrolled *parseabletime.ParseableTime `json:"enrolled"`
Expand Down
Loading
Loading