deployment

package
v1.0.1-0...-4418604 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_deployment_APISync_proto protoreflect.FileDescriptor
View Source
var File_deployment_BuildExternalScanRequest_proto protoreflect.FileDescriptor

Functions

func RegisterAPISyncServer

func RegisterAPISyncServer(s *grpc.Server, srv APISyncServer)

Types

type APISyncClient

type APISyncClient interface {
	Sync(ctx context.Context, opts ...grpc.CallOption) (APISync_SyncClient, error)
}

APISyncClient is the client API for APISync service.

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

func NewAPISyncClient

func NewAPISyncClient(cc grpc.ClientConnInterface) APISyncClient

type APISyncRequest

type APISyncRequest struct {

	// Types that are assignable to Request:
	//
	//	*APISyncRequest_CommitObjectUpdate
	//	*APISyncRequest_UpdateStatus
	//	*APISyncRequest_DeleteStatus
	Request     isAPISyncRequest_Request `protobuf_oneof:"request"`
	PackageType string                   `protobuf:"bytes,4,opt,name=packageType,proto3" json:"packageType,omitempty"`
	// contains filtered or unexported fields
}

func (*APISyncRequest) Descriptor deprecated

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

Deprecated: Use APISyncRequest.ProtoReflect.Descriptor instead.

func (*APISyncRequest) GetCommitObjectUpdate

func (x *APISyncRequest) GetCommitObjectUpdate() *CommitObjectUpdate

func (*APISyncRequest) GetDeleteStatus

func (x *APISyncRequest) GetDeleteStatus() *DeleteStatus

func (*APISyncRequest) GetPackageType

func (x *APISyncRequest) GetPackageType() string

func (*APISyncRequest) GetRequest

func (m *APISyncRequest) GetRequest() isAPISyncRequest_Request

func (*APISyncRequest) GetUpdateStatus

func (x *APISyncRequest) GetUpdateStatus() *UpdateStatus

func (*APISyncRequest) ProtoMessage

func (*APISyncRequest) ProtoMessage()

func (*APISyncRequest) ProtoReflect

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

func (*APISyncRequest) Reset

func (x *APISyncRequest) Reset()

func (*APISyncRequest) String

func (x *APISyncRequest) String() string

type APISyncRequest_CommitObjectUpdate

type APISyncRequest_CommitObjectUpdate struct {
	CommitObjectUpdate *CommitObjectUpdate `protobuf:"bytes,1,opt,name=commitObjectUpdate,proto3,oneof"`
}

type APISyncRequest_DeleteStatus

type APISyncRequest_DeleteStatus struct {
	DeleteStatus *DeleteStatus `protobuf:"bytes,3,opt,name=deleteStatus,proto3,oneof"`
}

type APISyncRequest_UpdateStatus

type APISyncRequest_UpdateStatus struct {
	UpdateStatus *UpdateStatus `protobuf:"bytes,2,opt,name=updateStatus,proto3,oneof"`
}

type APISyncResponse

type APISyncResponse struct {

	// Types that are assignable to Response:
	//
	//	*APISyncResponse_ObjectUpdated
	//	*APISyncResponse_ObjectDeleted
	Response    isAPISyncResponse_Response `protobuf_oneof:"response"`
	Error       string                     `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	PackageType string                     `protobuf:"bytes,4,opt,name=packageType,proto3" json:"packageType,omitempty"`
	// contains filtered or unexported fields
}

func (*APISyncResponse) Descriptor deprecated

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

Deprecated: Use APISyncResponse.ProtoReflect.Descriptor instead.

func (*APISyncResponse) GetError

func (x *APISyncResponse) GetError() string

func (*APISyncResponse) GetObjectDeleted

func (x *APISyncResponse) GetObjectDeleted() *ObjectDeleted

func (*APISyncResponse) GetObjectUpdated

func (x *APISyncResponse) GetObjectUpdated() *ObjectUpdated

func (*APISyncResponse) GetPackageType

func (x *APISyncResponse) GetPackageType() string

func (*APISyncResponse) GetResponse

func (m *APISyncResponse) GetResponse() isAPISyncResponse_Response

func (*APISyncResponse) ProtoMessage

func (*APISyncResponse) ProtoMessage()

func (*APISyncResponse) ProtoReflect

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

func (*APISyncResponse) Reset

func (x *APISyncResponse) Reset()

func (*APISyncResponse) String

func (x *APISyncResponse) String() string

type APISyncResponse_ObjectDeleted

type APISyncResponse_ObjectDeleted struct {
	ObjectDeleted *ObjectDeleted `protobuf:"bytes,2,opt,name=objectDeleted,proto3,oneof"`
}

type APISyncResponse_ObjectUpdated

type APISyncResponse_ObjectUpdated struct {
	ObjectUpdated *ObjectUpdated `protobuf:"bytes,1,opt,name=objectUpdated,proto3,oneof"`
}

type APISyncServer

type APISyncServer interface {
	Sync(APISync_SyncServer) error
}

APISyncServer is the server API for APISync service.

type APISync_SyncClient

type APISync_SyncClient interface {
	Send(*APISyncRequest) error
	Recv() (*APISyncResponse, error)
	grpc.ClientStream
}

type APISync_SyncServer

type APISync_SyncServer interface {
	Send(*APISyncResponse) error
	Recv() (*APISyncRequest, error)
	grpc.ServerStream
}

type BuildExternalScanRequest

type BuildExternalScanRequest struct {
	BuildId  int64  `protobuf:"varint,1,opt,name=buildId,proto3" json:"buildId,omitempty"`
	ImageUrl string `protobuf:"bytes,2,opt,name=imageUrl,proto3" json:"imageUrl,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildExternalScanRequest) Descriptor deprecated

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

Deprecated: Use BuildExternalScanRequest.ProtoReflect.Descriptor instead.

func (*BuildExternalScanRequest) GetBuildId

func (x *BuildExternalScanRequest) GetBuildId() int64

func (*BuildExternalScanRequest) GetImageUrl

func (x *BuildExternalScanRequest) GetImageUrl() string

func (*BuildExternalScanRequest) ProtoMessage

func (*BuildExternalScanRequest) ProtoMessage()

func (*BuildExternalScanRequest) ProtoReflect

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

func (*BuildExternalScanRequest) Reset

func (x *BuildExternalScanRequest) Reset()

func (*BuildExternalScanRequest) String

func (x *BuildExternalScanRequest) String() string

type CommitObjectUpdate

type CommitObjectUpdate struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitObjectUpdate) Descriptor deprecated

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

