Comments (1)
@m4dcoder unfortunately, the problem is that the ConfigVariables aren't available through the GraphQL API. The only option then is to go the ConfigAsCode API route. Also, because of the way these API's work, traversing the tree is less than ideal but it's our only option. As far as performance goes, it's traversing the directory in memory so at least it's not repeatedly calling the API. I've tested this with pretty large amount of objects so it shouldn't break. I would be interested to see if you started running into issues.
from harness-go-sdk.
Related Issues (20)
- Add GetServiceByName to ConfigAsCodeClient HOT 1
- Consistency in list functions HOT 1
- Create, Update, and Delete Service in ServiceClient HOT 1
- UnmarshalJSON function on the Time class assumes no nanosecond portion in the incoming int64 value HOT 4
- ArtifactorySource is not populated in GraphQL Service HOT 2
- Nil Pointer exception while trying to reach out via Harness SDK during Terratest HOT 2
- Unable to create inline text secret HOT 2
- Feature Request: Add support to CRUD triggers to launch workflow or pipeline
- Wrong value passed to NewInvalidConfigError
- GetEnvironmentById - error
- README.md Example Should Include Imports
- GitOps API's Don't Read ApiKey from Client
- CloudQuery Source Plugin?
- YamlParsing Error while calling FindYamlByPath function in harness-go-sdk
- Documentation is incorrect for the example
- Can't select application/yaml as content type HOT 2
- Require some basic build and automation info
- Bitbucket connector missing ExecuteOnDelegate
- Models for feature flags APIs are outdated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from harness-go-sdk.