MCPcopy Create free account
hub / github.com/algolia/cli / samplePlanTemplates

Function samplePlanTemplates

pkg/cmd/application/create/create_test.go:93–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91}
92
93func samplePlanTemplates() []dashboard.PlanTemplateResource {
94 return []dashboard.PlanTemplateResource{
95 {
96 ID: "build",
97 Type: "plan_template",
98 Attributes: dashboard.PlanTemplateAttributes{
99 Name: "Build",
100 Description: "Free forever Search & Discovery API.",
101 Type: "free",
102 Configuration: dashboard.PlanTemplateConfiguration{
103 Plan: "build",
104 AcceptTerms: "Build terms",
105 },
106 },
107 },
108 {
109 ID: "grow",
110 Type: "plan_template",
111 Attributes: dashboard.PlanTemplateAttributes{
112 Name: "Grow",
113 Description: "Best-in-class Search & Discovery API.",
114 Type: "freeform",
115 Freeform: "$0.50 / 1,000 Requests",
116 Configuration: dashboard.PlanTemplateConfiguration{
117 Plan: "grow",
118 AcceptTerms: "Grow terms",
119 },
120 },
121 },
122 {
123 ID: "grow-plus",
124 Type: "plan_template",
125 Attributes: dashboard.PlanTemplateAttributes{
126 Name: "Grow Plus",
127 Description: "AI-powered Search & Discovery API.",
128 Type: "freeform",
129 Freeform: "$1.75 / 1,000 Requests",
130 Configuration: dashboard.PlanTemplateConfiguration{
131 Plan: "grow-plus",
132 AcceptTerms: "Grow Plus terms",
133 },
134 },
135 },
136 }
137}
138
139type createServer struct {
140 *httptest.Server

Callers 1

newServerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected