| ... | ... |
@@ -175,10 +175,10 @@ type ResourceAccessReviewResponse struct {
|
| 175 | 175 |
// Namespace is the namespace used for the access review |
| 176 | 176 |
Namespace string |
| 177 | 177 |
// Users is the list of users who can perform the action |
| 178 |
- // +genconversion=false |
|
| 178 |
+ // +k8s:conversion-gen=false |
|
| 179 | 179 |
Users sets.String |
| 180 | 180 |
// Groups is the list of groups who can perform the action |
| 181 |
- // +genconversion=false |
|
| 181 |
+ // +k8s:conversion-gen=false |
|
| 182 | 182 |
Groups sets.String |
| 183 | 183 |
|
| 184 | 184 |
// EvaluationError is an indication that some error occurred during resolution, but partial results can still be returned. |
| ... | ... |
@@ -221,7 +221,7 @@ type SubjectAccessReview struct {
|
| 221 | 221 |
// User is optional. If both User and Groups are empty, the current authenticated user is used. |
| 222 | 222 |
User string |
| 223 | 223 |
// Groups is optional. Groups is the list of groups to which the User belongs. |
| 224 |
- // +genconversion=false |
|
| 224 |
+ // +k8s:conversion-gen=false |
|
| 225 | 225 |
Groups sets.String |
| 226 | 226 |
// Scopes to use for the evaluation. Empty means "use the unscoped (full) permissions of the user/groups". |
| 227 | 227 |
// Nil for a self-SAR, means "use the scopes on this request". |
| ... | ... |
@@ -246,7 +246,7 @@ type LocalSubjectAccessReview struct {
|
| 246 | 246 |
// User is optional. If both User and Groups are empty, the current authenticated user is used. |
| 247 | 247 |
User string |
| 248 | 248 |
// Groups is optional. Groups is the list of groups to which the User belongs. |
| 249 |
- // +genconversion=false |
|
| 249 |
+ // +k8s:conversion-gen=false |
|
| 250 | 250 |
Groups sets.String |
| 251 | 251 |
// Scopes to use for the evaluation. Empty means "use the unscoped (full) permissions of the user/groups". |
| 252 | 252 |
// Nil for a self-SAR, means "use the scopes on this request". |
| ... | ... |
@@ -62,10 +62,10 @@ type RoleBinding struct {
|
| 62 | 62 |
kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` |
| 63 | 63 |
|
| 64 | 64 |
// UserNames holds all the usernames directly bound to the role |
| 65 |
- // +genconversion=false |
|
| 65 |
+ // +k8s:conversion-gen=false |
|
| 66 | 66 |
UserNames OptionalNames `json:"userNames" protobuf:"bytes,2,rep,name=userNames"` |
| 67 | 67 |
// GroupNames holds all the groups directly bound to the role |
| 68 |
- // +genconversion=false |
|
| 68 |
+ // +k8s:conversion-gen=false |
|
| 69 | 69 |
GroupNames OptionalNames `json:"groupNames" protobuf:"bytes,3,rep,name=groupNames"` |
| 70 | 70 |
// Subjects hold object references to authorize with this rule |
| 71 | 71 |
Subjects []kapi.ObjectReference `json:"subjects" protobuf:"bytes,4,rep,name=subjects"` |
| ... | ... |
@@ -162,10 +162,10 @@ type ResourceAccessReviewResponse struct {
|
| 162 | 162 |
// Namespace is the namespace used for the access review |
| 163 | 163 |
Namespace string `json:"namespace,omitempty" protobuf:"bytes,1,opt,name=namespace"` |
| 164 | 164 |
// UsersSlice is the list of users who can perform the action |
| 165 |
- // +genconversion=false |
|
| 165 |
+ // +k8s:conversion-gen=false |
|
| 166 | 166 |
UsersSlice []string `json:"users" protobuf:"bytes,2,rep,name=users"` |
| 167 | 167 |
// GroupsSlice is the list of groups who can perform the action |
| 168 |
- // +genconversion=false |
|
| 168 |
+ // +k8s:conversion-gen=false |
|
| 169 | 169 |
GroupsSlice []string `json:"groups" protobuf:"bytes,3,rep,name=groups"` |
| 170 | 170 |
|
| 171 | 171 |
// EvaluationError is an indication that some error occurred during resolution, but partial results can still be returned. |
| ... | ... |
@@ -212,7 +212,7 @@ type SubjectAccessReview struct {
|
| 212 | 212 |
// User is optional. If both User and Groups are empty, the current authenticated user is used. |
| 213 | 213 |
User string `json:"user" protobuf:"bytes,2,opt,name=user"` |
| 214 | 214 |
// GroupsSlice is optional. Groups is the list of groups to which the User belongs. |
| 215 |
- // +genconversion=false |
|
| 215 |
+ // +k8s:conversion-gen=false |
|
| 216 | 216 |
GroupsSlice []string `json:"groups" protobuf:"bytes,3,rep,name=groups"` |
| 217 | 217 |
// Scopes to use for the evaluation. Empty means "use the unscoped (full) permissions of the user/groups". |
| 218 | 218 |
// Nil for a self-SAR, means "use the scopes on this request". |
| ... | ... |
@@ -237,7 +237,7 @@ type LocalSubjectAccessReview struct {
|
| 237 | 237 |
// User is optional. If both User and Groups are empty, the current authenticated user is used. |
| 238 | 238 |
User string `json:"user" protobuf:"bytes,2,opt,name=user"` |
| 239 | 239 |
// Groups is optional. Groups is the list of groups to which the User belongs. |
| 240 |
- // +genconversion=false |
|
| 240 |
+ // +k8s:conversion-gen=false |
|
| 241 | 241 |
GroupsSlice []string `json:"groups" protobuf:"bytes,3,rep,name=groups"` |
| 242 | 242 |
// Scopes to use for the evaluation. Empty means "use the unscoped (full) permissions of the user/groups". |
| 243 | 243 |
// Nil for a self-SAR, means "use the scopes on this request". |
| ... | ... |
@@ -324,10 +324,10 @@ type ClusterRoleBinding struct {
|
| 324 | 324 |
kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` |
| 325 | 325 |
|
| 326 | 326 |
// UserNames holds all the usernames directly bound to the role |
| 327 |
- // +genconversion=false |
|
| 327 |
+ // +k8s:conversion-gen=false |
|
| 328 | 328 |
UserNames OptionalNames `json:"userNames" protobuf:"bytes,2,rep,name=userNames"` |
| 329 | 329 |
// GroupNames holds all the groups directly bound to the role |
| 330 |
- // +genconversion=false |
|
| 330 |
+ // +k8s:conversion-gen=false |
|
| 331 | 331 |
GroupNames OptionalNames `json:"groupNames" protobuf:"bytes,3,rep,name=groupNames"` |
| 332 | 332 |
// Subjects hold object references to authorize with this rule |
| 333 | 333 |
Subjects []kapi.ObjectReference `json:"subjects" protobuf:"bytes,4,rep,name=subjects"` |
| ... | ... |
@@ -806,6 +806,7 @@ type GitInfo struct {
|
| 806 | 806 |
// Refs is a list of GitRefs for the provided repo - generally sent |
| 807 | 807 |
// when used from a post-receive hook. This field is optional and is |
| 808 | 808 |
// used when sending multiple refs |
| 809 |
+ // +k8s:conversion-gen=false |
|
| 809 | 810 |
Refs []GitRefInfo |
| 810 | 811 |
} |
| 811 | 812 |
|
| ... | ... |
@@ -212,7 +212,7 @@ const ( |
| 212 | 212 |
// BuildSource is the SCM used for the build. |
| 213 | 213 |
type BuildSource struct {
|
| 214 | 214 |
// type of build input to accept |
| 215 |
- // +genconversion=false |
|
| 215 |
+ // +k8s:conversion-gen=false |
|
| 216 | 216 |
Type BuildSourceType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=BuildSourceType"` |
| 217 | 217 |
|
| 218 | 218 |
// binary builds accept a binary as their input. The binary is generally assumed to be a tar, |
| ... | ... |
@@ -314,7 +314,7 @@ type BinaryBuildSource struct {
|
| 314 | 314 |
// SourceRevision is the revision or commit information from the source for the build |
| 315 | 315 |
type SourceRevision struct {
|
| 316 | 316 |
// type of the build source, may be one of 'Source', 'Dockerfile', 'Binary', or 'Images' |
| 317 |
- // +genconversion=false |
|
| 317 |
+ // +k8s:conversion-gen=false |
|
| 318 | 318 |
Type BuildSourceType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=BuildSourceType"` |
| 319 | 319 |
|
| 320 | 320 |
// Git contains information about git-based build source |
| ... | ... |
@@ -364,7 +364,7 @@ type SourceControlUser struct {
|
| 364 | 364 |
// BuildStrategy contains the details of how to perform a build. |
| 365 | 365 |
type BuildStrategy struct {
|
| 366 | 366 |
// type is the kind of build strategy. |
| 367 |
- // +genconversion=false |
|
| 367 |
+ // +k8s:conversion-gen=false |
|
| 368 | 368 |
Type BuildStrategyType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=BuildStrategyType"` |
| 369 | 369 |
|
| 370 | 370 |
// dockerStrategy holds the parameters to the Docker build strategy. |
| ... | ... |
@@ -751,7 +751,7 @@ type BuildConfigList struct {
|
| 751 | 751 |
// GenericWebHookEvent is the payload expected for a generic webhook post |
| 752 | 752 |
type GenericWebHookEvent struct {
|
| 753 | 753 |
// type is the type of source repository |
| 754 |
- // +genconversion=false |
|
| 754 |
+ // +k8s:conversion-gen=false |
|
| 755 | 755 |
Type BuildSourceType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=BuildSourceType"` |
| 756 | 756 |
|
| 757 | 757 |
// git is the git information if the Type is BuildSourceGit |
| ... | ... |
@@ -308,6 +308,7 @@ type ImageStreamMapping struct {
|
| 308 | 308 |
|
| 309 | 309 |
// The Docker image repository the specified image is located in |
| 310 | 310 |
// DEPRECATED: remove once v1beta1 support is dropped |
| 311 |
+ // +k8s:conversion-gen=false |
|
| 311 | 312 |
DockerImageRepository string |
| 312 | 313 |
// A Docker image. |
| 313 | 314 |
Image Image |