-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: pvc config Signed-off-by: Vladislav Sukhin <[email protected]> * fix: rename var Signed-off-by: Vladislav Sukhin <[email protected]> * fix: dep update Signed-off-by: Vladislav Sukhin <[email protected]> * fix: map pvc to api Signed-off-by: Vladislav Sukhin <[email protected]> * fix: map to kube Signed-off-by: Vladislav Sukhin <[email protected]> * fix: add pvc to control plane Signed-off-by: Vladislav Sukhin <[email protected]> * cleanup pvcs Signed-off-by: Vladislav Sukhin <[email protected]> * fix: merge pvcs map Signed-off-by: Vladislav Sukhin <[email protected]> * fix: add pvcs to service spec Signed-off-by: Vladislav Sukhin <[email protected]> * fix: remove duplication Signed-off-by: Vladislav Sukhin <[email protected]> * fix: dep update Signed-off-by: Vladislav Sukhin <[email protected]> * fix: setvice pvcs Signed-off-by: Vladislav Sukhin <[email protected]> * fi: dep update Signed-off-by: Vladislav Sukhin <[email protected]> * fix: append pvcs Signed-off-by: Vladislav Sukhin <[email protected]> * fix: copy service pvcs Signed-off-by: Vladislav Sukhin <[email protected]> * fix: pvc name for execution Signed-off-by: Vladislav Sukhin <[email protected]> * fix: register pvc names Signed-off-by: Vladislav Sukhin <[email protected]> * fix: convert pvc Signed-off-by: Vladislav Sukhin <[email protected]> * fix: move fields to boxed strings Signed-off-by: Vladislav Sukhin <[email protected]> * fix: dep update Signed-off-by: Vladislav Sukhin <[email protected]> * fix: pass pvc names Signed-off-by: Vladislav Sukhin <[email protected]> * fix: renname cobfig field Signed-off-by: Vladislav Sukhin <[email protected]> * fix: remove var Signed-off-by: Vladislav Sukhin <[email protected]> * fix: add new pvc config fields Signed-off-by: Vladislav Sukhin <[email protected]> * fix: pvc mapping Signed-off-by: Vladislav Sukhin <[email protected]> * fix: json tag Signed-off-by: Vladislav Sukhin <[email protected]> * fix: use proper pvc name Signed-off-by: Vladislav Sukhin <[email protected]> * fix: merge maps Signed-off-by: Vladislav Sukhin <[email protected]> * fix: api spec format Signed-off-by: Vladislav Sukhin <[email protected]> * fix: typo Signed-off-by: Vladislav Sukhin <[email protected]> * fix: format methods Signed-off-by: Vladislav Sukhin <[email protected]> * fix: use map instead of slice Signed-off-by: Vladislav Sukhin <[email protected]> * fix: rename method Signed-off-by: Vladislav Sukhin <[email protected]> * fix: unique ref Signed-off-by: Vladislav Sukhin <[email protected]> * fix: use root id Signed-off-by: Vladislav Sukhin <[email protected]> * fix: dep update Signed-off-by: Vladislav Sukhin <[email protected]> --------- Signed-off-by: Vladislav Sukhin <[email protected]>
- Loading branch information
Showing
25 changed files
with
415 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* Testkube API | ||
* | ||
* Testkube provides a Kubernetes-native framework for test definition, execution and results | ||
* | ||
* API version: 1.0.0 | ||
* Contact: [email protected] | ||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) | ||
*/ | ||
package testkube | ||
|
||
type TestWorkflowPvcConfig struct { | ||
// Access mode for claim storage. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes | ||
AccessModes []string `json:"accessModes,omitempty"` | ||
VolumeMode *BoxedString `json:"volumeMode,omitempty"` | ||
Resources *TestWorkflowResources `json:"resources,omitempty"` | ||
StorageClassName *BoxedString `json:"storageClassName,omitempty"` | ||
// Volume name is used to identify the volume | ||
VolumeName string `json:"volumeName,omitempty"` | ||
Selector *LabelSelector `json:"selector,omitempty"` | ||
DataSource *TypedLocalObjectReference `json:"dataSource,omitempty"` | ||
DataSourceRef *TypedObjectReference `json:"dataSourceRef,omitempty"` | ||
VolumeAttributesClassName *BoxedString `json:"volumeAttributesClassName,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* Testkube API | ||
* | ||
* Testkube provides a Kubernetes-native framework for test definition, execution and results | ||
* | ||
* API version: 1.0.0 | ||
* Contact: [email protected] | ||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) | ||
*/ | ||
package testkube | ||
|
||
// TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace | ||
type TypedLocalObjectReference struct { | ||
ApiGroup *BoxedString `json:"apiGroup,omitempty"` | ||
// kind is the type of resource being referenced | ||
Kind string `json:"kind,omitempty"` | ||
// name is the name of resource being referenced | ||
Name string `json:"name,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Testkube API | ||
* | ||
* Testkube provides a Kubernetes-native framework for test definition, execution and results | ||
* | ||
* API version: 1.0.0 | ||
* Contact: [email protected] | ||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) | ||
*/ | ||
package testkube | ||
|
||
// TypedObjectReference contains enough information to let you locate the typed referenced object inside the specified namespace | ||
type TypedObjectReference struct { | ||
ApiGroup *BoxedString `json:"apiGroup,omitempty"` | ||
// kind is the type of resource being referenced | ||
Kind string `json:"kind,omitempty"` | ||
// name is the name of resource being referenced | ||
Name string `json:"name,omitempty"` | ||
Namespace *BoxedString `json:"namespace,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.