Documentation ¶
Index ¶
- Constants
- func IsKNativeSkippableService(service v1.Service) bool
- type ClusterRoleBinding
- func (c ClusterRoleBinding) ConnectedKinds() []string
- func (c ClusterRoleBinding) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
- func (c ClusterRoleBinding) Icon() string
- func (c ClusterRoleBinding) Id() string
- func (c ClusterRoleBinding) IsOwnerOf(owner metav1.OwnerReference) bool
- func (c ClusterRoleBinding) Kind() string
- func (c ClusterRoleBinding) Label() string
- func (c ClusterRoleBinding) Name() string
- func (c ClusterRoleBinding) OwnerReferences() []metav1.OwnerReference
- func (c ClusterRoleBinding) StatusColor() (string, bool)
- type ClusterServiceVersion
- func (csv ClusterServiceVersion) ConnectedKinds() []string
- func (csv ClusterServiceVersion) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
- func (csv ClusterServiceVersion) Icon() string
- func (csv ClusterServiceVersion) Id() string
- func (csv ClusterServiceVersion) IsOwnerOf(owner metav1.OwnerReference) bool
- func (csv ClusterServiceVersion) Kind() string
- func (csv ClusterServiceVersion) Label() string
- func (csv ClusterServiceVersion) Name() string
- func (csv ClusterServiceVersion) OwnerReferences() []metav1.OwnerReference
- func (csv ClusterServiceVersion) StatusColor() (string, bool)
- type Connection
- type CustomResource
- func (cr CustomResource) ConnectedKinds() []string
- func (cr CustomResource) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
- func (cr CustomResource) Icon() string
- func (cr CustomResource) Id() string
- func (cr CustomResource) IsOwnerOf(owner metav1.OwnerReference) bool
- func (cr CustomResource) Kind() string
- func (cr CustomResource) Label() string
- func (cr CustomResource) Name() string
- func (cr CustomResource) OwnerReferences() []metav1.OwnerReference
- func (cr CustomResource) StatusColor() (string, bool)
- type Deployment
- func (d Deployment) ConnectedKinds() []string
- func (d Deployment) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
- func (d Deployment) Icon() string
- func (d Deployment) Id() string
- func (d Deployment) IsOwnerOf(owner metav1.OwnerReference) bool
- func (d Deployment) Kind() string
- func (d Deployment) Label() string
- func (d Deployment) Name() string
- func (d Deployment) OwnerReferences() []metav1.OwnerReference
- func (d Deployment) StatusColor() (string, bool)
- type DeploymentConfig
- func (d DeploymentConfig) ConnectedKinds() []string
- func (d DeploymentConfig) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
- func (d DeploymentConfig) Icon() string
- func (d DeploymentConfig) Id() string
- func (d DeploymentConfig) IsOwnerOf(owner metav1.OwnerReference) bool
- func (d DeploymentConfig) Kind() string
- func (d DeploymentConfig) Label() string
- func (d DeploymentConfig) Name() string
- func (d DeploymentConfig) OwnerReferences() []metav1.OwnerReference
- func (d DeploymentConfig) StatusColor() (string, bool)
- type NamespaceModel
- func (namespace *NamespaceModel) AddConnection(from Resource, to Resource) *Connection
- func (namespace *NamespaceModel) AddNamedConnection(from Resource, to Resource, name string) *Connection
- func (namespace NamespaceModel) AddResource(resource Resource) bool
- func (namespace NamespaceModel) AllConnections() []Connection
- func (namespace NamespaceModel) AllKinds() []string
- func (namespace NamespaceModel) AllResources() []Resource
- func (namespace NamespaceModel) Debug(header string) string
- func (namespace NamespaceModel) LookupByKindAndId(kind string, id string) Resource
- func (namespace NamespaceModel) LookupOwner(owner metav1.OwnerReference) Resource
- func (namespace NamespaceModel) Name() string
- func (namespace NamespaceModel) ResourcesByKind(kind string) []Resource
- type Pod
- func (p Pod) ConnectedKinds() []string
- func (p Pod) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
- func (p Pod) Icon() string
- func (p Pod) Id() string
- func (p Pod) IsOwnerOf(owner metav1.OwnerReference) bool
- func (d Pod) Kind() string
- func (p Pod) Label() string
- func (p Pod) Name() string
- func (p Pod) OwnerReferences() []metav1.OwnerReference
- func (p Pod) StatusColor() (string, bool)
- type Resource
- type RoleBinding
- func (r RoleBinding) ConnectedKinds() []string
- func (r RoleBinding) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
- func (r RoleBinding) Icon() string
- func (r RoleBinding) Id() string
- func (r RoleBinding) IsOwnerOf(owner metav1.OwnerReference) bool
- func (r RoleBinding) Kind() string
- func (r RoleBinding) Label() string
- func (r RoleBinding) Name() string
- func (r RoleBinding) OwnerReferences() []metav1.OwnerReference
- func (r RoleBinding) StatusColor() (string, bool)
- type Route
- func (r Route) ConnectedKinds() []string
- func (r Route) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
- func (r Route) Icon() string
- func (r Route) Id() string
- func (r Route) IsOwnerOf(owner metav1.OwnerReference) bool
- func (r Route) Kind() string
- func (r Route) Label() string
- func (r Route) Name() string
- func (r Route) OwnerReferences() []metav1.OwnerReference
- func (r Route) StatusColor() (string, bool)
- type Service
- func (s Service) ConnectedKinds() []string
- func (s Service) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
- func (s Service) Icon() string
- func (s Service) Id() string
- func (s Service) IsOwnerOf(owner metav1.OwnerReference) bool
- func (s Service) Kind() string
- func (s Service) Label() string
- func (s Service) Name() string
- func (s Service) OwnerReferences() []metav1.OwnerReference
- func (s Service) StatusColor() (string, bool)
- type ServiceAccount
- func (s ServiceAccount) ConnectedKinds() []string
- func (s ServiceAccount) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
- func (s ServiceAccount) Icon() string
- func (s ServiceAccount) Id() string
- func (s ServiceAccount) IsOwnerOf(owner metav1.OwnerReference) bool
- func (s ServiceAccount) Kind() string
- func (s ServiceAccount) Label() string
- func (s ServiceAccount) Name() string
- func (s ServiceAccount) OwnerReferences() []metav1.OwnerReference
- func (s ServiceAccount) StatusColor() (string, bool)
- func (s ServiceAccount) TheClusterRoleBindings(clusterRoleBindings *authv1T.ClusterRoleBindingList) []authv1T.ClusterRoleBinding
- func (s ServiceAccount) TheRoleBindings(roleBindings *authv1T.RoleBindingList) []authv1T.RoleBinding
- type StatefulSet
- func (s StatefulSet) ConnectedKinds() []string
- func (s StatefulSet) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
- func (s StatefulSet) Icon() string
- func (s StatefulSet) Id() string
- func (s StatefulSet) IsOwnerOf(owner metav1.OwnerReference) bool
- func (s StatefulSet) Kind() string
- func (s StatefulSet) Label() string
- func (s StatefulSet) Name() string
- func (s StatefulSet) OwnerReferences() []metav1.OwnerReference
- func (s StatefulSet) StatusColor() (string, bool)
- type TopologyModel
Constants ¶
View Source
const ( CompletedColor = "#66ff33" RunningColor = "#00ffff" FailedColor = "#ff3300" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterRoleBinding ¶
type ClusterRoleBinding struct {
Delegate authv1T.ClusterRoleBinding
}
func (ClusterRoleBinding) ConnectedKinds ¶
func (c ClusterRoleBinding) ConnectedKinds() []string
func (ClusterRoleBinding) ConnectedResources ¶
func (c ClusterRoleBinding) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
func (ClusterRoleBinding) Icon ¶
func (c ClusterRoleBinding) Icon() string
func (ClusterRoleBinding) Id ¶
func (c ClusterRoleBinding) Id() string
func (ClusterRoleBinding) IsOwnerOf ¶
func (c ClusterRoleBinding) IsOwnerOf(owner metav1.OwnerReference) bool
func (ClusterRoleBinding) Kind ¶
func (c ClusterRoleBinding) Kind() string
func (ClusterRoleBinding) Label ¶
func (c ClusterRoleBinding) Label() string
func (ClusterRoleBinding) Name ¶
func (c ClusterRoleBinding) Name() string
func (ClusterRoleBinding) OwnerReferences ¶
func (c ClusterRoleBinding) OwnerReferences() []metav1.OwnerReference
func (ClusterRoleBinding) StatusColor ¶
func (c ClusterRoleBinding) StatusColor() (string, bool)
type ClusterServiceVersion ¶
type ClusterServiceVersion struct {
Delegate metav1.OwnerReference
}
func (ClusterServiceVersion) ConnectedKinds ¶
func (csv ClusterServiceVersion) ConnectedKinds() []string
func (ClusterServiceVersion) ConnectedResources ¶
func (csv ClusterServiceVersion) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
func (ClusterServiceVersion) Icon ¶
func (csv ClusterServiceVersion) Icon() string
func (ClusterServiceVersion) Id ¶
func (csv ClusterServiceVersion) Id() string
func (ClusterServiceVersion) IsOwnerOf ¶
func (csv ClusterServiceVersion) IsOwnerOf(owner metav1.OwnerReference) bool
func (ClusterServiceVersion) Kind ¶
func (csv ClusterServiceVersion) Kind() string
func (ClusterServiceVersion) Label ¶
func (csv ClusterServiceVersion) Label() string
func (ClusterServiceVersion) Name ¶
func (csv ClusterServiceVersion) Name() string
func (ClusterServiceVersion) OwnerReferences ¶
func (csv ClusterServiceVersion) OwnerReferences() []metav1.OwnerReference
func (ClusterServiceVersion) StatusColor ¶
func (csv ClusterServiceVersion) StatusColor() (string, bool)
type Connection ¶
type CustomResource ¶
type CustomResource struct {
Delegate metav1.OwnerReference
}
func (CustomResource) ConnectedKinds ¶
func (cr CustomResource) ConnectedKinds() []string
func (CustomResource) ConnectedResources ¶
func (cr CustomResource) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
func (CustomResource) Icon ¶
func (cr CustomResource) Icon() string
func (CustomResource) Id ¶
func (cr CustomResource) Id() string
func (CustomResource) IsOwnerOf ¶
func (cr CustomResource) IsOwnerOf(owner metav1.OwnerReference) bool
func (CustomResource) Kind ¶
func (cr CustomResource) Kind() string
func (CustomResource) Label ¶
func (cr CustomResource) Label() string
func (CustomResource) Name ¶
func (cr CustomResource) Name() string
func (CustomResource) OwnerReferences ¶
func (cr CustomResource) OwnerReferences() []metav1.OwnerReference
func (CustomResource) StatusColor ¶
func (cr CustomResource) StatusColor() (string, bool)
type Deployment ¶
type Deployment struct {
Delegate v1.Deployment
}
func (Deployment) ConnectedKinds ¶
func (d Deployment) ConnectedKinds() []string
func (Deployment) ConnectedResources ¶
func (d Deployment) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
func (Deployment) Icon ¶
func (d Deployment) Icon() string
func (Deployment) Id ¶
func (d Deployment) Id() string
func (Deployment) IsOwnerOf ¶
func (d Deployment) IsOwnerOf(owner metav1.OwnerReference) bool
func (Deployment) Kind ¶
func (d Deployment) Kind() string
func (Deployment) Label ¶
func (d Deployment) Label() string
func (Deployment) Name ¶
func (d Deployment) Name() string
func (Deployment) OwnerReferences ¶
func (d Deployment) OwnerReferences() []metav1.OwnerReference
func (Deployment) StatusColor ¶
func (d Deployment) StatusColor() (string, bool)
type DeploymentConfig ¶
type DeploymentConfig struct {
Delegate appsv1T.DeploymentConfig
}
func (DeploymentConfig) ConnectedKinds ¶
func (d DeploymentConfig) ConnectedKinds() []string
func (DeploymentConfig) ConnectedResources ¶
func (d DeploymentConfig) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
func (DeploymentConfig) Icon ¶
func (d DeploymentConfig) Icon() string
func (DeploymentConfig) Id ¶
func (d DeploymentConfig) Id() string
func (DeploymentConfig) IsOwnerOf ¶
func (d DeploymentConfig) IsOwnerOf(owner metav1.OwnerReference) bool
func (DeploymentConfig) Kind ¶
func (d DeploymentConfig) Kind() string
func (DeploymentConfig) Label ¶
func (d DeploymentConfig) Label() string
func (DeploymentConfig) Name ¶
func (d DeploymentConfig) Name() string
func (DeploymentConfig) OwnerReferences ¶
func (d DeploymentConfig) OwnerReferences() []metav1.OwnerReference
func (DeploymentConfig) StatusColor ¶
func (d DeploymentConfig) StatusColor() (string, bool)
type NamespaceModel ¶
type NamespaceModel struct {
// contains filtered or unexported fields
}
func (*NamespaceModel) AddConnection ¶
func (namespace *NamespaceModel) AddConnection(from Resource, to Resource) *Connection
func (*NamespaceModel) AddNamedConnection ¶
func (namespace *NamespaceModel) AddNamedConnection(from Resource, to Resource, name string) *Connection
func (NamespaceModel) AddResource ¶
func (namespace NamespaceModel) AddResource(resource Resource) bool
func (NamespaceModel) AllConnections ¶
func (namespace NamespaceModel) AllConnections() []Connection
func (NamespaceModel) AllKinds ¶
func (namespace NamespaceModel) AllKinds() []string
func (NamespaceModel) AllResources ¶
func (namespace NamespaceModel) AllResources() []Resource
func (NamespaceModel) Debug ¶
func (namespace NamespaceModel) Debug(header string) string
func (NamespaceModel) LookupByKindAndId ¶
func (namespace NamespaceModel) LookupByKindAndId(kind string, id string) Resource
func (NamespaceModel) LookupOwner ¶
func (namespace NamespaceModel) LookupOwner(owner metav1.OwnerReference) Resource
func (NamespaceModel) Name ¶
func (namespace NamespaceModel) Name() string
func (NamespaceModel) ResourcesByKind ¶
func (namespace NamespaceModel) ResourcesByKind(kind string) []Resource
type Pod ¶
func (Pod) ConnectedKinds ¶
func (Pod) ConnectedResources ¶
func (Pod) OwnerReferences ¶
func (p Pod) OwnerReferences() []metav1.OwnerReference
func (Pod) StatusColor ¶
type Resource ¶
type Resource interface { Kind() string Id() string Name() string Label() string Icon() string StatusColor() (string, bool) OwnerReferences() []metav1.OwnerReference IsOwnerOf(owner metav1.OwnerReference) bool ConnectedKinds() []string ConnectedResources(kind string, resources []Resource) ([]Resource, string) }
type RoleBinding ¶
type RoleBinding struct {
Delegate authv1T.RoleBinding
}
func (RoleBinding) ConnectedKinds ¶
func (r RoleBinding) ConnectedKinds() []string
func (RoleBinding) ConnectedResources ¶
func (r RoleBinding) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
func (RoleBinding) Icon ¶
func (r RoleBinding) Icon() string
func (RoleBinding) Id ¶
func (r RoleBinding) Id() string
func (RoleBinding) IsOwnerOf ¶
func (r RoleBinding) IsOwnerOf(owner metav1.OwnerReference) bool
func (RoleBinding) Kind ¶
func (r RoleBinding) Kind() string
func (RoleBinding) Label ¶
func (r RoleBinding) Label() string
func (RoleBinding) Name ¶
func (r RoleBinding) Name() string
func (RoleBinding) OwnerReferences ¶
func (r RoleBinding) OwnerReferences() []metav1.OwnerReference
func (RoleBinding) StatusColor ¶
func (r RoleBinding) StatusColor() (string, bool)
type Route ¶
func (Route) ConnectedKinds ¶
func (Route) ConnectedResources ¶
func (Route) OwnerReferences ¶
func (r Route) OwnerReferences() []metav1.OwnerReference
func (Route) StatusColor ¶
type Service ¶
func (Service) ConnectedKinds ¶
func (Service) ConnectedResources ¶
func (Service) OwnerReferences ¶
func (s Service) OwnerReferences() []metav1.OwnerReference
func (Service) StatusColor ¶
type ServiceAccount ¶
type ServiceAccount struct {
Delegate v1.ServiceAccount
}
func (ServiceAccount) ConnectedKinds ¶
func (s ServiceAccount) ConnectedKinds() []string
func (ServiceAccount) ConnectedResources ¶
func (s ServiceAccount) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
func (ServiceAccount) Icon ¶
func (s ServiceAccount) Icon() string
func (ServiceAccount) Id ¶
func (s ServiceAccount) Id() string
func (ServiceAccount) IsOwnerOf ¶
func (s ServiceAccount) IsOwnerOf(owner metav1.OwnerReference) bool
func (ServiceAccount) Kind ¶
func (s ServiceAccount) Kind() string
func (ServiceAccount) Label ¶
func (s ServiceAccount) Label() string
func (ServiceAccount) Name ¶
func (s ServiceAccount) Name() string
func (ServiceAccount) OwnerReferences ¶
func (s ServiceAccount) OwnerReferences() []metav1.OwnerReference
func (ServiceAccount) StatusColor ¶
func (s ServiceAccount) StatusColor() (string, bool)
func (ServiceAccount) TheClusterRoleBindings ¶
func (s ServiceAccount) TheClusterRoleBindings(clusterRoleBindings *authv1T.ClusterRoleBindingList) []authv1T.ClusterRoleBinding
func (ServiceAccount) TheRoleBindings ¶
func (s ServiceAccount) TheRoleBindings(roleBindings *authv1T.RoleBindingList) []authv1T.RoleBinding
type StatefulSet ¶
type StatefulSet struct {
Delegate v1.StatefulSet
}
func (StatefulSet) ConnectedKinds ¶
func (s StatefulSet) ConnectedKinds() []string
func (StatefulSet) ConnectedResources ¶
func (s StatefulSet) ConnectedResources(kind string, resources []Resource) ([]Resource, string)
func (StatefulSet) Icon ¶
func (s StatefulSet) Icon() string
func (StatefulSet) Id ¶
func (s StatefulSet) Id() string
func (StatefulSet) IsOwnerOf ¶
func (s StatefulSet) IsOwnerOf(owner metav1.OwnerReference) bool
func (StatefulSet) Kind ¶
func (s StatefulSet) Kind() string
func (StatefulSet) Label ¶
func (s StatefulSet) Label() string
func (StatefulSet) Name ¶
func (s StatefulSet) Name() string
func (StatefulSet) OwnerReferences ¶
func (s StatefulSet) OwnerReferences() []metav1.OwnerReference
func (StatefulSet) StatusColor ¶
func (s StatefulSet) StatusColor() (string, bool)
type TopologyModel ¶
type TopologyModel struct {
// contains filtered or unexported fields
}
func NewTopologyModel ¶
func NewTopologyModel() *TopologyModel
func (TopologyModel) AddNamespace ¶
func (topology TopologyModel) AddNamespace(name string) *NamespaceModel
func (TopologyModel) AllNamespaces ¶
func (topology TopologyModel) AllNamespaces() []NamespaceModel
func (TopologyModel) NamespaceByName ¶
func (topology TopologyModel) NamespaceByName(name string) *NamespaceModel
Source Files ¶
Click to show internal directories.
Click to hide internal directories.