Documentation ¶
Index ¶
- Variables
- func ExtractConfig(ctx *pulumi.Context, namespace string, obj interface{}) error
- func MarshalJSONConfig(obj interface{}) ([]byte, error)
- func NewRandomPassword(ctx *pulumi.Context, name string, len int, opts ...pulumi.ResourceOption) (pulumi.StringOutput, error)
- func UnmarshalJSONConfig(data []byte, obj interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrJsonEmpty = errors.New("json is empty")
Functions ¶
func ExtractConfig ¶
ExtractConfig extracts the pulumi config and populates the object. It requires tags to be set on the struct fields, e.g.: json/config - the name of the config key secret - the name of the secret config key required - whether the config is required The tags are used to map the config to the struct fields.
func MarshalJSONConfig ¶
func NewRandomPassword ¶
func NewRandomPassword(ctx *pulumi.Context, name string, len int, opts ...pulumi.ResourceOption) (pulumi.StringOutput, error)
func UnmarshalJSONConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.