Documentation ¶
Index ¶
- func Setup(mgr ctrl.Manager, o controller.Options) error
- type AccountsApiAccessor
- type AccountsClient
- type MockAccountsApiAccessor
- type MockSubaccountClient
- func (m *MockSubaccountClient) CloneNeoSubaccount(ctx context.Context, sourceSubaccountGUID string) accountclient.ApiCloneNeoSubaccountRequest
- func (m *MockSubaccountClient) CloneNeoSubaccountExecute(r accountclient.ApiCloneNeoSubaccountRequest) (*accountclient.SubaccountResponseObject, *http.Response, error)
- func (m *MockSubaccountClient) CreateOrUpdateSubaccountSettings(ctx context.Context, subaccountGUID string) accountclient.ApiCreateOrUpdateSubaccountSettingsRequest
- func (m *MockSubaccountClient) CreateOrUpdateSubaccountSettingsExecute(r accountclient.ApiCreateOrUpdateSubaccountSettingsRequest) (*accountclient.DataResponseObject, *http.Response, error)
- func (m *MockSubaccountClient) CreateServiceManagementBinding(ctx context.Context, subaccountGUID string) accountclient.ApiCreateServiceManagementBindingRequest
- func (m *MockSubaccountClient) CreateServiceManagementBindingExecute(r accountclient.ApiCreateServiceManagementBindingRequest) (*accountclient.ServiceManagerBindingResponseObject, *http.Response, error)
- func (m *MockSubaccountClient) CreateServiceManagerBindingV2(ctx context.Context, subaccountGUID string) accountclient.ApiCreateServiceManagerBindingV2Request
- func (m *MockSubaccountClient) CreateServiceManagerBindingV2Execute(r accountclient.ApiCreateServiceManagerBindingV2Request) (*accountclient.ServiceManagerBindingExtendedResponseObject, *http.Response, ...)
- func (m *MockSubaccountClient) CreateSubaccount(ctx context.Context) accountclient.ApiCreateSubaccountRequest
- func (m *MockSubaccountClient) CreateSubaccountExecute(r accountclient.ApiCreateSubaccountRequest) (*accountclient.SubaccountResponseObject, *http.Response, error)
- func (m *MockSubaccountClient) CreateSubaccountLabels(ctx context.Context, subaccountGUID string) accountclient.ApiCreateSubaccountLabelsRequest
- func (m *MockSubaccountClient) CreateSubaccountLabelsExecute(r accountclient.ApiCreateSubaccountLabelsRequest) (*accountclient.LabelsResponseObject, *http.Response, error)
- func (m *MockSubaccountClient) DeleteServiceManagementBindingOfSubaccount(ctx context.Context, subaccountGUID string) accountclient.ApiDeleteServiceManagementBindingOfSubaccountRequest
- func (m *MockSubaccountClient) DeleteServiceManagementBindingOfSubaccountExecute(r accountclient.ApiDeleteServiceManagementBindingOfSubaccountRequest) (*http.Response, error)
- func (m *MockSubaccountClient) DeleteServiceManagerBindingV2(ctx context.Context, subaccountGUID string, bindingName string) accountclient.ApiDeleteServiceManagerBindingV2Request
- func (m *MockSubaccountClient) DeleteServiceManagerBindingV2Execute(r accountclient.ApiDeleteServiceManagerBindingV2Request) (*http.Response, error)
- func (m *MockSubaccountClient) DeleteSubaccount(ctx context.Context, subaccountGUID string) accountclient.ApiDeleteSubaccountRequest
- func (m *MockSubaccountClient) DeleteSubaccountExecute(r accountclient.ApiDeleteSubaccountRequest) (*accountclient.SubaccountResponseObject, *http.Response, error)
- func (m *MockSubaccountClient) DeleteSubaccountLabels(ctx context.Context, subaccountGUID string) accountclient.ApiDeleteSubaccountLabelsRequest
- func (m *MockSubaccountClient) DeleteSubaccountLabelsExecute(r accountclient.ApiDeleteSubaccountLabelsRequest) (*accountclient.LabelsResponseObject, *http.Response, error)
- func (m *MockSubaccountClient) DeleteSubaccountSettings(ctx context.Context, subaccountGUID string) accountclient.ApiDeleteSubaccountSettingsRequest
- func (m *MockSubaccountClient) DeleteSubaccountSettingsExecute(r accountclient.ApiDeleteSubaccountSettingsRequest) (*accountclient.DataResponseObject, *http.Response, error)
- func (m *MockSubaccountClient) GetAllServiceManagerBindingsV2(ctx context.Context, subaccountGUID string) accountclient.ApiGetAllServiceManagerBindingsV2Request
- func (m *MockSubaccountClient) GetAllServiceManagerBindingsV2Execute(r accountclient.ApiGetAllServiceManagerBindingsV2Request) (*accountclient.ServiceManagerBindingsResponseList, *http.Response, error)
- func (m *MockSubaccountClient) GetServiceManagementBinding(ctx context.Context, subaccountGUID string) accountclient.ApiGetServiceManagementBindingRequest
- func (m *MockSubaccountClient) GetServiceManagementBindingExecute(r accountclient.ApiGetServiceManagementBindingRequest) (*accountclient.ServiceManagerBindingResponseObject, *http.Response, error)
- func (m *MockSubaccountClient) GetServiceManagerBindingV2(ctx context.Context, subaccountGUID string, bindingName string) accountclient.ApiGetServiceManagerBindingV2Request
- func (m *MockSubaccountClient) GetServiceManagerBindingV2Execute(r accountclient.ApiGetServiceManagerBindingV2Request) (*accountclient.ServiceManagerBindingExtendedResponseObject, *http.Response, ...)
- func (m *MockSubaccountClient) GetSubaccount(ctx context.Context, subaccountGUID string) accountclient.ApiGetSubaccountRequest
- func (m *MockSubaccountClient) GetSubaccountCustomProperties(ctx context.Context, subaccountGUID string) accountclient.ApiGetSubaccountCustomPropertiesRequest
- func (m *MockSubaccountClient) GetSubaccountCustomPropertiesExecute(r accountclient.ApiGetSubaccountCustomPropertiesRequest) (*accountclient.ResponseCollection, *http.Response, error)
- func (m *MockSubaccountClient) GetSubaccountExecute(r accountclient.ApiGetSubaccountRequest) (*accountclient.SubaccountResponseObject, *http.Response, error)
- func (m *MockSubaccountClient) GetSubaccountLabels(ctx context.Context, subaccountGUID string) accountclient.ApiGetSubaccountLabelsRequest
- func (m *MockSubaccountClient) GetSubaccountLabelsExecute(r accountclient.ApiGetSubaccountLabelsRequest) (*accountclient.LabelsResponseObject, *http.Response, error)
- func (m *MockSubaccountClient) GetSubaccountSettings(ctx context.Context, subaccountGUID string) accountclient.ApiGetSubaccountSettingsRequest
- func (m *MockSubaccountClient) GetSubaccountSettingsExecute(r accountclient.ApiGetSubaccountSettingsRequest) (*accountclient.DataResponseObject, *http.Response, error)
- func (m *MockSubaccountClient) GetSubaccounts(ctx context.Context) accountclient.ApiGetSubaccountsRequest
- func (m *MockSubaccountClient) GetSubaccountsExecute(r accountclient.ApiGetSubaccountsRequest) (*accountclient.ResponseCollection, *http.Response, error)
- func (m *MockSubaccountClient) MoveSubaccount(ctx context.Context, subaccountGUID string) accountclient.ApiMoveSubaccountRequest
- func (m *MockSubaccountClient) MoveSubaccountExecute(r accountclient.ApiMoveSubaccountRequest) (*accountclient.SubaccountResponseObject, *http.Response, error)
- func (m *MockSubaccountClient) MoveSubaccounts(ctx context.Context) accountclient.ApiMoveSubaccountsRequest
- func (m *MockSubaccountClient) MoveSubaccountsExecute(r accountclient.ApiMoveSubaccountsRequest) (*accountclient.ResponseCollection, *http.Response, error)
- func (m *MockSubaccountClient) SetTransport(transport runtime.ClientTransport)
- func (m *MockSubaccountClient) UpdateSubaccount(ctx context.Context, subaccountGUID string) accountclient.ApiUpdateSubaccountRequest
- func (m *MockSubaccountClient) UpdateSubaccountExecute(r accountclient.ApiUpdateSubaccountRequest) (*accountclient.SubaccountResponseObject, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountsApiAccessor ¶
type AccountsApiAccessor interface { MoveSubaccount(ctx context.Context, subaccountGuid string, targetId string) error UpdateSubaccount(ctx context.Context, subaccountGuid string, payload accountclient.UpdateSubaccountRequestPayload) error }
AccountsApiAccessor abstraction to handle API operations by coordinating to generated api client
type AccountsClient ¶
type AccountsClient struct {
// contains filtered or unexported fields
}
func (*AccountsClient) MoveSubaccount ¶
func (*AccountsClient) UpdateSubaccount ¶
func (a *AccountsClient) UpdateSubaccount(ctx context.Context, subaccountGuid string, payload accountclient.UpdateSubaccountRequestPayload) error
type MockAccountsApiAccessor ¶
type MockAccountsApiAccessor struct { LastMoveTarget string // contains filtered or unexported fields }
func (*MockAccountsApiAccessor) MoveSubaccount ¶
func (*MockAccountsApiAccessor) UpdateSubaccount ¶
func (m *MockAccountsApiAccessor) UpdateSubaccount(ctx context.Context, subaccountGuid string, payload accountclient.UpdateSubaccountRequestPayload) error
type MockSubaccountClient ¶
type MockSubaccountClient struct {
// contains filtered or unexported fields
}
func (*MockSubaccountClient) CloneNeoSubaccount ¶
func (m *MockSubaccountClient) CloneNeoSubaccount(ctx context.Context, sourceSubaccountGUID string) accountclient.ApiCloneNeoSubaccountRequest
func (*MockSubaccountClient) CloneNeoSubaccountExecute ¶
func (m *MockSubaccountClient) CloneNeoSubaccountExecute(r accountclient.ApiCloneNeoSubaccountRequest) (*accountclient.SubaccountResponseObject, *http.Response, error)
func (*MockSubaccountClient) CreateOrUpdateSubaccountSettings ¶
func (m *MockSubaccountClient) CreateOrUpdateSubaccountSettings(ctx context.Context, subaccountGUID string) accountclient.ApiCreateOrUpdateSubaccountSettingsRequest
func (*MockSubaccountClient) CreateOrUpdateSubaccountSettingsExecute ¶
func (m *MockSubaccountClient) CreateOrUpdateSubaccountSettingsExecute(r accountclient.ApiCreateOrUpdateSubaccountSettingsRequest) (*accountclient.DataResponseObject, *http.Response, error)
func (*MockSubaccountClient) CreateServiceManagementBinding ¶
func (m *MockSubaccountClient) CreateServiceManagementBinding(ctx context.Context, subaccountGUID string) accountclient.ApiCreateServiceManagementBindingRequest
func (*MockSubaccountClient) CreateServiceManagementBindingExecute ¶
func (m *MockSubaccountClient) CreateServiceManagementBindingExecute(r accountclient.ApiCreateServiceManagementBindingRequest) (*accountclient.ServiceManagerBindingResponseObject, *http.Response, error)
func (*MockSubaccountClient) CreateServiceManagerBindingV2 ¶
func (m *MockSubaccountClient) CreateServiceManagerBindingV2(ctx context.Context, subaccountGUID string) accountclient.ApiCreateServiceManagerBindingV2Request
func (*MockSubaccountClient) CreateServiceManagerBindingV2Execute ¶
func (m *MockSubaccountClient) CreateServiceManagerBindingV2Execute(r accountclient.ApiCreateServiceManagerBindingV2Request) (*accountclient.ServiceManagerBindingExtendedResponseObject, *http.Response, error)
func (*MockSubaccountClient) CreateSubaccount ¶
func (m *MockSubaccountClient) CreateSubaccount(ctx context.Context) accountclient.ApiCreateSubaccountRequest
func (*MockSubaccountClient) CreateSubaccountExecute ¶
func (m *MockSubaccountClient) CreateSubaccountExecute(r accountclient.ApiCreateSubaccountRequest) (*accountclient.SubaccountResponseObject, *http.Response, error)
func (*MockSubaccountClient) CreateSubaccountLabels ¶
func (m *MockSubaccountClient) CreateSubaccountLabels(ctx context.Context, subaccountGUID string) accountclient.ApiCreateSubaccountLabelsRequest
func (*MockSubaccountClient) CreateSubaccountLabelsExecute ¶
func (m *MockSubaccountClient) CreateSubaccountLabelsExecute(r accountclient.ApiCreateSubaccountLabelsRequest) (*accountclient.LabelsResponseObject, *http.Response, error)
func (*MockSubaccountClient) DeleteServiceManagementBindingOfSubaccount ¶
func (m *MockSubaccountClient) DeleteServiceManagementBindingOfSubaccount(ctx context.Context, subaccountGUID string) accountclient.ApiDeleteServiceManagementBindingOfSubaccountRequest
func (*MockSubaccountClient) DeleteServiceManagementBindingOfSubaccountExecute ¶
func (m *MockSubaccountClient) DeleteServiceManagementBindingOfSubaccountExecute(r accountclient.ApiDeleteServiceManagementBindingOfSubaccountRequest) (*http.Response, error)
func (*MockSubaccountClient) DeleteServiceManagerBindingV2 ¶
func (m *MockSubaccountClient) DeleteServiceManagerBindingV2(ctx context.Context, subaccountGUID string, bindingName string) accountclient.ApiDeleteServiceManagerBindingV2Request
func (*MockSubaccountClient) DeleteServiceManagerBindingV2Execute ¶
func (m *MockSubaccountClient) DeleteServiceManagerBindingV2Execute(r accountclient.ApiDeleteServiceManagerBindingV2Request) (*http.Response, error)
func (*MockSubaccountClient) DeleteSubaccount ¶
func (m *MockSubaccountClient) DeleteSubaccount(ctx context.Context, subaccountGUID string) accountclient.ApiDeleteSubaccountRequest
func (*MockSubaccountClient) DeleteSubaccountExecute ¶
func (m *MockSubaccountClient) DeleteSubaccountExecute(r accountclient.ApiDeleteSubaccountRequest) (*accountclient.SubaccountResponseObject, *http.Response, error)
func (*MockSubaccountClient) DeleteSubaccountLabels ¶
func (m *MockSubaccountClient) DeleteSubaccountLabels(ctx context.Context, subaccountGUID string) accountclient.ApiDeleteSubaccountLabelsRequest
func (*MockSubaccountClient) DeleteSubaccountLabelsExecute ¶
func (m *MockSubaccountClient) DeleteSubaccountLabelsExecute(r accountclient.ApiDeleteSubaccountLabelsRequest) (*accountclient.LabelsResponseObject, *http.Response, error)
func (*MockSubaccountClient) DeleteSubaccountSettings ¶
func (m *MockSubaccountClient) DeleteSubaccountSettings(ctx context.Context, subaccountGUID string) accountclient.ApiDeleteSubaccountSettingsRequest
func (*MockSubaccountClient) DeleteSubaccountSettingsExecute ¶
func (m *MockSubaccountClient) DeleteSubaccountSettingsExecute(r accountclient.ApiDeleteSubaccountSettingsRequest) (*accountclient.DataResponseObject, *http.Response, error)
func (*MockSubaccountClient) GetAllServiceManagerBindingsV2 ¶
func (m *MockSubaccountClient) GetAllServiceManagerBindingsV2(ctx context.Context, subaccountGUID string) accountclient.ApiGetAllServiceManagerBindingsV2Request
func (*MockSubaccountClient) GetAllServiceManagerBindingsV2Execute ¶
func (m *MockSubaccountClient) GetAllServiceManagerBindingsV2Execute(r accountclient.ApiGetAllServiceManagerBindingsV2Request) (*accountclient.ServiceManagerBindingsResponseList, *http.Response, error)
func (*MockSubaccountClient) GetServiceManagementBinding ¶
func (m *MockSubaccountClient) GetServiceManagementBinding(ctx context.Context, subaccountGUID string) accountclient.ApiGetServiceManagementBindingRequest
func (*MockSubaccountClient) GetServiceManagementBindingExecute ¶
func (m *MockSubaccountClient) GetServiceManagementBindingExecute(r accountclient.ApiGetServiceManagementBindingRequest) (*accountclient.ServiceManagerBindingResponseObject, *http.Response, error)
func (*MockSubaccountClient) GetServiceManagerBindingV2 ¶
func (m *MockSubaccountClient) GetServiceManagerBindingV2(ctx context.Context, subaccountGUID string, bindingName string) accountclient.ApiGetServiceManagerBindingV2Request
func (*MockSubaccountClient) GetServiceManagerBindingV2Execute ¶
func (m *MockSubaccountClient) GetServiceManagerBindingV2Execute(r accountclient.ApiGetServiceManagerBindingV2Request) (*accountclient.ServiceManagerBindingExtendedResponseObject, *http.Response, error)
func (*MockSubaccountClient) GetSubaccount ¶
func (m *MockSubaccountClient) GetSubaccount(ctx context.Context, subaccountGUID string) accountclient.ApiGetSubaccountRequest
func (*MockSubaccountClient) GetSubaccountCustomProperties ¶
func (m *MockSubaccountClient) GetSubaccountCustomProperties(ctx context.Context, subaccountGUID string) accountclient.ApiGetSubaccountCustomPropertiesRequest
func (*MockSubaccountClient) GetSubaccountCustomPropertiesExecute ¶
func (m *MockSubaccountClient) GetSubaccountCustomPropertiesExecute(r accountclient.ApiGetSubaccountCustomPropertiesRequest) (*accountclient.ResponseCollection, *http.Response, error)
func (*MockSubaccountClient) GetSubaccountExecute ¶
func (m *MockSubaccountClient) GetSubaccountExecute(r accountclient.ApiGetSubaccountRequest) (*accountclient.SubaccountResponseObject, *http.Response, error)
func (*MockSubaccountClient) GetSubaccountLabels ¶
func (m *MockSubaccountClient) GetSubaccountLabels(ctx context.Context, subaccountGUID string) accountclient.ApiGetSubaccountLabelsRequest
func (*MockSubaccountClient) GetSubaccountLabelsExecute ¶
func (m *MockSubaccountClient) GetSubaccountLabelsExecute(r accountclient.ApiGetSubaccountLabelsRequest) (*accountclient.LabelsResponseObject, *http.Response, error)
func (*MockSubaccountClient) GetSubaccountSettings ¶
func (m *MockSubaccountClient) GetSubaccountSettings(ctx context.Context, subaccountGUID string) accountclient.ApiGetSubaccountSettingsRequest
func (*MockSubaccountClient) GetSubaccountSettingsExecute ¶
func (m *MockSubaccountClient) GetSubaccountSettingsExecute(r accountclient.ApiGetSubaccountSettingsRequest) (*accountclient.DataResponseObject, *http.Response, error)
func (*MockSubaccountClient) GetSubaccounts ¶
func (m *MockSubaccountClient) GetSubaccounts(ctx context.Context) accountclient.ApiGetSubaccountsRequest
func (*MockSubaccountClient) GetSubaccountsExecute ¶
func (m *MockSubaccountClient) GetSubaccountsExecute(r accountclient.ApiGetSubaccountsRequest) (*accountclient.ResponseCollection, *http.Response, error)
func (*MockSubaccountClient) MoveSubaccount ¶
func (m *MockSubaccountClient) MoveSubaccount(ctx context.Context, subaccountGUID string) accountclient.ApiMoveSubaccountRequest
func (*MockSubaccountClient) MoveSubaccountExecute ¶
func (m *MockSubaccountClient) MoveSubaccountExecute(r accountclient.ApiMoveSubaccountRequest) (*accountclient.SubaccountResponseObject, *http.Response, error)
func (*MockSubaccountClient) MoveSubaccounts ¶
func (m *MockSubaccountClient) MoveSubaccounts(ctx context.Context) accountclient.ApiMoveSubaccountsRequest
func (*MockSubaccountClient) MoveSubaccountsExecute ¶
func (m *MockSubaccountClient) MoveSubaccountsExecute(r accountclient.ApiMoveSubaccountsRequest) (*accountclient.ResponseCollection, *http.Response, error)
func (*MockSubaccountClient) SetTransport ¶
func (m *MockSubaccountClient) SetTransport(transport runtime.ClientTransport)
func (*MockSubaccountClient) UpdateSubaccount ¶
func (m *MockSubaccountClient) UpdateSubaccount(ctx context.Context, subaccountGUID string) accountclient.ApiUpdateSubaccountRequest
func (*MockSubaccountClient) UpdateSubaccountExecute ¶
func (m *MockSubaccountClient) UpdateSubaccountExecute(r accountclient.ApiUpdateSubaccountRequest) (*accountclient.SubaccountResponseObject, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.