gloo

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnterpriseGlooRepo = "solo-projects"
	GlooRepo           = "gloo"
	DefaultNamespace   = "gloo-system"
	GlooSelector       = "gloo"
)
View Source
const (
	GlooUiVirtualService = `` /* 374-byte string literal not displayed */

)

Variables

View Source
var (
	CouldNotDetermineVersionError = func(err error) error {
		return errors.Wrapf(err, "Error determining latest release.")
	}
	MustProvideVersionError = errors.Errorf("Must provide a version for install")
)
View Source
var (
	GlooctlNotInstalledError = errors.Errorf("Glooctl not installed")
)

Functions

func EnsureGloo

func EnsureGloo(ctx context.Context, glooManager GlooManager, gloo *api.Gloo) error

func GetGlooProxyExternalIp

func GetGlooProxyExternalIp(ctx context.Context) (string, error)

func NewAwsDnsClient

func NewAwsDnsClient() (*awsDnsClient, error)

func NewGithubArtifactDownloader

func NewGithubArtifactDownloader(client *github.Client, repoName, tag string) *githubArtifactDownloader

func NewKubectlUiVirtualServiceCreator

func NewKubectlUiVirtualServiceCreator() *kubectlUiVirtualServiceCreator

func NewUrlArtifactDownloader

func NewUrlArtifactDownloader() *urlArtifactDownloader

Types

type ArtifactDownloader

type ArtifactDownloader interface {
	Download(ctx context.Context, remotePath, localPath string) error
}

type AwsDnsClient

type AwsDnsClient interface {
	CreateMapping(ctx context.Context, hostedZoneName, domain, ip string) error
}

type GlooManager

type GlooManager interface {
	Install(ctx context.Context) error
	Glooctl() Glooctl
	Uninstall(ctx context.Context) error
}

func NewGlooManager

func NewGlooManager(valet *api.Valet, gloo *api.Gloo) GlooManager

type Glooctl

type Glooctl interface {
	Install(ctx context.Context) error
	Execute(args ...string) (string, error)
}

func NewGlooctl

func NewGlooctl(valet *api.Valet, gloo *api.Gloo) Glooctl

type UiVirtualServiceCreator

type UiVirtualServiceCreator interface {
	Create(ctx context.Context, glooui api.UiVirtualService) error
}

Jump to

Keyboard shortcuts

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