config

package
v0.0.0-...-63319d1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MPL-2.0 Imports: 55 Imported by: 0

Documentation

Index

Constants

View Source
const MAXFieldLength int = 1024

MAXFieldLength is the maximum string length of single field when logging

Variables

View Source
var MutexKV = mutexkv.NewMutexKV()

MutexKV is a global lock on all resources, it can lock the specified shared string (such as resource ID, resource Name, port, etc.) to prevent other resources from using it, for concurrency control. Usage: MutexKV.Lock({resource ID}) and MutexKV.Unlock({resource ID})

Functions

func FormatHeaders

func FormatHeaders(headers http.Header, seperator string) string

FormatHeaders processes a headers object plus a deliminator, returning a string

func GetServiceDerivedCatalogKeys

func GetServiceDerivedCatalogKeys(mainKey string) []string

GetServiceDerivedCatalogKeys returns the derived catalog keys of a service.

func GetServiceEndpoint

func GetServiceEndpoint(c *HcsConfig, srv, region string) string

GetServiceEndpoint try to get the endpoint from customizing map

func NewHcClient

func NewHcClient(c *HcsConfig, region, product string, globalFlag bool) (*core.HcHttpClient, error)

NewHcClient is the common client using huaweicloudstack-sdk-go-v3 package

func RedactHeaders

func RedactHeaders(headers http.Header) (processedHeaders []string)

RedactHeaders processes a headers object, returning a redacted list.

Types

type Config

type Config = huaweiConfig.Config

type HcsConfig

type HcsConfig struct {
	Config
	HcsHwClient     *golangsdk.ProviderClient
	HcsDomainClient *golangsdk.ProviderClient
}

func GetHcsConfig

func GetHcsConfig(meta interface{}) *HcsConfig

func (*HcsConfig) AadV1Client

func (c *HcsConfig) AadV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) AntiDDosV1Client

func (c *HcsConfig) AntiDDosV1Client(region string) (*golangsdk.ServiceClient, error)

********** client for Security **********

func (*HcsConfig) AomV1Client

func (c *HcsConfig) AomV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) AosV1Client

func (c *HcsConfig) AosV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) ApiGatewayV1Client

func (c *HcsConfig) ApiGatewayV1Client(region string) (*golangsdk.ServiceClient, error)

********** client for Application **********

func (*HcsConfig) ApigV2Client

func (c *HcsConfig) ApigV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) AutoscalingV1Client

func (c *HcsConfig) AutoscalingV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) BcsV2Client

func (c *HcsConfig) BcsV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) BlockStorageV21Client

func (c *HcsConfig) BlockStorageV21Client(region string) (*golangsdk.ServiceClient, error)

********** client for Storage **********

func (*HcsConfig) BlockStorageV2Client

func (c *HcsConfig) BlockStorageV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) BmsV1Client

func (c *HcsConfig) BmsV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) BssV1Client

func (c *HcsConfig) BssV1Client(region string) (*golangsdk.ServiceClient, error)

********** client for Others **********

func (*HcsConfig) BssV2Client

func (c *HcsConfig) BssV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CbrV3Client

func (c *HcsConfig) CbrV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CceAddonV3Client

func (c *HcsConfig) CceAddonV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CceV1Client

func (c *HcsConfig) CceV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CceV3Client

func (c *HcsConfig) CceV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CciV1BetaClient

func (c *HcsConfig) CciV1BetaClient(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CciV1Client

func (c *HcsConfig) CciV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CdmV11Client

func (c *HcsConfig) CdmV11Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CdnV1Client

func (c *HcsConfig) CdnV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CesV1Client

func (c *HcsConfig) CesV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CesV2Client

func (c *HcsConfig) CesV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CloudStreamV1Client

func (c *HcsConfig) CloudStreamV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CloudtableV2Client

func (c *HcsConfig) CloudtableV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) ComputeV11Client

func (c *HcsConfig) ComputeV11Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) ComputeV1Client

func (c *HcsConfig) ComputeV1Client(region string) (*golangsdk.ServiceClient, error)

********** client for Compute **********

func (*HcsConfig) ComputeV2Client

func (c *HcsConfig) ComputeV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CsbsV1Client

func (c *HcsConfig) CsbsV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CseV2Client

func (c *HcsConfig) CseV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CssV1Client

func (c *HcsConfig) CssV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) CtsV1Client

func (c *HcsConfig) CtsV1Client(region string) (*golangsdk.ServiceClient, error)

********** client for Management **********

func (*HcsConfig) DataArtsV1Client

