Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
eb0352cf
Commit
eb0352cf
authored
Apr 06, 2016
by
Erick Fejta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use fake images for pkg/api/validation unit tests
parent
bbe52993
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
invalidPod.yaml
pkg/api/validation/testdata/v1/invalidPod.yaml
+1
-1
invalidPod1.json
pkg/api/validation/testdata/v1/invalidPod1.json
+1
-1
invalidPod2.json
pkg/api/validation/testdata/v1/invalidPod2.json
+1
-1
invalidPod3.json
pkg/api/validation/testdata/v1/invalidPod3.json
+1
-1
validPod.yaml
pkg/api/validation/testdata/v1/validPod.yaml
+1
-1
No files found.
pkg/api/validation/testdata/v1/invalidPod.yaml
View file @
eb0352cf
...
...
@@ -7,5 +7,5 @@ metadata:
spec
:
containers
:
-
args
:
"
this
is
a
bad
command"
image
:
redis
image
:
gcr.io/fake_project/fake_image:fake_tag
name
:
master
pkg/api/validation/testdata/v1/invalidPod1.json
View file @
eb0352cf
...
...
@@ -11,7 +11,7 @@
"containers"
:
[
{
"name"
:
"master"
,
"image"
:
"redis
"
,
"image"
:
"gcr.io/fake_project/fake_image:fake_tag
"
,
"args"
:
"this is a bad command"
}
]
...
...
pkg/api/validation/testdata/v1/invalidPod2.json
View file @
eb0352cf
...
...
@@ -14,7 +14,7 @@
"containers"
:
[
{
"name"
:
"apache-php"
,
"image"
:
"
php:5.6.2-apache
"
,
"image"
:
"
gcr.io/fake_project/fake_image:fake_tag
"
,
"ports"
:
[
{
"name"
:
"apache"
,
...
...
pkg/api/validation/testdata/v1/invalidPod3.json
View file @
eb0352cf
...
...
@@ -14,7 +14,7 @@
"containers"
:
[
{
"name"
:
"apache-php"
,
"image"
:
"php:5.6.2-apache
"
,
"image"
:
"gcr.io/fake_project/fake_image:fake_tag
"
,
"ports"
:
[
{
"name"
:
"apache"
,
...
...
pkg/api/validation/testdata/v1/validPod.yaml
View file @
eb0352cf
...
...
@@ -12,5 +12,5 @@ spec:
-
an
-
ok
-
command
image
:
redis
image
:
gcr.io/fake_project/fake_image:fake_tag
name
:
master
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment