/*
Copyright 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.
*/
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package internal
import (
"fmt"
"sync"
typed "sigs.k8s.io/structured-merge-diff/v4/typed"
)
func Parser() *typed.Parser {
parserOnce.Do(func() {
var err error
parser, err = typed.NewParser(schemaYAML)
if err != nil {
panic(fmt.Sprintf("Failed to parse schema: %v", err))
}
})
return parser
}
var parserOnce sync.Once
var parser *typed.Parser
var schemaYAML = typed.YAMLObject(`types:
- name: io.k8s.api.admissionregistration.v1.MatchCondition
map:
fields:
- name: expression
type:
scalar: string
default: ""
- name: name
type:
scalar: string
default: ""
- name: io.k8s.api.admissionregistration.v1.MutatingWebhook
map:
fields:
- name: admissionReviewVersions
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: clientConfig
type:
namedType: io.k8s.api.admissionregistration.v1.WebhookClientConfig
default: {}
- name: failurePolicy
type:
scalar: string
- name: matchConditions
type:
list:
elementType:
namedType: io.k8s.api.admissionregistration.v1.MatchCondition
elementRelationship: associative
keys:
- name
- name: matchPolicy
type:
scalar: string
- name: name
type:
scalar: string
default: ""
- name: namespaceSelector
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector
- name: objectSelector
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector
- name: reinvocationPolicy
type:
scalar: string
- name: rules
type:
list:
elementType:
namedType: io.k8s.api.admissionregistration.v1.RuleWithOperations
elementRelationship: atomic
- name: sideEffects
type:
scalar: string
- name: timeoutSeconds
type:
scalar: numeric
- name: io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration
map:
fields:
- name: apiVersion
type:
scalar: string
- name: kind
type:
scalar: string
- name: metadata
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta
default: {}
- name: webhooks
type:
list:
elementType:
namedType: io.k8s.api.admissionregistration.v1.MutatingWebhook
elementRelationship: associative
keys:
- name
- name: io.k8s.api.admissionregistration.v1.RuleWithOperations
map:
fields:
- name: apiGroups
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: apiVersions
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: operations
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: resources
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: scope
type:
scalar: string
- name: io.k8s.api.admissionregistration.v1.ServiceReference
map:
fields:
- name: name
type:
scalar: string
default: ""
- name: namespace
type:
scalar: string
default: ""
- name: path
type:
scalar: string
- name: port
type:
scalar: numeric
- name: io.k8s.api.admissionregistration.v1.ValidatingWebhook
map:
fields:
- name: admissionReviewVersions
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: clientConfig
type:
namedType: io.k8s.api.admissionregistration.v1.WebhookClientConfig
default: {}
- name: failurePolicy
type:
scalar: string
- name: matchConditions
type:
list:
elementType:
namedType: io.k8s.api.admissionregistration.v1.MatchCondition
elementRelationship: associative
keys:
- name
- name: matchPolicy
type:
scalar: string
- name: name
type:
scalar: string
default: ""
- name: namespaceSelector
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector
- name: objectSelector
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector
- name: rules
type:
list:
elementType:
namedType: io.k8s.api.admissionregistration.v1.RuleWithOperations
elementRelationship: atomic
- name: sideEffects
type:
scalar: string
- name: timeoutSeconds
type:
scalar: numeric
- name: io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration
map:
fields:
- name: apiVersion
type:
scalar: string
- name: kind
type:
scalar: string
- name: metadata
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta
default: {}
- name: webhooks
type:
list:
elementType:
namedType: io.k8s.api.admissionregistration.v1.ValidatingWebhook
elementRelationship: associative
keys:
- name
- name: io.k8s.api.admissionregistration.v1.WebhookClientConfig
map:
fields:
- name: caBundle
type:
scalar: string
- name: service
type:
namedType: io.k8s.api.admissionregistration.v1.ServiceReference
- name: url
type:
scalar: string
- name: io.k8s.api.admissionregistration.v1alpha1.AuditAnnotation
map:
fields:
- name: key
type:
scalar: string
default: ""
- name: valueExpression
type:
scalar: string
default: ""
- name: io.k8s.api.admissionregistration.v1alpha1.ExpressionWarning
map:
fields:
- name: fieldRef
type:
scalar: string
default: ""
- name: warning
type:
scalar: string
default: ""
- name: io.k8s.api.admissionregistration.v1alpha1.MatchCondition
map:
fields:
- name: expression
type:
scalar: string
default: ""
- name: name
type:
scalar: string
default: ""
- name: io.k8s.api.admissionregistration.v1alpha1.MatchResources
map:
fields:
- name: excludeResourceRules
type:
list:
elementType:
namedType: io.k8s.api.admissionregistration.v1alpha1.NamedRuleWithOperations
elementRelationship: atomic
- name: matchPolicy
type:
scalar: string
- name: namespaceSelector
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector
- name: objectSelector
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector
- name: resourceRules
type:
list:
elementType:
namedType: io.k8s.api.admissionregistration.v1alpha1.NamedRuleWithOperations
elementRelationship: atomic
elementRelationship: atomic
- name: io.k8s.api.admissionregistration.v1alpha1.NamedRuleWithOperations
map:
fields:
- name: apiGroups
type:
list:
elementType:
s
没有合适的资源?快使用搜索试试~ 我知道了~
go-使用go开发的Kubernetes客户端.zip
共2000个文件
go:1975个
md:12个
json:7个
0 下载量 156 浏览量
2024-02-10
19:12:23
上传
评论
收藏 3.51MB ZIP 举报
温馨提示
go_使用go开发的Kubernetes客户端
资源推荐
资源详情
资源评论
收起资源包目录
go-使用go开发的Kubernetes客户端.zip (2000个子文件)
internal.go 303KB
request_test.go 124KB
utils.go 107KB
discovery_client_test.go 81KB
websocket_test.go 48KB
reflector_test.go 48KB
request.go 45KB
certificate_manager_test.go 43KB
memcache_test.go 43KB
shared_informer.go 37KB
reflector.go 36KB
exec_test.go 34KB
shared_informer_test.go 32KB
upgrade_test.go 32KB
clientset.go 30KB
event_test.go 30KB
client_config_test.go 30KB
leaderelection_test.go 29KB
discovery_client.go 29KB
delta_fifo_test.go 28KB
certificate_manager.go 28KB
loader_test.go 27KB
delta_fifo.go 27KB
generic.go 27KB
client_config.go 27KB
aggregated_discovery_test.go 26KB
client_test.go 25KB
jsonpath_test.go 25KB
podspec.go 24KB
cached_discovery_test.go 23KB
config.go 22KB
validation_test.go 22KB
loader.go 21KB
round_trippers.go 21KB
zz_generated.conversion.go 20KB
event.go 20KB
clientset_generated.go 20KB
config_test.go 19KB
portforward_test.go 19KB
reflector_watchlist_test.go 18KB
simple.go 18KB
event.go 18KB
event.go 18KB
event.go 18KB
actions.go 18KB
controller.go 17KB
fixture.go 17KB
events_cache.go 17KB
websocket.go 17KB
types.go 17KB
volumesource.go 17KB
event_broadcaster.go 17KB
persistentvolumespec.go 17KB
shortcut_test.go 16KB
certificate_store_test.go 16KB
retrywatcher_test.go 16KB
exec.go 16KB
transport_test.go 16KB
storageclass.go 16KB
storageclass.go 16KB
simple_test.go 16KB
controller_test.go 16KB
leaderelection.go 16KB
ephemeralcontainercommon.go 15KB
config.go 15KB
jsonpath.go 15KB
container.go 14KB
discovery_test.go 14KB
csistoragecapacity.go 14KB
csistoragecapacity.go 14KB
csistoragecapacity.go 14KB
pager_test.go 14KB
simple.go 14KB
volume.go 14KB
round_trippers_test.go 14KB
eventseries_test.go 14KB
persistentvolumesource.go 13KB
validation.go 13KB
serviceaccount.go 13KB
priorityclass.go 13KB
prioritylevelconfiguration.go 13KB
prioritylevelconfiguration.go 13KB
prioritylevelconfiguration.go 13KB
events_cache_test.go 13KB
validatingadmissionpolicy.go 13KB
priorityclass.go 13KB
priorityclass.go 13KB
validatingadmissionpolicy.go 13KB
prioritylevelconfiguration.go 13KB
validatingadmissionpolicybinding.go 13KB
validatingadmissionpolicybinding.go 13KB
certificatesigningrequest.go 13KB
validatingwebhookconfiguration.go 13KB
certificatesigningrequest.go 13KB
validatingwebhookconfiguration.go 13KB
portforward.go 13KB
ephemeralcontainer.go 13KB
horizontalpodautoscaler.go 13KB
horizontalpodautoscaler.go 13KB
endpointslice.go 13KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
极智视界
- 粉丝: 2w+
- 资源: 1459
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功