updateapp

package
v0.0.0-...-bb2f907 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_updateapp_proto protoreflect.FileDescriptor

Functions

func RegisterUpdateappServer

func RegisterUpdateappServer(s *grpc.Server, srv UpdateappServer)

Types

type RollbackAppRequest

type RollbackAppRequest struct {
	RollbackFromAppContext string `` /* 129-byte string literal not displayed */
	RollbackToAppContext   string `protobuf:"bytes,2,opt,name=rollback_to_appContext,json=rollbackToAppContext,proto3" json:"rollback_to_appContext,omitempty"`
	// contains filtered or unexported fields
}

func (*RollbackAppRequest) Descriptor deprecated

func (*RollbackAppRequest) Descriptor() ([]byte, []int)

Deprecated: Use RollbackAppRequest.ProtoReflect.Descriptor instead.

func (*RollbackAppRequest) GetRollbackFromAppContext

func (x *RollbackAppRequest) GetRollbackFromAppContext() string

func (*RollbackAppRequest) GetRollbackToAppContext

func (x *RollbackAppRequest) GetRollbackToAppContext() string

func (*RollbackAppRequest) ProtoMessage

func (*RollbackAppRequest) ProtoMessage()

func (*RollbackAppRequest) ProtoReflect

func (x *RollbackAppRequest) ProtoReflect() protoreflect.Message

func (*RollbackAppRequest) Reset

func (x *RollbackAppRequest) Reset()

func (*RollbackAppRequest) String

func (x *RollbackAppRequest) String() string

type RollbackAppResponse

type RollbackAppResponse struct {
	AppContextRolledback      bool   `protobuf:"varint,1,opt,name=app_context_rolledback,json=appContextRolledback,proto3" json:"app_context_rolledback,omitempty"`
	AppContextRollbackMessage string `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RollbackAppResponse) Descriptor deprecated

func (*RollbackAppResponse) Descriptor() ([]byte, []int)

Deprecated: Use RollbackAppResponse.ProtoReflect.Descriptor instead.

func (*RollbackAppResponse) GetAppContextRollbackMessage

func (x *RollbackAppResponse) GetAppContextRollbackMessage() string

func (*RollbackAppResponse) GetAppContextRolledback

func (x *RollbackAppResponse) GetAppContextRolledback() bool

func (*RollbackAppResponse) ProtoMessage

func (*RollbackAppResponse) ProtoMessage()

func (*RollbackAppResponse) ProtoReflect

func (x *RollbackAppResponse) ProtoReflect() protoreflect.Message

func (*RollbackAppResponse) Reset

func (x *RollbackAppResponse) Reset()

func (*RollbackAppResponse) String

func (x *RollbackAppResponse) String() string

type UnimplementedUpdateappServer

type UnimplementedUpdateappServer struct {
}

UnimplementedUpdateappServer can be embedded to have forward compatible implementations.

func (*UnimplementedUpdateappServer) RollbackApp

func (*UnimplementedUpdateappServer) UpdateApp

type UpdateAppRequest

type UpdateAppRequest struct {
	UpdateFromAppContext string `protobuf:"bytes,1,opt,name=update_from_appContext,json=updateFromAppContext,proto3" json:"update_from_appContext,omitempty"`
	UpdateToAppContext   string `protobuf:"bytes,2,opt,name=update_to_appContext,json=updateToAppContext,proto3" json:"update_to_appContext,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAppRequest) Descriptor deprecated

func (*UpdateAppRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAppRequest.ProtoReflect.Descriptor instead.

func (*UpdateAppRequest) GetUpdateFromAppContext

func (x *UpdateAppRequest) GetUpdateFromAppContext() string

func (*UpdateAppRequest) GetUpdateToAppContext

func (x *UpdateAppRequest) GetUpdateToAppContext() string

func (*UpdateAppRequest) ProtoMessage

func (*UpdateAppRequest) ProtoMessage()

func (*UpdateAppRequest) ProtoReflect

func (x *UpdateAppRequest) ProtoReflect() protoreflect.Message

func (*UpdateAppRequest) Reset

func (x *UpdateAppRequest) Reset()

func (*UpdateAppRequest) String

func (x *UpdateAppRequest) String() string

type UpdateAppResponse

type UpdateAppResponse struct {
	AppContextUpdated       bool   `protobuf:"varint,1,opt,name=app_context_updated,json=appContextUpdated,proto3" json:"app_context_updated,omitempty"`
	AppContextUpdateMessage string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateAppResponse) Descriptor deprecated

func (*UpdateAppResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAppResponse.ProtoReflect.Descriptor instead.

func (*UpdateAppResponse) GetAppContextUpdateMessage

func (x *UpdateAppResponse) GetAppContextUpdateMessage() string

func (*UpdateAppResponse) GetAppContextUpdated

func (x *UpdateAppResponse) GetAppContextUpdated() bool

func (*UpdateAppResponse) ProtoMessage

func (*UpdateAppResponse) ProtoMessage()

func (*UpdateAppResponse) ProtoReflect

func (x *UpdateAppResponse) ProtoReflect() protoreflect.Message

func (*UpdateAppResponse) Reset

func (x *UpdateAppResponse) Reset()

func (*UpdateAppResponse) String

func (x *UpdateAppResponse) String() string

type UpdateappClient

type UpdateappClient interface {
	// Sync
	UpdateApp(ctx context.Context, in *UpdateAppRequest, opts ...grpc.CallOption) (*UpdateAppResponse, error)
	RollbackApp(ctx context.Context, in *RollbackAppRequest, opts ...grpc.CallOption) (*RollbackAppResponse, error)
}

UpdateappClient is the client API for Updateapp service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewUpdateappClient

func NewUpdateappClient(cc grpc.ClientConnInterface) UpdateappClient

type UpdateappServer

type UpdateappServer interface {
	// Sync
	UpdateApp(context.Context, *UpdateAppRequest) (*UpdateAppResponse, error)
	RollbackApp(context.Context, *RollbackAppRequest) (*RollbackAppResponse, error)
}

UpdateappServer is the server API for Updateapp service.

Jump to

Keyboard shortcuts

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