noop

package
v0.0.74 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package noop provides a no-op provider implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{}

Provider is a no-op provider implementation This is useful for testing.

func (*Provider) CanImplement

func (*Provider) CanImplement(_ minderv1.ProviderType) bool

CanImplement implements the Provider interface

func (*Provider) DeregisterEntity

func (*Provider) DeregisterEntity(_ context.Context, _ minderv1.Entity, _ *properties.Properties) error

DeregisterEntity implements the Provider interface

func (*Provider) FetchAllProperties

FetchAllProperties implements the Provider interface

func (*Provider) FetchProperty

FetchProperty Implements the Provider interface

func (*Provider) GetEntityName

func (*Provider) GetEntityName(_ minderv1.Entity, _ *properties.Properties) (string, error)

GetEntityName implements the Provider interface

func (*Provider) PropertiesToProtoMessage

func (*Provider) PropertiesToProtoMessage(_ minderv1.Entity, _ *properties.Properties) (protoreflect.ProtoMessage, error)

PropertiesToProtoMessage implements the Provider interface

func (*Provider) RegisterEntity

RegisterEntity implements the Provider interface

func (*Provider) ReregisterEntity

func (*Provider) ReregisterEntity(_ context.Context, _ minderv1.Entity, _ *properties.Properties) error

ReregisterEntity implements the Provider interface

func (*Provider) SupportsEntity

func (*Provider) SupportsEntity(_ minderv1.Entity) bool

SupportsEntity implements the Provider interface

Jump to

Keyboard shortcuts

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