Documentation ¶
Index ¶
- func AddSecretVersion(ctx context.ServiceContext, client *secretmanager.Client, path string, ...) (string, error)
- func CreateSecret(ctx context.ServiceContext, client *secretmanager.Client, parent string, ...) (string, error)
- func ListEntities(ctx context.ServiceContext, options *ListOptions) (interface{}, error)
- func Sync(ctx context.ServiceContext, options *SyncOptions) error
- type ListOptions
- type SetupOptions
- type SyncOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSecretVersion ¶
func AddSecretVersion(ctx context.ServiceContext, client *secretmanager.Client, path string, payload []byte) (string, error)
AddSecretVersion adds a new secret version to the given secret path with the provided payload.
func CreateSecret ¶
func CreateSecret(ctx context.ServiceContext, client *secretmanager.Client, parent string, secretID string) (string, error)
func ListEntities ¶
func ListEntities(ctx context.ServiceContext, options *ListOptions) (interface{}, error)
func Sync ¶
func Sync(ctx context.ServiceContext, options *SyncOptions) error
Types ¶
type ListOptions ¶
type SetupOptions ¶
type SyncOptions ¶
type SyncOptions struct { OrgID string `json:"org_id"` Credentials map[string]interface{} `json:"credentials"` EntityDetails map[string]interface{} `json:"entity_details"` Data *keypayload.KPMap `json:"data"` }
Click to show internal directories.
Click to hide internal directories.