diff --git a/internal/graphclient/gen_client.go b/internal/graphclient/gen_client.go index 0ad56f449..ee4294b9d 100644 --- a/internal/graphclient/gen_client.go +++ b/internal/graphclient/gen_client.go @@ -105,6 +105,7 @@ type GetLoadBalancerPoolOrigin struct { Target string "json:\"target\" graphql:\"target\"" PortNumber int64 "json:\"portNumber\" graphql:\"portNumber\"" Active bool "json:\"active\" graphql:\"active\"" + Weight int64 "json:\"weight\" graphql:\"weight\"" PoolID gidx.PrefixedID "json:\"poolID\" graphql:\"poolID\"" CreatedAt time.Time "json:\"createdAt\" graphql:\"createdAt\"" UpdatedAt time.Time "json:\"updatedAt\" graphql:\"updatedAt\"" @@ -185,6 +186,7 @@ type LoadBalancerOriginCreate struct { Name string "json:\"name\" graphql:\"name\"" PortNumber int64 "json:\"portNumber\" graphql:\"portNumber\"" Target string "json:\"target\" graphql:\"target\"" + Weight int64 "json:\"weight\" graphql:\"weight\"" PoolID gidx.PrefixedID "json:\"poolID\" graphql:\"poolID\"" CreatedAt time.Time "json:\"createdAt\" graphql:\"createdAt\"" UpdatedAt time.Time "json:\"updatedAt\" graphql:\"updatedAt\"" @@ -204,6 +206,7 @@ type LoadBalancerOriginUpdate struct { Name string "json:\"name\" graphql:\"name\"" PortNumber int64 "json:\"portNumber\" graphql:\"portNumber\"" Target string "json:\"target\" graphql:\"target\"" + Weight int64 "json:\"weight\" graphql:\"weight\"" PoolID gidx.PrefixedID "json:\"poolID\" graphql:\"poolID\"" CreatedAt time.Time "json:\"createdAt\" graphql:\"createdAt\"" UpdatedAt time.Time "json:\"updatedAt\" graphql:\"updatedAt\"" @@ -375,6 +378,7 @@ const GetLoadBalancerPoolOriginDocument = `query GetLoadBalancerPoolOrigin ($id: target portNumber active + weight poolID createdAt updatedAt @@ -550,6 +554,7 @@ const LoadBalancerOriginCreateDocument = `mutation LoadBalancerOriginCreate ($in name portNumber target + weight poolID createdAt updatedAt @@ -599,6 +604,7 @@ const LoadBalancerOriginUpdateDocument = `mutation LoadBalancerOriginUpdate ($id name portNumber target + weight poolID createdAt updatedAt diff --git a/internal/graphclient/origin.graphql b/internal/graphclient/origin.graphql index 444a4f72a..3a3f45221 100644 --- a/internal/graphclient/origin.graphql +++ b/internal/graphclient/origin.graphql @@ -8,6 +8,7 @@ query GetLoadBalancerPoolOrigin($id: ID!, $originid: ID!) { target portNumber active + weight poolID createdAt updatedAt @@ -25,6 +26,7 @@ mutation LoadBalancerOriginCreate($input: CreateLoadBalancerOriginInput!) { name portNumber target + weight poolID createdAt updatedAt @@ -40,6 +42,7 @@ mutation LoadBalancerOriginUpdate($id: ID!, $input: UpdateLoadBalancerOriginInpu name portNumber target + weight poolID createdAt updatedAt