platform

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventReader

type EventReader interface {
	ListEvents(ctx context.Context, query *query.Query) (*v1.EventList, error)
	GetEvent(ctx context.Context, name string) (*v1.Event, error)
	EventReaderEx
}

type EventReaderEx

type EventReaderEx interface {
	GetEventEx(ctx context.Context, name string, resourceVersion string) (*v1.Event, error)
	ListEventsEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
}

type EventWriter

type EventWriter interface {
	CreateEvent(ctx context.Context, Event *v1.Event) (*v1.Event, error)
	DeleteEvent(ctx context.Context, name string) error
	DeleteEventCollection(ctx context.Context, query *query.Query) error
}

type Operator

type Operator interface {
	Reader
	Writer

	EventReader
	EventWriter
}

func NewPlatformOperator

func NewPlatformOperator(operationStorage rest.StandardStorage, eventStorage rest.StandardStorage) Operator

type Reader

type Reader interface {
	GetPlatformSetting(ctx context.Context) (*v1.PlatformSetting, error)
	ReaderEx
}

type ReaderEx

type ReaderEx interface{}

type Writer

type Writer interface {
	CreatePlatformSetting(ctx context.Context, platformSetting *v1.PlatformSetting) (*v1.PlatformSetting, error)
	UpdatePlatformSetting(ctx context.Context, platformSetting *v1.PlatformSetting) (*v1.PlatformSetting, error)
}

Directories

Path Synopsis
Package mock_platform is a generated GoMock package.
Package mock_platform is a generated GoMock package.

Jump to

Keyboard shortcuts

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