kubedog

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Todo buy the domain
	RootAnnoName = "helmwave.dev/"

	TrackTerminationModeAnnoName      = RootAnnoName + "track-termination-mode"
	FailModeAnnoName                  = RootAnnoName + "fail-mode"
	FailuresAllowedPerReplicaAnnoName = RootAnnoName + "failures-allowed-per-replica"
	LogRegexAnnoName                  = RootAnnoName + "log-regex"
	LogRegexForAnnoPrefix             = RootAnnoName + "log-regex-for-"
	SkipLogsAnnoName                  = RootAnnoName + "skip-logs"
	SkipLogsForContainersAnnoName     = RootAnnoName + "skip-logs-for-containers"
	ShowLogsOnlyForContainersAnnoName = RootAnnoName + "show-logs-only-for-containers"
	// ShowLogsUntilAnnoName         	= RootAnnoName+"show-logs-until"
	ShowEventsAnnoName = RootAnnoName + "show-service-messages"
)

Variables

This section is empty.

Functions

func MakeSpecs

func MakeSpecs(m []Resource, ns string) (*multitrack.MultitrackSpecs, error)

Types

type Config

type Config struct {
	StatusInterval time.Duration
	Timeout        time.Duration
	StartDelay     time.Duration
}

type Resource

type Resource struct {
	metav1.TypeMeta   `yaml:",inline"`
	metav1.ObjectMeta `yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              `yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

func MakeManifest

func MakeManifest(yamlFile []byte) []Resource

func (*Resource) MakeMultiTrackSpec

func (r *Resource) MakeMultiTrackSpec(ns string) (*multitrack.MultitrackSpec, error)

BolgenOS on max

type Spec

type Spec struct {
	Replicas *uint32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
}

Jump to

Keyboard shortcuts

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