Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerClient ¶
type CisResponse ¶
type CisResponseVer1 ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) FetchSubaccountsToDelete ¶
func (*Client) SetHttpClient ¶
SetHttpClient auxiliary method of testing to get rid of oAuth client wrapper
type ClientVer1 ¶
type ClientVer1 struct {
// contains filtered or unexported fields
}
func NewClientVer1 ¶
func NewClientVer1(ctx context.Context, config Config, log logrus.FieldLogger) *ClientVer1
func (*ClientVer1) FetchSubaccountsToDelete ¶
func (c *ClientVer1) FetchSubaccountsToDelete() ([]string, error)
func (*ClientVer1) SetHttpClient ¶
func (c *ClientVer1) SetHttpClient(httpClient *http.Client)
SetHttpClient auxiliary method of testing to get rid of oAuth client wrapper
type EventDataVer1 ¶
type EventDataVer1 struct {
SubAccount string `json:"subaccountGuid"`
}
type EventVer1 ¶
type EventVer1 struct { Type string `json:"type"` Data EventDataVer1 `json:"eventData"` }
type SubAccountCleanupService ¶
type SubAccountCleanupService struct {
// contains filtered or unexported fields
}
func NewSubAccountCleanupService ¶
func NewSubAccountCleanupService(client CisClient, brokerClient BrokerClient, storage storage.Instances, log logrus.FieldLogger) *SubAccountCleanupService
func (*SubAccountCleanupService) Run ¶
func (ac *SubAccountCleanupService) Run() error
Click to show internal directories.
Click to hide internal directories.