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:
101
vendor/github.com/vmware/vic/tests/robot-indices/BuiltIn.index
generated
vendored
Normal file
101
vendor/github.com/vmware/vic/tests/robot-indices/BuiltIn.index
generated
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
Call Method
|
||||
Catenate
|
||||
Comment
|
||||
Continue For Loop
|
||||
Continue For Loop If
|
||||
Convert To Binary
|
||||
Convert To Boolean
|
||||
Convert To Bytes
|
||||
Convert To Hex
|
||||
Convert To Integer
|
||||
Convert To Number
|
||||
Convert To Octal
|
||||
Convert To String
|
||||
Create Dictionary
|
||||
Create List
|
||||
Evaluate
|
||||
Exit For Loop
|
||||
Exit For Loop If
|
||||
Fail
|
||||
Fatal Error
|
||||
Get Count
|
||||
Get Length
|
||||
Get Library Instance
|
||||
Get Time
|
||||
Get Variable Value
|
||||
Get Variables
|
||||
Import Library
|
||||
Import Resource
|
||||
Import Variables
|
||||
Keyword Should Exist
|
||||
Length Should Be
|
||||
Log
|
||||
Log Many
|
||||
Log To Console
|
||||
Log Variables
|
||||
No Operation
|
||||
Pass Execution
|
||||
Pass Execution If
|
||||
Regexp Escape
|
||||
Reload Library
|
||||
Remove Tags
|
||||
Repeat Keyword
|
||||
Replace Variables
|
||||
Return From Keyword
|
||||
Return From Keyword If
|
||||
Run Keyword
|
||||
Run Keyword And Continue On Failure
|
||||
Run Keyword And Expect Error
|
||||
Run Keyword And Ignore Error
|
||||
Run Keyword And Return
|
||||
Run Keyword And Return If
|
||||
Run Keyword And Return Status
|
||||
Run Keyword If
|
||||
Run Keyword If All Critical Tests Passed
|
||||
Run Keyword If All Tests Passed
|
||||
Run Keyword If Any Critical Tests Failed
|
||||
Run Keyword If Any Tests Failed
|
||||
Run Keyword If Test Failed
|
||||
Run Keyword If Test Passed
|
||||
Run Keyword If Timeout Occurred
|
||||
Run Keyword Unless
|
||||
Run Keywords
|
||||
Set Global Variable
|
||||
Set Library Search Order
|
||||
Set Log Level
|
||||
Set Suite Documentation
|
||||
Set Suite Metadata
|
||||
Set Suite Variable
|
||||
Set Tags
|
||||
Set Test Documentation
|
||||
Set Test Message
|
||||
Set Test Variable
|
||||
Set Variable
|
||||
Set Variable If
|
||||
Should Be Empty
|
||||
Should Be Equal
|
||||
Should Be Equal As Integers
|
||||
Should Be Equal As Numbers
|
||||
Should Be Equal As Strings
|
||||
Should Be True
|
||||
Should Contain
|
||||
Should Contain X Times
|
||||
Should End With
|
||||
Should Match
|
||||
Should Match Regexp
|
||||
Should Not Be Empty
|
||||
Should Not Be Equal
|
||||
Should Not Be Equal As Integers
|
||||
Should Not Be Equal As Numbers
|
||||
Should Not Be Equal As Strings
|
||||
Should Not Be True
|
||||
Should Not Contain
|
||||
Should Not End With
|
||||
Should Not Match
|
||||
Should Not Match Regexp
|
||||
Should Not Start With
|
||||
Should Start With
|
||||
Sleep
|
||||
Variable Should Exist
|
||||
Variable Should Not Exist
|
||||
Wait Until Keyword Succeeds
|
||||
43
vendor/github.com/vmware/vic/tests/robot-indices/Collections.index
generated
vendored
Normal file
43
vendor/github.com/vmware/vic/tests/robot-indices/Collections.index
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
Append To List
|
||||
Combine Lists
|
||||
Convert To Dictionary
|
||||
Convert To List
|
||||
Copy Dictionary
|
||||
Copy List
|
||||
Count Values In List
|
||||
Dictionaries Should Be Equal
|
||||
Dictionary Should Contain Item
|
||||
Dictionary Should Contain Key
|
||||
Dictionary Should Contain Sub Dictionary
|
||||
Dictionary Should Contain Value
|
||||
Dictionary Should Not Contain Key
|
||||
Dictionary Should Not Contain Value
|
||||
Get Dictionary Items
|
||||
Get Dictionary Keys
|
||||
Get Dictionary Values
|
||||
Get From Dictionary
|
||||
Get From List
|
||||
Get Index From List
|
||||
Get Match Count
|
||||
Get Matches
|
||||
Get Slice From List
|
||||
Insert Into List
|
||||
Keep In Dictionary
|
||||
List Should Contain Sub List
|
||||
List Should Contain Value
|
||||
List Should Not Contain Duplicates
|
||||
List Should Not Contain Value
|
||||
Lists Should Be Equal
|
||||
Log Dictionary
|
||||
Log List
|
||||
Pop From Dictionary
|
||||
Remove Duplicates
|
||||
Remove From Dictionary
|
||||
Remove From List
|
||||
Remove Values From List
|
||||
Reverse List
|
||||
Set List Value
|
||||
Set To Dictionary
|
||||
Should Contain Match
|
||||
Should Not Contain Match
|
||||
Sort List
|
||||
8
vendor/github.com/vmware/vic/tests/robot-indices/DateTime.index
generated
vendored
Normal file
8
vendor/github.com/vmware/vic/tests/robot-indices/DateTime.index
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
Add Time To Date
|
||||
Add Time To Time
|
||||
Convert Date
|
||||
Convert Time
|
||||
Get Current Date
|
||||
Subtract Date From Date
|
||||
Subtract Time From Date
|
||||
Subtract Time From Time
|
||||
56
vendor/github.com/vmware/vic/tests/robot-indices/OperatingSystem.index
generated
vendored
Normal file
56
vendor/github.com/vmware/vic/tests/robot-indices/OperatingSystem.index
generated
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
Append To Environment Variable
|
||||
Append To File
|
||||
Copy Directory
|
||||
Copy File
|
||||
Copy Files
|
||||
Count Directories In Directory
|
||||
Count Files In Directory
|
||||
Count Items In Directory
|
||||
Create Binary File
|
||||
Create Directory
|
||||
Create File
|
||||
Directory Should Be Empty
|
||||
Directory Should Exist
|
||||
Directory Should Not Be Empty
|
||||
Directory Should Not Exist
|
||||
Empty Directory
|
||||
Environment Variable Should Be Set
|
||||
Environment Variable Should Not Be Set
|
||||
File Should Be Empty
|
||||
File Should Exist
|
||||
File Should Not Be Empty
|
||||
File Should Not Exist
|
||||
Get Binary File
|
||||
Get Environment Variable
|
||||
Get Environment Variables
|
||||
Get File
|
||||
Get File Size
|
||||
Get Modified Time
|
||||
Grep File
|
||||
Join Path
|
||||
Join Paths
|
||||
List Directories In Directory
|
||||
List Directory
|
||||
List Files In Directory
|
||||
Log Environment Variables
|
||||
Log File
|
||||
Move Directory
|
||||
Move File
|
||||
Move Files
|
||||
Normalize Path
|
||||
Remove Directory
|
||||
Remove Environment Variable
|
||||
Remove File
|
||||
Remove Files
|
||||
Run
|
||||
Run And Return Rc
|
||||
Run And Return Rc And Output
|
||||
Set Environment Variable
|
||||
Set Modified Time
|
||||
Should Exist
|
||||
Should Not Exist
|
||||
Split Extension
|
||||
Split Path
|
||||
Touch
|
||||
Wait Until Created
|
||||
Wait Until Removed
|
||||
15
vendor/github.com/vmware/vic/tests/robot-indices/Process.index
generated
vendored
Normal file
15
vendor/github.com/vmware/vic/tests/robot-indices/Process.index
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
Get Process Id
|
||||
Get Process Object
|
||||
Get Process Result
|
||||
Is Process Running
|
||||
Join Command Line
|
||||
Process Should Be Running
|
||||
Process Should Be Stopped
|
||||
Run Process
|
||||
Send Signal To Process
|
||||
Split Command Line
|
||||
Start Process
|
||||
Switch Process
|
||||
Terminate All Processes
|
||||
Terminate Process
|
||||
Wait For Process
|
||||
32
vendor/github.com/vmware/vic/tests/robot-indices/SSHLibrary.index
generated
vendored
Normal file
32
vendor/github.com/vmware/vic/tests/robot-indices/SSHLibrary.index
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
Close All Connections
|
||||
Close Connection
|
||||
Directory Should Exist
|
||||
Directory Should Not Exist
|
||||
Enable Ssh Logging
|
||||
Execute Command
|
||||
File Should Exist
|
||||
File Should Not Exist
|
||||
Get Connection
|
||||
Get Connections
|
||||
Get Directory
|
||||
Get File
|
||||
List Directories In Directory
|
||||
List Directory
|
||||
List Files In Directory
|
||||
Login
|
||||
Login With Public Key
|
||||
Open Connection
|
||||
Put Directory
|
||||
Put File
|
||||
Read
|
||||
Read Command Output
|
||||
Read Until
|
||||
Read Until Prompt
|
||||
Read Until Regexp
|
||||
Set Client Configuration
|
||||
Set Default Configuration
|
||||
Start Command
|
||||
Switch Connection
|
||||
Write
|
||||
Write Bare
|
||||
Write Until Expected Output
|
||||
164
vendor/github.com/vmware/vic/tests/robot-indices/Selenium2Library.index
generated
vendored
Normal file
164
vendor/github.com/vmware/vic/tests/robot-indices/Selenium2Library.index
generated
vendored
Normal file
@@ -0,0 +1,164 @@
|
||||
Add Cookie
|
||||
Add Location Strategy
|
||||
Alert Should Be Present
|
||||
Assign Id To Element
|
||||
Capture Page Screenshot
|
||||
Checkbox Should Be Selected
|
||||
Checkbox Should Not Be Selected
|
||||
Choose Cancel On Next Confirmation
|
||||
Choose File
|
||||
Choose Ok On Next Confirmation
|
||||
Clear Element Text
|
||||
Click Button
|
||||
Click Element
|
||||
Click Element At Coordinates
|
||||
Click Image
|
||||
Click Link
|
||||
Close All Browsers
|
||||
Close Browser
|
||||
Close Window
|
||||
Confirm Action
|
||||
Create Webdriver
|
||||
Current Frame Contains
|
||||
Current Frame Should Not Contain
|
||||
Delete All Cookies
|
||||
Delete Cookie
|
||||
Dismiss Alert
|
||||
Double Click Element
|
||||
Drag And Drop
|
||||
Drag And Drop By Offset
|
||||
Element Should Be Disabled
|
||||
Element Should Be Enabled
|
||||
Element Should Be Visible
|
||||
Element Should Contain
|
||||
Element Should Not Be Visible
|
||||
Element Should Not Contain
|
||||
Element Text Should Be
|
||||
Execute Async Javascript
|
||||
Execute Javascript
|
||||
Focus
|
||||
Frame Should Contain
|
||||
Get Alert Message
|
||||
Get All Links
|
||||
Get Cookie Value
|
||||
Get Cookies
|
||||
Get Element Attribute
|
||||
Get Element Size
|
||||
Get Horizontal Position
|
||||
Get List Items
|
||||
Get Location
|
||||
Get Matching Xpath Count
|
||||
Get Selected List Label
|
||||
Get Selected List Labels
|
||||
Get Selected List Value
|
||||
Get Selected List Values
|
||||
Get Selenium Implicit Wait
|
||||
Get Selenium Speed
|
||||
Get Selenium Timeout
|
||||
Get Source
|
||||
Get Table Cell
|
||||
Get Text
|
||||
Get Title
|
||||
Get Value
|
||||
Get Vertical Position
|
||||
Get Webelement
|
||||
Get Webelements
|
||||
Get Window Identifiers
|
||||
Get Window Names
|
||||
Get Window Position
|
||||
Get Window Size
|
||||
Get Window Titles
|
||||
Go Back
|
||||
Go To
|
||||
Input Password
|
||||
Input Text
|
||||
Input Text Into Prompt
|
||||
List Selection Should Be
|
||||
List Should Have No Selections
|
||||
List Windows
|
||||
Location Should Be
|
||||
Location Should Contain
|
||||
Locator Should Match X Times
|
||||
Log Location
|
||||
Log Source
|
||||
Log Title
|
||||
Maximize Browser Window
|
||||
Mouse Down
|
||||
Mouse Down On Image
|
||||
Mouse Down On Link
|
||||
Mouse Out
|
||||
Mouse Over
|
||||
Mouse Up
|
||||
Open Browser
|
||||
Open Context Menu
|
||||
Page Should Contain
|
||||
Page Should Contain Button
|
||||
Page Should Contain Checkbox
|
||||
Page Should Contain Element
|
||||
Page Should Contain Image
|
||||
Page Should Contain Link
|
||||
Page Should Contain List
|
||||
Page Should Contain Radio Button
|
||||
Page Should Contain Textfield
|
||||
Page Should Not Contain
|
||||
Page Should Not Contain Button
|
||||
Page Should Not Contain Checkbox
|
||||
Page Should Not Contain Element
|
||||
Page Should Not Contain Image
|
||||
Page Should Not Contain Link
|
||||
Page Should Not Contain List
|
||||
Page Should Not Contain Radio Button
|
||||
Page Should Not Contain Textfield
|
||||
Press Key
|
||||
Radio Button Should Be Set To
|
||||
Radio Button Should Not Be Selected
|
||||
Register Keyword To Run On Failure
|
||||
Reload Page
|
||||
Remove Location Strategy
|
||||
Select All From List
|
||||
Select Checkbox
|
||||
Select Frame
|
||||
Select From List
|
||||
Select From List By Index
|
||||
Select From List By Label
|
||||
Select From List By Value
|
||||
Select Radio Button
|
||||
Select Window
|
||||
Set Browser Implicit Wait
|
||||
Set Screenshot Directory
|
||||
Set Selenium Implicit Wait
|
||||
Set Selenium Speed
|
||||
Set Selenium Timeout
|
||||
Set Window Position
|
||||
Set Window Size
|
||||
Simulate
|
||||
Submit Form
|
||||
Switch Browser
|
||||
Table Cell Should Contain
|
||||
Table Column Should Contain
|
||||
Table Footer Should Contain
|
||||
Table Header Should Contain
|
||||
Table Row Should Contain
|
||||
Table Should Contain
|
||||
Textarea Should Contain
|
||||
Textarea Value Should Be
|
||||
Textfield Should Contain
|
||||
Textfield Value Should Be
|
||||
Title Should Be
|
||||
Unselect Checkbox
|
||||
Unselect Frame
|
||||
Unselect From List
|
||||
Unselect From List By Index
|
||||
Unselect From List By Label
|
||||
Unselect From List By Value
|
||||
Wait For Condition
|
||||
Wait Until Element Contains
|
||||
Wait Until Element Does Not Contain
|
||||
Wait Until Element Is Enabled
|
||||
Wait Until Element Is Not Visible
|
||||
Wait Until Element Is Visible
|
||||
Wait Until Page Contains
|
||||
Wait Until Page Contains Element
|
||||
Wait Until Page Does Not Contain
|
||||
Wait Until Page Does Not Contain Element
|
||||
Xpath Should Match X Times
|
||||
30
vendor/github.com/vmware/vic/tests/robot-indices/String.index
generated
vendored
Normal file
30
vendor/github.com/vmware/vic/tests/robot-indices/String.index
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
Convert To Lowercase
|
||||
Convert To Uppercase
|
||||
Decode Bytes To String
|
||||
Encode String To Bytes
|
||||
Fetch From Left
|
||||
Fetch From Right
|
||||
Generate Random String
|
||||
Get Line
|
||||
Get Line Count
|
||||
Get Lines Containing String
|
||||
Get Lines Matching Pattern
|
||||
Get Lines Matching Regexp
|
||||
Get Regexp Matches
|
||||
Get Substring
|
||||
Remove String
|
||||
Remove String Using Regexp
|
||||
Replace String
|
||||
Replace String Using Regexp
|
||||
Should Be Byte String
|
||||
Should Be Lowercase
|
||||
Should Be String
|
||||
Should Be Titlecase
|
||||
Should Be Unicode String
|
||||
Should Be Uppercase
|
||||
Should Not Be String
|
||||
Split String
|
||||
Split String From Right
|
||||
Split String To Characters
|
||||
Split To Lines
|
||||
Strip String
|
||||
Reference in New Issue
Block a user