func (c *HcsConfig) DataArtsV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) DataGetEnterpriseProjectID

func (c *HcsConfig) DataGetEnterpriseProjectID(d *schema.ResourceData) string

DataGetEnterpriseProjectID returns the enterprise_project_id that was specified in the data source. If it was not set, the provider-level value is checked. The provider-level value can either be set by the `enterprise_project_id` argument or by HCS_ENTERPRISE_PROJECT_ID. If the provider-level value is also not set, `all_granted_eps` will be returned.

func (*HcsConfig) DcV3Client

func (c *HcsConfig) DcV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) DcsV1Client

func (c *HcsConfig) DcsV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) DcsV2Client

func (c *HcsConfig) DcsV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) DdsV3Client

func (c *HcsConfig) DdsV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) DisV2Client

func (c *HcsConfig) DisV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) DisV3Client

func (c *HcsConfig) DisV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) DliV1Client

func (c *HcsConfig) DliV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) DliV2Client

func (c *HcsConfig) DliV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) DmsV1Client

func (c *HcsConfig) DmsV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) DmsV2Client

func (c *HcsConfig) DmsV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) DnsV2Client

func (c *HcsConfig) DnsV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) DnsWithRegionClient

func (c *HcsConfig) DnsWithRegionClient(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) DrsV3Client

func (c *HcsConfig) DrsV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) DwsV1Client

func (c *HcsConfig) DwsV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) DwsV2Client

func (c *HcsConfig) DwsV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) ElbV2Client

func (c *HcsConfig) ElbV2Client(region string) (*golangsdk.ServiceClient, error)

ElbV2Client is the client for elb v2.0 (openstack) api

func (*HcsConfig) ElbV3Client

func (c *HcsConfig) ElbV3Client(region string) (*golangsdk.ServiceClient, error)

ElbV3Client is the client for elb v3 api

func (*HcsConfig) EnterpriseProjectClient

func (c *HcsConfig) EnterpriseProjectClient(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) ErV3Client

func (c *HcsConfig) ErV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) FgsV2Client

func (c *HcsConfig) FgsV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) FwV2Client

func (c *HcsConfig) FwV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) GaussdbV3Client

func (c *HcsConfig) GaussdbV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) GeminiDBV31Client

func (c *HcsConfig) GeminiDBV31Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) GeminiDBV3Client

func (c *HcsConfig) GeminiDBV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) GesV1Client

func (c *HcsConfig) GesV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) GetEnterpriseProjectID

func (c *HcsConfig) GetEnterpriseProjectID(d *schema.ResourceData) string

GetEnterpriseProjectID returns the enterprise_project_id that was specified in the resource. If it was not set, the provider-level value is checked. The provider-level value can either be set by the `enterprise_project_id` argument or by HCS_ENTERPRISE_PROJECT_ID.

func (*HcsConfig) GetProjectID

func (c *HcsConfig) GetProjectID(region string) string

GetProjectID is used to get the project ID for services

func (*HcsConfig) GetRegion

func (c *HcsConfig) GetRegion(d *schema.ResourceData) string

GetRegion returns the region that was specified in the resource. If a region was not set, the provider-level region is checked. The provider-level region can either be set by the region argument or by HCS_REGION_NAME.

func (*HcsConfig) HcAomV2Client

func (c *HcsConfig) HcAomV2Client(region string) (*aomv2.AomClient, error)

HcAomV2Client is the AOM service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcCdnV1Client

func (c *HcsConfig) HcCdnV1Client(region string) (*cdnv1.CdnClient, error)

HcCdnV1Client is the CDN service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcCptsV1Client

func (c *HcsConfig) HcCptsV1Client(region string) (*cptsv1.CptsClient, error)

HcCptsV1Client is the CPTS service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcCssV1Client

func (c *HcsConfig) HcCssV1Client(region string) (*cssv1.CssClient, error)

HcCssV1Client is the css service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcCssV2Client

func (c *HcsConfig) HcCssV2Client(region string) (*cssv2.CssClient, error)

HcCssV2Client is the css service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcCtsV3Client

func (c *HcsConfig) HcCtsV3Client(region string) (*ctsv3.CtsClient, error)

HcCtsV3Client is the CTS service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcDmsV2Client

func (c *HcsConfig) HcDmsV2Client(region string) (*dmsv2.KafkaClient, error)

HcDmsV2Client is the DMS service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcHssV5Client

func (c *HcsConfig) HcHssV5Client(region string) (*hssv5.HssClient, error)

HcHssV5Client is the HSS service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcIamV3Client

