Documentation ¶
Index ¶
- Variables
- func GetLatestVersion(ctx context.Context, repo string) (string, error)
- func GetPublicGithubClient(ctx context.Context) *github.Client
- func IsValidVersion(ctx context.Context, repo, version string) (string, error)
- func MustMarshal(v interface{}) string
- func MustMarshalProto(v proto.Message) string
- func ParseAwsCredentialsFile(path string) ([]*ini.Section, error)
- func PrintInstalls(list v1.InstallList, outputType string)
- func PrintMeshes(list v1.MeshList, outputType string)
- func PrintRoutingRules(list v1.RoutingRuleList, outputType string)
- func PrintSecrets(list gloov1.SecretList, outputType string)
- func PrintSecurityRules(list v1.SecurityRuleList, outputType string)
- func PrintTlsSecrets(list v1.TlsSecretList, outputType string)
- func SetAwsCredentialsFromSection(opts *options.Options, section *ini.Section) error
- func SetKubectlMock(mockKubectl *mocks.MockKubectl)
- func WaitForInstallStatus(ctx context.Context, installRef core.ResourceRef, ...) error
- type Kubectl
Constants ¶
This section is empty.
Variables ¶
View Source
var TimeoutError = errors.Errorf("timed out while waiting for install to transition to 'accepted' status")
Functions ¶
func IsValidVersion ¶
func MustMarshal ¶
func MustMarshal(v interface{}) string
func MustMarshalProto ¶
func ParseAwsCredentialsFile ¶
func PrintInstalls ¶
func PrintInstalls(list v1.InstallList, outputType string)
func PrintMeshes ¶
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 SetKubectlMock ¶ added in v0.3.22
func SetKubectlMock(mockKubectl *mocks.MockKubectl)
func WaitForInstallStatus ¶ added in v0.3.22
func WaitForInstallStatus(ctx context.Context, installRef core.ResourceRef, desiredState core.Status_State, timeout time.Duration) error
TODO: generalize and move to go-utils (or solo-kit?) Blocks until the install transitions to the given status, times out, or any error occurs
Types ¶
Click to show internal directories.
Click to hide internal directories.