Documentation
¶
Index ¶
- Variables
- func RegisterModifyServer(s grpc.ServiceRegistrar, srv ModifyServer)
- type GetCSIDriverModificationCapabilityRequest
- func (*GetCSIDriverModificationCapabilityRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetCSIDriverModificationCapabilityRequest) ProtoMessage()
- func (x *GetCSIDriverModificationCapabilityRequest) ProtoReflect() protoreflect.Message
- func (x *GetCSIDriverModificationCapabilityRequest) Reset()
- func (x *GetCSIDriverModificationCapabilityRequest) String() string
- type GetCSIDriverModificationCapabilityResponse
- func (*GetCSIDriverModificationCapabilityResponse) Descriptor() ([]byte, []int)deprecated
- func (*GetCSIDriverModificationCapabilityResponse) ProtoMessage()
- func (x *GetCSIDriverModificationCapabilityResponse) ProtoReflect() protoreflect.Message
- func (x *GetCSIDriverModificationCapabilityResponse) Reset()
- func (x *GetCSIDriverModificationCapabilityResponse) String() string
- type ModifyClient
- type ModifyServer
- type ModifyVolumePropertiesRequest
- func (*ModifyVolumePropertiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyVolumePropertiesRequest) GetContext() map[string]string
- func (x *ModifyVolumePropertiesRequest) GetName() string
- func (x *ModifyVolumePropertiesRequest) GetParameters() map[string]string
- func (*ModifyVolumePropertiesRequest) ProtoMessage()
- func (x *ModifyVolumePropertiesRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyVolumePropertiesRequest) Reset()
- func (x *ModifyVolumePropertiesRequest) String() string
- type ModifyVolumePropertiesResponse
- func (*ModifyVolumePropertiesResponse) Descriptor() ([]byte, []int)deprecated
- func (*ModifyVolumePropertiesResponse) ProtoMessage()
- func (x *ModifyVolumePropertiesResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyVolumePropertiesResponse) Reset()
- func (x *ModifyVolumePropertiesResponse) String() string
- type UnimplementedModifyServer
- func (UnimplementedModifyServer) GetCSIDriverModificationCapability(context.Context, *GetCSIDriverModificationCapabilityRequest) (*GetCSIDriverModificationCapabilityResponse, error)
- func (UnimplementedModifyServer) ModifyVolumeProperties(context.Context, *ModifyVolumePropertiesRequest) (*ModifyVolumePropertiesResponse, error)
- type UnsafeModifyServer
Constants ¶
This section is empty.
Variables ¶
var File_modify_proto protoreflect.FileDescriptor
var Modify_ServiceDesc = grpc.ServiceDesc{ ServiceName: "modify.v1.Modify", HandlerType: (*ModifyServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetCSIDriverModificationCapability", Handler: _Modify_GetCSIDriverModificationCapability_Handler, }, { MethodName: "ModifyVolumeProperties", Handler: _Modify_ModifyVolumeProperties_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "modify.proto", }
Modify_ServiceDesc is the grpc.ServiceDesc for Modify service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterModifyServer ¶
func RegisterModifyServer(s grpc.ServiceRegistrar, srv ModifyServer)
Types ¶
type GetCSIDriverModificationCapabilityRequest ¶
type GetCSIDriverModificationCapabilityRequest struct {
// contains filtered or unexported fields
}
func (*GetCSIDriverModificationCapabilityRequest) Descriptor
deprecated
func (*GetCSIDriverModificationCapabilityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCSIDriverModificationCapabilityRequest.ProtoReflect.Descriptor instead.
func (*GetCSIDriverModificationCapabilityRequest) ProtoMessage ¶
func (*GetCSIDriverModificationCapabilityRequest) ProtoMessage()
func (*GetCSIDriverModificationCapabilityRequest) ProtoReflect ¶
func (x *GetCSIDriverModificationCapabilityRequest) ProtoReflect() protoreflect.Message
func (*GetCSIDriverModificationCapabilityRequest) Reset ¶
func (x *GetCSIDriverModificationCapabilityRequest) Reset()
func (*GetCSIDriverModificationCapabilityRequest) String ¶
func (x *GetCSIDriverModificationCapabilityRequest) String() string
type GetCSIDriverModificationCapabilityResponse ¶
type GetCSIDriverModificationCapabilityResponse struct {
// contains filtered or unexported fields
}
func (*GetCSIDriverModificationCapabilityResponse) Descriptor
deprecated
func (*GetCSIDriverModificationCapabilityResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCSIDriverModificationCapabilityResponse.ProtoReflect.Descriptor instead.
func (*GetCSIDriverModificationCapabilityResponse) ProtoMessage ¶
func (*GetCSIDriverModificationCapabilityResponse) ProtoMessage()
func (*GetCSIDriverModificationCapabilityResponse) ProtoReflect ¶
func (x *GetCSIDriverModificationCapabilityResponse) ProtoReflect() protoreflect.Message
func (*GetCSIDriverModificationCapabilityResponse) Reset ¶
func (x *GetCSIDriverModificationCapabilityResponse) Reset()
func (*GetCSIDriverModificationCapabilityResponse) String ¶
func (x *GetCSIDriverModificationCapabilityResponse) String() string
type ModifyClient ¶
type ModifyClient interface { GetCSIDriverModificationCapability(ctx context.Context, in *GetCSIDriverModificationCapabilityRequest, opts ...grpc.CallOption) (*GetCSIDriverModificationCapabilityResponse, error) ModifyVolumeProperties(ctx context.Context, in *ModifyVolumePropertiesRequest, opts ...grpc.CallOption) (*ModifyVolumePropertiesResponse, error) }
ModifyClient is the client API for Modify service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewModifyClient ¶
func NewModifyClient(cc grpc.ClientConnInterface) ModifyClient
type ModifyServer ¶
type ModifyServer interface { GetCSIDriverModificationCapability(context.Context, *GetCSIDriverModificationCapabilityRequest) (*GetCSIDriverModificationCapabilityResponse, error) ModifyVolumeProperties(context.Context, *ModifyVolumePropertiesRequest) (*ModifyVolumePropertiesResponse, error) // contains filtered or unexported methods }
ModifyServer is the server API for Modify service. All implementations must embed UnimplementedModifyServer for forward compatibility
type ModifyVolumePropertiesRequest ¶
type ModifyVolumePropertiesRequest struct { // Name of the volume. // This field is REQUIRED. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // New volume attributes. // This field is REQUIRED. Parameters map[string]string `` /* 161-byte string literal not displayed */ // Contains additional information that // may be required by driver. Context map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ModifyVolumePropertiesRequest) Descriptor
deprecated
func (*ModifyVolumePropertiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyVolumePropertiesRequest.ProtoReflect.Descriptor instead.
func (*ModifyVolumePropertiesRequest) GetContext ¶
func (x *ModifyVolumePropertiesRequest) GetContext() map[string]string
func (*ModifyVolumePropertiesRequest) GetName ¶
func (x *ModifyVolumePropertiesRequest) GetName() string
func (*ModifyVolumePropertiesRequest) GetParameters ¶
func (x *ModifyVolumePropertiesRequest) GetParameters() map[string]string
func (*ModifyVolumePropertiesRequest) ProtoMessage ¶
func (*ModifyVolumePropertiesRequest) ProtoMessage()
func (*ModifyVolumePropertiesRequest) ProtoReflect ¶
func (x *ModifyVolumePropertiesRequest) ProtoReflect() protoreflect.Message
func (*ModifyVolumePropertiesRequest) Reset ¶
func (x *ModifyVolumePropertiesRequest) Reset()
func (*ModifyVolumePropertiesRequest) String ¶
func (x *ModifyVolumePropertiesRequest) String() string
type ModifyVolumePropertiesResponse ¶
type ModifyVolumePropertiesResponse struct {
// contains filtered or unexported fields
}
func (*ModifyVolumePropertiesResponse) Descriptor
deprecated
func (*ModifyVolumePropertiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyVolumePropertiesResponse.ProtoReflect.Descriptor instead.
func (*ModifyVolumePropertiesResponse) ProtoMessage ¶
func (*ModifyVolumePropertiesResponse) ProtoMessage()
func (*ModifyVolumePropertiesResponse) ProtoReflect ¶
func (x *ModifyVolumePropertiesResponse) ProtoReflect() protoreflect.Message
func (*ModifyVolumePropertiesResponse) Reset ¶
func (x *ModifyVolumePropertiesResponse) Reset()
func (*ModifyVolumePropertiesResponse) String ¶
func (x *ModifyVolumePropertiesResponse) String() string
type UnimplementedModifyServer ¶
type UnimplementedModifyServer struct { }
UnimplementedModifyServer must be embedded to have forward compatible implementations.
func (UnimplementedModifyServer) GetCSIDriverModificationCapability ¶
func (UnimplementedModifyServer) GetCSIDriverModificationCapability(context.Context, *GetCSIDriverModificationCapabilityRequest) (*GetCSIDriverModificationCapabilityResponse, error)
func (UnimplementedModifyServer) ModifyVolumeProperties ¶
func (UnimplementedModifyServer) ModifyVolumeProperties(context.Context, *ModifyVolumePropertiesRequest) (*ModifyVolumePropertiesResponse, error)
type UnsafeModifyServer ¶
type UnsafeModifyServer interface {
// contains filtered or unexported methods
}
UnsafeModifyServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ModifyServer will result in compilation errors.