Skip to content

Commit

Permalink
chore(qrm): add license headers for the native policy
Browse files Browse the repository at this point in the history
Signed-off-by: caohe <caohe9603@gmail.com>
  • Loading branch information
caohe committed Jul 13, 2023
1 parent 87ae20e commit 39834ed
Show file tree
Hide file tree
Showing 7 changed files with 102 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .licenseignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
vendor
cmd/katalyst-scheduler/app/server.go
pkg/agent/qrm-plugins/cpu/nativepolicy/calculator/cpu_assignment.go
pkg/agent/qrm-plugins/cpu/nativepolicy/policy_allocation_handlers.go
pkg/agent/qrm-plugins/cpu/nativepolicy/policy_hint_handlers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Copyright 2022 The Katalyst Authors.
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package calculator

import (
Expand Down
16 changes: 16 additions & 0 deletions pkg/agent/qrm-plugins/cpu/nativepolicy/policy.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
Copyright 2022 The Katalyst Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package nativepolicy

import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Copyright 2022 The Katalyst Authors.
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package nativepolicy

import (
Expand Down
16 changes: 16 additions & 0 deletions pkg/agent/qrm-plugins/cpu/nativepolicy/policy_async_handler.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
Copyright 2022 The Katalyst Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package nativepolicy

import (
Expand Down
17 changes: 17 additions & 0 deletions pkg/agent/qrm-plugins/cpu/nativepolicy/policy_hint_handlers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Copyright 2022 The Katalyst Authors.
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package nativepolicy

import (
Expand Down
16 changes: 16 additions & 0 deletions pkg/agent/qrm-plugins/cpu/nativepolicy/util.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
Copyright 2022 The Katalyst Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package nativepolicy

import (
Expand Down

0 comments on commit 39834ed

Please sign in to comment.