Discover Packages
github.com/milosgajdos/kraph
pkg
api
types
package
Version:
v0.0.0-...-0bc4b66
Opens a new window with list of versions in this module.
Published: Oct 28, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Link struct {
UID string `json:"uid"`
From string `json:"from"`
To string `json:"to"`
Relation string `json:"relation"`
Metadata map[string ]interface{} `json:"metadata,omitempty"`
}
Link is an API link
type Object struct {
UID string `json:"uid"`
Name string `json:"name"`
Namespace string `json:"namespace"`
Resource Resource `json:"resource"`
Links []Link `json:"links"`
Metadata map[string ]interface{} `json:"metadata,omitempty"`
}
Object is an API object
type Resource struct {
Name string `json:"name"`
Kind string `json:"kind"`
Group string `json:"group"`
Version string `json:"version"`
Namespaced bool `json:"namespaced"`
Metadata map[string ]interface{} `json:"metadata,omitempty"`
}
Resource is an API resource
Source Files
¶
Click to show internal directories.
Click to hide internal directories.