"description":"Subjects holds references to the objects the role applies to."
"description":"Subjects holds references to the objects the role applies to."
},
},
"roleRef":{
"roleRef":{
"$ref":"v1.ObjectReference",
"$ref":"v1alpha1.RoleRef",
"description":"RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."
"description":"RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."
}
}
}
}
...
@@ -2852,37 +2852,26 @@
...
@@ -2852,37 +2852,26 @@
}
}
}
}
},
},
"v1.ObjectReference":{
"v1alpha1.RoleRef":{
"id":"v1.ObjectReference",
"id":"v1alpha1.RoleRef",
"description":"ObjectReference contains enough information to let you inspect or modify the referred object.",
"description":"RoleRef contains information that points to the role being used",
"required":[
"apiGroup",
"kind",
"name"
],
"properties":{
"properties":{
"kind":{
"apiGroup":{
"type":"string",
"type":"string",
"description":"Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds"
"description":"APIGroup is the group for the resource being referenced"
},
},
"namespace":{
"kind":{
"type":"string",
"type":"string",
"description":"Namespace of the referent. More info: http://releases.k8s.io/HEAD/docs/user-guide/namespaces.md"
"description":"Kind is the type of resource being referenced"
},
},
"name":{
"name":{
"type":"string",
"type":"string",
"description":"Name of the referent. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names"
"description":"Name is the name of resource being referenced"
},
"uid":{
"type":"string",
"description":"UID of the referent. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#uids"
},
"apiVersion":{
"type":"string",
"description":"API version of the referent."
},
"resourceVersion":{
"type":"string",
"description":"Specific resourceVersion to which this reference is made, if any. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency"
},
"fieldPath":{
"type":"string",
"description":"If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object."
}
}
}
}
},
},
...
@@ -3183,7 +3172,7 @@
...
@@ -3183,7 +3172,7 @@
"description":"Subjects holds references to the objects the role applies to."
"description":"Subjects holds references to the objects the role applies to."
},
},
"roleRef":{
"roleRef":{
"$ref":"v1.ObjectReference",
"$ref":"v1alpha1.RoleRef",
"description":"RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."
"description":"RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."
"":"RoleRef contains information that points to the role being used",
"apiGroup":"APIGroup is the group for the resource being referenced",
"kind":"Kind is the type of resource being referenced",
"name":"Name is the name of resource being referenced",
}
func(RoleRef)SwaggerDoc()map[string]string{
returnmap_RoleRef
}
varmap_Subject=map[string]string{
varmap_Subject=map[string]string{
"":"Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.",
"":"Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.",
"kind":"Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.",
"kind":"Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.",