upgradeproto

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: AGPL-3.0 Imports: 9 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 {
	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

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