Documentation
¶
Index ¶
- Variables
- func CtyValueToMap(value cty.Value) (map[string]any, error)
- func NewCmdCreate(ctx *cmd.Context, runF func(*CreateOpts) error) *cmd.Command
- func NewCmdDelete(ctx *cmd.Context, runF func(*DeleteOpts) error) *cmd.Command
- func NewCmdIntegrations(ctx *cmd.Context) *cmd.Command
- func NewCmdList(ctx *cmd.Context, runF func(*ListOpts) error) *cmd.Command
- func NewCmdRead(ctx *cmd.Context, runF func(*ReadOpts) error) *cmd.Command
- func NewCmdUpdate(ctx *cmd.Context, runF func(*UpdateOpts) error) *cmd.Command
- type CreateOpts
- type DeleteOpts
- type IntegrationConfig
- type IntegrationType
- type ListOpts
- type ReadOpts
- type UpdateOpts
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TwilioKeys = []string{"account_sid", "api_key_secret", "api_key_sid"} MongoKeys = []string{"private_key", "public_key"} AWSKeys = []string{"access_keys", "federated_workload_identity"} GCPKeys = []string{"service_account_key", "federated_workload_identity"} PostgresKeys = []string{"connection_string"} )
View Source
var IntegrationProviders = maps.Keys(providerToRequiredFields)
Functions ¶
func NewCmdCreate ¶
func NewCmdDelete ¶
func NewCmdUpdate ¶
Types ¶
type CreateOpts ¶
type DeleteOpts ¶
type DeleteOpts struct {
Ctx context.Context
Profile *profile.Profile
Output *format.Outputter
IO iostreams.IOStreams
IntegrationName string
Type IntegrationType
Client secret_service.ClientService
}
type IntegrationConfig ¶
type IntegrationConfig struct {
Type IntegrationType `hcl:"type"`
Details cty.Value `hcl:"details"`
}
type IntegrationType ¶
type IntegrationType string
const ( Twilio IntegrationType = "twilio" MongoDBAtlas IntegrationType = "mongodb-atlas" AWS IntegrationType = "aws" GCP IntegrationType = "gcp" Postgres IntegrationType = "postgres" )
type ListOpts ¶
type ListOpts struct {
Ctx context.Context
Profile *profile.Profile
Output *format.Outputter
IO iostreams.IOStreams
Type IntegrationType
Client secret_service.ClientService
}
type ReadOpts ¶
type ReadOpts struct {
Ctx context.Context
Profile *profile.Profile
Output *format.Outputter
IO iostreams.IOStreams
IntegrationName string
Type IntegrationType
Client secret_service.ClientService
}
type UpdateOpts ¶
Click to show internal directories.
Click to hide internal directories.