upgradeproto

package
v2.13.0 Latest Latest
Warning

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

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

Documentation

Index

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 {
	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 can be embedded to have forward compatible implementations.

func (*UnimplementedUpdateServer) ExecuteUpdate

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.

Jump to

Keyboard shortcuts

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