Documentation ¶
Overview ¶
Package api is a generated protocol buffer package.
It is generated from these files:
registry.proto
It has these top-level messages:
Channel PackageName Package GroupVersionKind Bundle ChannelEntry ListPackageRequest GetPackageRequest GetBundleRequest GetBundleInChannelRequest GetAllReplacementsRequest GetReplacementRequest GetAllProvidersRequest GetLatestProvidersRequest GetDefaultProviderRequest
Index ¶
- func RegisterRegistryServer(s *grpc.Server, srv RegistryServer)
- type Bundle
- func (*Bundle) Descriptor() ([]byte, []int)
- func (m *Bundle) GetBundlePath() string
- func (m *Bundle) GetChannelName() string
- func (m *Bundle) GetCsvJson() string
- func (m *Bundle) GetCsvName() string
- func (m *Bundle) GetObject() []string
- func (m *Bundle) GetPackageName() string
- func (m *Bundle) GetProvidedApis() []*GroupVersionKind
- func (m *Bundle) GetRequiredApis() []*GroupVersionKind
- func (m *Bundle) GetSkipRange() string
- func (m *Bundle) GetVersion() string
- func (*Bundle) ProtoMessage()
- func (m *Bundle) Reset()
- func (m *Bundle) String() string
- type Channel
- type ChannelEntry
- func (*ChannelEntry) Descriptor() ([]byte, []int)
- func (m *ChannelEntry) GetBundleName() string
- func (m *ChannelEntry) GetChannelName() string
- func (m *ChannelEntry) GetPackageName() string
- func (m *ChannelEntry) GetReplaces() string
- func (*ChannelEntry) ProtoMessage()
- func (m *ChannelEntry) Reset()
- func (m *ChannelEntry) String() string
- type GetAllProvidersRequest
- func (*GetAllProvidersRequest) Descriptor() ([]byte, []int)
- func (m *GetAllProvidersRequest) GetGroup() string
- func (m *GetAllProvidersRequest) GetKind() string
- func (m *GetAllProvidersRequest) GetPlural() string
- func (m *GetAllProvidersRequest) GetVersion() string
- func (*GetAllProvidersRequest) ProtoMessage()
- func (m *GetAllProvidersRequest) Reset()
- func (m *GetAllProvidersRequest) String() string
- type GetAllReplacementsRequest
- type GetBundleInChannelRequest
- func (*GetBundleInChannelRequest) Descriptor() ([]byte, []int)
- func (m *GetBundleInChannelRequest) GetChannelName() string
- func (m *GetBundleInChannelRequest) GetPkgName() string
- func (*GetBundleInChannelRequest) ProtoMessage()
- func (m *GetBundleInChannelRequest) Reset()
- func (m *GetBundleInChannelRequest) String() string
- type GetBundleRequest
- func (*GetBundleRequest) Descriptor() ([]byte, []int)
- func (m *GetBundleRequest) GetChannelName() string
- func (m *GetBundleRequest) GetCsvName() string
- func (m *GetBundleRequest) GetPkgName() string
- func (*GetBundleRequest) ProtoMessage()
- func (m *GetBundleRequest) Reset()
- func (m *GetBundleRequest) String() string
- type GetDefaultProviderRequest
- func (*GetDefaultProviderRequest) Descriptor() ([]byte, []int)
- func (m *GetDefaultProviderRequest) GetGroup() string
- func (m *GetDefaultProviderRequest) GetKind() string
- func (m *GetDefaultProviderRequest) GetPlural() string
- func (m *GetDefaultProviderRequest) GetVersion() string
- func (*GetDefaultProviderRequest) ProtoMessage()
- func (m *GetDefaultProviderRequest) Reset()
- func (m *GetDefaultProviderRequest) String() string
- type GetLatestProvidersRequest
- func (*GetLatestProvidersRequest) Descriptor() ([]byte, []int)
- func (m *GetLatestProvidersRequest) GetGroup() string
- func (m *GetLatestProvidersRequest) GetKind() string
- func (m *GetLatestProvidersRequest) GetPlural() string
- func (m *GetLatestProvidersRequest) GetVersion() string
- func (*GetLatestProvidersRequest) ProtoMessage()
- func (m *GetLatestProvidersRequest) Reset()
- func (m *GetLatestProvidersRequest) String() string
- type GetPackageRequest
- type GetReplacementRequest
- func (*GetReplacementRequest) Descriptor() ([]byte, []int)
- func (m *GetReplacementRequest) GetChannelName() string
- func (m *GetReplacementRequest) GetCsvName() string
- func (m *GetReplacementRequest) GetPkgName() string
- func (*GetReplacementRequest) ProtoMessage()
- func (m *GetReplacementRequest) Reset()
- func (m *GetReplacementRequest) String() string
- type GroupVersionKind
- func (*GroupVersionKind) Descriptor() ([]byte, []int)
- func (m *GroupVersionKind) GetGroup() string
- func (m *GroupVersionKind) GetKind() string
- func (m *GroupVersionKind) GetPlural() string
- func (m *GroupVersionKind) GetVersion() string
- func (*GroupVersionKind) ProtoMessage()
- func (m *GroupVersionKind) Reset()
- func (m *GroupVersionKind) String() string
- type ListPackageRequest
- type Package
- type PackageName
- type RegistryClient
- type RegistryServer
- type Registry_GetChannelEntriesThatProvideClient
- type Registry_GetChannelEntriesThatProvideServer
- type Registry_GetChannelEntriesThatReplaceClient
- type Registry_GetChannelEntriesThatReplaceServer
- type Registry_GetLatestChannelEntriesThatProvideClient
- type Registry_GetLatestChannelEntriesThatProvideServer
- type Registry_ListPackagesClient
- type Registry_ListPackagesServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRegistryServer ¶
func RegisterRegistryServer(s *grpc.Server, srv RegistryServer)
Types ¶
type Bundle ¶
type Bundle struct { CsvName string `protobuf:"bytes,1,opt,name=csvName" json:"csvName,omitempty"` PackageName string `protobuf:"bytes,2,opt,name=packageName" json:"packageName,omitempty"` ChannelName string `protobuf:"bytes,3,opt,name=channelName" json:"channelName,omitempty"` CsvJson string `protobuf:"bytes,4,opt,name=csvJson" json:"csvJson,omitempty"` Object []string `protobuf:"bytes,5,rep,name=object" json:"object,omitempty"` BundlePath string `protobuf:"bytes,6,opt,name=bundlePath" json:"bundlePath,omitempty"` ProvidedApis []*GroupVersionKind `protobuf:"bytes,7,rep,name=providedApis" json:"providedApis,omitempty"` RequiredApis []*GroupVersionKind `protobuf:"bytes,8,rep,name=requiredApis" json:"requiredApis,omitempty"` Version string `protobuf:"bytes,9,opt,name=version" json:"version,omitempty"` SkipRange string `protobuf:"bytes,10,opt,name=skipRange" json:"skipRange,omitempty"` }
func (*Bundle) Descriptor ¶
func (*Bundle) GetBundlePath ¶
func (*Bundle) GetChannelName ¶
func (*Bundle) GetCsvJson ¶
func (*Bundle) GetCsvName ¶
func (*Bundle) GetPackageName ¶
func (*Bundle) GetProvidedApis ¶
func (m *Bundle) GetProvidedApis() []*GroupVersionKind
func (*Bundle) GetRequiredApis ¶
func (m *Bundle) GetRequiredApis() []*GroupVersionKind
func (*Bundle) GetSkipRange ¶
func (*Bundle) GetVersion ¶
func (*Bundle) ProtoMessage ¶
func (*Bundle) ProtoMessage()
type Channel ¶
type Channel struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` CsvName string `protobuf:"bytes,2,opt,name=csvName" json:"csvName,omitempty"` }
func (*Channel) Descriptor ¶
func (*Channel) GetCsvName ¶
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
type ChannelEntry ¶
type ChannelEntry struct { PackageName string `protobuf:"bytes,1,opt,name=packageName" json:"packageName,omitempty"` ChannelName string `protobuf:"bytes,2,opt,name=channelName" json:"channelName,omitempty"` BundleName string `protobuf:"bytes,3,opt,name=bundleName" json:"bundleName,omitempty"` Replaces string `protobuf:"bytes,4,opt,name=replaces" json:"replaces,omitempty"` }
func (*ChannelEntry) Descriptor ¶
func (*ChannelEntry) Descriptor() ([]byte, []int)
func (*ChannelEntry) GetBundleName ¶
func (m *ChannelEntry) GetBundleName() string
func (*ChannelEntry) GetChannelName ¶
func (m *ChannelEntry) GetChannelName() string
func (*ChannelEntry) GetPackageName ¶
func (m *ChannelEntry) GetPackageName() string
func (*ChannelEntry) GetReplaces ¶
func (m *ChannelEntry) GetReplaces() string
func (*ChannelEntry) ProtoMessage ¶
func (*ChannelEntry) ProtoMessage()
func (*ChannelEntry) Reset ¶
func (m *ChannelEntry) Reset()
func (*ChannelEntry) String ¶
func (m *ChannelEntry) String() string
type GetAllProvidersRequest ¶
type GetAllProvidersRequest struct { Group string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"` Plural string `protobuf:"bytes,4,opt,name=plural" json:"plural,omitempty"` }
func (*GetAllProvidersRequest) Descriptor ¶
func (*GetAllProvidersRequest) Descriptor() ([]byte, []int)
func (*GetAllProvidersRequest) GetGroup ¶
func (m *GetAllProvidersRequest) GetGroup() string
func (*GetAllProvidersRequest) GetKind ¶
func (m *GetAllProvidersRequest) GetKind() string
func (*GetAllProvidersRequest) GetPlural ¶
func (m *GetAllProvidersRequest) GetPlural() string
func (*GetAllProvidersRequest) GetVersion ¶
func (m *GetAllProvidersRequest) GetVersion() string
func (*GetAllProvidersRequest) ProtoMessage ¶
func (*GetAllProvidersRequest) ProtoMessage()
func (*GetAllProvidersRequest) Reset ¶
func (m *GetAllProvidersRequest) Reset()
func (*GetAllProvidersRequest) String ¶
func (m *GetAllProvidersRequest) String() string
type GetAllReplacementsRequest ¶
type GetAllReplacementsRequest struct {
CsvName string `protobuf:"bytes,1,opt,name=csvName" json:"csvName,omitempty"`
}
func (*GetAllReplacementsRequest) Descriptor ¶
func (*GetAllReplacementsRequest) Descriptor() ([]byte, []int)
func (*GetAllReplacementsRequest) GetCsvName ¶
func (m *GetAllReplacementsRequest) GetCsvName() string
func (*GetAllReplacementsRequest) ProtoMessage ¶
func (*GetAllReplacementsRequest) ProtoMessage()
func (*GetAllReplacementsRequest) Reset ¶
func (m *GetAllReplacementsRequest) Reset()
func (*GetAllReplacementsRequest) String ¶
func (m *GetAllReplacementsRequest) String() string
type GetBundleInChannelRequest ¶
type GetBundleInChannelRequest struct { PkgName string `protobuf:"bytes,1,opt,name=pkgName" json:"pkgName,omitempty"` ChannelName string `protobuf:"bytes,2,opt,name=channelName" json:"channelName,omitempty"` }
func (*GetBundleInChannelRequest) Descriptor ¶
func (*GetBundleInChannelRequest) Descriptor() ([]byte, []int)
func (*GetBundleInChannelRequest) GetChannelName ¶
func (m *GetBundleInChannelRequest) GetChannelName() string
func (*GetBundleInChannelRequest) GetPkgName ¶
func (m *GetBundleInChannelRequest) GetPkgName() string
func (*GetBundleInChannelRequest) ProtoMessage ¶
func (*GetBundleInChannelRequest) ProtoMessage()
func (*GetBundleInChannelRequest) Reset ¶
func (m *GetBundleInChannelRequest) Reset()
func (*GetBundleInChannelRequest) String ¶
func (m *GetBundleInChannelRequest) String() string
type GetBundleRequest ¶
type GetBundleRequest struct { PkgName string `protobuf:"bytes,1,opt,name=pkgName" json:"pkgName,omitempty"` ChannelName string `protobuf:"bytes,2,opt,name=channelName" json:"channelName,omitempty"` CsvName string `protobuf:"bytes,3,opt,name=csvName" json:"csvName,omitempty"` }
func (*GetBundleRequest) Descriptor ¶
func (*GetBundleRequest) Descriptor() ([]byte, []int)
func (*GetBundleRequest) GetChannelName ¶
func (m *GetBundleRequest) GetChannelName() string
func (*GetBundleRequest) GetCsvName ¶
func (m *GetBundleRequest) GetCsvName() string
func (*GetBundleRequest) GetPkgName ¶
func (m *GetBundleRequest) GetPkgName() string
func (*GetBundleRequest) ProtoMessage ¶
func (*GetBundleRequest) ProtoMessage()
func (*GetBundleRequest) Reset ¶
func (m *GetBundleRequest) Reset()
func (*GetBundleRequest) String ¶
func (m *GetBundleRequest) String() string
type GetDefaultProviderRequest ¶
type GetDefaultProviderRequest struct { Group string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"` Plural string `protobuf:"bytes,4,opt,name=plural" json:"plural,omitempty"` }
func (*GetDefaultProviderRequest) Descriptor ¶
func (*GetDefaultProviderRequest) Descriptor() ([]byte, []int)
func (*GetDefaultProviderRequest) GetGroup ¶
func (m *GetDefaultProviderRequest) GetGroup() string
func (*GetDefaultProviderRequest) GetKind ¶
func (m *GetDefaultProviderRequest) GetKind() string
func (*GetDefaultProviderRequest) GetPlural ¶
func (m *GetDefaultProviderRequest) GetPlural() string
func (*GetDefaultProviderRequest) GetVersion ¶
func (m *GetDefaultProviderRequest) GetVersion() string
func (*GetDefaultProviderRequest) ProtoMessage ¶
func (*GetDefaultProviderRequest) ProtoMessage()
func (*GetDefaultProviderRequest) Reset ¶
func (m *GetDefaultProviderRequest) Reset()
func (*GetDefaultProviderRequest) String ¶
func (m *GetDefaultProviderRequest) String() string
type GetLatestProvidersRequest ¶
type GetLatestProvidersRequest struct { Group string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"` Plural string `protobuf:"bytes,4,opt,name=plural" json:"plural,omitempty"` }
func (*GetLatestProvidersRequest) Descriptor ¶
func (*GetLatestProvidersRequest) Descriptor() ([]byte, []int)
func (*GetLatestProvidersRequest) GetGroup ¶
func (m *GetLatestProvidersRequest) GetGroup() string
func (*GetLatestProvidersRequest) GetKind ¶
func (m *GetLatestProvidersRequest) GetKind() string
func (*GetLatestProvidersRequest) GetPlural ¶
func (m *GetLatestProvidersRequest) GetPlural() string
func (*GetLatestProvidersRequest) GetVersion ¶
func (m *GetLatestProvidersRequest) GetVersion() string
func (*GetLatestProvidersRequest) ProtoMessage ¶
func (*GetLatestProvidersRequest) ProtoMessage()
func (*GetLatestProvidersRequest) Reset ¶
func (m *GetLatestProvidersRequest) Reset()
func (*GetLatestProvidersRequest) String ¶
func (m *GetLatestProvidersRequest) String() string
type GetPackageRequest ¶
type GetPackageRequest struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (*GetPackageRequest) Descriptor ¶
func (*GetPackageRequest) Descriptor() ([]byte, []int)
func (*GetPackageRequest) GetName ¶
func (m *GetPackageRequest) GetName() string
func (*GetPackageRequest) ProtoMessage ¶
func (*GetPackageRequest) ProtoMessage()
func (*GetPackageRequest) Reset ¶
func (m *GetPackageRequest) Reset()
func (*GetPackageRequest) String ¶
func (m *GetPackageRequest) String() string
type GetReplacementRequest ¶
type GetReplacementRequest struct { CsvName string `protobuf:"bytes,1,opt,name=csvName" json:"csvName,omitempty"` PkgName string `protobuf:"bytes,2,opt,name=pkgName" json:"pkgName,omitempty"` ChannelName string `protobuf:"bytes,3,opt,name=channelName" json:"channelName,omitempty"` }
func (*GetReplacementRequest) Descriptor ¶
func (*GetReplacementRequest) Descriptor() ([]byte, []int)
func (*GetReplacementRequest) GetChannelName ¶
func (m *GetReplacementRequest) GetChannelName() string
func (*GetReplacementRequest) GetCsvName ¶
func (m *GetReplacementRequest) GetCsvName() string
func (*GetReplacementRequest) GetPkgName ¶
func (m *GetReplacementRequest) GetPkgName() string
func (*GetReplacementRequest) ProtoMessage ¶
func (*GetReplacementRequest) ProtoMessage()
func (*GetReplacementRequest) Reset ¶
func (m *GetReplacementRequest) Reset()
func (*GetReplacementRequest) String ¶
func (m *GetReplacementRequest) String() string
type GroupVersionKind ¶
type GroupVersionKind struct { Group string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"` Plural string `protobuf:"bytes,4,opt,name=plural" json:"plural,omitempty"` }
func (*GroupVersionKind) Descriptor ¶
func (*GroupVersionKind) Descriptor() ([]byte, []int)
func (*GroupVersionKind) GetGroup ¶
func (m *GroupVersionKind) GetGroup() string
func (*GroupVersionKind) GetKind ¶
func (m *GroupVersionKind) GetKind() string
func (*GroupVersionKind) GetPlural ¶
func (m *GroupVersionKind) GetPlural() string
func (*GroupVersionKind) GetVersion ¶
func (m *GroupVersionKind) GetVersion() string
func (*GroupVersionKind) ProtoMessage ¶
func (*GroupVersionKind) ProtoMessage()
func (*GroupVersionKind) Reset ¶
func (m *GroupVersionKind) Reset()
func (*GroupVersionKind) String ¶
func (m *GroupVersionKind) String() string
type ListPackageRequest ¶
type ListPackageRequest struct { }
func (*ListPackageRequest) Descriptor ¶
func (*ListPackageRequest) Descriptor() ([]byte, []int)
func (*ListPackageRequest) ProtoMessage ¶
func (*ListPackageRequest) ProtoMessage()
func (*ListPackageRequest) Reset ¶
func (m *ListPackageRequest) Reset()
func (*ListPackageRequest) String ¶
func (m *ListPackageRequest) String() string
type Package ¶
type Package struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Channels []*Channel `protobuf:"bytes,2,rep,name=channels" json:"channels,omitempty"` DefaultChannelName string `protobuf:"bytes,3,opt,name=defaultChannelName" json:"defaultChannelName,omitempty"` }
func (*Package) Descriptor ¶
func (*Package) GetChannels ¶
func (*Package) GetDefaultChannelName ¶
func (*Package) ProtoMessage ¶
func (*Package) ProtoMessage()
type PackageName ¶
type PackageName struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (*PackageName) Descriptor ¶
func (*PackageName) Descriptor() ([]byte, []int)
func (*PackageName) GetName ¶
func (m *PackageName) GetName() string
func (*PackageName) ProtoMessage ¶
func (*PackageName) ProtoMessage()
func (*PackageName) Reset ¶
func (m *PackageName) Reset()
func (*PackageName) String ¶
func (m *PackageName) String() string
type RegistryClient ¶
type RegistryClient interface { ListPackages(ctx context.Context, in *ListPackageRequest, opts ...grpc.CallOption) (Registry_ListPackagesClient, error) GetPackage(ctx context.Context, in *GetPackageRequest, opts ...grpc.CallOption) (*Package, error) GetBundle(ctx context.Context, in *GetBundleRequest, opts ...grpc.CallOption) (*Bundle, error) GetBundleForChannel(ctx context.Context, in *GetBundleInChannelRequest, opts ...grpc.CallOption) (*Bundle, error) GetChannelEntriesThatReplace(ctx context.Context, in *GetAllReplacementsRequest, opts ...grpc.CallOption) (Registry_GetChannelEntriesThatReplaceClient, error) GetBundleThatReplaces(ctx context.Context, in *GetReplacementRequest, opts ...grpc.CallOption) (*Bundle, error) GetChannelEntriesThatProvide(ctx context.Context, in *GetAllProvidersRequest, opts ...grpc.CallOption) (Registry_GetChannelEntriesThatProvideClient, error) GetLatestChannelEntriesThatProvide(ctx context.Context, in *GetLatestProvidersRequest, opts ...grpc.CallOption) (Registry_GetLatestChannelEntriesThatProvideClient, error) GetDefaultBundleThatProvides(ctx context.Context, in *GetDefaultProviderRequest, opts ...grpc.CallOption) (*Bundle, error) }
func NewRegistryClient ¶
func NewRegistryClient(cc *grpc.ClientConn) RegistryClient
type RegistryServer ¶
type RegistryServer interface { ListPackages(*ListPackageRequest, Registry_ListPackagesServer) error GetPackage(context.Context, *GetPackageRequest) (*Package, error) GetBundle(context.Context, *GetBundleRequest) (*Bundle, error) GetBundleForChannel(context.Context, *GetBundleInChannelRequest) (*Bundle, error) GetChannelEntriesThatReplace(*GetAllReplacementsRequest, Registry_GetChannelEntriesThatReplaceServer) error GetBundleThatReplaces(context.Context, *GetReplacementRequest) (*Bundle, error) GetChannelEntriesThatProvide(*GetAllProvidersRequest, Registry_GetChannelEntriesThatProvideServer) error GetLatestChannelEntriesThatProvide(*GetLatestProvidersRequest, Registry_GetLatestChannelEntriesThatProvideServer) error GetDefaultBundleThatProvides(context.Context, *GetDefaultProviderRequest) (*Bundle, error) }
type Registry_GetChannelEntriesThatProvideClient ¶
type Registry_GetChannelEntriesThatProvideClient interface { Recv() (*ChannelEntry, error) grpc.ClientStream }
type Registry_GetChannelEntriesThatProvideServer ¶
type Registry_GetChannelEntriesThatProvideServer interface { Send(*ChannelEntry) error grpc.ServerStream }
type Registry_GetChannelEntriesThatReplaceClient ¶
type Registry_GetChannelEntriesThatReplaceClient interface { Recv() (*ChannelEntry, error) grpc.ClientStream }
type Registry_GetChannelEntriesThatReplaceServer ¶
type Registry_GetChannelEntriesThatReplaceServer interface { Send(*ChannelEntry) error grpc.ServerStream }
type Registry_GetLatestChannelEntriesThatProvideClient ¶
type Registry_GetLatestChannelEntriesThatProvideClient interface { Recv() (*ChannelEntry, error) grpc.ClientStream }
type Registry_GetLatestChannelEntriesThatProvideServer ¶
type Registry_GetLatestChannelEntriesThatProvideServer interface { Send(*ChannelEntry) error grpc.ServerStream }
type Registry_ListPackagesClient ¶
type Registry_ListPackagesClient interface { Recv() (*PackageName, error) grpc.ClientStream }
type Registry_ListPackagesServer ¶
type Registry_ListPackagesServer interface { Send(*PackageName) error grpc.ServerStream }
Directories ¶
Path | Synopsis |
---|---|
Package grpc_health_v1 is a generated protocol buffer package.
|
Package grpc_health_v1 is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.