func (c *HcsConfig) HcIamV3Client(region string) (*iamv3.IamClient, error)

HcIamV3Client is the IAM service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcIoTdaV5Client

func (c *HcsConfig) HcIoTdaV5Client(region string) (*iotdav5.IoTDAClient, error)

HcIoTdaV5Client is the live service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcKmsV3Client

func (c *HcsConfig) HcKmsV3Client(region string) (*kpsv3.KpsClient, error)

HcKmsV3Client is the KMS service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcLiveV1Client

func (c *HcsConfig) HcLiveV1Client(region string) (*livev1.LiveClient, error)

HcLiveV1Client is the live service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcMpcV1Client

func (c *HcsConfig) HcMpcV1Client(region string) (*mpcv1.MpcClient, error)

HcMpcV1Client is the MPC service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcOmsV2Client

func (c *HcsConfig) HcOmsV2Client(region string) (*omsv2.OmsClient, error)

HcMpcV1Client is the MPC service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcRdsV3Client

func (c *HcsConfig) HcRdsV3Client(region string) (*rdsv3.RdsClient, error)

HcRdsV3Client is the RDS service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcTmsV1Client

func (c *HcsConfig) HcTmsV1Client(region string) (*tmsv1.TmsClient, error)

HcTmsV1Client is the TMS service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcVodV1Client

func (c *HcsConfig) HcVodV1Client(region string) (*vodv1.VodClient, error)

HcVodV1Client is the AOM service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) HcVpcV3Client

func (c *HcsConfig) HcVpcV3Client(region string) (*vpcv3.VpcClient, error)

HcVpcV3Client is the VPC service client using huaweicloudstack-sdk-go-v3 package

func (*HcsConfig) IAMNoVersionClient

func (c *HcsConfig) IAMNoVersionClient(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) IAMV3Client

func (c *HcsConfig) IAMV3Client(region string) (*golangsdk.ServiceClient, error)

********** client for Global Service **********

func (*HcsConfig) IECV1Client

func (c *HcsConfig) IECV1Client(region string) (*golangsdk.ServiceClient, error)

IECV1Client returns a ServiceClient for IEC Endpoint APIs

func (*HcsConfig) IdentityV3Client

func (c *HcsConfig) IdentityV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) ImageV1Client

func (c *HcsConfig) ImageV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) ImageV2Client

func (c *HcsConfig) ImageV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) KmsKeyV1Client

func (c *HcsConfig) KmsKeyV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) KmsV1Client

func (c *HcsConfig) KmsV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) KmsV3Client

func (c *HcsConfig) KmsV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) LoadAndValidate

func (c *HcsConfig) LoadAndValidate() error

func (*HcsConfig) LoadBalancerClient

func (c *HcsConfig) LoadBalancerClient(region string) (*golangsdk.ServiceClient, error)

LoadBalancerClient is the client for elb v2 api

func (*HcsConfig) LtsV2Client

func (c *HcsConfig) LtsV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) MaasV1Client

func (c *HcsConfig) MaasV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) MlsV1Client

func (c *HcsConfig) MlsV1Client(region string) (*golangsdk.ServiceClient, error)

MlsV1Client has the endpoint: https://mls.{{region}}/{{cloud}}/v1.0/{{project_id}}

func (*HcsConfig) ModelArtsV1Client

func (c *HcsConfig) ModelArtsV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) ModelArtsV2Client

func (c *HcsConfig) ModelArtsV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) MrsV1Client

func (c *HcsConfig) MrsV1Client(region string) (*golangsdk.ServiceClient, error)

********** client for Enterprise Intelligence **********

func (*HcsConfig) MrsV2Client

func (c *HcsConfig) MrsV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) NatGatewayClient

func (c *HcsConfig) NatGatewayClient(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) NatV2Client

func (c *HcsConfig) NatV2Client(region string) (*golangsdk.ServiceClient, error)

NatV2Client has the endpoint: https://nat.{{region}}/{{cloud}}/v2.0/

func (*HcsConfig) NetworkingV1Client

func (c *HcsConfig) NetworkingV1Client(region string) (*golangsdk.ServiceClient, error)

********** client for Network **********

func (*HcsConfig) NetworkingV2Client

func (c *HcsConfig) NetworkingV2Client(region string) (*golangsdk.ServiceClient, error)

NetworkingV2Client returns a ServiceClient for neutron APIs the endpoint likes: https://vpc.{region}.myhuaweicloud.com/v2.0/

func (*HcsConfig) NetworkingV3Client

func (c *HcsConfig) NetworkingV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) NewServiceClient

