Documentation ¶
Index ¶
- func GetPreflightPath(subscriptionID string, deploymentID string) string
- func GetResourcePath(subscriptionID string, resourceID string) string
- func NewFakeAEAD() *fakeAEAD
- func NewFakeAsyncOperations() (db database.AsyncOperations, client *cosmosdb.FakeAsyncOperationDocumentClient)
- func NewFakeBilling() (db database.Billing, client *cosmosdb.FakeBillingDocumentClient)
- func NewFakeClusterManager() (db database.ClusterManagerConfigurations, ...)
- func NewFakeGateway() (db database.Gateway, client *cosmosdb.FakeGatewayDocumentClient)
- func NewFakeOpenShiftClusters() (db database.OpenShiftClusters, ...)
- func NewFakeOpenShiftVersions(uuid uuid.Generator) (db database.OpenShiftVersions, ...)
- func NewFakePlatformWorkloadIdentityRoleSets(uuid uuid.Generator) (db database.PlatformWorkloadIdentityRoleSets, ...)
- func NewFakePortal() (db database.Portal, client *cosmosdb.FakePortalDocumentClient)
- func NewFakeSubscriptions() (db database.Subscriptions, client *cosmosdb.FakeSubscriptionDocumentClient)
- type ByKey
- type Checker
- func (f *Checker) AddAsyncOperationDocuments(docs ...*api.AsyncOperationDocument)
- func (f *Checker) AddBillingDocuments(docs ...*api.BillingDocument)
- func (f *Checker) AddGatewayDocuments(docs ...*api.GatewayDocument)
- func (f *Checker) AddOpenShiftClusterDocuments(docs ...*api.OpenShiftClusterDocument)
- func (f *Checker) AddOpenShiftVersionDocuments(docs ...*api.OpenShiftVersionDocument)
- func (f *Checker) AddPlatformWorkloadIdentityRoleSetDocuments(docs ...*api.PlatformWorkloadIdentityRoleSetDocument)
- func (f *Checker) AddPortalDocuments(docs ...*api.PortalDocument)
- func (f *Checker) AddSubscriptionDocuments(docs ...*api.SubscriptionDocument)
- func (f *Checker) AddValidationResult(docs ...*api.ValidationResult)
- func (f *Checker) CheckAsyncOperations(asyncOperations *cosmosdb.FakeAsyncOperationDocumentClient) (errs []error)
- func (f *Checker) CheckBilling(billing *cosmosdb.FakeBillingDocumentClient) (errs []error)
- func (f *Checker) CheckGateways(gateways *cosmosdb.FakeGatewayDocumentClient) (errs []error)
- func (f *Checker) CheckOpenShiftClusters(openShiftClusters *cosmosdb.FakeOpenShiftClusterDocumentClient) (errs []error)
- func (f *Checker) CheckOpenShiftVersions(versions *cosmosdb.FakeOpenShiftVersionDocumentClient) (errs []error)
- func (f *Checker) CheckPlatformWorkloadIdentityRoleSets(roleSets *cosmosdb.FakePlatformWorkloadIdentityRoleSetDocumentClient) (errs []error)
- func (f *Checker) CheckPortals(portals *cosmosdb.FakePortalDocumentClient) (errs []error)
- func (f *Checker) CheckSubscriptions(subscriptions *cosmosdb.FakeSubscriptionDocumentClient) (errs []error)
- type Fixture
- func (f *Fixture) AddAsyncOperationDocuments(docs ...*api.AsyncOperationDocument)
- func (f *Fixture) AddBillingDocuments(docs ...*api.BillingDocument)
- func (f *Fixture) AddClusterManagerConfigurationDocuments(docs ...*api.ClusterManagerConfigurationDocument)
- func (f *Fixture) AddGatewayDocuments(docs ...*api.GatewayDocument)
- func (f *Fixture) AddOpenShiftClusterDocuments(docs ...*api.OpenShiftClusterDocument)
- func (f *Fixture) AddOpenShiftVersionDocuments(docs ...*api.OpenShiftVersionDocument)
- func (f *Fixture) AddPlatformWorkloadIdentityRoleSetDocuments(docs ...*api.PlatformWorkloadIdentityRoleSetDocument)
- func (f *Fixture) AddPortalDocuments(docs ...*api.PortalDocument)
- func (f *Fixture) AddSubscriptionDocuments(docs ...*api.SubscriptionDocument)
- func (f *Fixture) Create() error
- func (f *Fixture) WithAsyncOperations(db database.AsyncOperations) *Fixture
- func (f *Fixture) WithBilling(db database.Billing) *Fixture
- func (f *Fixture) WithClusterManagerConfigurations(db database.ClusterManagerConfigurations) *Fixture
- func (f *Fixture) WithGateway(db database.Gateway) *Fixture
- func (f *Fixture) WithOpenShiftClusters(db database.OpenShiftClusters) *Fixture
- func (f *Fixture) WithOpenShiftVersions(db database.OpenShiftVersions, uuid uuid.Generator) *Fixture
- func (f *Fixture) WithPlatformWorkloadIdentityRoleSets(db database.PlatformWorkloadIdentityRoleSets, uuid uuid.Generator) *Fixture
- func (f *Fixture) WithPortal(db database.Portal) *Fixture
- func (f *Fixture) WithSubscriptions(db database.Subscriptions) *Fixture
- type SortableClusterManagerConfigurationDocument
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPreflightPath ¶
func GetResourcePath ¶
func NewFakeAEAD ¶
func NewFakeAEAD() *fakeAEAD
func NewFakeAsyncOperations ¶
func NewFakeAsyncOperations() (db database.AsyncOperations, client *cosmosdb.FakeAsyncOperationDocumentClient)
func NewFakeBilling ¶
func NewFakeBilling() (db database.Billing, client *cosmosdb.FakeBillingDocumentClient)
func NewFakeClusterManager ¶
func NewFakeClusterManager() (db database.ClusterManagerConfigurations, client *cosmosdb.FakeClusterManagerConfigurationDocumentClient)
func NewFakeGateway ¶
func NewFakeGateway() (db database.Gateway, client *cosmosdb.FakeGatewayDocumentClient)
func NewFakeOpenShiftClusters ¶
func NewFakeOpenShiftClusters() (db database.OpenShiftClusters, client *cosmosdb.FakeOpenShiftClusterDocumentClient)
func NewFakeOpenShiftVersions ¶
func NewFakeOpenShiftVersions(uuid uuid.Generator) (db database.OpenShiftVersions, client *cosmosdb.FakeOpenShiftVersionDocumentClient)
func NewFakePlatformWorkloadIdentityRoleSets ¶
func NewFakePlatformWorkloadIdentityRoleSets(uuid uuid.Generator) (db database.PlatformWorkloadIdentityRoleSets, client *cosmosdb.FakePlatformWorkloadIdentityRoleSetDocumentClient)
func NewFakePortal ¶
func NewFakePortal() (db database.Portal, client *cosmosdb.FakePortalDocumentClient)
func NewFakeSubscriptions ¶
func NewFakeSubscriptions() (db database.Subscriptions, client *cosmosdb.FakeSubscriptionDocumentClient)
Types ¶
type ByKey ¶
type ByKey []*api.OpenShiftClusterDocument
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
func NewChecker ¶
func NewChecker() *Checker
func (*Checker) AddAsyncOperationDocuments ¶
func (f *Checker) AddAsyncOperationDocuments(docs ...*api.AsyncOperationDocument)
func (*Checker) AddBillingDocuments ¶
func (f *Checker) AddBillingDocuments(docs ...*api.BillingDocument)
func (*Checker) AddGatewayDocuments ¶
func (f *Checker) AddGatewayDocuments(docs ...*api.GatewayDocument)
func (*Checker) AddOpenShiftClusterDocuments ¶
func (f *Checker) AddOpenShiftClusterDocuments(docs ...*api.OpenShiftClusterDocument)
func (*Checker) AddOpenShiftVersionDocuments ¶
func (f *Checker) AddOpenShiftVersionDocuments(docs ...*api.OpenShiftVersionDocument)
func (*Checker) AddPlatformWorkloadIdentityRoleSetDocuments ¶
func (f *Checker) AddPlatformWorkloadIdentityRoleSetDocuments(docs ...*api.PlatformWorkloadIdentityRoleSetDocument)
func (*Checker) AddPortalDocuments ¶
func (f *Checker) AddPortalDocuments(docs ...*api.PortalDocument)
func (*Checker) AddSubscriptionDocuments ¶
func (f *Checker) AddSubscriptionDocuments(docs ...*api.SubscriptionDocument)
func (*Checker) AddValidationResult ¶
func (f *Checker) AddValidationResult(docs ...*api.ValidationResult)
func (*Checker) CheckAsyncOperations ¶
func (f *Checker) CheckAsyncOperations(asyncOperations *cosmosdb.FakeAsyncOperationDocumentClient) (errs []error)
func (*Checker) CheckBilling ¶
func (f *Checker) CheckBilling(billing *cosmosdb.FakeBillingDocumentClient) (errs []error)
func (*Checker) CheckGateways ¶
func (f *Checker) CheckGateways(gateways *cosmosdb.FakeGatewayDocumentClient) (errs []error)
func (*Checker) CheckOpenShiftClusters ¶
func (f *Checker) CheckOpenShiftClusters(openShiftClusters *cosmosdb.FakeOpenShiftClusterDocumentClient) (errs []error)
func (*Checker) CheckOpenShiftVersions ¶
func (f *Checker) CheckOpenShiftVersions(versions *cosmosdb.FakeOpenShiftVersionDocumentClient) (errs []error)
func (*Checker) CheckPlatformWorkloadIdentityRoleSets ¶
func (f *Checker) CheckPlatformWorkloadIdentityRoleSets(roleSets *cosmosdb.FakePlatformWorkloadIdentityRoleSetDocumentClient) (errs []error)
func (*Checker) CheckPortals ¶
func (f *Checker) CheckPortals(portals *cosmosdb.FakePortalDocumentClient) (errs []error)
func (*Checker) CheckSubscriptions ¶
func (f *Checker) CheckSubscriptions(subscriptions *cosmosdb.FakeSubscriptionDocumentClient) (errs []error)
type Fixture ¶
type Fixture struct {
// contains filtered or unexported fields
}
func NewFixture ¶
func NewFixture() *Fixture
func (*Fixture) AddAsyncOperationDocuments ¶
func (f *Fixture) AddAsyncOperationDocuments(docs ...*api.AsyncOperationDocument)
func (*Fixture) AddBillingDocuments ¶
func (f *Fixture) AddBillingDocuments(docs ...*api.BillingDocument)
func (*Fixture) AddClusterManagerConfigurationDocuments ¶
func (f *Fixture) AddClusterManagerConfigurationDocuments(docs ...*api.ClusterManagerConfigurationDocument)
func (*Fixture) AddGatewayDocuments ¶
func (f *Fixture) AddGatewayDocuments(docs ...*api.GatewayDocument)
func (*Fixture) AddOpenShiftClusterDocuments ¶
func (f *Fixture) AddOpenShiftClusterDocuments(docs ...*api.OpenShiftClusterDocument)
func (*Fixture) AddOpenShiftVersionDocuments ¶
func (f *Fixture) AddOpenShiftVersionDocuments(docs ...*api.OpenShiftVersionDocument)
func (*Fixture) AddPlatformWorkloadIdentityRoleSetDocuments ¶
func (f *Fixture) AddPlatformWorkloadIdentityRoleSetDocuments(docs ...*api.PlatformWorkloadIdentityRoleSetDocument)
func (*Fixture) AddPortalDocuments ¶
func (f *Fixture) AddPortalDocuments(docs ...*api.PortalDocument)
func (*Fixture) AddSubscriptionDocuments ¶
func (f *Fixture) AddSubscriptionDocuments(docs ...*api.SubscriptionDocument)
func (*Fixture) WithAsyncOperations ¶
func (f *Fixture) WithAsyncOperations(db database.AsyncOperations) *Fixture
func (*Fixture) WithClusterManagerConfigurations ¶
func (f *Fixture) WithClusterManagerConfigurations(db database.ClusterManagerConfigurations) *Fixture
func (*Fixture) WithOpenShiftClusters ¶
func (f *Fixture) WithOpenShiftClusters(db database.OpenShiftClusters) *Fixture
func (*Fixture) WithOpenShiftVersions ¶
func (*Fixture) WithPlatformWorkloadIdentityRoleSets ¶
func (*Fixture) WithSubscriptions ¶
func (f *Fixture) WithSubscriptions(db database.Subscriptions) *Fixture
type SortableClusterManagerConfigurationDocument ¶
type SortableClusterManagerConfigurationDocument []*api.ClusterManagerConfigurationDocument
func (SortableClusterManagerConfigurationDocument) Len ¶
func (a SortableClusterManagerConfigurationDocument) Len() int
func (SortableClusterManagerConfigurationDocument) Less ¶
func (a SortableClusterManagerConfigurationDocument) Less(i, j int) bool
func (SortableClusterManagerConfigurationDocument) Swap ¶
func (a SortableClusterManagerConfigurationDocument) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.