Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProviders ¶
func GetProviders() map[string]cuexruntime.ProviderFn
GetProviders returns the cue providers.
Types ¶
type ComponentNameVars ¶
type ComponentNameVars struct {
ComponentName string `json:"componentName"`
}
ComponentNameVars is the input parameters for GetConnectionStatus.
type ComponentReturns ¶
type ComponentReturns = Outputs[ComponentVars]
ComponentReturns is the return value for LoadTerraformComponents.
func LoadTerraformComponents ¶
func LoadTerraformComponents(ctx context.Context, params *oamprovidertypes.OAMParams[any]) (*ComponentReturns, error)
LoadTerraformComponents loads Terraform components.
type ComponentVars ¶
type ComponentVars struct {
Components []common.ApplicationComponent `json:"components"`
}
ComponentVars is the input parameters for LoadTerraformComponents.
type ConnectionParams ¶
type ConnectionParams = oamprovidertypes.OAMParams[Inputs[ComponentNameVars]]
ConnectionParams is the input parameters for GetConnectionStatus.
type ConnectionResult ¶
type ConnectionResult struct {
Healthy bool `json:"healthy"`
}
ConnectionResult is the result for connection status.
type ConnectionReturns ¶
type ConnectionReturns = Outputs[ConnectionResult]
ConnectionReturns is the return value for connection status.
func GetConnectionStatus ¶
func GetConnectionStatus(_ context.Context, params *ConnectionParams) (*ConnectionReturns, error)
GetConnectionStatus returns the connection status of a component.
Click to show internal directories.
Click to hide internal directories.