Documentation ¶
Index ¶
- Constants
- func GetLimitRangeSepcFromConf(path string) (*v1.LimitRange, error)
- func GetResourceQuotaSepcFromConf(path string) (*v1.ResourceQuota, error)
- func GetValFromConfig(path, kind string) (interface{}, error)
- func In(target string, strArray []string) bool
- func SetDefaults_LimitRangeItem(obj *v1.LimitRangeItem)
- func ValidateNaming(name, path, kind string) error
- type Config
- type Deployment
Constants ¶
View Source
const DefaultMatchAllExpr = ".*?"
Variables ¶
This section is empty.
Functions ¶
func GetLimitRangeSepcFromConf ¶
func GetLimitRangeSepcFromConf(path string) (*v1.LimitRange, error)
func GetResourceQuotaSepcFromConf ¶
func GetResourceQuotaSepcFromConf(path string) (*v1.ResourceQuota, error)
func GetValFromConfig ¶
func SetDefaults_LimitRangeItem ¶
func SetDefaults_LimitRangeItem(obj *v1.LimitRangeItem)
Refer from k8s /pkg/apis/core/v1/defautls.go
func ValidateNaming ¶
Types ¶
type Config ¶
type Config struct {
Deployment *Deployment `yaml:"deployment"`
}
type Deployment ¶
Click to show internal directories.
Click to hide internal directories.