datastore

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

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 (*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 (*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 (*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) GetClient

func (r *Config) GetClient() client.Client

func (*Config) GetName

func (r *Config) GetName() string

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 Setup

type Setup struct {
	Client     client.Client
	Connection datastore.Connection
	DataStore  kamajiv1alpha1.DataStore
	// contains filtered or unexported fields
}

func (*Setup) CleanUp

func (*Setup) CreateOrUpdate

func (r *Setup) CreateOrUpdate(ctx context.Context, tenantControlPlane *kamajiv1alpha1.TenantControlPlane) (controllerutil.OperationResult, 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) GetClient

func (r *Setup) GetClient() client.Client

func (*Setup) GetName

func (r *Setup) GetName() string

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
}

Jump to

Keyboard shortcuts

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