Skip to content

Commit

Permalink
add apireference:kic:include marker for KongServiceFacade (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
randmonkey authored Nov 14, 2024
1 parent e16b985 commit 3a4e565
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/incubator/v1alpha1/kongservicefacade_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func init() {
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +kong:channels=ingress-controller-incubator
// +apireference:kic:include
type KongServiceFacade struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Expand All @@ -38,13 +39,15 @@ type KongServiceFacade struct {

// KongServiceFacadeList contains a list of KongServiceFacade.
// +kubebuilder:object:root=true
// +apireference:kic:include
type KongServiceFacadeList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []KongServiceFacade `json:"items"`
}

// KongServiceFacadeSpec defines the desired state of KongServiceFacade.
// +apireference:kic:include
type KongServiceFacadeSpec struct {
// Backend is a reference to a Kubernetes Service that is used as a backend
// for this Kong Service Facade.
Expand All @@ -54,6 +57,7 @@ type KongServiceFacadeSpec struct {

// KongServiceFacadeBackend is a reference to a Kubernetes Service
// that is used as a backend for a Kong Service Facade.
// +apireference:kic:include
type KongServiceFacadeBackend struct {
// Name is the name of the referenced Kubernetes Service.
// +kubebuilder:validation:Required
Expand All @@ -65,6 +69,7 @@ type KongServiceFacadeBackend struct {
}

// KongServiceFacadeStatus defines the observed state of KongServiceFacade.
// +apireference:kic:include
type KongServiceFacadeStatus struct {
// Conditions describe the current conditions of the KongServiceFacade.
//
Expand Down

0 comments on commit 3a4e565

Please sign in to comment.