Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultGRPCTimeout = 2 * time.Minute
Variables ¶
This section is empty.
Functions ¶
func ConnectGRPCWithTimeout ¶
func EntityFromBundle ¶
func EntityFromBundle(catsrcID string, pkg *catalogsourceapi.Package, bundle *catalogsourceapi.Bundle) (*input.Entity, error)
Types ¶
type DefaultChannel ¶
type DefaultChannel struct {
DefaultChannel string `json:"defaultchannel"`
}
type RegistryClient ¶
type RegistryClient interface {
ListEntities(ctx context.Context, catsrc *v1alpha1.CatalogSource) ([]*input.Entity, error)
}
func NewRegistryGRPCClient ¶
func NewRegistryGRPCClient(grpcTimeout time.Duration) RegistryClient
type UpgradeEdge ¶
type UpgradeEdge struct {
// possibly replaced by edge specific variablesources
// rather than being grouped with bundle properties
property.Channel
Replaces string `json:"replaces,omitempty"`
Skips []string `json:"skips,omitempty"`
SkipRange string `json:"skipRange,omitempty"`
Version string `json:"version,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.