helpers

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLatestVersion

func GetLatestVersion(ctx context.Context, repo string) (string, error)

func GetPublicGithubClient

func GetPublicGithubClient(ctx context.Context) *github.Client

func IsValidVersion

func IsValidVersion(ctx context.Context, repo, version string) (string, error)

func MustMarshal

func MustMarshal(v interface{}) string

func MustMarshalProto

func MustMarshalProto(v proto.Message) string

func ParseAwsCredentialsFile

func ParseAwsCredentialsFile(path string) ([]*ini.Section, error)

func PrintInstalls

func PrintInstalls(list v1.InstallList, outputType string)

func PrintMeshes

func PrintMeshes(list v1.MeshList, outputType string)

func PrintRoutingRules

func PrintRoutingRules(list v1.RoutingRuleList, outputType string)

func PrintSecrets

func PrintSecrets(list gloov1.SecretList, outputType string)

func PrintSecurityRules

func PrintSecurityRules(list v1.SecurityRuleList, outputType string)

func PrintTlsSecrets

func PrintTlsSecrets(list v1.TlsSecretList, outputType string)

func SetAwsCredentialsFromSection

func SetAwsCredentialsFromSection(opts *options.Options, section *ini.Section) error

Types

This section is empty.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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