providers

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type InfoSource

type InfoSource struct {
	*configurations.ServiceWithApplication
	Name string
}

func FromService

func FromService(service *configurations.Service, dep string) (*InfoSource, error)

FromService satisfies this format: - Name - unique:Name

type Provider

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

func New

func New(ctx context.Context, project *configurations.Project) (*Provider, error)

func (*Provider) AddProjectProviderInformation

func (provider *Provider) AddProjectProviderInformation(ctx context.Context, name string, data map[string]string) error

func (*Provider) GetProjectProviderInformation

func (provider *Provider) GetProjectProviderInformation(ctx context.Context, name string) (*basev0.ProviderInformation, error)

func (*Provider) GetProviderInformation

func (provider *Provider) GetProviderInformation(ctx context.Context, service *configurations.Service) ([]*basev0.ProviderInformation, error)

func (*Provider) GetSharedProviderInformation

func (provider *Provider) GetSharedProviderInformation(_ context.Context, service *configurations.Service) ([]*basev0.ProviderInformation, error)

func (*Provider) Share

func (provider *Provider) Share(ctx context.Context, infos []*basev0.ProviderInformation)

Jump to

Keyboard shortcuts

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