Documentation
¶
Overview ¶
Package api provides utility functions for working with the Minder APIs. Currently, this provides "upsert" methods for a few API calls that support Create and Update methods -- Upsert attempts a create, and falls back to update if the create fails with AlreadyExists.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpsertDataSource ¶
func UpsertDataSource( ctx context.Context, client minderv1.DataSourceServiceClient, dataSource *minderv1.DataSource, ) error
UpsertDataSource creates or updates a dataSource using the supplied client.
func UpsertProfile ¶
func UpsertProfile( ctx context.Context, client minderv1.ProfileServiceClient, profile *minderv1.Profile, ) error
UpsertProfile creates or updates a profile using the supplied client.
func UpsertRuleType ¶
func UpsertRuleType( ctx context.Context, client minderv1.RuleTypeServiceClient, ruleType *minderv1.RuleType, ) error
UpsertRuleType creates or updates a ruleType using the supplied client.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
protobuf
|
|
|
go/minder/v1
Package v1 contains helper methods when working with the Minder v1 API.
|
Package v1 contains helper methods when working with the Minder v1 API. |
Click to show internal directories.
Click to hide internal directories.