Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventSource ¶
type EventSource struct { EventSpec struct { Gcp google.EventarcTriggerConfig Aws any } TopicSpec struct { Gcp google.PubsubTopicConfig Aws any } QueueSpec struct { Gcp google.CloudTasksQueueConfig Aws any } ScheduleSpec struct { Gcp google.CloudSchedulerJobConfig Aws any } }
func (*EventSource) UnmarshalJSON ¶
func (c *EventSource) UnmarshalJSON(b []byte) error
type Module ¶
type Module struct { Name string `json:"name"` EventSource EventSource `json:"eventSource"` Service Service `json:"service"` Networking Networking `json:"networking"` Security Security `json:"security"` Orchestration Orchestration `json:"orchestration"` Metadata Metadata `json:"metadata"` }
type Networking ¶
type Networking struct { Internal bool `json:"internal"` Ingress struct { Gateway struct { Paths map[string]map[string]struct { Parameters []struct { Name string `json:"name"` In string `json:"in"` Required bool `json:"required"` // contains filtered or unexported fields } `json:"parameters"` RequestBody struct { // contains filtered or unexported fields } `json:"requestBody"` Responses map[string]struct { Description string `json:"description"` Headers map[string]struct { // contains filtered or unexported fields } `json:"headers"` // contains filtered or unexported fields } `json:"responses"` Security []map[string][]string `json:"security"` } `json:"paths"` Components struct { SecuritySchemes map[string]struct { Type string `json:"type"` Name string `json:"name"` In string `json:"in"` } `json:"securitySchemes"` } `json:"components"` } `json:"gateway"` } `json:"ingress"` Egress struct { StaticIp bool `json:"staticIp"` } `json:"egress"` }
type Orchestration ¶
type Orchestration struct { Workflow struct { Start bool `json:"start"` End bool `json:"end"` Input struct { Expression struct { Gcp string `json:"gcp"` Aws string `json:"aws"` } `json:"expression"` } `json:"input"` Output struct { Expression struct { Gcp string `json:"gcp"` Aws string `json:"aws"` } `json:"expression"` } `json:"output"` Next struct { Jump struct { ServiceName string `json:"serviceName"` } `json:"jump"` Condition []struct { Expression struct { Gcp string `json:"gcp"` Aws string `json:"aws"` } `json:"expression"` ServiceName string `json:"serviceName"` } `json:"condition"` } `json:"next"` } `json:"workflow"` }
Click to show internal directories.
Click to hide internal directories.