stream

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestMakeDefaultStream

func TestMakeDefaultStream(name string, description string, definition string, deploy bool) *core.StreamParameters

Types

type StreamCompare

type StreamCompare struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Definition  string `json:"definition"`
}

type StreamDescribeResponse

type StreamDescribeResponse struct {
	Name              string `json:"name"`
	DslText           string `json:"dslText"`
	OriginalDslText   string `json:"originalDslText"`
	Status            string `json:"status"`
	Description       string `json:"description"`
	StatusDescription string `json:"statusDescription"`
}

type StreamService

type StreamService struct {
	clients.DataFlowService
}

func (*StreamService) Create

func (s *StreamService) Create(ctx context.Context, stream *core.StreamParameters) error

func (*StreamService) CreateUniqueIdentifier

func (s *StreamService) CreateUniqueIdentifier(spec *core.StreamParameters, status *core.StreamObservation) (*string, error)

func (*StreamService) Delete

func (s *StreamService) Delete(ctx context.Context, stream *core.StreamParameters) error

func (*StreamService) Describe

func (*StreamService) GetSpec

func (s *StreamService) GetSpec(app *core.Stream) *core.StreamParameters

func (*StreamService) GetStatus

func (s *StreamService) GetStatus(app *core.Stream) *core.StreamObservation

func (*StreamService) MakeCompare

func (s *StreamService) MakeCompare() *StreamCompare

func (*StreamService) SetStatus

func (s *StreamService) SetStatus(app *core.Stream, status *core.StreamObservation)

func (*StreamService) Update

func (s *StreamService) Update(ctx context.Context, app *core.StreamParameters) error

Jump to

Keyboard shortcuts

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