VMware vSphere Integrated Containers provider (#206)

* Add Virtual Kubelet provider for VIC

Initial virtual kubelet provider for VMware VIC.  This provider currently
handles creating and starting of a pod VM via the VIC portlayer and persona
server.  Image store handling via the VIC persona server.  This provider
currently requires the feature/wolfpack branch of VIC.

* Added pod stop and delete.  Also added node capacity.

Added the ability to stop and delete pod VMs via VIC.  Also retrieve
node capacity information from the VCH.

* Cleanup and readme file

Some file clean up and added a Readme.md markdown file for the VIC
provider.

* Cleaned up errors, added function comments, moved operation code

1. Cleaned up error handling.  Set standard for creating errors.
2. Added method prototype comments for all interface functions.
3. Moved PodCreator, PodStarter, PodStopper, and PodDeleter to a new folder.

* Add mocking code and unit tests for podcache, podcreator, and podstarter

Used the unit test framework used in VIC to handle assertions in the provider's
unit test.  Mocking code generated using OSS project mockery, which is compatible
with the testify assertion framework.

* Vendored packages for the VIC provider

Requires feature/wolfpack branch of VIC and a few specific commit sha of
projects used within VIC.

* Implementation of POD Stopper and Deleter unit tests (#4)

* Updated files for initial PR
This commit is contained in:
Loc Nguyen
2018-06-04 15:41:32 -07:00
committed by Ria Bhatia
parent 98a111e8b7
commit 513cebe7b7
6296 changed files with 1123685 additions and 8 deletions

View File

@@ -0,0 +1,8 @@
name: user
in: body
description: 'user to add to the system'
required: true
schema:
type: array
items: {type: string}
format: csv

View File

@@ -0,0 +1,6 @@
name: user
in: body
description: 'user to add to the system'
required: true
schema:
$ref: User

View File

@@ -0,0 +1,7 @@
name: id
in: body
description: 'id to add'
required: true
schema:
type: integer
format: int64

View File

@@ -0,0 +1,7 @@
name: user
in: body
description: 'user to add to the system'
required: true
schema:
type: array
items: {type: string}

View File

@@ -0,0 +1,6 @@
name: user
in: body
description: 'user to add to the system'
required: true
schema:
type: string

View File

@@ -0,0 +1,5 @@
name: firstName
in: formData
description: 'users first name'
required: true
$ref: Nothing

View File

@@ -0,0 +1,6 @@
name: id
in: formData
description: 'username to fetch'
required: true
type: integer
format: int64

View File

@@ -0,0 +1,7 @@
name: user
in: formData
description: 'user to add to the system'
required: true
type: array
items:
type: string

View File

@@ -0,0 +1,5 @@
name: firstName
in: formData
description: 'users first name'
required: true
type: string

View File

@@ -0,0 +1,9 @@
name: token
in: header
description: 'token to be passed as a header'
required: true
type: array
items:
type: integer
format: int64
collectionFormat: csv

View File

@@ -0,0 +1,8 @@
name: token
in: header
description: 'token to be passed as a header'
required: true
type: array
items:
type: string
collectionFormat: csv

View File

@@ -0,0 +1,5 @@
name: token
in: header
description: 'token to be passed as a header'
required: true
type: string

View File

@@ -0,0 +1,6 @@
name: id
in: path
description: 'username to fetch'
required: true
type: integer
format: int64

View File

@@ -0,0 +1,8 @@
name: usernames
in: path
description: 'usernames to pass'
required: true
type: array
items:
type: string
collectionFormat: csv

View File

@@ -0,0 +1,5 @@
name: username
in: path
description: 'username to fetch'
required: true
type: string

View File

@@ -0,0 +1,9 @@
name: id
in: query
description: 'ID of the object to fetch'
required: true
type: array
items:
type: integer
format: int64
collectionFormat: csv

View File

@@ -0,0 +1,6 @@
name: id
in: query
description: 'ID of the object to fetch'
required: true
type: integer
format: int64

View File

@@ -0,0 +1,6 @@
name: id
in: query
description: 'a complex object which should not validate'
required: true
schema:
$ref: Pet