consumer

package
v0.0.0-...-f7bf3b5 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEventContextFromPullRequest

func NewEventContextFromPullRequest(event *github.PullRequestEvent) *eventContext

func NewEventContextFromPushEvent

func NewEventContextFromPushEvent(event *github.PushEvent) *eventContext

func NewKubernetesClient

func NewKubernetesClient() (*kubernetes.Clientset, error)

func WaitForFinish

func WaitForFinish(client *kubernetes.Clientset, namespace, name string) (bool, error)

Types

type BazelBuild

type BazelBuild struct {
	Namespace              string
	AppId                  int64
	InstallationId         int64
	StorageHost            string
	StorageTokenSecretName string
	ArtifactBucket         string
	HostAliases            []config.HostAlias
	AuthorName             string
	AuthorEmail            string
	// contains filtered or unexported fields
}

func NewBuildConsumer

func NewBuildConsumer(namespace string, conf *config.Config, debug bool) (*BazelBuild, error)

func (*BazelBuild) Build

func (b *BazelBuild) Build(e interface{})

type DNSControlConsumer

type DNSControlConsumer struct {
	Namespace            string
	HostAliases          []config.HostAlias
	AppId                int64
	InstallationId       int64
	PrivateKeySecretName string
	// contains filtered or unexported fields
}

func NewDNSControlConsumer

func NewDNSControlConsumer(namespace string, conf *config.Config, safeMode, debug bool) (*DNSControlConsumer, error)

func (*DNSControlConsumer) Dispatch

func (c *DNSControlConsumer) Dispatch(e interface{})

Jump to

Keyboard shortcuts

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