intent

package
v0.0.85 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compositeintent

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

func (*Compositeintent) AddChild

func (x *Compositeintent) AddChild(name string, i Intent)

func (*Compositeintent) Delete

func (x *Compositeintent) Delete(ctx context.Context, mg resource.Managed, resources map[string]map[string]nddpresource.Managed) error

func (*Compositeintent) Deploy

func (x *Compositeintent) Deploy(ctx context.Context, mg resource.Managed, labels map[string]string) error

func (*Compositeintent) Destroy

func (x *Compositeintent) Destroy(ctx context.Context, mg resource.Managed, labels map[string]string) error

func (*Compositeintent) GetChildData

func (x *Compositeintent) GetChildData(name string) interface{}

func (*Compositeintent) GetData

func (x *Compositeintent) GetData() interface{}

func (*Compositeintent) List

func (*Compositeintent) Validate

type Intent

type Intent interface {
	Deploy(ctx context.Context, mg resource.Managed, labels map[string]string) error
	Destroy(ctx context.Context, mg resource.Managed, labels map[string]string) error
	List(ctx context.Context, mg resource.Managed, resources map[string]map[string]nddpresource.Managed) (map[string]map[string]nddpresource.Managed, error)
	Validate(ctx context.Context, mg resource.Managed, resources map[string]map[string]nddpresource.Managed) (map[string]map[string]nddpresource.Managed, error)
	Delete(ctx context.Context, mg resource.Managed, resources map[string]map[string]nddpresource.Managed) error
	GetData() interface{}
}

Jump to

Keyboard shortcuts

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