Documentation ¶
Index ¶
- Variables
- func RegisterUpdateServer(s grpc.ServiceRegistrar, srv UpdateServer)
- type ExecuteUpdateRequest
- func (*ExecuteUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteUpdateRequest) GetKubeadmHash() string
- func (x *ExecuteUpdateRequest) GetKubeadmUrl() string
- func (x *ExecuteUpdateRequest) GetWantedKubernetesVersion() string
- func (*ExecuteUpdateRequest) ProtoMessage()
- func (x *ExecuteUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteUpdateRequest) Reset()
- func (x *ExecuteUpdateRequest) String() string
- type ExecuteUpdateResponse
- type UnimplementedUpdateServer
- type UnsafeUpdateServer
- type UpdateClient
- type UpdateServer
Constants ¶
This section is empty.
Variables ¶
var File_upgrade_proto protoreflect.FileDescriptor
var Update_ServiceDesc = grpc.ServiceDesc{ ServiceName: "upgrade.Update", HandlerType: (*UpdateServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ExecuteUpdate", Handler: _Update_ExecuteUpdate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "upgrade.proto", }
Update_ServiceDesc is the grpc.ServiceDesc for Update service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUpdateServer ¶
func RegisterUpdateServer(s grpc.ServiceRegistrar, srv UpdateServer)
Types ¶
type ExecuteUpdateRequest ¶
type ExecuteUpdateRequest struct { KubeadmUrl string `protobuf:"bytes,1,opt,name=kubeadm_url,json=kubeadmUrl,proto3" json:"kubeadm_url,omitempty"` KubeadmHash string `protobuf:"bytes,2,opt,name=kubeadm_hash,json=kubeadmHash,proto3" json:"kubeadm_hash,omitempty"` WantedKubernetesVersion string `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ExecuteUpdateRequest) Descriptor
deprecated
func (*ExecuteUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteUpdateRequest.ProtoReflect.Descriptor instead.
func (*ExecuteUpdateRequest) GetKubeadmHash ¶
func (x *ExecuteUpdateRequest) GetKubeadmHash() string
func (*ExecuteUpdateRequest) GetKubeadmUrl ¶
func (x *ExecuteUpdateRequest) GetKubeadmUrl() string
func (*ExecuteUpdateRequest) GetWantedKubernetesVersion ¶
func (x *ExecuteUpdateRequest) GetWantedKubernetesVersion() string
func (*ExecuteUpdateRequest) ProtoMessage ¶
func (*ExecuteUpdateRequest) ProtoMessage()
func (*ExecuteUpdateRequest) ProtoReflect ¶
func (x *ExecuteUpdateRequest) ProtoReflect() protoreflect.Message
func (*ExecuteUpdateRequest) Reset ¶
func (x *ExecuteUpdateRequest) Reset()
func (*ExecuteUpdateRequest) String ¶
func (x *ExecuteUpdateRequest) String() string
type ExecuteUpdateResponse ¶
type ExecuteUpdateResponse struct {
// contains filtered or unexported fields
}
func (*ExecuteUpdateResponse) Descriptor
deprecated
func (*ExecuteUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteUpdateResponse.ProtoReflect.Descriptor instead.
func (*ExecuteUpdateResponse) ProtoMessage ¶
func (*ExecuteUpdateResponse) ProtoMessage()
func (*ExecuteUpdateResponse) ProtoReflect ¶
func (x *ExecuteUpdateResponse) ProtoReflect() protoreflect.Message
func (*ExecuteUpdateResponse) Reset ¶
func (x *ExecuteUpdateResponse) Reset()
func (*ExecuteUpdateResponse) String ¶
func (x *ExecuteUpdateResponse) String() string
type UnimplementedUpdateServer ¶
type UnimplementedUpdateServer struct { }
UnimplementedUpdateServer must be embedded to have forward compatible implementations.
func (UnimplementedUpdateServer) ExecuteUpdate ¶
func (UnimplementedUpdateServer) ExecuteUpdate(context.Context, *ExecuteUpdateRequest) (*ExecuteUpdateResponse, error)
type UnsafeUpdateServer ¶
type UnsafeUpdateServer interface {
// contains filtered or unexported methods
}
UnsafeUpdateServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UpdateServer will result in compilation errors.
type UpdateClient ¶
type UpdateClient interface {
ExecuteUpdate(ctx context.Context, in *ExecuteUpdateRequest, opts ...grpc.CallOption) (*ExecuteUpdateResponse, error)
}
UpdateClient is the client API for Update 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 NewUpdateClient ¶
func NewUpdateClient(cc grpc.ClientConnInterface) UpdateClient
type UpdateServer ¶
type UpdateServer interface { ExecuteUpdate(context.Context, *ExecuteUpdateRequest) (*ExecuteUpdateResponse, error) // contains filtered or unexported methods }
UpdateServer is the server API for Update service. All implementations must embed UnimplementedUpdateServer for forward compatibility