model

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvVar

type EnvVar struct {
	Name  string
	Value string
}

EnvVar - environment variable model.

type LoadGenerator

type LoadGenerator struct {
	Name       string
	ClusterIP  string
	ExternalIP string
	Port       int32
	Status     coreV1.PodPhase
	CreatedAt  time.Time
}

LoadGenerator model.

  • Name - name of load-generator pod deployed in k8s;
  • ClusterIP - ClusterIP of deployed load-generator service; available only within the k8s cluster;
  • ExternalIP - ExternalIP of deployed load-generator service; accessible from outside the k8s cluster;
  • Port - port of load-generator service;
  • Status - k8s status of load-generator pod.

type Resource

type Resource struct {
	Limit   string
	Request string
}

Resource ...

type Resources

type Resources struct {
	Memory Resource
	CPU    Resource
}

Resources ...

Jump to

Keyboard shortcuts

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