-
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 <vladislav@kubeshop.io> * fix: rename var Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: dep update Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: map pvc to api Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: map to kube Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: add pvc to control plane Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * cleanup pvcs Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: merge pvcs map Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: add pvcs to service spec Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: remove duplication Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: dep update Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: setvice pvcs Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fi: dep update Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: append pvcs Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: copy service pvcs Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: pvc name for execution Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: register pvc names Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: convert pvc Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: move fields to boxed strings Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: dep update Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: pass pvc names Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: renname cobfig field Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: remove var Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: add new pvc config fields Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: pvc mapping Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: json tag Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: use proper pvc name Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: merge maps Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: api spec format Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: typo Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: format methods Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: use map instead of slice Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: rename method Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: unique ref Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: use root id Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> * fix: dep update Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io> --------- Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
- 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: testkube@kubeshop.io | ||
* 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: testkube@kubeshop.io | ||
* 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: testkube@kubeshop.io | ||
* 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.