queue

package
v0.0.0-...-e37a79b Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactInfo

type ArtifactInfo struct {
	Name      string `json:"name"`
	URI       string `json:"uri"`
	Sha256Sum string `json:"sha256sum"`
}

type Client

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

func NewClient

func NewClient(accountName, queueName string) (*Client, error)

func NewDefaultSignQueueClient

func NewDefaultSignQueueClient() (*Client, error)

func (*Client) GetAllMessages

func (c *Client) GetAllMessages(ctx context.Context) (*Messages, error)

type Message

type Message struct {
	Artifact ArtifactInfo `json:"artifact"`
	Spec     archive.Spec `json:"spec"`
}

type Messages

type Messages struct {
	Messages []*azqueue.DequeuedMessage
}

func (*Messages) ContainsBuild

func (m *Messages) ContainsBuild(spec archive.Spec) (bool, error)

used by trigger

Jump to

Keyboard shortcuts

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