cloudrun

package
v0.47.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Getter

type Getter interface {
	GetState(appID string) (State, bool)
	GetServiceManifest(appID string) (provider.ServiceManifest, bool)

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

type State added in v0.26.0

type State struct {
	Resources []*model.CloudRunResourceState
	Version   model.ApplicationLiveStateVersion
}

type Store

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

func NewStore

func NewStore(ctx context.Context, cfg *config.PlatformProviderCloudRunConfig, platformProvider string, logger *zap.Logger) (*Store, error)

func (*Store) GetServiceManifest added in v0.24.1

func (s *Store) GetServiceManifest(appID string) (provider.ServiceManifest, bool)

func (*Store) GetState added in v0.26.0

func (s *Store) GetState(appID string) (State, bool)

func (*Store) Run

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

func (*Store) WaitForReady added in v0.26.0

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

Jump to

Keyboard shortcuts

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