subaccount

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(mgr ctrl.Manager, o controller.Options) error

Setup adds a controller that reconciles GlobalAccount managed resources.

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 (a *AccountsClient) MoveSubaccount(ctx context.Context, subaccountGuid string, targetId string) error

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 (m *MockAccountsApiAccessor) MoveSubaccount(ctx context.Context, subaccountGuid string, targetId string) error

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) CreateOrUpdateSubaccountSettings

func (m *MockSubaccountClient) CreateOrUpdateSubaccountSettings(ctx context.Context, subaccountGUID string) accountclient.ApiCreateOrUpdateSubaccountSettingsRequest

func (*MockSubaccountClient) CreateServiceManagementBinding

func (m *MockSubaccountClient) CreateServiceManagementBinding(ctx context.Context, subaccountGUID string) accountclient.ApiCreateServiceManagementBindingRequest

func (*MockSubaccountClient) CreateServiceManagerBindingV2

func (m *MockSubaccountClient) CreateServiceManagerBindingV2(ctx context.Context, subaccountGUID string) accountclient.ApiCreateServiceManagerBindingV2Request

func (*MockSubaccountClient) CreateSubaccount

func (*MockSubaccountClient) CreateSubaccountLabels

func (m *MockSubaccountClient) CreateSubaccountLabels(ctx context.Context, subaccountGUID string) accountclient.ApiCreateSubaccountLabelsRequest

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) DeleteSubaccountLabels

func (m *MockSubaccountClient) DeleteSubaccountLabels(ctx context.Context, subaccountGUID string) accountclient.ApiDeleteSubaccountLabelsRequest

func (*MockSubaccountClient) DeleteSubaccountSettings

func (m *MockSubaccountClient) DeleteSubaccountSettings(ctx context.Context, subaccountGUID string) accountclient.ApiDeleteSubaccountSettingsRequest

func (*MockSubaccountClient) GetAllServiceManagerBindingsV2

func (m *MockSubaccountClient) GetAllServiceManagerBindingsV2(ctx context.Context, subaccountGUID string) accountclient.ApiGetAllServiceManagerBindingsV2Request

func (*MockSubaccountClient) GetServiceManagementBinding

func (m *MockSubaccountClient) GetServiceManagementBinding(ctx context.Context, subaccountGUID string) accountclient.ApiGetServiceManagementBindingRequest

func (*MockSubaccountClient) GetServiceManagerBindingV2

func (m *MockSubaccountClient) GetServiceManagerBindingV2(ctx context.Context, subaccountGUID string, bindingName string) accountclient.ApiGetServiceManagerBindingV2Request

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) GetSubaccountLabels

func (m *MockSubaccountClient) GetSubaccountLabels(ctx context.Context, subaccountGUID string) accountclient.ApiGetSubaccountLabelsRequest

func (*MockSubaccountClient) GetSubaccountSettings

func (m *MockSubaccountClient) GetSubaccountSettings(ctx context.Context, subaccountGUID string) accountclient.ApiGetSubaccountSettingsRequest

func (*MockSubaccountClient) GetSubaccounts

func (*MockSubaccountClient) MoveSubaccount

func (m *MockSubaccountClient) MoveSubaccount(ctx context.Context, subaccountGUID string) accountclient.ApiMoveSubaccountRequest

func (*MockSubaccountClient) MoveSubaccounts

func (*MockSubaccountClient) SetTransport

func (m *MockSubaccountClient) SetTransport(transport runtime.ClientTransport)

func (*MockSubaccountClient) UpdateSubaccount

func (m *MockSubaccountClient) UpdateSubaccount(ctx context.Context, subaccountGUID string) accountclient.ApiUpdateSubaccountRequest

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL