domain

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container added in v0.0.2

type Container struct {
	Name                   string
	Image                  string
	ImagePullPolicy        string
	TerminationMessagePath string
	ENVs                   []ContainerEnv
}

type ContainerEnv added in v0.0.2

type ContainerEnv struct {
	Name  string
	Value string
}

type Deployment

type Deployment struct {
	Name              string
	Ready             string
	UpdatedReplicas   int
	AvailableReplicas int
	ReadyReplicas     int
	Tolerations       int
	Age               string
	Labels            map[string]string
	Created           time.Time
	Meta              DeploymentMeta
}

type DeploymentMeta added in v0.0.2

type DeploymentMeta struct {
	Strategy                      string
	DNSPolicy                     string
	RestartPolicy                 string
	SchedulerName                 string
	TerminationGracePeriodSeconds int64
	Containers                    []Container
}

type Namespace

type Namespace struct {
	Name   string
	Status string
	Age    string
}

type OwnerInfo added in v0.0.3

type OwnerInfo struct {
	Kind string
	Name string
}

type Pod

type Pod struct {
	// list info
	Name     string
	Ready    string
	Status   string
	Restarts int
	Age      string
	// meta
	Meta PodMeta
	// spec
	Spec PodSpec
	// status
	StatusInfo PodStatusInfo
}

type PodMeta added in v0.0.3

type PodMeta struct {
	Created time.Time
	Labels  map[string]string
	Owners  []OwnerInfo
}

type PodSpec added in v0.0.3

type PodSpec struct {
	DNSPolicy                     string
	RestartPolicy                 string
	SchedulerName                 string
	TerminationGracePeriodSeconds int64
	Containers                    []Container
}

type PodStatusInfo added in v0.0.3

type PodStatusInfo struct {
	Phase      string
	QosClass   string
	HostIP     string
	PodIP      string
	PodIPs     []string
	Conditions []string
}

Jump to

Keyboard shortcuts

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