utils

package
v0.1.0-prerelease.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstanceName

func GetInstanceName(ctx context.Context, apiClient ArgusClient, instanceId, projectId string) (string, error)

func LoadPlanId

func LoadPlanId(planName string, resp *argus.PlansResponse) (*string, error)

func ValidatePlanId

func ValidatePlanId(planId string, resp *argus.PlansResponse) error

Types

type ArgusClient

type ArgusClient interface {
	GetInstanceExecute(ctx context.Context, instanceId, projectId string) (*argus.GetInstanceResponse, error)
}

Jump to

Keyboard shortcuts

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