Documentation ¶
Index ¶
Constants ¶
View Source
const ImportTemplateString = `import {{"{"}}
to = {{.GetType}}.{{.GetResourceId}}
id = "{{.GetId}}"
{{"}\n"}}`
View Source
const TerraformAppEntilementType = "conductorone_app_entitlement"
View Source
const TerraformAppType = "conductorone_app"
View Source
const TerraformPolicyType = "conductorone_policy"
Variables ¶
This section is empty.
Functions ¶
func ApplyTemplate ¶
func ApplyTemplate(data TemplateData, tmpl string) (string, error)
func ApplyTemplates ¶
func ApplyTemplates(data []TemplateData, templates ...string) (string, error)
Types ¶
type AppEntitlementTemplate ¶
type AppEntitlementTemplate struct {
AppEntitlement shared.AppEntitlement
}
func (AppEntitlementTemplate) GetId ¶
func (ae AppEntitlementTemplate) GetId() string
func (AppEntitlementTemplate) GetOutputId ¶
func (ae AppEntitlementTemplate) GetOutputId() string
func (AppEntitlementTemplate) GetRequired ¶
func (ae AppEntitlementTemplate) GetRequired() map[string]string
func (AppEntitlementTemplate) GetResourceId ¶
func (ae AppEntitlementTemplate) GetResourceId() string
func (AppEntitlementTemplate) GetType ¶
func (ae AppEntitlementTemplate) GetType() string
type AppTemplate ¶
func (AppTemplate) GetId ¶
func (a AppTemplate) GetId() string
func (AppTemplate) GetOutputId ¶
func (a AppTemplate) GetOutputId() string
func (AppTemplate) GetRequired ¶
func (a AppTemplate) GetRequired() map[string]string
func (AppTemplate) GetResourceId ¶
func (a AppTemplate) GetResourceId() string
func (AppTemplate) GetType ¶
func (a AppTemplate) GetType() string
type PolicyTemplate ¶
func (PolicyTemplate) GetId ¶
func (p PolicyTemplate) GetId() string
func (PolicyTemplate) GetOutputId ¶
func (p PolicyTemplate) GetOutputId() string
func (PolicyTemplate) GetRequired ¶
func (p PolicyTemplate) GetRequired() map[string]string
func (PolicyTemplate) GetResourceId ¶
func (p PolicyTemplate) GetResourceId() string
func (PolicyTemplate) GetType ¶
func (p PolicyTemplate) GetType() string
Click to show internal directories.
Click to hide internal directories.