release

package
v0.0.76-CIEDEV-3005.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ReleasePublisher_Publish_FullMethodName = "/terrarium.release.ReleasePublisher/Publish"
)

Variables

View Source
var File_pb_terrarium_release_release_proto protoreflect.FileDescriptor
View Source
var ReleasePublisher_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "terrarium.release.ReleasePublisher",
	HandlerType: (*ReleasePublisherServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Publish",
			Handler:    _ReleasePublisher_Publish_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pb/terrarium/release/release.proto",
}

ReleasePublisher_ServiceDesc is the grpc.ServiceDesc for ReleasePublisher service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterReleasePublisherServer added in v0.0.63

func RegisterReleasePublisherServer(s grpc.ServiceRegistrar, srv ReleasePublisherServer)

Types

type Link struct {
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Url   string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*Link) Descriptor deprecated

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

Deprecated: Use Link.ProtoReflect.Descriptor instead.

func (*Link) GetTitle

func (x *Link) GetTitle() string

func (*Link) GetUrl

func (x *Link) GetUrl() string

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) ProtoReflect

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

func (*Link) Reset

func (x *Link) Reset()

func (*Link) String

func (x *Link) String() string

type PublishRequest

type PublishRequest struct {
	Type         string  `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Organization string  `protobuf:"bytes,3,opt,name=organization,proto3" json:"organization,omitempty"`
	Name         string  `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Version      string  `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	Description  string  `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	Links        []*Link `protobuf:"bytes,7,rep,name=links,proto3" json:"links,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishRequest) Descriptor deprecated

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

Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.

func (*PublishRequest) GetDescription

func (x *PublishRequest) GetDescription() string
func (x *PublishRequest) GetLinks() []*Link

func (*PublishRequest) GetName

func (x *PublishRequest) GetName() string

func (*PublishRequest) GetOrganization

func (x *PublishRequest) GetOrganization() string

func (*PublishRequest) GetType

func (x *PublishRequest) GetType() string

func (*PublishRequest) GetVersion

func (x *PublishRequest) GetVersion() string

func (*PublishRequest) ProtoMessage

func (*PublishRequest) ProtoMessage()

func (*PublishRequest) ProtoReflect

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

func (*PublishRequest) Reset

func (x *PublishRequest) Reset()

func (*PublishRequest) String

func (x *PublishRequest) String() string

type PublishResponse

type PublishResponse struct {
	// contains filtered or unexported fields
}

No return information at this stage

func (*PublishResponse) Descriptor deprecated

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

Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.

func (*PublishResponse) ProtoMessage

func (*PublishResponse) ProtoMessage()

func (*PublishResponse) ProtoReflect

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

func (*PublishResponse) Reset

func (x *PublishResponse) Reset()

func (*PublishResponse) String

func (x *PublishResponse) String() string

type ReleasePublisherClient added in v0.0.63

type ReleasePublisherClient interface {
	Publish(ctx context.Context, in *PublishRequest, opts ...grpc.CallOption) (*PublishResponse, error)
}

ReleasePublisherClient is the client API for ReleasePublisher 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 NewReleasePublisherClient added in v0.0.63

func NewReleasePublisherClient(cc grpc.ClientConnInterface) ReleasePublisherClient

type ReleasePublisherServer added in v0.0.63

type ReleasePublisherServer interface {
	Publish(context.Context, *PublishRequest) (*PublishResponse, error)
	// contains filtered or unexported methods
}

ReleasePublisherServer is the server API for ReleasePublisher service. All implementations must embed UnimplementedReleasePublisherServer for forward compatibility

type UnimplementedReleasePublisherServer added in v0.0.63

type UnimplementedReleasePublisherServer struct {
}

UnimplementedReleasePublisherServer must be embedded to have forward compatible implementations.

func (UnimplementedReleasePublisherServer) Publish added in v0.0.63

type UnsafeReleasePublisherServer added in v0.0.63

type UnsafeReleasePublisherServer interface {
	// contains filtered or unexported methods
}

UnsafeReleasePublisherServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ReleasePublisherServer will result in compilation errors.

Jump to

Keyboard shortcuts

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