Skip to content

Commit

Permalink
refactor(status-aggregator): rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
JackZxj committed Jul 19, 2023
1 parent cb248a7 commit b9108d5
Show file tree
Hide file tree
Showing 2 changed files with 172 additions and 83 deletions.
4 changes: 4 additions & 0 deletions pkg/apis/core/v1alpha1/extensions_federatedtypeconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ func (f *FederatedTypeConfig) GetStatusAggregationEnabled() bool {
return f.Spec.StatusAggregation != nil && f.Spec.StatusAggregation.Enabled
}

func (f *FederatedTypeConfig) GetAutoMigrationEnabled() bool {
return f.Spec.AutoMigration != nil && f.Spec.AutoMigration.Enabled
}

func (f *FederatedTypeConfig) GetPolicyRcEnabled() bool {
return true // TODO: should this be configurable?
}
Expand Down
Loading

0 comments on commit b9108d5

Please sign in to comment.