mesosphere / star Goto Github PK
View Code? Open in Web Editor NEWTest program for network policies.
Home Page: http://mesosphere.github.io/star
License: Other
Test program for network policies.
Home Page: http://mesosphere.github.io/star
License: Other
This could be implemented as a command-line argument inline, or as a path to a file containing the value.
Using the std::include_str!() macro.
When attempting to build the Docker image, the build process fails.
[+] Building 114.1s (8/8) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 195B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/jimmycuadra/rust:1.1.0 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 3.48kB 0.0s
=> [1/4] FROM docker.io/jimmycuadra/rust:1.1.0 0.0s
=> CACHED [2/4] ADD . /star 0.0s
=> CACHED [3/4] WORKDIR /star 0.0s
=> ERROR [4/4] RUN cargo build 114.1s
------
> [4/4] RUN cargo build:
0.343 Updating git repository `https://github.com/carllerche/mio`
4.066 Updating registry `https://github.com/rust-lang/crates.io-index`
113.4 An unknown error occurred
113.4
113.4 To learn more, run the command again with --verbose.
------
Dockerfile:6
--------------------
4 | ADD . /star
5 | WORKDIR /star
6 | >>> RUN cargo build
7 | ENTRYPOINT ["target/debug/star-probe"]
8 |
--------------------
ERROR: failed to solve: process "/bin/sh -c cargo build" did not complete successfully: exit code: 101
If attempting to build on a more recent Rust version (such as FROM rust:1.77
), compilation failed:
4.850 Compiling libc v0.1.8
4.850 Compiling gcc v0.3.11
4.923 Compiling pkg-config v0.3.5
5.132 Compiling winapi-build v0.1.0
5.139 Compiling openssl-sys v0.6.4
5.203 Compiling kernel32-sys v0.1.3
5.359 Compiling log v0.3.1
5.396 Compiling rustc-serialize v0.3.15
5.461 error[E0642]: patterns aren't allowed in functions without bodies
5.466 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.15/src/serialize.rs:145:45
5.468 |
5.468 145 | ... &f_name: &str,
5.469 | ^^^^^^^ pattern not allowed in function without body
5.470
5.570 error[E0310]: the parameter type `T` may not live long enough
5.571 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.15/src/serialize.rs:452:5
5.572 |
5.573 452 | fn decode<D: Decoder>(d: &mut D) -> Result<Cow<'static, T>, D::Error> {
5.574 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5.575 | |
5.576 | the parameter type `T` must be valid for the static lifetime...
5.576 | ...so that the type `T` will meet its required lifetime bounds...
5.578 |
5.578 note: ...that is required by this bound
5.578 --> /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/alloc/src/borrow.rs:180:30
5.578 help: consider adding an explicit lifetime bound
5.578 |
5.578 448 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T>
5.578 | +++++++++
5.578
5.595 error[E0277]: the size for values of type `Self` cannot be known at compilation time
5.596 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.15/src/serialize.rs:201:41
5.597 |
5.597 201 | fn decode<D: Decoder>(d: &mut D) -> Result<Self, D::Error>;
5.598 | ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
5.599 |
5.600 note: required by a bound in `Result`
5.600 --> /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/result.rs:502:1
5.601 help: consider further restricting `Self`
5.602 |
5.602 201 | fn decode<D: Decoder>(d: &mut D) -> Result<Self, D::Error> where Self: Sized;
5.604 | +++++++++++++++++
5.604
5.608 Compiling winapi v0.2.1
5.624 Some errors have detailed explanations: E0277, E0310, E0642.
5.625 For more information about an error, try `rustc --explain E0277`.
5.631 error: could not compile `rustc-serialize` (lib) due to 3 previous errors
5.632 warning: build failed, waiting for other jobs to finish...
------
Dockerfile:7
--------------------
I am aware this is a (very) old repo, but... many people are still using this image :) . So any help would be appreciated.
Currently the visualizer needs to be refreshed every time if users wish to see the most current reachability data.
It's confusing to have nodes appear in random initial locations upon reload.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.