Documentation
¶
Index ¶
Constants ¶
const ( // DefaultHost is the default Host // found in Meta (info) section of spec file DefaultHost string = "https://api.crayon.com" // DefaultBasePath is the default BasePath // found in Meta (info) section of spec file DefaultBasePath string = "/" )
Variables ¶
var Default = NewHTTPClient(nil)
Default cloudiq client go HTTP client.
var DefaultSchemes = []string{"http"}
DefaultSchemes are the default schemes found in Meta (info) section of spec file
Functions ¶
This section is empty.
Types ¶
type CloudiqClientGo ¶
type CloudiqClientGo struct {
ActivityLogs activity_logs.ClientService
Addresses addresses.ClientService
AgreementProducts agreement_products.ClientService
AgreementReports agreement_reports.ClientService
Agreements agreements.ClientService
Assets assets.ClientService
AwsAccounts aws_accounts.ClientService
AzurePlans azure_plans.ClientService
BillingCycles billing_cycles.ClientService
BillingStatements billing_statements.ClientService
BlogItems blog_items.ClientService
Clients clients.ClientService
Consumers consumers.ClientService
CrayonAccounts crayon_accounts.ClientService
CustomerTenantAgreements customer_tenant_agreements.ClientService
CustomerTenants customer_tenants.ClientService
CustomerToken customer_token.ClientService
FacebookOrders facebook_orders.ClientService
GoogleOrders google_orders.ClientService
Groupings groupings.ClientService
InvoiceProfiles invoice_profiles.ClientService
ManagementLinks management_links.ClientService
Me me.ClientService
OrganizationAccess organization_access.ClientService
Organizations organizations.ClientService
Ping ping.ClientService
ProductContainers product_containers.ClientService
Programs programs.ClientService
Publishers publishers.ClientService
Regions regions.ClientService
ResellerSalesPrices reseller_sales_prices.ClientService
Secrets secrets.ClientService
Subscriptions subscriptions.ClientService
UsageCost usage_cost.ClientService
Users users.ClientService
Transport runtime.ClientTransport
}
CloudiqClientGo is a client for cloudiq client go
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *CloudiqClientGo
New creates a new cloudiq client go client
func NewHTTPClient ¶
func NewHTTPClient(formats strfmt.Registry) *CloudiqClientGo
NewHTTPClient creates a new cloudiq client go HTTP client.
func NewHTTPClientWithConfig ¶
func NewHTTPClientWithConfig(formats strfmt.Registry, cfg *TransportConfig) *CloudiqClientGo
NewHTTPClientWithConfig creates a new cloudiq client go HTTP client, using a customizable transport config.
func (*CloudiqClientGo) SetTransport ¶
func (c *CloudiqClientGo) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client and all its subresources
type TransportConfig ¶
TransportConfig contains the transport related info, found in the meta section of the spec file.
func DefaultTransportConfig ¶
func DefaultTransportConfig() *TransportConfig
DefaultTransportConfig creates a TransportConfig with the default settings taken from the meta section of the spec file.
func (*TransportConfig) WithBasePath ¶
func (cfg *TransportConfig) WithBasePath(basePath string) *TransportConfig
WithBasePath overrides the default basePath, provided by the meta section of the spec file.
func (*TransportConfig) WithHost ¶
func (cfg *TransportConfig) WithHost(host string) *TransportConfig
WithHost overrides the default host, provided by the meta section of the spec file.
func (*TransportConfig) WithSchemes ¶
func (cfg *TransportConfig) WithSchemes(schemes []string) *TransportConfig
WithSchemes overrides the default schemes, provided by the meta section of the spec file.