Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- type ReplaceArgs
- type ReplaceOutputArgs
- type ReplaceResult
- type ReplaceResultOutput
- type TrimPrefixArgs
- type TrimPrefixOutputArgs
- type TrimPrefixResult
- type TrimPrefixResultOutput
- func (TrimPrefixResultOutput) ElementType() reflect.Type
- func (o TrimPrefixResultOutput) Result() pulumi.StringOutput
- func (o TrimPrefixResultOutput) ToTrimPrefixResultOutput() TrimPrefixResultOutput
- func (o TrimPrefixResultOutput) ToTrimPrefixResultOutputWithContext(ctx context.Context) TrimPrefixResultOutput
- type TrimSuffixArgs
- type TrimSuffixOutputArgs
- type TrimSuffixResult
- type TrimSuffixResultOutput
- func (TrimSuffixResultOutput) ElementType() reflect.Type
- func (o TrimSuffixResultOutput) Result() pulumi.StringOutput
- func (o TrimSuffixResultOutput) ToTrimSuffixResultOutput() TrimSuffixResultOutput
- func (o TrimSuffixResultOutput) ToTrimSuffixResultOutputWithContext(ctx context.Context) TrimSuffixResultOutput
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
}
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 { }
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) 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
type ReplaceArgs ¶
type ReplaceOutputArgs ¶
type ReplaceOutputArgs struct { New pulumi.StringInput `pulumi:"new"` Old pulumi.StringInput `pulumi:"old"` String pulumi.StringInput `pulumi:"string"` }
func (ReplaceOutputArgs) ElementType ¶
func (ReplaceOutputArgs) ElementType() reflect.Type
type ReplaceResult ¶
type ReplaceResult struct {
Result string `pulumi:"result"`
}
func Replace ¶
func Replace(ctx *pulumi.Context, args *ReplaceArgs, opts ...pulumi.InvokeOption) (*ReplaceResult, error)
Replace returns a copy of the string s with all non-overlapping instances of old replaced by new. If old is empty, it matches at the beginning of the string and after each UTF-8 sequence, yielding up to k+1 replacements for a k-rune string.
type ReplaceResultOutput ¶
type ReplaceResultOutput struct{ *pulumi.OutputState }
func ReplaceOutput ¶
func ReplaceOutput(ctx *pulumi.Context, args ReplaceOutputArgs, opts ...pulumi.InvokeOption) ReplaceResultOutput
func (ReplaceResultOutput) ElementType ¶
func (ReplaceResultOutput) ElementType() reflect.Type
func (ReplaceResultOutput) Result ¶
func (o ReplaceResultOutput) Result() pulumi.StringOutput
func (ReplaceResultOutput) ToReplaceResultOutput ¶
func (o ReplaceResultOutput) ToReplaceResultOutput() ReplaceResultOutput
func (ReplaceResultOutput) ToReplaceResultOutputWithContext ¶
func (o ReplaceResultOutput) ToReplaceResultOutputWithContext(ctx context.Context) ReplaceResultOutput
type TrimPrefixArgs ¶
type TrimPrefixOutputArgs ¶
type TrimPrefixOutputArgs struct { Prefix pulumi.StringInput `pulumi:"prefix"` String pulumi.StringInput `pulumi:"string"` }
func (TrimPrefixOutputArgs) ElementType ¶
func (TrimPrefixOutputArgs) ElementType() reflect.Type
type TrimPrefixResult ¶
type TrimPrefixResult struct {
Result string `pulumi:"result"`
}
func TrimPrefix ¶
func TrimPrefix(ctx *pulumi.Context, args *TrimPrefixArgs, opts ...pulumi.InvokeOption) (*TrimPrefixResult, error)
Trim a prefix from a string.
type TrimPrefixResultOutput ¶
type TrimPrefixResultOutput struct{ *pulumi.OutputState }
func TrimPrefixOutput ¶
func TrimPrefixOutput(ctx *pulumi.Context, args TrimPrefixOutputArgs, opts ...pulumi.InvokeOption) TrimPrefixResultOutput
func (TrimPrefixResultOutput) ElementType ¶
func (TrimPrefixResultOutput) ElementType() reflect.Type
func (TrimPrefixResultOutput) Result ¶
func (o TrimPrefixResultOutput) Result() pulumi.StringOutput
func (TrimPrefixResultOutput) ToTrimPrefixResultOutput ¶
func (o TrimPrefixResultOutput) ToTrimPrefixResultOutput() TrimPrefixResultOutput
func (TrimPrefixResultOutput) ToTrimPrefixResultOutputWithContext ¶
func (o TrimPrefixResultOutput) ToTrimPrefixResultOutputWithContext(ctx context.Context) TrimPrefixResultOutput
type TrimSuffixArgs ¶
type TrimSuffixOutputArgs ¶
type TrimSuffixOutputArgs struct { String pulumi.StringInput `pulumi:"string"` Suffix pulumi.StringInput `pulumi:"suffix"` }
func (TrimSuffixOutputArgs) ElementType ¶
func (TrimSuffixOutputArgs) ElementType() reflect.Type
type TrimSuffixResult ¶
type TrimSuffixResult struct {
Result string `pulumi:"result"`
}
func TrimSuffix ¶
func TrimSuffix(ctx *pulumi.Context, args *TrimSuffixArgs, opts ...pulumi.InvokeOption) (*TrimSuffixResult, error)
Trim a suffix from a string.
type TrimSuffixResultOutput ¶
type TrimSuffixResultOutput struct{ *pulumi.OutputState }
func TrimSuffixOutput ¶
func TrimSuffixOutput(ctx *pulumi.Context, args TrimSuffixOutputArgs, opts ...pulumi.InvokeOption) TrimSuffixResultOutput
func (TrimSuffixResultOutput) ElementType ¶
func (TrimSuffixResultOutput) ElementType() reflect.Type
func (TrimSuffixResultOutput) Result ¶
func (o TrimSuffixResultOutput) Result() pulumi.StringOutput
func (TrimSuffixResultOutput) ToTrimSuffixResultOutput ¶
func (o TrimSuffixResultOutput) ToTrimSuffixResultOutput() TrimSuffixResultOutput
func (TrimSuffixResultOutput) ToTrimSuffixResultOutputWithContext ¶
func (o TrimSuffixResultOutput) ToTrimSuffixResultOutputWithContext(ctx context.Context) TrimSuffixResultOutput
Source Files ¶
Click to show internal directories.
Click to hide internal directories.