Documentation ¶
Index ¶
- Variables
- func RegisterUpdateServer(s *grpc.Server, srv UpdateServer)
- type ExecuteUpdateRequest
- func (*ExecuteUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteUpdateRequest) GetKubernetesComponents() []*components.Component
- 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 UpdateClient
- type UpdateServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_upgrade_agent_upgradeproto_upgrade_proto protoreflect.FileDescriptor
Functions ¶
func RegisterUpdateServer ¶
func RegisterUpdateServer(s *grpc.Server, srv UpdateServer)
Types ¶
type ExecuteUpdateRequest ¶
type ExecuteUpdateRequest struct { WantedKubernetesVersion string `` /* 132-byte string literal not displayed */ KubernetesComponents []*components.Component `protobuf:"bytes,4,rep,name=kubernetes_components,json=kubernetesComponents,proto3" json:"kubernetes_components,omitempty"` // contains filtered or unexported fields }
func (*ExecuteUpdateRequest) Descriptor
deprecated
func (*ExecuteUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteUpdateRequest.ProtoReflect.Descriptor instead.
func (*ExecuteUpdateRequest) GetKubernetesComponents ¶ added in v2.14.0
func (x *ExecuteUpdateRequest) GetKubernetesComponents() []*components.Component
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 can be embedded to have forward compatible implementations.
func (*UnimplementedUpdateServer) ExecuteUpdate ¶
func (*UnimplementedUpdateServer) ExecuteUpdate(context.Context, *ExecuteUpdateRequest) (*ExecuteUpdateResponse, error)
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUpdateClient ¶
func NewUpdateClient(cc grpc.ClientConnInterface) UpdateClient
type UpdateServer ¶
type UpdateServer interface {
ExecuteUpdate(context.Context, *ExecuteUpdateRequest) (*ExecuteUpdateResponse, error)
}
UpdateServer is the server API for Update service.
Click to show internal directories.
Click to hide internal directories.