Documentation ¶
Overview ¶
A Pulumi package for creating and managing configcat cloud resources.
Index ¶
- func PkgVersion() (semver.Version, error)
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (o ProviderOutput) BasePath() pulumi.StringPtrOutput
- func (o ProviderOutput) BasicAuthPassword() pulumi.StringOutput
- func (o ProviderOutput) BasicAuthUsername() pulumi.StringOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type Provider ¶
type Provider struct { pulumi.ProviderResourceState // ConfigCat Public Management API Base Path (defaults to production). BasePath pulumi.StringPtrOutput `pulumi:"basePath"` // ConfigCat Public API credential - Basic Auth Password BasicAuthPassword pulumi.StringOutput `pulumi:"basicAuthPassword"` // ConfigCat Public API credential - Basic Auth Username. BasicAuthUsername pulumi.StringOutput `pulumi:"basicAuthUsername"` }
The provider type for the configcat package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { // ConfigCat Public Management API Base Path (defaults to production). BasePath pulumi.StringPtrInput // ConfigCat Public API credential - Basic Auth Password BasicAuthPassword pulumi.StringInput // ConfigCat Public API credential - Basic Auth Username. BasicAuthUsername pulumi.StringInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) BasePath ¶
func (o ProviderOutput) BasePath() pulumi.StringPtrOutput
ConfigCat Public Management API Base Path (defaults to production).
func (ProviderOutput) BasicAuthPassword ¶
func (o ProviderOutput) BasicAuthPassword() pulumi.StringOutput
ConfigCat Public API credential - Basic Auth Password
func (ProviderOutput) BasicAuthUsername ¶
func (o ProviderOutput) BasicAuthUsername() pulumi.StringOutput
ConfigCat Public API credential - Basic Auth Username.
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput