Skip to content
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
14 changes: 14 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,27 @@ on:
push:
branches:
- develop

env:
GO_VERSION: "1.22.6"

jobs:
verify:
name: Verify
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: true

- name: Install Dependences
run: sudo apt install libpcap-dev

- name: Godel Verify
run: ./godelw verify
check_fern:
Expand Down
2 changes: 1 addition & 1 deletion fern/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization": "method-security",
"version": "0.37.13"
"version": "0.57.26"
}
8 changes: 4 additions & 4 deletions fern/generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ groups:
local:
generators:
- name: fernapi/fern-go-sdk
version: 0.22.2
version: 0.37.2
config:
importpath: github.com/method-security/methodk8s/generated/go
output:
Expand All @@ -12,14 +12,14 @@ groups:
pypi-local:
generators:
- name: fernapi/fern-pydantic-model
version: 1.3.1
version: 1.4.7
output:
location: local-file-system
path: ../generated/python
pypi-test:
generators:
- name: fernapi/fern-pydantic-model
version: 1.3.1
version: 1.4.7
config:
package_name: methodk8s
output:
Expand All @@ -30,7 +30,7 @@ groups:
pypi:
generators:
- name: fernapi/fern-pydantic-model
version: 1.3.1
version: 1.4.7
config:
package_name: methodk8s
output:
Expand Down
7 changes: 4 additions & 3 deletions generated/go/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ package client

import (
core "github.com/method-security/methodk8s/generated/go/core"
internal "github.com/method-security/methodk8s/generated/go/internal"
option "github.com/method-security/methodk8s/generated/go/option"
http "net/http"
)

type Client struct {
baseURL string
caller *core.Caller
caller *internal.Caller
header http.Header
}

func NewClient(opts ...option.RequestOption) *Client {
options := core.NewRequestOptions(opts...)
return &Client{
baseURL: options.BaseURL,
caller: core.NewCaller(
&core.CallerParams{
caller: internal.NewCaller(
&internal.CallerParams{
Client: options.HTTPClient,
MaxAttempts: options.MaxAttempts,
},
Expand Down
Loading