func (c *HcsConfig) NewServiceClient(srv, region string) (*golangsdk.ServiceClient, error)

NewServiceClient create a ServiceClient which was assembled from ServiceCatalog. If you want to add new ServiceClient, please make sure the catalog was already in allServiceCatalog. the endpoint likes https://{Name}.{Region}.myhuaweicloud.com/{Version}/{project_id}/{ResourceBase}

func (*HcsConfig) ObjectStorageClient

func (c *HcsConfig) ObjectStorageClient(region string) (*obs.ObsClient, error)

func (*HcsConfig) ObjectStorageClientWithSignature

func (c *HcsConfig) ObjectStorageClientWithSignature(region string) (*obs.ObsClient, error)

func (*HcsConfig) OpenGaussV3Client

func (c *HcsConfig) OpenGaussV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) RdsV1Client

func (c *HcsConfig) RdsV1Client(region string) (*golangsdk.ServiceClient, error)

********** client for Database **********

func (*HcsConfig) RdsV3Client

func (c *HcsConfig) RdsV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) RmsV1Client

func (c *HcsConfig) RmsV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) ScmV3Client

func (c *HcsConfig) ScmV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) SdrsV1Client

func (c *HcsConfig) SdrsV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) ServiceStageV1Client

func (c *HcsConfig) ServiceStageV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) ServiceStageV2Client

func (c *HcsConfig) ServiceStageV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) SfsV1Client

func (c *HcsConfig) SfsV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) SfsV2Client

func (c *HcsConfig) SfsV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) SmnV2Client

func (c *HcsConfig) SmnV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) SmnV2TagClient

func (c *HcsConfig) SmnV2TagClient(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) SmsV3Client

func (c *HcsConfig) SmsV3Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) SwrV2Client

func (c *HcsConfig) SwrV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) VPCEPClient

func (c *HcsConfig) VPCEPClient(region string) (*golangsdk.ServiceClient, error)

VPCEPClient returns a ServiceClient for VPC Endpoint APIs the endpoint likes: https://vpcep.{region}.myhuaweicloud.com/v1/{project_id}/

func (*HcsConfig) VbsV2Client

func (c *HcsConfig) VbsV2Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) WafDedicatedV1Client

func (c *HcsConfig) WafDedicatedV1Client(region string) (*golangsdk.ServiceClient, error)

func (*HcsConfig) WafV1Client

func (c *HcsConfig) WafV1Client(region string) (*golangsdk.ServiceClient, error)

WafV1Client is not avaliable in HuaweiCloudStack, will be imported by other clouds

func (*HcsConfig) WorkspaceV2Client

func (c *HcsConfig) WorkspaceV2Client(region string) (*golangsdk.ServiceClient, error)

type LogRoundTripper

type LogRoundTripper struct {
	Rt         http.RoundTripper
	MaxRetries int
}

LogRoundTripper satisfies the http.RoundTripper interface and is used to customize the default http client RoundTripper to allow for logging.

func (*LogRoundTripper) RoundTrip

func (lrt *LogRoundTripper) RoundTrip(request *http.Request) (*http.Response, error)

RoundTrip performs a round-trip HTTP request and logs relevant information about it.

type Profile

type Profile struct {
	Name             string `json:"name"`
	Mode             string `json:"mode"`
	AccessKeyId      string `json:"accessKeyId"`
	SecretAccessKey  string `json:"secretAccessKey"`
	SecurityToken    string `json:"securityToken"`
	Region           string `json:"region"`
	ProjectId        string `json:"projectId"`
	DomainId         string `json:"domainId"`
	AgencyDomainId   string `json:"agencyDomainId"`
	AgencyDomainName string `json:"agencyDomainName"`
	AgencyName       string `json:"agencyName"`
}

type ServiceCatalog

type ServiceCatalog struct {
	Name             string
	Version          string
	Scope            string
	Admin            bool
	ResourceBase     string
	WithOutProjectID bool
	Product          string
}

ServiceCatalog defines a struct which was used to generate a service client for huaweicloudstack. the endpoint likes https://{Name}.{Region}.myhuaweicloud.com/{Version}/{project_id}/{ResourceBase} For more information, please refer to Config.NewServiceClient

func GetServiceCatalog

func GetServiceCatalog(service string) *ServiceCatalog

GetServiceCatalog returns the catalog object of a service

type SharedConfig

type SharedConfig struct {
	Current  string    `json:"current"`
	Profiles []Profile `json:"profiles"`
}

CLI Shared Config

Jump to

Keyboard shortcuts

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