Deprecated: Use CommitObjectUpdate.ProtoReflect.Descriptor instead.

func (*CommitObjectUpdate) GetId

func (x *CommitObjectUpdate) GetId() string

func (*CommitObjectUpdate) GetObject

func (x *CommitObjectUpdate) GetObject() string

func (*CommitObjectUpdate) ProtoMessage

func (*CommitObjectUpdate) ProtoMessage()

func (*CommitObjectUpdate) ProtoReflect

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

func (*CommitObjectUpdate) Reset

func (x *CommitObjectUpdate) Reset()

func (*CommitObjectUpdate) String

func (x *CommitObjectUpdate) String() string

type DeleteStatus

type DeleteStatus struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteStatus) Descriptor deprecated

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

Deprecated: Use DeleteStatus.ProtoReflect.Descriptor instead.

func (*DeleteStatus) GetId

func (x *DeleteStatus) GetId() string

func (*DeleteStatus) ProtoMessage

func (*DeleteStatus) ProtoMessage()

func (*DeleteStatus) ProtoReflect

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

func (*DeleteStatus) Reset

func (x *DeleteStatus) Reset()

func (*DeleteStatus) String

func (x *DeleteStatus) String() string

type ObjectDeleted

type ObjectDeleted struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectDeleted) Descriptor deprecated

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

Deprecated: Use ObjectDeleted.ProtoReflect.Descriptor instead.

func (*ObjectDeleted) GetId

func (x *ObjectDeleted) GetId() string

func (*ObjectDeleted) GetObject

func (x *ObjectDeleted) GetObject() string

func (*ObjectDeleted) ProtoMessage

func (*ObjectDeleted) ProtoMessage()

func (*ObjectDeleted) ProtoReflect

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

func (*ObjectDeleted) Reset

func (x *ObjectDeleted) Reset()

func (*ObjectDeleted) String

func (x *ObjectDeleted) String() string

type ObjectUpdated

type ObjectUpdated struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectUpdated) Descriptor deprecated

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

Deprecated: Use ObjectUpdated.ProtoReflect.Descriptor instead.

func (*ObjectUpdated) GetId

func (x *ObjectUpdated) GetId() string

func (*ObjectUpdated) GetObject

func (x *ObjectUpdated) GetObject() string

func (*ObjectUpdated) ProtoMessage

func (*ObjectUpdated) ProtoMessage()

func (*ObjectUpdated) ProtoReflect

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

func (*ObjectUpdated) Reset

func (x *ObjectUpdated) Reset()

func (*ObjectUpdated) String

func (x *ObjectUpdated) String() string

type UnimplementedAPISyncServer

type UnimplementedAPISyncServer struct {
}

UnimplementedAPISyncServer can be embedded to have forward compatible implementations.

func (*UnimplementedAPISyncServer) Sync

type UpdateStatus

type UpdateStatus struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateStatus) Descriptor deprecated

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

Deprecated: Use UpdateStatus.ProtoReflect.Descriptor instead.

func (*UpdateStatus) GetId

func (x *UpdateStatus) GetId() string

func (*UpdateStatus) GetObject

func (x *UpdateStatus) GetObject() string

func (*UpdateStatus) ProtoMessage

func (*UpdateStatus) ProtoMessage()

func (*UpdateStatus) ProtoReflect

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

func (*UpdateStatus) Reset

func (x *UpdateStatus) Reset()

func (*UpdateStatus) String

func (x *UpdateStatus) String() string

Jump to

Keyboard shortcuts

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