servicecatalog

package
v0.45.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetCloudformationStackParameters([]*svcsdk.RecordOutput) ([]cfsdkv2types.Parameter, error)
	GetProvisionedProductOutputs(*svcsdk.GetProvisionedProductOutputsInput) (*svcsdk.GetProvisionedProductOutputsOutput, error)
	DescribeRecord(*svcsdk.DescribeRecordInput) (*svcsdk.DescribeRecordOutput, error)
	DescribeProduct(*svcsdk.DescribeProductInput) (*svcsdk.DescribeProductOutput, error)
}

Client represents a custom client to retrieve information from AWS related to service catalog or cloud formation as resource behind the provisioned product

type CustomServiceCatalogClient

type CustomServiceCatalogClient struct {
	CfClient *cfsdkv2.Client
	Client   svcsdkapi.ServiceCatalogAPI
}

CustomServiceCatalogClient is the implementation of a Client

func (*CustomServiceCatalogClient) DescribeProduct

DescribeProduct is wrapped (*ServiceCatalog) DescribeProduct from github.com/aws/aws-sdk-go/service/servicecatalog

func (*CustomServiceCatalogClient) DescribeRecord

func (c *CustomServiceCatalogClient) DescribeRecord(describeRecordInput *svcsdk.DescribeRecordInput) (*svcsdk.DescribeRecordOutput, error)

DescribeRecord is wrapped (*ServiceCatalog) DescribeRecord from github.com/aws/aws-sdk-go/service/servicecatalog

func (*CustomServiceCatalogClient) GetCloudformationStackParameters

func (c *CustomServiceCatalogClient) GetCloudformationStackParameters(provisionedProductOutputs []*svcsdk.RecordOutput) ([]cfsdkv2types.Parameter, error)

GetCloudformationStackParameters retrieves parameters from cloudformation stack based on outputs from provisioned product

func (*CustomServiceCatalogClient) GetProvisionedProductOutputs

GetProvisionedProductOutputs is wrapped (*ServiceCatalog) GetProvisionedProductOutputs from github.com/aws/aws-sdk-go/service/servicecatalog

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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