runtime

package
v1.5.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package runtime provides Talos runtime config documents.

Index

Constants

View Source
const EventSinkKind = "EventSinkConfig"

EventSinkKind is a event sink config document kind.

View Source
const KmsgLogKind = "KmsgLogConfig"

KmsgLogKind is a kmsg log config document kind.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventSinkV1Alpha1

type EventSinkV1Alpha1 struct {
	meta.Meta `yaml:",inline"`
	Endpoint  string `yaml:"endpoint"`
}

EventSinkV1Alpha1 is a event sink config document.

func NewEventSinkV1Alpha1

func NewEventSinkV1Alpha1() *EventSinkV1Alpha1

NewEventSinkV1Alpha1 creates a new eventsink config document.

func (*EventSinkV1Alpha1) Clone

func (s *EventSinkV1Alpha1) Clone() config.Document

Clone implements config.Document interface.

func (*EventSinkV1Alpha1) DeepCopy

func (o *EventSinkV1Alpha1) DeepCopy() *EventSinkV1Alpha1

DeepCopy generates a deep copy of *EventSinkV1Alpha1.

func (*EventSinkV1Alpha1) EventsEndpoint

func (s *EventSinkV1Alpha1) EventsEndpoint() *string

EventsEndpoint implements config.RuntimeConfig interface.

func (*EventSinkV1Alpha1) KmsgLogURLs

func (s *EventSinkV1Alpha1) KmsgLogURLs() []*url.URL

KmsgLogURLs implements config.RuntimeConfig interface.

func (*EventSinkV1Alpha1) Runtime

func (s *EventSinkV1Alpha1) Runtime() config.RuntimeConfig

Runtime implements config.Config interface.

func (*EventSinkV1Alpha1) Validate

Validate implements config.Validator interface.

type KmsgLogV1Alpha1

type KmsgLogV1Alpha1 struct {
	meta.Meta  `yaml:",inline"`
	MetaName   string   `yaml:"name"`
	KmsgLogURL meta.URL `yaml:"url"`
}

KmsgLogV1Alpha1 is a event sink config document.

func NewKmsgLogV1Alpha1

func NewKmsgLogV1Alpha1() *KmsgLogV1Alpha1

NewKmsgLogV1Alpha1 creates a new eventsink config document.

func (*KmsgLogV1Alpha1) Clone

func (s *KmsgLogV1Alpha1) Clone() config.Document

Clone implements config.Document interface.

func (*KmsgLogV1Alpha1) DeepCopy

func (o *KmsgLogV1Alpha1) DeepCopy() *KmsgLogV1Alpha1

DeepCopy generates a deep copy of *KmsgLogV1Alpha1.

func (*KmsgLogV1Alpha1) EventsEndpoint

func (s *KmsgLogV1Alpha1) EventsEndpoint() *string

EventsEndpoint implements config.RuntimeConfig interface.

func (*KmsgLogV1Alpha1) KmsgLogURLs

func (s *KmsgLogV1Alpha1) KmsgLogURLs() []*url.URL

KmsgLogURLs implements config.RuntimeConfig interface.

func (*KmsgLogV1Alpha1) Name

func (s *KmsgLogV1Alpha1) Name() string

Name implements config.NamedDocument interface.

func (*KmsgLogV1Alpha1) Runtime

func (s *KmsgLogV1Alpha1) Runtime() config.RuntimeConfig

Runtime implements config.Config interface.

func (*KmsgLogV1Alpha1) Validate

Validate implements config.Validator interface.

Jump to

Keyboard shortcuts

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