utils

package
v1.2.12 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package utils utility functions for controllers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetArtifacts added in v1.2.12

func GetArtifacts(ctx context.Context, configStore configstore.ConfigStore, configID provisioner.ConfigID, expectedNumber int) (configstore.Artifacts, error)

GetArtifacts Retrieves the required configuration artifacts from the store

func RealmQueryFilter added in v1.2.12

func RealmQueryFilter(realmOptions *realm.Options) *topoapi.Filters

RealmQueryFilter Returns filters for matching objects on realm label, entity type and with DeviceConfig aspect.

func UpdateObjectAspect added in v1.2.12

func UpdateObjectAspect(ctx context.Context, topo topo.Store, object *topoapi.Object, kind string, aspect proto.Message) error

UpdateObjectAspect the topo object with the specified configuration aspect

Types

This section is empty.

Jump to

Keyboard shortcuts

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