dataform

package
v1.127.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataformRepositorySpec_FromProto

func DataformRepositorySpec_FromProto(mapCtx *direct.MapContext, in *pb.Repository) *krm.DataformRepositorySpec

func DataformRepositorySpec_ToProto

func DataformRepositorySpec_ToProto(mapCtx *direct.MapContext, in *krm.DataformRepositorySpec) *pb.Repository

func NewModel

func NewModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

Types

type Adapter

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

func (*Adapter) Create

func (a *Adapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error

func (*Adapter) Delete

func (a *Adapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)

Delete implements the Adapter interface.

func (*Adapter) Export

func (*Adapter) Find

func (a *Adapter) Find(ctx context.Context) (bool, error)

func (*Adapter) Update

func (a *Adapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error

type DataformRepositoryIdentity added in v1.124.0

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

func BuildID added in v1.124.0

func BuildID(project, location, dataform string) *DataformRepositoryIdentity

BuildID builds a DataformRepositoryIdentity from resource components.

func (*DataformRepositoryIdentity) AsExternalRef added in v1.124.0

func (c *DataformRepositoryIdentity) AsExternalRef() *string

AsExternalRef builds a externalRef from a DataformRepositoryIdentity

func (*DataformRepositoryIdentity) FullyQualifiedName added in v1.124.0

func (c *DataformRepositoryIdentity) FullyQualifiedName() string

FullyQualifiedName builds a DataformRepository resource of the format projects/<project>/locations/<location>/repositories/<dataformRepository>

func (*DataformRepositoryIdentity) Parent added in v1.124.0

func (c *DataformRepositoryIdentity) Parent() string

Parent builds a DataformRepository parent of the format projects/<project>/locations/<location>

Jump to

Keyboard shortcuts

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