Documentation ¶
Index ¶
- type Builder
- func (b *Builder) Auto(name, value string) types.DeviceOption
- func (b *Builder) CollectorID(id int32) types.DeviceOption
- func (b *Builder) Custom(name, value string) types.DeviceOption
- func (b *Builder) DisplayName(name string) types.DeviceOption
- func (b *Builder) Name(name string) types.DeviceOption
- func (b *Builder) ResourceLabels(properties map[string]string) types.DeviceOption
- func (b *Builder) System(name, value string) types.DeviceOption
- func (b *Builder) SystemCategories(categories string) types.DeviceOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
types.DeviceBuilder
}
Builder implements types.DeviceBuilder
func (*Builder) Auto ¶
func (b *Builder) Auto(name, value string) types.DeviceOption
Auto implements types.DeviceBuilder
func (*Builder) CollectorID ¶
func (b *Builder) CollectorID(id int32) types.DeviceOption
CollectorID implements types.DeviceBuilder.
func (*Builder) Custom ¶
func (b *Builder) Custom(name, value string) types.DeviceOption
Custom implements types.DeviceBuilder.
func (*Builder) DisplayName ¶
func (b *Builder) DisplayName(name string) types.DeviceOption
DisplayName implements types.DeviceBuilder.
func (*Builder) Name ¶
func (b *Builder) Name(name string) types.DeviceOption
Name implements types.DeviceBuilder.
func (*Builder) ResourceLabels ¶ added in v1.0.1
func (b *Builder) ResourceLabels(properties map[string]string) types.DeviceOption
ResourceLabels implements types.DeviceBuilder
func (*Builder) System ¶
func (b *Builder) System(name, value string) types.DeviceOption
System implements types.DeviceBuilder.
func (*Builder) SystemCategories ¶
func (b *Builder) SystemCategories(categories string) types.DeviceOption
SystemCategories implements types.DeviceBuilder
Click to show internal directories.
Click to hide internal directories.