package
Version:
v0.0.0-...-5597880
Opens a new window with list of versions in this module.
Published: Nov 1, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package nc implements a simple client for interacting with the Nais console API
type Data struct {
Teams Teams `json:"teams"`
}
type Environment struct {
Name string `json:"name"`
GcpProjectID string `json:"gcpProjectID"`
}
type PageInfo struct {
HasNextPage bool `json:"hasNextPage"`
}
type Response struct {
Data Data `json:"data"`
}
type Team struct {
Slug string `json:"slug"`
Environments []Environment `json:"environments"`
}
type Teams struct {
Nodes []Team `json:"nodes"`
PageInfo PageInfo `json:"pageInfo"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.