Documentation ¶
Overview ¶
Package noop provides a no-op provider implementation.
Index ¶
- type Provider
- func (*Provider) CanImplement(_ minderv1.ProviderType) bool
- func (*Provider) DeregisterEntity(_ context.Context, _ minderv1.Entity, _ *properties.Properties) error
- func (*Provider) FetchAllProperties(_ context.Context, _ *properties.Properties, _ minderv1.Entity, ...) (*properties.Properties, error)
- func (*Provider) FetchProperty(_ context.Context, _ *properties.Properties, _ minderv1.Entity, _ string) (*properties.Property, error)
- func (*Provider) GetEntityName(_ minderv1.Entity, _ *properties.Properties) (string, error)
- func (*Provider) PropertiesToProtoMessage(_ minderv1.Entity, _ *properties.Properties) (protoreflect.ProtoMessage, error)
- func (*Provider) RegisterEntity(_ context.Context, _ minderv1.Entity, _ *properties.Properties) (*properties.Properties, error)
- func (*Provider) ReregisterEntity(_ context.Context, _ minderv1.Entity, _ *properties.Properties) error
- func (*Provider) SupportsEntity(_ minderv1.Entity) bool
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 ¶
func (*Provider) FetchAllProperties( _ context.Context, _ *properties.Properties, _ minderv1.Entity, _ *properties.Properties, ) (*properties.Properties, error)
FetchAllProperties implements the Provider interface
func (*Provider) FetchProperty ¶
func (*Provider) FetchProperty( _ context.Context, _ *properties.Properties, _ minderv1.Entity, _ string) (*properties.Property, error)
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 ¶
func (*Provider) RegisterEntity( _ context.Context, _ minderv1.Entity, _ *properties.Properties) (*properties.Properties, error)
RegisterEntity implements the Provider interface
func (*Provider) ReregisterEntity ¶
func (*Provider) ReregisterEntity(_ context.Context, _ minderv1.Entity, _ *properties.Properties) error
ReregisterEntity implements the Provider interface
Click to show internal directories.
Click to hide internal directories.