model

package
v0.0.0-...-319700a Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusTenantReferenceField       = ".status.tenant"
	BridgeSourceTenantReferenceField = ".spec.sourceTenant"
	BridgeTargetTenantReferenceField = ".spec.targetTenant"
	TenantNameField                  = ".metadata.name"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceList

type ResourceList interface {
	client.ObjectList
	GetItems() []ResourceOwnedByTenant
}

ResourceList is an interface for Kubernetes list types

type ResourceOwnedByTenant

type ResourceOwnedByTenant interface {
	client.Object
	GetTenant() string
	SetTenant(tenant string)
	GetState() state.State
	SetState(state state.State)
}

ResourceOwnedByTenant is an interface that must be implemented by resources that can be owned by a tenant

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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