model

package
v0.0.0-...-9d91e49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMap

type ConfigMap struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
	Files     []File `json:"files"`
	Creator   string `json:"creator"`
}

type ConnectResources

type ConnectResources struct {
	Pods       []string `json:"conntect_pods"`
	Services   []string `json:"conntect_services"`
	Configmaps []string `json:"conntect_configmaps"`
	Secrets    []string `json:"conntect_secrets"`
	Ingresses  []string `json:"conntect_ingresses"`
}

type EnvVar

type EnvVar struct {
	Key     string `json:"key"`
	Value   string `json:"value"`
	Creator string `json:"creator"`
	Secret  string `json:"secret"`
}

type File

type File struct {
	MountPath     string   `json:"mount_path"`
	Name          string   `json:"name"`
	MountServices []string `json:"mount_services"`
	Content       string   `json:"content"`
	ConfigMap     string   `json:"configmap"`
}

type Ingress

type Ingress struct {
	Name  string        `json:"name"`
	Rules []IngressRule `json:"rules"`
	Age   string        `json:"age"`
}

type IngressEdge

type IngressEdge struct {
	Ingress          *Ingress
	ConnectResources *ConnectResources
}

type IngressRule

type IngressRule struct {
	Host    string `json:"host"`
	Path    string `json:"path"`
	Service string `json:"service"`
	Port    string `json:"port"`
}

type Pod

type Pod struct {
	Name   string `json:"name"`
	Status string `json:"status"`
	Age    string `json:"age"`
	IP     string `json:"ip"`
}

type Policy

type Policy struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
	Json string `json:"json"`
}

type Project

type Project struct {
	ID      string `json:"id"`
	Name    string `json:"name"`
	Creator string `json:"creator"`
}

type Secret

type Secret struct {
	Name string `json:"name"`
	Type string `json:"type"`
	Data int    `json:"data"`
	Age  string `json:"age"`
}

type Service

type Service struct {
	Name     string            `json:"name"`
	Type     string            `json:"type"`
	Selector map[string]string `json:"selector"`
	Age      string            `json:"age"`
	Port     []string          `json:"port"`
	IP       string            `json:"ip"`
}

type Trace

type Trace struct {
	SpanID       string `json:"span_id"`
	TraceID      string `json:"trace_id"`
	ParentSpanID string `json:"parent_span_id"`
	StartTime    string `json:"start_time"`
	EndTime      string `json:"end_time"`
	Status       string `json:"status"`
}

type User

type User struct {
	ID         string `json:"id"`
	Name       string `json:"name"`
	RoleID     string `json:"role_id"`
	CreateTime string `json:"create_time"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL