Documentation ¶
Index ¶
- Constants
- type RandomCreature
- type RandomCreatureProvider
- func (p *RandomCreatureProvider) Changed() (bool, error)
- func (p *RandomCreatureProvider) Create() error
- func (p *RandomCreatureProvider) Destroy() error
- func (p *RandomCreatureProvider) Init(cfg htypes.Resource, l logger.Logger) error
- func (p *RandomCreatureProvider) Lookup() ([]string, error)
- func (p *RandomCreatureProvider) Refresh() error
- type RandomID
- type RandomIDProvider
- func (p *RandomIDProvider) Changed() (bool, error)
- func (p *RandomIDProvider) Create() error
- func (p *RandomIDProvider) Destroy() error
- func (p *RandomIDProvider) Init(cfg htypes.Resource, l logger.Logger) error
- func (p *RandomIDProvider) Lookup() ([]string, error)
- func (p *RandomIDProvider) Refresh() error
- type RandomNumber
- type RandomNumberProvider
- func (p *RandomNumberProvider) Changed() (bool, error)
- func (p *RandomNumberProvider) Create() error
- func (p *RandomNumberProvider) Destroy() error
- func (p *RandomNumberProvider) Init(cfg htypes.Resource, l logger.Logger) error
- func (p *RandomNumberProvider) Lookup() ([]string, error)
- func (p *RandomNumberProvider) Refresh() error
- type RandomPassword
- type RandomPasswordProvider
- func (p *RandomPasswordProvider) Changed() (bool, error)
- func (p *RandomPasswordProvider) Create() error
- func (p *RandomPasswordProvider) Destroy() error
- func (p *RandomPasswordProvider) Init(cfg htypes.Resource, l logger.Logger) error
- func (p *RandomPasswordProvider) Lookup() ([]string, error)
- func (p *RandomPasswordProvider) Refresh() error
- type RandomUUID
- type RandomUUIDProvider
- func (p *RandomUUIDProvider) Changed() (bool, error)
- func (p *RandomUUIDProvider) Create() error
- func (p *RandomUUIDProvider) Destroy() error
- func (p *RandomUUIDProvider) Init(cfg htypes.Resource, l logger.Logger) error
- func (p *RandomUUIDProvider) Lookup() ([]string, error)
- func (p *RandomUUIDProvider) Refresh() error
Constants ¶
const TypeRandomCreature string = "random_creature"
TypeRandomCreature is the resource for generating random creatures
const TypeRandomID string = "random_id"
TypeRandomID is the resource for generating random IDs
const TypeRandomNumber string = "random_number"
TypeRandomNumber is the resource for generating random numbers
const TypeRandomPassword string = "random_password"
TypeRandomPassword is the resource for generating random passwords
const TypeRandomUUID string = "random_uuid"
TypeRandomUUID is the resource for generating random UUIDs
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RandomCreature ¶
type RandomCreature struct { types.ResourceMetadata `hcl:",remain"` // Output parameters Value string `hcl:"value,optional" json:"value"` }
allows the generation of random creatures
func (*RandomCreature) Process ¶
func (c *RandomCreature) Process() error
type RandomCreatureProvider ¶
type RandomCreatureProvider struct {
// contains filtered or unexported fields
}
RandomCreature is a provider for generating random creatures
func (*RandomCreatureProvider) Changed ¶
func (p *RandomCreatureProvider) Changed() (bool, error)
func (*RandomCreatureProvider) Create ¶
func (p *RandomCreatureProvider) Create() error
func (*RandomCreatureProvider) Destroy ¶
func (p *RandomCreatureProvider) Destroy() error
func (*RandomCreatureProvider) Lookup ¶
func (p *RandomCreatureProvider) Lookup() ([]string, error)
func (*RandomCreatureProvider) Refresh ¶
func (p *RandomCreatureProvider) Refresh() error
type RandomID ¶
type RandomID struct { types.ResourceMetadata `hcl:",remain"` ByteLength int64 `hcl:"byte_length" json:"byte_length"` // Output parameters Base64 string `hcl:"base64,optional" json:"base64"` Hex string `hcl:"hex,optional" json:"hex"` Dec string `hcl:"dec,optional" json:"dec"` }
allows the generation of random IDs
type RandomIDProvider ¶
type RandomIDProvider struct {
// contains filtered or unexported fields
}
RandomID is a provider for generating random IDs
func (*RandomIDProvider) Changed ¶
func (p *RandomIDProvider) Changed() (bool, error)
func (*RandomIDProvider) Create ¶
func (p *RandomIDProvider) Create() error
func (*RandomIDProvider) Destroy ¶
func (p *RandomIDProvider) Destroy() error
func (*RandomIDProvider) Lookup ¶
func (p *RandomIDProvider) Lookup() ([]string, error)
func (*RandomIDProvider) Refresh ¶
func (p *RandomIDProvider) Refresh() error
type RandomNumber ¶
type RandomNumber struct { types.ResourceMetadata `hcl:",remain"` Minimum int `hcl:"minimum" json:"minimum"` Maximum int `hcl:"maximum" json:"maximum"` // Output parameters Value int `hcl:"value,optional" json:"value"` }
allows the generation of random numbers
func (*RandomNumber) Process ¶
func (c *RandomNumber) Process() error
type RandomNumberProvider ¶
type RandomNumberProvider struct {
// contains filtered or unexported fields
}
RandomNumber is a random number provider
func (*RandomNumberProvider) Changed ¶
func (p *RandomNumberProvider) Changed() (bool, error)
func (*RandomNumberProvider) Create ¶
func (p *RandomNumberProvider) Create() error
func (*RandomNumberProvider) Destroy ¶
func (p *RandomNumberProvider) Destroy() error
func (*RandomNumberProvider) Lookup ¶
func (p *RandomNumberProvider) Lookup() ([]string, error)
func (*RandomNumberProvider) Refresh ¶
func (p *RandomNumberProvider) Refresh() error
type RandomPassword ¶
type RandomPassword struct { types.ResourceMetadata `hcl:",remain"` Length int64 `hcl:"length" json:"lenght"` OverrideSpecial string `hcl:"override_special,optional" json:"override_special"` Special *bool `hcl:"special,optional" json:"special"` Numeric *bool `hcl:"numeric,optional" json:"numeric"` Lower *bool `hcl:"lower,optional" json:"lower"` Upper *bool `hcl:"upper,optional" json:"upper"` MinSpecial int64 `hcl:"min_special,optional" json:"min_special"` MinNumeric int64 `hcl:"min_numeric,optional" json:"min_numeric"` MinLower int64 `hcl:"min_lower,optional" json:"min_lower"` MinUpper int64 `hcl:"min_upper,optional" json:"min_upper"` // Output parameters Value string `hcl:"value,optional" json:"value"` }
allows the generation of random Passwords
func (*RandomPassword) Process ¶
func (c *RandomPassword) Process() error
type RandomPasswordProvider ¶
type RandomPasswordProvider struct {
// contains filtered or unexported fields
}
RandomPassword is a provider for generating random passwords
func (*RandomPasswordProvider) Changed ¶
func (p *RandomPasswordProvider) Changed() (bool, error)
func (*RandomPasswordProvider) Create ¶
func (p *RandomPasswordProvider) Create() error
func (*RandomPasswordProvider) Destroy ¶
func (p *RandomPasswordProvider) Destroy() error
func (*RandomPasswordProvider) Lookup ¶
func (p *RandomPasswordProvider) Lookup() ([]string, error)
func (*RandomPasswordProvider) Refresh ¶
func (p *RandomPasswordProvider) Refresh() error
type RandomUUID ¶
type RandomUUID struct { types.ResourceMetadata `hcl:",remain"` // Output parameters Value string `hcl:"value,optional" json:"value"` }
allows the generation of random UUIDs
func (*RandomUUID) Process ¶
func (c *RandomUUID) Process() error
type RandomUUIDProvider ¶
type RandomUUIDProvider struct {
// contains filtered or unexported fields
}
RandomUUID is a provider for generating random UUIDs
func (*RandomUUIDProvider) Changed ¶
func (p *RandomUUIDProvider) Changed() (bool, error)
func (*RandomUUIDProvider) Create ¶
func (p *RandomUUIDProvider) Create() error
func (*RandomUUIDProvider) Destroy ¶
func (p *RandomUUIDProvider) Destroy() error
func (*RandomUUIDProvider) Lookup ¶
func (p *RandomUUIDProvider) Lookup() ([]string, error)
func (*RandomUUIDProvider) Refresh ¶
func (p *RandomUUIDProvider) Refresh() error