runtime

package
v1.7.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MPL-2.0 Imports: 11 Imported by: 2

Documentation

Overview

Package runtime provides runtime machine configuration 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

func GetFileDoc added in v1.6.0

func GetFileDoc() *encoder.FileDoc

GetFileDoc returns documentation for the file runtime_doc.go.

Types

type EventSinkV1Alpha1

type EventSinkV1Alpha1 struct {
	meta.Meta `yaml:",inline"`
	//   description: |
	//     The endpoint for the event sink as 'host:port'.
	//   examples:
	//     - value: >
	//        "10.3.7.3:2810"
	Endpoint string `yaml:"endpoint"`
}

EventSinkV1Alpha1 is a event sink config document.

examples:
  - value: exampleEventSinkV1Alpha1()
alias: EventSinkConfig
schemaRoot: true
schemaMeta: v1alpha1/EventSinkConfig

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) Doc added in v1.6.0

func (EventSinkV1Alpha1) Doc() *encoder.Doc

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"`
	//   description: |
	//     Name of the config document.
	MetaName string `yaml:"name"`
	//   description: |
	//     The URL encodes the log destination.
	//     The scheme must be tcp:// or udp://.
	//     The path must be empty.
	//     The port is required.
	//   examples:
	//     - value: >
	//        "udp://10.3.7.3:2810"
	//   schema:
	//     type: string
	//     pattern: "^(tcp|udp)://"
	KmsgLogURL meta.URL `yaml:"url"`
}

KmsgLogV1Alpha1 is a event sink config document.

examples:
  - value: exampleKmsgLogV1Alpha1()
alias: KmsgLogConfig
schemaRoot: true
schemaMeta: v1alpha1/KmsgLogConfig

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) Doc added in v1.6.0

func (KmsgLogV1Alpha1) Doc() *encoder.Doc

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.

Directories

Path Synopsis
Package extensions provides extensions config documents.
Package extensions provides extensions config documents.

Jump to

Keyboard shortcuts

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