updated vendor
This commit is contained in:
+6
@@ -134,6 +134,8 @@ message VolumeAttachment {
|
||||
|
||||
// spec represents specification of the desired attach/detach volume behavior.
|
||||
// Populated by the Kubernetes system.
|
||||
// +k8s:alpha(since: "1.36")=+k8s:immutable
|
||||
// +required
|
||||
optional VolumeAttachmentSpec spec = 2;
|
||||
|
||||
// status represents status of the VolumeAttachment request.
|
||||
@@ -177,6 +179,10 @@ message VolumeAttachmentSource {
|
||||
message VolumeAttachmentSpec {
|
||||
// attacher indicates the name of the volume driver that MUST handle this
|
||||
// request. This is the name returned by GetPluginName().
|
||||
// +required
|
||||
// +k8s:alpha(since: "1.36")=+k8s:required
|
||||
// +k8s:alpha(since: "1.36")=+k8s:format="k8s-long-name-caseless"
|
||||
// +k8s:alpha(since: "1.36")=+k8s:maxLength=63
|
||||
optional string attacher = 1;
|
||||
|
||||
// source represents the volume that should be attached.
|
||||
|
||||
-42
@@ -1,42 +0,0 @@
|
||||
//go:build kubernetes_protomessage_one_more_release
|
||||
// +build kubernetes_protomessage_one_more_release
|
||||
|
||||
/*
|
||||
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 go-to-protobuf. DO NOT EDIT.
|
||||
|
||||
package v1alpha1
|
||||
|
||||
func (*CSIStorageCapacity) ProtoMessage() {}
|
||||
|
||||
func (*CSIStorageCapacityList) ProtoMessage() {}
|
||||
|
||||
func (*VolumeAttachment) ProtoMessage() {}
|
||||
|
||||
func (*VolumeAttachmentList) ProtoMessage() {}
|
||||
|
||||
func (*VolumeAttachmentSource) ProtoMessage() {}
|
||||
|
||||
func (*VolumeAttachmentSpec) ProtoMessage() {}
|
||||
|
||||
func (*VolumeAttachmentStatus) ProtoMessage() {}
|
||||
|
||||
func (*VolumeAttributesClass) ProtoMessage() {}
|
||||
|
||||
func (*VolumeAttributesClassList) ProtoMessage() {}
|
||||
|
||||
func (*VolumeError) ProtoMessage() {}
|
||||
+7
@@ -28,6 +28,7 @@ import (
|
||||
// +k8s:prerelease-lifecycle-gen:introduced=1.9
|
||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.21
|
||||
// +k8s:prerelease-lifecycle-gen:replacement=storage.k8s.io,v1,VolumeAttachment
|
||||
// +k8s:supportsSubresource="/status"
|
||||
|
||||
// VolumeAttachment captures the intent to attach or detach the specified volume
|
||||
// to/from the specified node.
|
||||
@@ -43,6 +44,8 @@ type VolumeAttachment struct {
|
||||
|
||||
// spec represents specification of the desired attach/detach volume behavior.
|
||||
// Populated by the Kubernetes system.
|
||||
// +k8s:alpha(since: "1.36")=+k8s:immutable
|
||||
// +required
|
||||
Spec VolumeAttachmentSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
|
||||
|
||||
// status represents status of the VolumeAttachment request.
|
||||
@@ -74,6 +77,10 @@ type VolumeAttachmentList struct {
|
||||
type VolumeAttachmentSpec struct {
|
||||
// attacher indicates the name of the volume driver that MUST handle this
|
||||
// request. This is the name returned by GetPluginName().
|
||||
// +required
|
||||
// +k8s:alpha(since: "1.36")=+k8s:required
|
||||
// +k8s:alpha(since: "1.36")=+k8s:format="k8s-long-name-caseless"
|
||||
// +k8s:alpha(since: "1.36")=+k8s:maxLength=63
|
||||
Attacher string `json:"attacher" protobuf:"bytes,1,opt,name=attacher"`
|
||||
|
||||
// source represents the volume that should be attached.
|
||||
|
||||
Reference in New Issue
Block a user