task

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const EnvKeyCloudTaskToken = "TUFIN_CLOUD_TASK_TOKEN"

Variables

This section is empty.

Functions

func GetQueuePath

func GetQueuePath(projectID string, locationID string, queueID string) string

GetQueuePath projects/ophiuchus/locations/europe-west1/queues/aaron-test

Types

type Publisher

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

func NewPublisher

func NewPublisher(projectID string, locationID string,
	queueID string) (*Publisher, error)

func (*Publisher) CreateHTTPTask

func (p *Publisher) CreateHTTPTask(url string, message []byte, authHeader string) (*taskspb.Task, error)

Jump to

Keyboard shortcuts

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