route

package
v0.0.0-...-58c3220 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

func NewAdapter

func NewAdapter(service route.Service, kubeClient kube_client.Client, mgr ctrl.Manager) *Adapter

func (*Adapter) GetFromRuntime

func (s *Adapter) GetFromRuntime(id string) (types.RuntimeEntity, error)

func (*Adapter) GetFromStorage

func (s *Adapter) GetFromStorage(id string) (types.StorageEntity, error)

func (*Adapter) ListRuntime

func (s *Adapter) ListRuntime() ([]types.RuntimeEntity, error)

func (*Adapter) ListStorage

func (s *Adapter) ListStorage() ([]types.StorageEntity, error)

func (*Adapter) SubscribeRuntimeUpdates

func (s *Adapter) SubscribeRuntimeUpdates(syncHook types.StatusPollingHookFunc) error

type KubeEntity

type KubeEntity struct {
	// contains filtered or unexported fields
}

func (KubeEntity) Delete

func (k KubeEntity) Delete() error

func (KubeEntity) GetID

func (k KubeEntity) GetID() string

func (KubeEntity) GetSpecHash

func (k KubeEntity) GetSpecHash() (uint64, error)

func (KubeEntity) GetStatusHash

func (k KubeEntity) GetStatusHash() (uint64, error)

func (KubeEntity) IsDeleting

func (k KubeEntity) IsDeleting() bool

func (KubeEntity) ReportStatus

func (k KubeEntity) ReportStatus() error

type StorageEntity

type StorageEntity struct {
	// contains filtered or unexported fields
}

func (*StorageEntity) CreateInRuntime

func (s *StorageEntity) CreateInRuntime() error

func (*StorageEntity) DeleteInDB

func (s *StorageEntity) DeleteInDB() error

func (*StorageEntity) DeleteInRuntime

func (s *StorageEntity) DeleteInRuntime() error

func (*StorageEntity) GetID

func (s *StorageEntity) GetID() string

func (*StorageEntity) GetSpecHash

func (s *StorageEntity) GetSpecHash() (uint64, error)

func (*StorageEntity) GetStatusHash

func (s *StorageEntity) GetStatusHash() (uint64, error)

func (*StorageEntity) HasDeletionMark

func (s *StorageEntity) HasDeletionMark() bool

func (*StorageEntity) IsFinished

func (s *StorageEntity) IsFinished() bool

func (*StorageEntity) UpdateInRuntime

func (s *StorageEntity) UpdateInRuntime() error

Jump to

Keyboard shortcuts

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