Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ResourceCmd = &cobra.Command{ Use: "resource [load]", Short: "Manage your resources", Long: `Manage your resources`, Run: func(cmd *cobra.Command, args []string) { cmd.Help() }, }
ResourceCmd represents the resource command
Functions ¶
func ScriptResource ¶
func ScriptResource(resources []Resource)
Types ¶
type CampaignData ¶
type ProjectData ¶
type Resource ¶
type Resource struct { Name ResourceType Data Data ResourceVariable string }
func UnmarshalConfig ¶
type ResourceData ¶
type ResourceData struct {
Id string `json:"id"`
}
type ResourceType ¶
type ResourceType int
const ( Project ResourceType = iota Flag TargetingKey Goal Campaign VariationGroup Variation )
type TargetingKeysData ¶
type TargetingKeysData struct {
*models.TargetingKey
}
type VariationData ¶
type VariationGroupData ¶
type VariationGroupData struct {
*models.VariationGroup
}
Click to show internal directories.
Click to hide internal directories.