kubedog

package
v0.12.6 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	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"
	ReplicasOnCreationAnnoName        = RootAnnoName + "replicas-on-creation"
)

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 {
	meta1.TypeMeta   `yaml:",inline"`
	meta1.ObjectMeta `yaml:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec             `yaml:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

func Parse added in v0.12.0

func Parse(yamlFile []byte) []Resource

func (*Resource) MakeMultiTrackSpec

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

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