Comments (3)
In the Etcd case, it'd be great to also get access to the URL that has been selected.
Currently, there's no way to take advantage of the auto generated client URL without using the ControlPlane structure, as processState
is not exported and is what contains the URL (the field is not copied back to the Etcd struct after generation right now).
from testing_frameworks.
I've begun a little exploration of what this might look like here. Comments very welcome!
from testing_frameworks.
@munnerz I did the same exploration as @totherme but with a bit of a different approach. I took your words literally and, after defaulting, copy certain interesting things back from the ProcessState
to the actual struct (APIServer & Etcd)
Comparing this implementation with @totherme's I see the following pros and cons:
- Pro: not changing the public interface too much (only adding the optional
io.Writer
s forStd{Out,Err}
- Con: Having somewhat strange "pointer magick" for the copy-back of interesting things
@munnerz which one do you prefer?
To compare the two approaches, here are the diffs for both:
from testing_frameworks.
Related Issues (20)
- Document environment variable to override the kubectl location HOT 2
- Provide simple tool to download all required test assets and put them some place HOT 7
- Support control plane to start kube ControllerManager and Scheduler HOT 5
- Support creating headless nodes HOT 6
- Provide tar.gz for the assets HOT 1
- Support TEST_ASSET_PATH as environment variable HOT 6
- Potentially reusable code in an internal package HOT 11
- Source binaries from the PATH HOT 6
- Integration: Enhance address manager, make it less vulnerable to races HOT 10
- Enable RBAC and support using ServiceAccounts HOT 5
- Decide how to keep binaries up to date HOT 5
- The testing_ prefix to the repo name is no longer required HOT 2
- Create a SECURITY_CONTACTS file.
- Add ability to easily append a flag to the default flags HOT 2
- kube-apiserver >= 1.12 requires use of secured port HOT 2
- Tag a release? HOT 3
- [Question] Ready to use? HOT 8
- Tag next release HOT 6
- Pinging for signs of life HOT 7
- Support a pre-configured client-go client HOT 6
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 testing_frameworks.