Documentation
¶
Index ¶
- type Client
- func (c *Client) GetBundle(ctx context.Context, packageName, channelName, csvName string) (*registry.Bundle, error)
- func (c *Client) GetBundleInPackageChannel(ctx context.Context, packageName, channelName string) (*registry.Bundle, error)
- func (c *Client) GetBundleThatProvides(ctx context.Context, group, version, kind string) (*registry.Bundle, error)
- func (c *Client) GetReplacementBundleInPackageChannel(ctx context.Context, currentName, packageName, channelName string) (*registry.Bundle, error)
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Registry api.RegistryClient
Health grpc_health_v1.HealthClient
Conn *grpc.ClientConn
}
func (*Client) GetBundleInPackageChannel ¶
func (*Client) GetBundleThatProvides ¶
type Interface ¶
type Interface interface {
GetBundle(ctx context.Context, packageName, channelName, csvName string) (*registry.Bundle, error)
GetBundleInPackageChannel(ctx context.Context, packageName, channelName string) (*registry.Bundle, error)
GetReplacementBundleInPackageChannel(ctx context.Context, currentName, packageName, channelName string) (*registry.Bundle, error)
GetBundleThatProvides(ctx context.Context, group, version, kind string) (*registry.Bundle, error)
}
Click to show internal directories.
Click to hide internal directories.