Documentation ¶
Index ¶
- func AddKey(awsConfig *buyte.AWSConfig, userId, email string, isPublic bool)
- func AssignAWSFlags(cmd *cli.Command)
- func AuthSetup(awsConfig *buyte.AWSConfig)
- func CreateSuperUser(awsConfig *buyte.AWSConfig, email, password string)
- func DeleteKeys(awsConfig *buyte.AWSConfig, userId string)
- func Execute()
- func NewAWSConfigFromCmd(cmd *cli.Command) *buyte.AWSConfig
- func StartApi(cmd *cli.Command, args []string)
- func StartEnv()
- func StartProxy(cmd *cli.Command, args []string)
- type ConnectProviderParams
- type CreatePaymentParams
- type CreateProviderParams
- type DeletePaymentParams
- type DeleteProviderParams
- type DisconnectProviderParams
- type ListResponsePaymentParams
- type ListResponseProviderParams
- type PaymentsCommand
- type ProviderCommand
- func (c *ProviderCommand) AddProvider(name, image string)
- func (c *ProviderCommand) ConnectPaymentOption(providerId, paymentId string)
- func (c *ProviderCommand) DeleteProvider(id string)
- func (c *ProviderCommand) DisconnectPaymentOption(connectionId string)
- func (c *ProviderCommand) ListProviders()
- func (c *ProviderCommand) UpdateProvider(id, name, image string)
- type RepsonseProviderParams
- type ResponseConnectProviderParams
- type ResponseProviderParams
- type UpdatePaymentParams
- type UpdateProviderParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignAWSFlags ¶
func CreateSuperUser ¶
func DeleteKeys ¶
func StartProxy ¶
Types ¶
type ConnectProviderParams ¶
type CreatePaymentParams ¶
type CreateProviderParams ¶
type DeletePaymentParams ¶
type DeletePaymentParams struct {
Id string `json:"id"`
}
type DeleteProviderParams ¶
type DeleteProviderParams struct {
Id string `json:"id"`
}
type DisconnectProviderParams ¶
type DisconnectProviderParams struct {
Id string `json:"id"`
}
type ListResponsePaymentParams ¶
type ListResponsePaymentParams struct {
Items []*ResponseProviderParams `json:"items"`
}
type ListResponseProviderParams ¶
type ListResponseProviderParams struct {
Items []*RepsonseProviderParams `json:"items"`
}
type PaymentsCommand ¶
type PaymentsCommand struct { AWSConfig *buyte.AWSConfig User *user.SuperUser Cognito *cognito.CognitoIdentityProvider AuthAccessToken *string }
func NewPaymentsCommand ¶
func (*PaymentsCommand) AddPayment ¶
func (c *PaymentsCommand) AddPayment(name, image string)
func (*PaymentsCommand) DeletePayment ¶
func (c *PaymentsCommand) DeletePayment(id string)
func (*PaymentsCommand) ListPayments ¶
func (c *PaymentsCommand) ListPayments()
func (*PaymentsCommand) UpdatePayment ¶
func (c *PaymentsCommand) UpdatePayment(id, name, image string)
type ProviderCommand ¶
type ProviderCommand struct { AWSConfig *buyte.AWSConfig User *user.SuperUser Cognito *cognito.CognitoIdentityProvider AuthAccessToken *string }
func NewProviderCommand ¶
func (*ProviderCommand) AddProvider ¶
func (c *ProviderCommand) AddProvider(name, image string)
func (*ProviderCommand) ConnectPaymentOption ¶
func (c *ProviderCommand) ConnectPaymentOption(providerId, paymentId string)
func (*ProviderCommand) DeleteProvider ¶
func (c *ProviderCommand) DeleteProvider(id string)
func (*ProviderCommand) DisconnectPaymentOption ¶
func (c *ProviderCommand) DisconnectPaymentOption(connectionId string)
func (*ProviderCommand) ListProviders ¶
func (c *ProviderCommand) ListProviders()
func (*ProviderCommand) UpdateProvider ¶
func (c *ProviderCommand) UpdateProvider(id, name, image string)
type RepsonseProviderParams ¶
type RepsonseProviderParams struct { Id string `json:"id"` Name string `json:"name"` Image string `json:"image"` PaymentOptions struct { Items []struct { ConnectionId string `json:"id" mapstructure:"id"` PaymentOption *ResponseProviderParams `json:"paymentOption"` } `json:"items"` } `json:"paymentOptions"` }
type ResponseConnectProviderParams ¶
type ResponseConnectProviderParams struct {
Id string `json:"id"`
}
type ResponseProviderParams ¶
type UpdatePaymentParams ¶
type UpdateProviderParams ¶
Click to show internal directories.
Click to hide internal directories.