clients

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJsonConfigForTests added in v0.0.5

func GetJsonConfigForTests() string

Types

type DataFlowService added in v0.0.5

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

func NewDataFlowService

func NewDataFlowService(configData []byte) (*DataFlowService, error)

func (*DataFlowService) Client added in v0.0.5

func (s *DataFlowService) Client() *client.DataFlowClient

type DataFlowServiceConfig

type DataFlowServiceConfig struct {
	Url string `json:"url"`
}

type Service added in v0.0.5

type Service[R resource.Managed, P any, O any, C any] interface {
	Describe(ctx context.Context, param *P) (*O, error)

	Create(ctx context.Context, param *P) error
	Update(ctx context.Context, param *P) error
	Delete(ctx context.Context, param *P) error

	GetSpec(obj R) *P
	GetStatus(obj R) *O

	SetStatus(obj R, status *O)
	CreateUniqueIdentifier(*P, *O) (*string, error)

	MakeCompare() *C
}

R=* (i.e Application) P=*Parameters (i.e ApplicationParameters) O=*Observation (i.e ApplicationObservation) C=*Compare (i.e ApplicationCompare)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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