kubernetes

package
v0.45.2 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppState

type AppState struct {
	Resources []*model.KubernetesResourceState
	Version   model.ApplicationLiveStateVersion
}

type EventIterator

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

func (EventIterator) Next

type Getter

type Getter interface {
	GetKubernetesAppLiveState(appID string) (AppState, bool)
	NewEventIterator() EventIterator

	GetWatchingResourceKinds() []provider.APIVersionKind
	GetAppLiveManifests(appID string) []provider.Manifest

	WaitForReady(ctx context.Context, timeout time.Duration) error
}

type Store

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

func NewStore

func NewStore(cfg *config.PlatformProviderKubernetesConfig, pipedConfig *config.PipedSpec, platformProvider string, logger *zap.Logger) *Store

func (*Store) GetAppLiveManifests

func (s *Store) GetAppLiveManifests(appID string) []provider.Manifest

func (*Store) GetKubernetesAppLiveState

func (s *Store) GetKubernetesAppLiveState(appID string) (AppState, bool)

func (*Store) GetWatchingResourceKinds

func (s *Store) GetWatchingResourceKinds() []provider.APIVersionKind

func (*Store) NewEventIterator

func (s *Store) NewEventIterator() EventIterator

func (*Store) Run

func (s *Store) Run(ctx context.Context) error

func (*Store) WaitForReady

func (s *Store) WaitForReady(ctx context.Context, timeout time.Duration) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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