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

fix code-gen for cluster resources #238

Merged
merged 1 commit into from
Mar 16, 2022
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
1 change: 1 addition & 0 deletions apis/fluentbit/v1alpha2/clusterfilter_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ type FilterItem struct {
// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Cluster
// +genclient
// +genclient:nonNamespaced

// ClusterFilter defines a cluster-level Filter configuration.
type ClusterFilter struct {
Expand Down
1 change: 1 addition & 0 deletions apis/fluentbit/v1alpha2/clusterfluentbitconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ type Service struct {
// +kubebuilder:object:root=true
// +kubebuilder:resource:shortName=fbc,scope=Cluster
// +genclient
// +genclient:nonNamespaced

// ClusterFluentBitConfig is the Schema for the cluster-level fluentbitconfigs API
type ClusterFluentBitConfig struct {
Expand Down
1 change: 1 addition & 0 deletions apis/fluentbit/v1alpha2/clusterinput_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ type InputSpec struct {
// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Cluster
// +genclient
// +genclient:nonNamespaced

// ClusterInput is the Schema for the inputs API
type ClusterInput struct {
Expand Down
1 change: 1 addition & 0 deletions apis/fluentbit/v1alpha2/clusteroutput_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ type OutputSpec struct {
// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Cluster
// +genclient
// +genclient:nonNamespaced

// ClusterOutput is the Schema for the cluster-level outputs API
type ClusterOutput struct {
Expand Down
1 change: 1 addition & 0 deletions apis/fluentbit/v1alpha2/clusterparser_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ type Decorder struct {
// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Cluster
// +genclient
// +genclient:nonNamespaced

// ClusterParser is the Schema for the cluster-level parsers API
type ClusterParser struct {
Expand Down
9 changes: 5 additions & 4 deletions apis/fluentd/v1alpha1/clusterfilter_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ type ClusterFilterStatus struct {
// Important: Run "make" to regenerate code after modifying this file
}

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
//+kubebuilder:resource:scope=Cluster
//+genclient
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:scope=Cluster
// +genclient
// +genclient:nonNamespaced

// ClusterFilter is the Schema for the clusterfilters API
type ClusterFilter struct {
Expand Down
9 changes: 5 additions & 4 deletions apis/fluentd/v1alpha1/clusterfluentdconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ type ClusterFluentdConfigStatus struct {
State StatusState `json:"state,omitempty"`
}

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
//+kubebuilder:resource:shortName=cfdc,scope=Cluster
//+genclient
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:shortName=cfdc,scope=Cluster
// +genclient
// +genclient:nonNamespaced

// ClusterFluentdConfig is the Schema for the clusterfluentdconfigs API
type ClusterFluentdConfig struct {
Expand Down
9 changes: 5 additions & 4 deletions apis/fluentd/v1alpha1/clusteroutput_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ type ClusterOutputStatus struct {
// Important: Run "make" to regenerate code after modifying this file
}

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
//+kubebuilder:resource:scope=Cluster
//+genclient
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:scope=Cluster
// +genclient
// +genclient:nonNamespaced

// ClusterOutput is the Schema for the clusteroutputs API
type ClusterOutput struct {
Expand Down

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

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

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

Loading