upgradeproto

package
v2.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_upgrade_proto protoreflect.FileDescriptor
View Source
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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL