inigo get
Commands
- inigo get access
- inigo get instance
- inigo get operations-registry
- inigo get registry
- inigo get schema
- inigo get secrets
- inigo get service
Global flags
-h, --help help for this command
inigo get access
Description
Retrieves access profile information for a given service.
Syntax
inigo get access [service_name]:[service_label] [role_name] [flags]
Optional flags
--full display full access, including fields with errors
-l, --label string retrieves access profile by a service label name
Output
$ inigo get access demo:starwars
viewer :
query {
films {
characters {
appearedIn: Film
name
}
director
title
}
login
logout
people: Person
}
type Film {
characters: Person
director
title
}
type Person {
birthYear
height
name
ssn
}
--snip--
$ inigo get access demo:starwars actor
actor :
query {
login
logout
version {
commit
date
version
}
}
mutation {
userAdd
userRemove
}
inigo get instance
Description
Retrieves information about sidecar instances.
Syntax
inigo get instance [flags]
Optional flags
-o, --output string output format (json/yaml)
Output
$ inigo get instance
ID SERVICE TOTAL BLOCKED MODIFIED ERROR UPDATED
-- ------- ----- ------- -------- ----- -------
$ inigo get instance --json
...
[
{
"Id": 3210674112131072,
"Name": "demo",
"Label": "starwars",
"Config": {
"Service": {
"PollingIntervalProfile": 2
}
},
"Instances": [
{
"Id": 3210677102657536,
"LastUpdated": "2022-09-16T16:22:48.448629Z",
"Total": 11,
"Error": 0,
"Blocked": 2,
"Modified": 0
}
]
},
...
]
inigo get operations-registry
Description
Retrieves persisted operations manifest for given service and in specified format.
Syntax
inigo get operations-registry [service_name]:[service_label] [flags]
Optional flags
-f, --file string write to a file instead of output
-o, --output string output format (json/yaml/apollo/relay) (default "json")
Output
$ inigo_ get operations-registry some-service:dev
[
{
"Hash": "897e71c6edd9a645bfb9a80dd21f3916bbcbf14628fe8c8102b576ffe9ec9132",
"OperationStr": "query CreateDemo {createStarwarsDemo {path}}",
"OperationType": "QUERY",
"ConfigVersion": 1,
"Name": "CreateDemo"
}, {
"Hash": "6010dccf807416f975e4beac5ac56063abee5a1756836caa1ae5079802f0a4e0",
"OperationStr": "mutation DeleteUser($email: String!){accountDeleteUser(email: $email)}",
"OperationType": "MUTATION",
"ConfigVersion": 1,
"Name": "DeleteUser"
},
]
inigo get registry
Description
Retrieves information about a registry.
Syntax
inigo get registry [registry_name]
Output
inigo get schema
Description
Pulls schema from the cloud.
Syntax
inigo get schema [service_name]:[service_label] [flags]
Optional flags
-o, --output string destination file name
--subgraph string name of the subgraph to pull
-v, --version int32 schema version to pull, default is the latest
Output
inigo get secrets
Description
Retrieves information about the existing secrets.
Syntax
inigo get secrets
Output
$ inigo get secrets
Name Updated At
---- ----------
NAME_OF_THE_SECRET 2023-02-08 12:38:49.908655 +0000 UTC
inigo get service
Description
Retrieves information about services.
Syntax
inigo get service [service_name]:[service_label] [flags]
Optional flags
-l, --label string retrieves information by a service label name
-o, --output string output format (json/yaml)
Output
$ inigo get service
NAME LABEL INSTANCES STATUS
---- ----- --------- ------
demo starwars 0 1 Running
demo remote 0 1 Running
test 0 1 Running
$ inigo get service demo:starwars
Configurations:
user role path: jwt.user_roles
user profile path: jwt.user_profile
user id path: jwt.user_name
traceId path:
schema polling interval: 5m0s
profile polling interval: 2s
$ inigo get service --label starwars demo
Configurations:
user role path: jwt.user_roles
user profile path: jwt.user_profile
user id path: jwt.user_name
traceId path:
schema polling interval: 5m0s
profile polling interval: 2s
$ inigo get service --json
...
[
{
"Id": 3210674112131072,
"Name": "demo",
"Label": "starwars",
"Config": {
"Service": {
"PollingIntervalProfile": 2
}
},
"Instances": [
{
"Id": 3210677102657536,
"LastUpdated": "2022-09-16T16:22:48.448629Z",
"Total": 11,
"Error": 0,
"Blocked": 2,
"Modified": 0
}
]
}
...
]