MCPcopy Create free account
hub / github.com/anchordotdev/cli / Service

Struct Service

api/openapi.gen.go:375–392  ·  view source on GitHub ↗

Service defines model for service.

Source from the content-addressed store, hash-verified

373
374// Service defines model for service.
375type Service struct {
376 // LocalhostPort A port number for use on localhost or null.
377 LocalhostPort *int `json:"localhost_port"`
378
379 // Name A name for the service.
380 Name string `json:"name"`
381
382 // Relationships Values used as parameters when referencing related resources.
383 Relationships struct {
384 Organization RelationshipsOrganizationSlug `json:"organization"`
385 } `json:"relationships"`
386
387 // ServerType A server type for the service.
388 ServerType ServiceServerType `json:"server_type"`
389
390 // Slug A value used as a parameter when referencing this service.
391 Slug string `json:"slug"`
392}
393
394// ServiceServerType A server type for the service.
395type ServiceServerType string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected