Documentation ¶
Index ¶
- func GetCredentialsUsername(ctx context.Context, apiClient OpenSearchClient, ...) (string, error)
- func GetInstanceName(ctx context.Context, apiClient OpenSearchClient, projectId, instanceId string) (string, error)
- func LoadPlanId(planName, version string, offerings *opensearch.ListOfferingsResponse) (*string, error)
- func ValidatePlanId(planId string, offerings *opensearch.ListOfferingsResponse) error
- type OpenSearchClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCredentialsUsername ¶
func GetInstanceName ¶
func LoadPlanId ¶
func LoadPlanId(planName, version string, offerings *opensearch.ListOfferingsResponse) (*string, error)
func ValidatePlanId ¶
func ValidatePlanId(planId string, offerings *opensearch.ListOfferingsResponse) error
Types ¶
type OpenSearchClient ¶
type OpenSearchClient interface { GetInstanceExecute(ctx context.Context, projectId, instanceId string) (*opensearch.Instance, error) GetCredentialsExecute(ctx context.Context, projectId, instanceId, credentialsId string) (*opensearch.CredentialsResponse, error) }
Click to show internal directories.
Click to hide internal directories.