pubsub

package
v0.72.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

README

Google Cloud Pub/Sub Service

This service is google.golang.org/api/pubsub/v1.Service proxy

To check all supported method run

     endly -s='gcp/pubsub'

To check method contract run endly -s='gcp/pubsub' -a=methodName

    endly -s='gcp/pubsub' -a='subscriptionsList'

References:

Usage:
endy -r=list

@list.yaml

pipeline:
  start:
    info:
      action: gcp/pubsub:topicsList
      credentials: gc
      projectID: myProject-p1

Documentation

Index

Constants

View Source
const (
	//ServiceID Google Pubsub Service ID.
	ServiceID = "gcp/pubsub"
)

Variables

This section is empty.

Functions

func InitRequest

func InitRequest(context *endly.Context, rawRequest map[string]interface{}) error

func New

func New() endly.Service

New creates a new Pubsub service

Types

type CtxClient

type CtxClient struct {
	*gcp.AbstractClient
	// contains filtered or unexported fields
}

CtxClient represents context client

func GetClient

func GetClient(context *endly.Context) (*CtxClient, error)

func (*CtxClient) Service

func (s *CtxClient) Service() interface{}

func (*CtxClient) SetService

func (s *CtxClient) SetService(service interface{}) error

Jump to

Keyboard shortcuts

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