Help us shape the future of Go! Take the 2026 Go Developer Survey

providers

package
v0.1.31 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 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) GetProjectProviderInformations added in v0.1.26

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

func (*Provider) GetProviderDependenciesInformations added in v0.1.21

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

func (*Provider) GetProviderInformations added in v0.1.21

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

func (*Provider) GetSharedInformation added in v0.1.24

func (provider *Provider) GetSharedInformation(ctx context.Context, uniques ...string) ([]*basev0.ProviderInformation, error)

func (*Provider) Share

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

Jump to

Keyboard shortcuts

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