Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strip mirror in name #8

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
controller: true
domain: kyma-project.io
group: cloud-resources
kind: GcpVpcPeeringMirror
kind: GcpVpcPeering
path: github.com/kyma-project/cloud-resources-control-plane/api/cloud-resources/v1beta1
version: v1beta1
- api:
Expand All @@ -24,7 +24,7 @@ resources:
controller: true
domain: kyma-project.io
group: cloud-resources
kind: AzureVpcPeeringMirror
kind: AzureVpcPeering
path: github.com/kyma-project/cloud-resources-control-plane/api/cloud-resources/v1beta1
version: v1beta1
- api:
Expand All @@ -33,7 +33,7 @@ resources:
controller: true
domain: kyma-project.io
group: cloud-resources
kind: AwsVpcPeeringMirror
kind: AwsVpcPeering
path: github.com/kyma-project/cloud-resources-control-plane/api/cloud-resources/v1beta1
version: v1beta1
- api:
Expand All @@ -42,7 +42,7 @@ resources:
controller: true
domain: kyma-project.io
group: cloud-resources
kind: NfsVolumeMirror
kind: NfsVolume
path: github.com/kyma-project/cloud-resources-control-plane/api/cloud-resources/v1beta1
version: v1beta1
version: "3"
Original file line number Diff line number Diff line change
Expand Up @@ -23,42 +23,42 @@ import (
// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

// AwsVpcPeeringMirrorSpec defines the desired state of AwsVpcPeeringMirror
type AwsVpcPeeringMirrorSpec struct {
// AwsVpcPeeringSpec defines the desired state of AwsVpcPeering
type AwsVpcPeeringSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file

// Foo is an example field of AwsVpcPeeringMirror. Edit awsvpcpeeringmirror_types.go to remove/update
// Foo is an example field of AwsVpcPeering. Edit awsvpcpeering_types.go to remove/update
Foo string `json:"foo,omitempty"`
}

// AwsVpcPeeringMirrorStatus defines the observed state of AwsVpcPeeringMirror
type AwsVpcPeeringMirrorStatus struct {
// AwsVpcPeeringStatus defines the observed state of AwsVpcPeering
type AwsVpcPeeringStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
}

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status

// AwsVpcPeeringMirror is the Schema for the awsvpcpeeringmirrors API
type AwsVpcPeeringMirror struct {
// AwsVpcPeering is the Schema for the awsvpcpeerings API
type AwsVpcPeering struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`

Spec AwsVpcPeeringMirrorSpec `json:"spec,omitempty"`
Status AwsVpcPeeringMirrorStatus `json:"status,omitempty"`
Spec AwsVpcPeeringSpec `json:"spec,omitempty"`
Status AwsVpcPeeringStatus `json:"status,omitempty"`
}

//+kubebuilder:object:root=true

// AwsVpcPeeringMirrorList contains a list of AwsVpcPeeringMirror
type AwsVpcPeeringMirrorList struct {
// AwsVpcPeeringList contains a list of AwsVpcPeering
type AwsVpcPeeringList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AwsVpcPeeringMirror `json:"items"`
Items []AwsVpcPeering `json:"items"`
}

func init() {
SchemeBuilder.Register(&AwsVpcPeeringMirror{}, &AwsVpcPeeringMirrorList{})
SchemeBuilder.Register(&AwsVpcPeering{}, &AwsVpcPeeringList{})
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,42 +23,42 @@ import (
// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

// NfsVolumeMirrorSpec defines the desired state of NfsVolumeMirror
type NfsVolumeMirrorSpec struct {
// AzureVpcPeeringSpec defines the desired state of AzureVpcPeering
type AzureVpcPeeringSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file

// Foo is an example field of NfsVolumeMirror. Edit nfsvolumemirror_types.go to remove/update
// Foo is an example field of AzureVpcPeering. Edit azurevpcpeering_types.go to remove/update
Foo string `json:"foo,omitempty"`
}

// NfsVolumeMirrorStatus defines the observed state of NfsVolumeMirror
type NfsVolumeMirrorStatus struct {
// AzureVpcPeeringStatus defines the observed state of AzureVpcPeering
type AzureVpcPeeringStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
}

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status

// NfsVolumeMirror is the Schema for the nfsvolumemirrors API
type NfsVolumeMirror struct {
// AzureVpcPeering is the Schema for the azurevpcpeerings API
type AzureVpcPeering struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`

Spec NfsVolumeMirrorSpec `json:"spec,omitempty"`
Status NfsVolumeMirrorStatus `json:"status,omitempty"`
Spec AzureVpcPeeringSpec `json:"spec,omitempty"`
Status AzureVpcPeeringStatus `json:"status,omitempty"`
}

//+kubebuilder:object:root=true

// NfsVolumeMirrorList contains a list of NfsVolumeMirror
type NfsVolumeMirrorList struct {
// AzureVpcPeeringList contains a list of AzureVpcPeering
type AzureVpcPeeringList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []NfsVolumeMirror `json:"items"`
Items []AzureVpcPeering `json:"items"`
}

func init() {
SchemeBuilder.Register(&NfsVolumeMirror{}, &NfsVolumeMirrorList{})
SchemeBuilder.Register(&AzureVpcPeering{}, &AzureVpcPeeringList{})
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,42 +23,42 @@ import (
// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

// GcpVpcPeeringMirrorSpec defines the desired state of GcpVpcPeeringMirror
type GcpVpcPeeringMirrorSpec struct {
// GcpVpcPeeringSpec defines the desired state of GcpVpcPeering
type GcpVpcPeeringSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file

// Foo is an example field of GcpVpcPeeringMirror. Edit gcpvpcpeeringmirror_types.go to remove/update
// Foo is an example field of GcpVpcPeering. Edit gcpvpcpeering_types.go to remove/update
Foo string `json:"foo,omitempty"`
}

// GcpVpcPeeringMirrorStatus defines the observed state of GcpVpcPeeringMirror
type GcpVpcPeeringMirrorStatus struct {
// GcpVpcPeeringStatus defines the observed state of GcpVpcPeering
type GcpVpcPeeringStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
}

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status

// GcpVpcPeeringMirror is the Schema for the gcpvpcpeeringmirrors API
type GcpVpcPeeringMirror struct {
// GcpVpcPeering is the Schema for the gcpvpcpeerings API
type GcpVpcPeering struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`

Spec GcpVpcPeeringMirrorSpec `json:"spec,omitempty"`
Status GcpVpcPeeringMirrorStatus `json:"status,omitempty"`
Spec GcpVpcPeeringSpec `json:"spec,omitempty"`
Status GcpVpcPeeringStatus `json:"status,omitempty"`
}

//+kubebuilder:object:root=true

// GcpVpcPeeringMirrorList contains a list of GcpVpcPeeringMirror
type GcpVpcPeeringMirrorList struct {
// GcpVpcPeeringList contains a list of GcpVpcPeering
type GcpVpcPeeringList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []GcpVpcPeeringMirror `json:"items"`
Items []GcpVpcPeering `json:"items"`
}

func init() {
SchemeBuilder.Register(&GcpVpcPeeringMirror{}, &GcpVpcPeeringMirrorList{})
SchemeBuilder.Register(&GcpVpcPeering{}, &GcpVpcPeeringList{})
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,42 +23,42 @@ import (
// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

// AzureVpcPeeringMirrorSpec defines the desired state of AzureVpcPeeringMirror
type AzureVpcPeeringMirrorSpec struct {
// NfsVolumeSpec defines the desired state of NfsVolume
type NfsVolumeSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file

// Foo is an example field of AzureVpcPeeringMirror. Edit azurevpcpeeringmirror_types.go to remove/update
// Foo is an example field of NfsVolume. Edit nfsvolume_types.go to remove/update
Foo string `json:"foo,omitempty"`
}

// AzureVpcPeeringMirrorStatus defines the observed state of AzureVpcPeeringMirror
type AzureVpcPeeringMirrorStatus struct {
// NfsVolumeStatus defines the observed state of NfsVolume
type NfsVolumeStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
}

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status

// AzureVpcPeeringMirror is the Schema for the azurevpcpeeringmirrors API
type AzureVpcPeeringMirror struct {
// NfsVolume is the Schema for the nfsvolumes API
type NfsVolume struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`

Spec AzureVpcPeeringMirrorSpec `json:"spec,omitempty"`
Status AzureVpcPeeringMirrorStatus `json:"status,omitempty"`
Spec NfsVolumeSpec `json:"spec,omitempty"`
Status NfsVolumeStatus `json:"status,omitempty"`
}

//+kubebuilder:object:root=true

// AzureVpcPeeringMirrorList contains a list of AzureVpcPeeringMirror
type AzureVpcPeeringMirrorList struct {
// NfsVolumeList contains a list of NfsVolume
type NfsVolumeList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AzureVpcPeeringMirror `json:"items"`
Items []NfsVolume `json:"items"`
}

func init() {
SchemeBuilder.Register(&AzureVpcPeeringMirror{}, &AzureVpcPeeringMirrorList{})
SchemeBuilder.Register(&NfsVolume{}, &NfsVolumeList{})
}
Loading