source

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpdateRequestAction = "update_request"
	DeleteRequestAction = "delete_request"
)
View Source
const ManifestWorkFinalizer = "cluster.open-cluster-management.io/manifest-work-cleanup"
View Source
const ManifestsDeleted = "Deleted"

Variables

This section is empty.

Functions

This section is empty.

Types

type MQTTSource

type MQTTSource struct {
	// contains filtered or unexported fields
}

func NewMQTTSource

func NewMQTTSource(configFile string) *MQTTSource

func (*MQTTSource) Host

func (m *MQTTSource) Host() string

func (*MQTTSource) Start

func (m *MQTTSource) Start(ctx context.Context) error

func (*MQTTSource) Stop

func (m *MQTTSource) Stop() error

func (*MQTTSource) Workclientset

func (m *MQTTSource) Workclientset() workclientset.Interface

type ManifestBundleCodec

type ManifestBundleCodec struct{}

func (*ManifestBundleCodec) Decode

func (*ManifestBundleCodec) Encode

func (d *ManifestBundleCodec) Encode(source string, eventType types.CloudEventsType, work *workv1.ManifestWork) (*cloudevents.Event, error)

func (*ManifestBundleCodec) EventDataType

func (c *ManifestBundleCodec) EventDataType() types.CloudEventsDataType

type ManifestCodec

type ManifestCodec struct{}

func (*ManifestCodec) Decode

func (*ManifestCodec) Encode

func (d *ManifestCodec) Encode(source string, eventType types.CloudEventsType, work *workv1.ManifestWork) (*cloudevents.Event, error)

func (*ManifestCodec) EventDataType

func (c *ManifestCodec) EventDataType() types.CloudEventsDataType

type Source

type Source interface {
	Host() string
	Start(ctx context.Context) error
	Stop() error
	Workclientset() workclientset.Interface
}

Jump to

Keyboard shortcuts

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