Documentation ¶
Index ¶
- func ClusterForTest() *v1alpha1.CassandraCluster
- func FuzzCassandraClusterNodePools(cluster *v1alpha1.CassandraCluster, rand *rand.Rand, size int)
- func FuzzCassandraNodePool(np *v1alpha1.CassandraClusterNodePool, rand *rand.Rand, size int)
- type FakeControl
- type Fixture
- func (f *Fixture) AddObjectK(o runtime.Object)
- func (f *Fixture) AddObjectN(o runtime.Object)
- func (f *Fixture) AssertPilotsLength(l int)
- func (f *Fixture) AssertRoleBindingsLength(l int)
- func (f *Fixture) AssertRolesLength(l int)
- func (f *Fixture) AssertServiceAccountsLength(l int)
- func (f *Fixture) AssertServicesLength(l int)
- func (f *Fixture) AssertStatefulSetsLength(l int)
- func (f *Fixture) Pilots() *v1alpha1.PilotList
- func (f *Fixture) RoleBindings() *rbacv1.RoleBindingList
- func (f *Fixture) Roles() *rbacv1.RoleList
- func (f *Fixture) Run()
- func (f *Fixture) RunExpectError()
- func (f *Fixture) ServiceAccounts() *v1.ServiceAccountList
- func (f *Fixture) Services() *v1.ServiceList
- func (f *Fixture) StatefulSets() *apps.StatefulSetList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterForTest ¶
func ClusterForTest() *v1alpha1.CassandraCluster
func FuzzCassandraClusterNodePools ¶
func FuzzCassandraClusterNodePools(cluster *v1alpha1.CassandraCluster, rand *rand.Rand, size int)
func FuzzCassandraNodePool ¶
func FuzzCassandraNodePool(np *v1alpha1.CassandraClusterNodePool, rand *rand.Rand, size int)
Types ¶
type FakeControl ¶
type FakeControl struct {
SyncError error
}
func (*FakeControl) Sync ¶
func (c *FakeControl) Sync(cluster *v1alpha1.CassandraCluster) error
type Fixture ¶
type Fixture struct { Cluster *v1alpha1.CassandraCluster SeedProviderServiceControl cassandra.ControlInterface NodesServiceControl cassandra.ControlInterface NodepoolControl nodepool.Interface PilotControl pilot.Interface ServiceAccountControl serviceaccount.Interface RoleControl role.Interface RoleBindingControl rolebinding.Interface SeedLabellerControl seedlabeller.Interface // contains filtered or unexported fields }
func NewFixture ¶
func (*Fixture) AddObjectK ¶
func (*Fixture) AddObjectN ¶
func (*Fixture) AssertPilotsLength ¶
func (*Fixture) AssertRoleBindingsLength ¶
func (*Fixture) AssertRolesLength ¶
func (*Fixture) AssertServiceAccountsLength ¶
func (*Fixture) AssertServicesLength ¶
func (*Fixture) AssertStatefulSetsLength ¶
func (*Fixture) RoleBindings ¶
func (f *Fixture) RoleBindings() *rbacv1.RoleBindingList
func (*Fixture) RunExpectError ¶
func (f *Fixture) RunExpectError()
func (*Fixture) ServiceAccounts ¶
func (f *Fixture) ServiceAccounts() *v1.ServiceAccountList
func (*Fixture) Services ¶
func (f *Fixture) Services() *v1.ServiceList
func (*Fixture) StatefulSets ¶
func (f *Fixture) StatefulSets() *apps.StatefulSetList
Click to show internal directories.
Click to hide internal directories.