kubekey/pkg/util/filesystem/common.go
24sama 3dd48dc8df refactor KubeKey project structure
Signed-off-by: 24sama <jacksama@foxmail.com>
2022-10-06 11:58:06 +08:00

34 lines
1007 B
Go

/*
Copyright 2022 The KubeSphere 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 filesystem
const (
// DefaultLocalTmpDir represents the CAPKK default local tmp directory
DefaultLocalTmpDir = "/var/lib/kubekey"
)
const (
// FileMode0777 represents the file mode 0755
FileMode0777 = 0777
// FileMode0755 represents the file mode 0755
FileMode0755 = 0755
// FileMode0644 represents the file mode 0644
FileMode0644 = 0644
// FileMode0664 represents the file mode 0664
FileMode0664 = 0664
)