Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
ajanikow committed Oct 30, 2023
1 parent 0a03c68 commit 0c94481
Show file tree
Hide file tree
Showing 24 changed files with 530 additions and 530 deletions.
4 changes: 4 additions & 0 deletions docs/api/ArangoMLExtension.V1Alpha1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# API Reference for ArangoMLExtension V1Alpha1

## Spec

4 changes: 0 additions & 4 deletions docs/api/ArangoMLIntegration.V1alpha1.md

This file was deleted.

4 changes: 4 additions & 0 deletions docs/api/ArangoMLStorage.V1Alpha1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# API Reference for ArangoMLStorage V1Alpha1

## Spec

4 changes: 0 additions & 4 deletions docs/api/ArangoMLStorage.V1alpha1.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- [ArangoDeployment.V1](./ArangoDeployment.V1.md)
- [ArangoDeploymentReplication.V1](./ArangoDeploymentReplication.V1.md)
- [ArangoLocalStorage.V1Alpha](./ArangoLocalStorage.V1Alpha.md)
- [ArangoMLIntegration.V1alpha1](./ArangoMLIntegration.V1alpha1.md)
- [ArangoMLStorage.V1alpha1](./ArangoMLStorage.V1alpha1.md)
- [ArangoMLExtension.V1Alpha1](./ArangoMLExtension.V1Alpha1.md)
- [ArangoMLStorage.V1Alpha1](./ArangoMLStorage.V1Alpha1.md)
- [ArangoMember.V1](./ArangoMember.V1.md)

6 changes: 3 additions & 3 deletions internal/doc_generate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ func Test_GenerateAPIDocs(t *testing.T) {
},
},
fmt.Sprintf("%s/pkg/apis/ml/v1alpha1", root): {
"ArangoMLStorage.V1alpha1": {
"ArangoMLStorage.V1Alpha1": {
"Spec": mlApi.ArangoMLStorage{}.Spec,
},
"ArangoMLIntegration.V1alpha1": {
"Spec": mlApi.ArangoMLIntegration{}.Spec,
"ArangoMLExtension.V1Alpha1": {
"Spec": mlApi.ArangoMLExtension{}.Spec,
},
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ import (

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// ArangoMLIntegrationList is a list of ArangoML Integrations.
type ArangoMLIntegrationList struct {
// ArangoMLExtensionList is a list of ArangoML Extensions.
type ArangoMLExtensionList struct {
meta.TypeMeta `json:",inline"`
meta.ListMeta `json:"metadata,omitempty"`

Items []ArangoMLIntegration `json:"items"`
Items []ArangoMLExtension `json:"items"`
}

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// ArangoMLIntegration contains definition and status of the ArangoML Integration.
type ArangoMLIntegration struct {
// ArangoMLExtension contains definition and status of the ArangoML Extension.
type ArangoMLExtension struct {
meta.TypeMeta `json:",inline"`
meta.ObjectMeta `json:"metadata,omitempty"`

Spec ArangoMLIntegrationSpec `json:"spec"`
Status ArangoMLIntegrationStatus `json:"status"`
Spec ArangoMLExtensionSpec `json:"spec"`
Status ArangoMLExtensionStatus `json:"status"`
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@

package v1alpha1

type ArangoMLIntegrationSpec struct {
type ArangoMLExtensionSpec struct {
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@

package v1alpha1

type ArangoMLIntegrationStatus struct {
type ArangoMLExtensionStatus struct {
}
6 changes: 3 additions & 3 deletions pkg/apis/ml/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
)

const (
ArangoMLVersion = "v1"
ArangoMLVersion = "v1alpha1"
)

var (
Expand All @@ -49,8 +49,8 @@ func addKnownTypes(s *runtime.Scheme) error {
s.AddKnownTypes(SchemeGroupVersion,
&ArangoMLStorage{},
&ArangoMLStorageList{},
&ArangoMLIntegration{},
&ArangoMLIntegrationList{})
&ArangoMLExtension{},
&ArangoMLExtensionList{})
meta.AddToGroupVersion(s, SchemeGroupVersion)
return nil
}
38 changes: 19 additions & 19 deletions pkg/apis/ml/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0c94481

Please sign in to comment.