Documentation ¶
Index ¶
- type Certificate
- func (r *Certificate) CleanUp(context.Context, *kamajiv1alpha1.TenantControlPlane) (bool, error)
- func (r *Certificate) CreateOrUpdate(ctx context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
- func (r *Certificate) Define(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
- func (r *Certificate) GetClient() client.Client
- func (r *Certificate) GetName() string
- func (r *Certificate) ShouldCleanup(*kamajiv1alpha1.TenantControlPlane) bool
- func (r *Certificate) ShouldStatusBeUpdated(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) bool
- func (r *Certificate) UpdateTenantControlPlaneStatus(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
- type Config
- func (r *Config) CleanUp(context.Context, *kamajiv1alpha1.TenantControlPlane) (bool, error)
- func (r *Config) CreateOrUpdate(ctx context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
- func (r *Config) Define(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
- func (r *Config) GetClient() client.Client
- func (r *Config) GetName() string
- func (r *Config) ShouldCleanup(*kamajiv1alpha1.TenantControlPlane) bool
- func (r *Config) ShouldStatusBeUpdated(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) bool
- func (r *Config) UpdateTenantControlPlaneStatus(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
- type Migrate
- func (d *Migrate) CleanUp(ctx context.Context, _ *kamajiv1alpha1.TenantControlPlane) (bool, error)
- func (d *Migrate) CreateOrUpdate(ctx context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
- func (d *Migrate) Define(ctx context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
- func (d *Migrate) GetName() string
- func (d *Migrate) ShouldCleanup(tcp *kamajiv1alpha1.TenantControlPlane) bool
- func (d *Migrate) ShouldStatusBeUpdated(context.Context, *kamajiv1alpha1.TenantControlPlane) bool
- func (d *Migrate) UpdateTenantControlPlaneStatus(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
- type Setup
- func (r *Setup) CleanUp(context.Context, *kamajiv1alpha1.TenantControlPlane) (bool, error)
- func (r *Setup) CreateOrUpdate(ctx context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) (reconciliationResult controllerutil.OperationResult, err error)
- func (r *Setup) Define(ctx context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
- func (r *Setup) Delete(ctx context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
- func (r *Setup) GetClient() client.Client
- func (r *Setup) GetName() string
- func (r *Setup) ShouldCleanup(_ *kamajiv1alpha1.TenantControlPlane) bool
- func (r *Setup) ShouldStatusBeUpdated(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) bool
- func (r *Setup) UpdateTenantControlPlaneStatus(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
- type SetupResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct { Client client.Client Name string DataStore kamajiv1alpha1.DataStore // contains filtered or unexported fields }
func (*Certificate) CleanUp ¶
func (r *Certificate) CleanUp(context.Context, *kamajiv1alpha1.TenantControlPlane) (bool, error)
func (*Certificate) CreateOrUpdate ¶
func (r *Certificate) CreateOrUpdate(ctx context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
func (*Certificate) Define ¶
func (r *Certificate) Define(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
func (*Certificate) GetClient ¶
func (r *Certificate) GetClient() client.Client
func (*Certificate) GetName ¶
func (r *Certificate) GetName() string
func (*Certificate) ShouldCleanup ¶
func (r *Certificate) ShouldCleanup(*kamajiv1alpha1.TenantControlPlane) bool
func (*Certificate) ShouldStatusBeUpdated ¶
func (r *Certificate) ShouldStatusBeUpdated(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) bool
func (*Certificate) UpdateTenantControlPlaneStatus ¶
func (r *Certificate) UpdateTenantControlPlaneStatus(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
type Config ¶
type Config struct { Client client.Client ConnString string DataStore kamajiv1alpha1.DataStore // contains filtered or unexported fields }
func (*Config) CleanUp ¶
func (r *Config) CleanUp(context.Context, *kamajiv1alpha1.TenantControlPlane) (bool, error)
func (*Config) CreateOrUpdate ¶
func (r *Config) CreateOrUpdate(ctx context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
func (*Config) Define ¶
func (r *Config) Define(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
func (*Config) ShouldCleanup ¶
func (r *Config) ShouldCleanup(*kamajiv1alpha1.TenantControlPlane) bool
func (*Config) ShouldStatusBeUpdated ¶
func (r *Config) ShouldStatusBeUpdated(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) bool
func (*Config) UpdateTenantControlPlaneStatus ¶
func (r *Config) UpdateTenantControlPlaneStatus(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
type Migrate ¶ added in v0.2.0
type Migrate struct { Client client.Client KamajiNamespace string KamajiServiceAccount string KamajiServiceName string ShouldCleanUp bool MigrateImage string // contains filtered or unexported fields }
func (*Migrate) CleanUp ¶ added in v0.2.0
func (d *Migrate) CleanUp(ctx context.Context, _ *kamajiv1alpha1.TenantControlPlane) (bool, error)
func (*Migrate) CreateOrUpdate ¶ added in v0.2.0
func (d *Migrate) CreateOrUpdate(ctx context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) (controllerutil.OperationResult, error)
func (*Migrate) Define ¶ added in v0.2.0
func (d *Migrate) Define(ctx context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
func (*Migrate) ShouldCleanup ¶ added in v0.2.0
func (d *Migrate) ShouldCleanup(tcp *kamajiv1alpha1.TenantControlPlane) bool
func (*Migrate) ShouldStatusBeUpdated ¶ added in v0.2.0
func (d *Migrate) ShouldStatusBeUpdated(context.Context, *kamajiv1alpha1.TenantControlPlane) bool
func (*Migrate) UpdateTenantControlPlaneStatus ¶ added in v0.2.0
func (d *Migrate) UpdateTenantControlPlaneStatus(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
type Setup ¶
type Setup struct { Client client.Client Connection datastore.Connection DataStore kamajiv1alpha1.DataStore // contains filtered or unexported fields }
func (*Setup) CleanUp ¶
func (r *Setup) CleanUp(context.Context, *kamajiv1alpha1.TenantControlPlane) (bool, error)
func (*Setup) CreateOrUpdate ¶
func (r *Setup) CreateOrUpdate(ctx context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) (reconciliationResult controllerutil.OperationResult, err error)
func (*Setup) Define ¶
func (r *Setup) Define(ctx context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
func (*Setup) Delete ¶
func (r *Setup) Delete(ctx context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
func (*Setup) ShouldCleanup ¶
func (r *Setup) ShouldCleanup(_ *kamajiv1alpha1.TenantControlPlane) bool
func (*Setup) ShouldStatusBeUpdated ¶
func (r *Setup) ShouldStatusBeUpdated(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) bool
func (*Setup) UpdateTenantControlPlaneStatus ¶
func (r *Setup) UpdateTenantControlPlaneStatus(_ context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) error
type SetupResource ¶
type SetupResource struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.