Documentation ¶
Index ¶
- Constants
- Variables
- func ConvertAPIBundleToModelBundle(b *Bundle) (*model.Bundle, error)
- func RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer)
- type Bundle
- func (*Bundle) Descriptor() ([]byte, []int)deprecated
- func (x *Bundle) GetBundlePath() string
- func (x *Bundle) GetChannelName() string
- func (x *Bundle) GetCsvJson() string
- func (x *Bundle) GetCsvName() string
- func (x *Bundle) GetDependencies() []*Dependency
- func (x *Bundle) GetDeprecation() *Deprecation
- func (x *Bundle) GetObject() []string
- func (x *Bundle) GetPackageName() string
- func (x *Bundle) GetProperties() []*Property
- func (x *Bundle) GetProvidedApis() []*GroupVersionKind
- func (x *Bundle) GetReplaces() string
- func (x *Bundle) GetRequiredApis() []*GroupVersionKind
- func (x *Bundle) GetSkipRange() string
- func (x *Bundle) GetSkips() []string
- func (x *Bundle) GetVersion() string
- func (*Bundle) ProtoMessage()
- func (x *Bundle) ProtoReflect() protoreflect.Message
- func (x *Bundle) Reset()
- func (x *Bundle) String() string
- type Channel
- func (*Channel) Descriptor() ([]byte, []int)deprecated
- func (x *Channel) GetCsvName() string
- func (x *Channel) GetDeprecation() *Deprecation
- func (x *Channel) GetName() string
- func (*Channel) ProtoMessage()
- func (x *Channel) ProtoReflect() protoreflect.Message
- func (x *Channel) Reset()
- func (x *Channel) String() string
- type ChannelEntry
- func (*ChannelEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelEntry) GetBundleName() string
- func (x *ChannelEntry) GetChannelName() string
- func (x *ChannelEntry) GetPackageName() string
- func (x *ChannelEntry) GetReplaces() string
- func (*ChannelEntry) ProtoMessage()
- func (x *ChannelEntry) ProtoReflect() protoreflect.Message
- func (x *ChannelEntry) Reset()
- func (x *ChannelEntry) String() string
- type Dependency
- type Deprecation
- type GetAllProvidersRequest
- func (*GetAllProvidersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllProvidersRequest) GetGroup() string
- func (x *GetAllProvidersRequest) GetKind() string
- func (x *GetAllProvidersRequest) GetPlural() string
- func (x *GetAllProvidersRequest) GetVersion() string
- func (*GetAllProvidersRequest) ProtoMessage()
- func (x *GetAllProvidersRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllProvidersRequest) Reset()
- func (x *GetAllProvidersRequest) String() string
- type GetAllReplacementsRequest
- func (*GetAllReplacementsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllReplacementsRequest) GetCsvName() string
- func (*GetAllReplacementsRequest) ProtoMessage()
- func (x *GetAllReplacementsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllReplacementsRequest) Reset()
- func (x *GetAllReplacementsRequest) String() string
- type GetBundleInChannelRequest
- func (*GetBundleInChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBundleInChannelRequest) GetChannelName() string
- func (x *GetBundleInChannelRequest) GetPkgName() string
- func (*GetBundleInChannelRequest) ProtoMessage()
- func (x *GetBundleInChannelRequest) ProtoReflect() protoreflect.Message
- func (x *GetBundleInChannelRequest) Reset()
- func (x *GetBundleInChannelRequest) String() string
- type GetBundleRequest
- func (*GetBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBundleRequest) GetChannelName() string
- func (x *GetBundleRequest) GetCsvName() string
- func (x *GetBundleRequest) GetPkgName() string
- func (*GetBundleRequest) ProtoMessage()
- func (x *GetBundleRequest) ProtoReflect() protoreflect.Message
- func (x *GetBundleRequest) Reset()
- func (x *GetBundleRequest) String() string
- type GetDefaultProviderRequest
- func (*GetDefaultProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDefaultProviderRequest) GetGroup() string
- func (x *GetDefaultProviderRequest) GetKind() string
- func (x *GetDefaultProviderRequest) GetPlural() string
- func (x *GetDefaultProviderRequest) GetVersion() string
- func (*GetDefaultProviderRequest) ProtoMessage()
- func (x *GetDefaultProviderRequest) ProtoReflect() protoreflect.Message
- func (x *GetDefaultProviderRequest) Reset()
- func (x *GetDefaultProviderRequest) String() string
- type GetLatestProvidersRequest
- func (*GetLatestProvidersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLatestProvidersRequest) GetGroup() string
- func (x *GetLatestProvidersRequest) GetKind() string
- func (x *GetLatestProvidersRequest) GetPlural() string
- func (x *GetLatestProvidersRequest) GetVersion() string
- func (*GetLatestProvidersRequest) ProtoMessage()
- func (x *GetLatestProvidersRequest) ProtoReflect() protoreflect.Message
- func (x *GetLatestProvidersRequest) Reset()
- func (x *GetLatestProvidersRequest) String() string
- type GetPackageRequest
- type GetReplacementRequest
- func (*GetReplacementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetReplacementRequest) GetChannelName() string
- func (x *GetReplacementRequest) GetCsvName() string
- func (x *GetReplacementRequest) GetPkgName() string
- func (*GetReplacementRequest) ProtoMessage()
- func (x *GetReplacementRequest) ProtoReflect() protoreflect.Message
- func (x *GetReplacementRequest) Reset()
- func (x *GetReplacementRequest) String() string
- type GroupVersionKind
- func (*GroupVersionKind) Descriptor() ([]byte, []int)deprecated
- func (x *GroupVersionKind) GetGroup() string
- func (x *GroupVersionKind) GetKind() string
- func (x *GroupVersionKind) GetPlural() string
- func (x *GroupVersionKind) GetVersion() string
- func (*GroupVersionKind) ProtoMessage()
- func (x *GroupVersionKind) ProtoReflect() protoreflect.Message
- func (x *GroupVersionKind) Reset()
- func (x *GroupVersionKind) String() string
- type ListBundlesRequest
- type ListPackageRequest
- type Package
- func (*Package) Descriptor() ([]byte, []int)deprecated
- func (x *Package) GetChannels() []*Channel
- func (x *Package) GetDefaultChannelName() string
- func (x *Package) GetDeprecation() *Deprecation
- func (x *Package) GetName() string
- func (*Package) ProtoMessage()
- func (x *Package) ProtoReflect() protoreflect.Message
- func (x *Package) Reset()
- func (x *Package) String() string
- type PackageName
- type Property
- type RegistryClient
- type RegistryServer
- type Registry_GetChannelEntriesThatProvideClient
- type Registry_GetChannelEntriesThatProvideServer
- type Registry_GetChannelEntriesThatReplaceClient
- type Registry_GetChannelEntriesThatReplaceServer
- type Registry_GetLatestChannelEntriesThatProvideClient
- type Registry_GetLatestChannelEntriesThatProvideServer
- type Registry_ListBundlesClient
- type Registry_ListBundlesServer
- type Registry_ListPackagesClient
- type Registry_ListPackagesServer
- type UnimplementedRegistryServer
- func (UnimplementedRegistryServer) GetBundle(context.Context, *GetBundleRequest) (*Bundle, error)
- func (UnimplementedRegistryServer) GetBundleForChannel(context.Context, *GetBundleInChannelRequest) (*Bundle, error)
- func (UnimplementedRegistryServer) GetBundleThatReplaces(context.Context, *GetReplacementRequest) (*Bundle, error)
- func (UnimplementedRegistryServer) GetChannelEntriesThatProvide(*GetAllProvidersRequest, Registry_GetChannelEntriesThatProvideServer) error
- func (UnimplementedRegistryServer) GetChannelEntriesThatReplace(*GetAllReplacementsRequest, Registry_GetChannelEntriesThatReplaceServer) error
- func (UnimplementedRegistryServer) GetDefaultBundleThatProvides(context.Context, *GetDefaultProviderRequest) (*Bundle, error)
- func (UnimplementedRegistryServer) GetLatestChannelEntriesThatProvide(*GetLatestProvidersRequest, Registry_GetLatestChannelEntriesThatProvideServer) error
- func (UnimplementedRegistryServer) GetPackage(context.Context, *GetPackageRequest) (*Package, error)
- func (UnimplementedRegistryServer) ListBundles(*ListBundlesRequest, Registry_ListBundlesServer) error
- func (UnimplementedRegistryServer) ListPackages(*ListPackageRequest, Registry_ListPackagesServer) error
- type UnsafeRegistryServer
Constants ¶
const ( Registry_ListPackages_FullMethodName = "/api.Registry/ListPackages" Registry_GetPackage_FullMethodName = "/api.Registry/GetPackage" Registry_GetBundle_FullMethodName = "/api.Registry/GetBundle" Registry_GetBundleForChannel_FullMethodName = "/api.Registry/GetBundleForChannel" Registry_GetChannelEntriesThatReplace_FullMethodName = "/api.Registry/GetChannelEntriesThatReplace" Registry_GetBundleThatReplaces_FullMethodName = "/api.Registry/GetBundleThatReplaces" Registry_GetChannelEntriesThatProvide_FullMethodName = "/api.Registry/GetChannelEntriesThatProvide" Registry_GetLatestChannelEntriesThatProvide_FullMethodName = "/api.Registry/GetLatestChannelEntriesThatProvide" Registry_GetDefaultBundleThatProvides_FullMethodName = "/api.Registry/GetDefaultBundleThatProvides" Registry_ListBundles_FullMethodName = "/api.Registry/ListBundles" )
Variables ¶
var File_registry_proto protoreflect.FileDescriptor
var Registry_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.Registry", HandlerType: (*RegistryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPackage", Handler: _Registry_GetPackage_Handler, }, { MethodName: "GetBundle", Handler: _Registry_GetBundle_Handler, }, { MethodName: "GetBundleForChannel", Handler: _Registry_GetBundleForChannel_Handler, }, { MethodName: "GetBundleThatReplaces", Handler: _Registry_GetBundleThatReplaces_Handler, }, { MethodName: "GetDefaultBundleThatProvides", Handler: _Registry_GetDefaultBundleThatProvides_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ListPackages", Handler: _Registry_ListPackages_Handler, ServerStreams: true, }, { StreamName: "GetChannelEntriesThatReplace", Handler: _Registry_GetChannelEntriesThatReplace_Handler, ServerStreams: true, }, { StreamName: "GetChannelEntriesThatProvide", Handler: _Registry_GetChannelEntriesThatProvide_Handler, ServerStreams: true, }, { StreamName: "GetLatestChannelEntriesThatProvide", Handler: _Registry_GetLatestChannelEntriesThatProvide_Handler, ServerStreams: true, }, { StreamName: "ListBundles", Handler: _Registry_ListBundles_Handler, ServerStreams: true, }, }, Metadata: "registry.proto", }
Registry_ServiceDesc is the grpc.ServiceDesc for Registry service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRegistryServer ¶
func RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer)
Types ¶
type Bundle ¶
type Bundle struct { CsvName string `protobuf:"bytes,1,opt,name=csvName,proto3" json:"csvName,omitempty"` PackageName string `protobuf:"bytes,2,opt,name=packageName,proto3" json:"packageName,omitempty"` ChannelName string `protobuf:"bytes,3,opt,name=channelName,proto3" json:"channelName,omitempty"` CsvJson string `protobuf:"bytes,4,opt,name=csvJson,proto3" json:"csvJson,omitempty"` Object []string `protobuf:"bytes,5,rep,name=object,proto3" json:"object,omitempty"` BundlePath string `protobuf:"bytes,6,opt,name=bundlePath,proto3" json:"bundlePath,omitempty"` ProvidedApis []*GroupVersionKind `protobuf:"bytes,7,rep,name=providedApis,proto3" json:"providedApis,omitempty"` RequiredApis []*GroupVersionKind `protobuf:"bytes,8,rep,name=requiredApis,proto3" json:"requiredApis,omitempty"` Version string `protobuf:"bytes,9,opt,name=version,proto3" json:"version,omitempty"` SkipRange string `protobuf:"bytes,10,opt,name=skipRange,proto3" json:"skipRange,omitempty"` Dependencies []*Dependency `protobuf:"bytes,11,rep,name=dependencies,proto3" json:"dependencies,omitempty"` Properties []*Property `protobuf:"bytes,12,rep,name=properties,proto3" json:"properties,omitempty"` Replaces string `protobuf:"bytes,13,opt,name=replaces,proto3" json:"replaces,omitempty"` Skips []string `protobuf:"bytes,14,rep,name=skips,proto3" json:"skips,omitempty"` Deprecation *Deprecation `protobuf:"bytes,15,opt,name=deprecation,proto3" json:"deprecation,omitempty"` // contains filtered or unexported fields }
func (*Bundle) Descriptor
deprecated
func (*Bundle) GetBundlePath ¶
func (*Bundle) GetChannelName ¶
func (*Bundle) GetCsvJson ¶
func (*Bundle) GetCsvName ¶
func (*Bundle) GetDependencies ¶
func (x *Bundle) GetDependencies() []*Dependency
func (*Bundle) GetDeprecation ¶ added in v1.32.0
func (x *Bundle) GetDeprecation() *Deprecation
func (*Bundle) GetPackageName ¶
func (*Bundle) GetProperties ¶
func (*Bundle) GetProvidedApis ¶
func (x *Bundle) GetProvidedApis() []*GroupVersionKind
func (*Bundle) GetReplaces ¶
func (*Bundle) GetRequiredApis ¶
func (x *Bundle) GetRequiredApis() []*GroupVersionKind
func (*Bundle) GetSkipRange ¶
func (*Bundle) GetVersion ¶
func (*Bundle) ProtoMessage ¶
func (*Bundle) ProtoMessage()
func (*Bundle) ProtoReflect ¶
func (x *Bundle) ProtoReflect() protoreflect.Message
type Channel ¶
type Channel struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CsvName string `protobuf:"bytes,2,opt,name=csvName,proto3" json:"csvName,omitempty"` Deprecation *Deprecation `protobuf:"bytes,3,opt,name=deprecation,proto3" json:"deprecation,omitempty"` // contains filtered or unexported fields }
func (*Channel) Descriptor
deprecated
func (*Channel) GetCsvName ¶
func (*Channel) GetDeprecation ¶ added in v1.32.0
func (x *Channel) GetDeprecation() *Deprecation
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
func (*Channel) ProtoReflect ¶
func (x *Channel) ProtoReflect() protoreflect.Message
type ChannelEntry ¶
type ChannelEntry struct { PackageName string `protobuf:"bytes,1,opt,name=packageName,proto3" json:"packageName,omitempty"` ChannelName string `protobuf:"bytes,2,opt,name=channelName,proto3" json:"channelName,omitempty"` BundleName string `protobuf:"bytes,3,opt,name=bundleName,proto3" json:"bundleName,omitempty"` Replaces string `protobuf:"bytes,4,opt,name=replaces,proto3" json:"replaces,omitempty"` // contains filtered or unexported fields }
func (*ChannelEntry) Descriptor
deprecated
func (*ChannelEntry) Descriptor() ([]byte, []int)
Deprecated: Use ChannelEntry.ProtoReflect.Descriptor instead.
func (*ChannelEntry) GetBundleName ¶
func (x *ChannelEntry) GetBundleName() string
func (*ChannelEntry) GetChannelName ¶
func (x *ChannelEntry) GetChannelName() string
func (*ChannelEntry) GetPackageName ¶
func (x *ChannelEntry) GetPackageName() string
func (*ChannelEntry) GetReplaces ¶
func (x *ChannelEntry) GetReplaces() string
func (*ChannelEntry) ProtoMessage ¶
func (*ChannelEntry) ProtoMessage()
func (*ChannelEntry) ProtoReflect ¶
func (x *ChannelEntry) ProtoReflect() protoreflect.Message
func (*ChannelEntry) Reset ¶
func (x *ChannelEntry) Reset()
func (*ChannelEntry) String ¶
func (x *ChannelEntry) String() string
type Dependency ¶
type Dependency struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Dependency) Descriptor
deprecated
func (*Dependency) Descriptor() ([]byte, []int)
Deprecated: Use Dependency.ProtoReflect.Descriptor instead.
func (*Dependency) GetType ¶
func (x *Dependency) GetType() string
func (*Dependency) GetValue ¶
func (x *Dependency) GetValue() string
func (*Dependency) ProtoMessage ¶
func (*Dependency) ProtoMessage()
func (*Dependency) ProtoReflect ¶
func (x *Dependency) ProtoReflect() protoreflect.Message
func (*Dependency) Reset ¶
func (x *Dependency) Reset()
func (*Dependency) String ¶
func (x *Dependency) String() string
type Deprecation ¶ added in v1.32.0
type Deprecation struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Deprecation) Descriptor
deprecated
added in
v1.32.0
func (*Deprecation) Descriptor() ([]byte, []int)
Deprecated: Use Deprecation.ProtoReflect.Descriptor instead.
func (*Deprecation) GetMessage ¶ added in v1.32.0
func (x *Deprecation) GetMessage() string
func (*Deprecation) ProtoMessage ¶ added in v1.32.0
func (*Deprecation) ProtoMessage()
func (*Deprecation) ProtoReflect ¶ added in v1.32.0
func (x *Deprecation) ProtoReflect() protoreflect.Message
func (*Deprecation) Reset ¶ added in v1.32.0
func (x *Deprecation) Reset()
func (*Deprecation) String ¶ added in v1.32.0
func (x *Deprecation) String() string
type GetAllProvidersRequest ¶
type GetAllProvidersRequest struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` Plural string `protobuf:"bytes,4,opt,name=plural,proto3" json:"plural,omitempty"` // contains filtered or unexported fields }
func (*GetAllProvidersRequest) Descriptor
deprecated
func (*GetAllProvidersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllProvidersRequest.ProtoReflect.Descriptor instead.
func (*GetAllProvidersRequest) GetGroup ¶
func (x *GetAllProvidersRequest) GetGroup() string
func (*GetAllProvidersRequest) GetKind ¶
func (x *GetAllProvidersRequest) GetKind() string
func (*GetAllProvidersRequest) GetPlural ¶
func (x *GetAllProvidersRequest) GetPlural() string
func (*GetAllProvidersRequest) GetVersion ¶
func (x *GetAllProvidersRequest) GetVersion() string
func (*GetAllProvidersRequest) ProtoMessage ¶
func (*GetAllProvidersRequest) ProtoMessage()
func (*GetAllProvidersRequest) ProtoReflect ¶
func (x *GetAllProvidersRequest) ProtoReflect() protoreflect.Message
func (*GetAllProvidersRequest) Reset ¶
func (x *GetAllProvidersRequest) Reset()
func (*GetAllProvidersRequest) String ¶
func (x *GetAllProvidersRequest) String() string
type GetAllReplacementsRequest ¶
type GetAllReplacementsRequest struct { CsvName string `protobuf:"bytes,1,opt,name=csvName,proto3" json:"csvName,omitempty"` // contains filtered or unexported fields }
func (*GetAllReplacementsRequest) Descriptor
deprecated
func (*GetAllReplacementsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllReplacementsRequest.ProtoReflect.Descriptor instead.
func (*GetAllReplacementsRequest) GetCsvName ¶
func (x *GetAllReplacementsRequest) GetCsvName() string
func (*GetAllReplacementsRequest) ProtoMessage ¶
func (*GetAllReplacementsRequest) ProtoMessage()
func (*GetAllReplacementsRequest) ProtoReflect ¶
func (x *GetAllReplacementsRequest) ProtoReflect() protoreflect.Message
func (*GetAllReplacementsRequest) Reset ¶
func (x *GetAllReplacementsRequest) Reset()
func (*GetAllReplacementsRequest) String ¶
func (x *GetAllReplacementsRequest) String() string
type GetBundleInChannelRequest ¶
type GetBundleInChannelRequest struct { PkgName string `protobuf:"bytes,1,opt,name=pkgName,proto3" json:"pkgName,omitempty"` ChannelName string `protobuf:"bytes,2,opt,name=channelName,proto3" json:"channelName,omitempty"` // contains filtered or unexported fields }
func (*GetBundleInChannelRequest) Descriptor
deprecated
func (*GetBundleInChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBundleInChannelRequest.ProtoReflect.Descriptor instead.
func (*GetBundleInChannelRequest) GetChannelName ¶
func (x *GetBundleInChannelRequest) GetChannelName() string
func (*GetBundleInChannelRequest) GetPkgName ¶
func (x *GetBundleInChannelRequest) GetPkgName() string
func (*GetBundleInChannelRequest) ProtoMessage ¶
func (*GetBundleInChannelRequest) ProtoMessage()
func (*GetBundleInChannelRequest) ProtoReflect ¶
func (x *GetBundleInChannelRequest) ProtoReflect() protoreflect.Message
func (*GetBundleInChannelRequest) Reset ¶
func (x *GetBundleInChannelRequest) Reset()
func (*GetBundleInChannelRequest) String ¶
func (x *GetBundleInChannelRequest) String() string
type GetBundleRequest ¶
type GetBundleRequest struct { PkgName string `protobuf:"bytes,1,opt,name=pkgName,proto3" json:"pkgName,omitempty"` ChannelName string `protobuf:"bytes,2,opt,name=channelName,proto3" json:"channelName,omitempty"` CsvName string `protobuf:"bytes,3,opt,name=csvName,proto3" json:"csvName,omitempty"` // contains filtered or unexported fields }
func (*GetBundleRequest) Descriptor
deprecated
func (*GetBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBundleRequest.ProtoReflect.Descriptor instead.
func (*GetBundleRequest) GetChannelName ¶
func (x *GetBundleRequest) GetChannelName() string
func (*GetBundleRequest) GetCsvName ¶
func (x *GetBundleRequest) GetCsvName() string
func (*GetBundleRequest) GetPkgName ¶
func (x *GetBundleRequest) GetPkgName() string
func (*GetBundleRequest) ProtoMessage ¶
func (*GetBundleRequest) ProtoMessage()
func (*GetBundleRequest) ProtoReflect ¶
func (x *GetBundleRequest) ProtoReflect() protoreflect.Message
func (*GetBundleRequest) Reset ¶
func (x *GetBundleRequest) Reset()
func (*GetBundleRequest) String ¶
func (x *GetBundleRequest) String() string
type GetDefaultProviderRequest ¶
type GetDefaultProviderRequest struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` Plural string `protobuf:"bytes,4,opt,name=plural,proto3" json:"plural,omitempty"` // contains filtered or unexported fields }
func (*GetDefaultProviderRequest) Descriptor
deprecated
func (*GetDefaultProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDefaultProviderRequest.ProtoReflect.Descriptor instead.
func (*GetDefaultProviderRequest) GetGroup ¶
func (x *GetDefaultProviderRequest) GetGroup() string
func (*GetDefaultProviderRequest) GetKind ¶
func (x *GetDefaultProviderRequest) GetKind() string
func (*GetDefaultProviderRequest) GetPlural ¶
func (x *GetDefaultProviderRequest) GetPlural() string
func (*GetDefaultProviderRequest) GetVersion ¶
func (x *GetDefaultProviderRequest) GetVersion() string
func (*GetDefaultProviderRequest) ProtoMessage ¶
func (*GetDefaultProviderRequest) ProtoMessage()
func (*GetDefaultProviderRequest) ProtoReflect ¶
func (x *GetDefaultProviderRequest) ProtoReflect() protoreflect.Message
func (*GetDefaultProviderRequest) Reset ¶
func (x *GetDefaultProviderRequest) Reset()
func (*GetDefaultProviderRequest) String ¶
func (x *GetDefaultProviderRequest) String() string
type GetLatestProvidersRequest ¶
type GetLatestProvidersRequest struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` Plural string `protobuf:"bytes,4,opt,name=plural,proto3" json:"plural,omitempty"` // contains filtered or unexported fields }
func (*GetLatestProvidersRequest) Descriptor
deprecated
func (*GetLatestProvidersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestProvidersRequest.ProtoReflect.Descriptor instead.
func (*GetLatestProvidersRequest) GetGroup ¶
func (x *GetLatestProvidersRequest) GetGroup() string
func (*GetLatestProvidersRequest) GetKind ¶
func (x *GetLatestProvidersRequest) GetKind() string
func (*GetLatestProvidersRequest) GetPlural ¶
func (x *GetLatestProvidersRequest) GetPlural() string
func (*GetLatestProvidersRequest) GetVersion ¶
func (x *GetLatestProvidersRequest) GetVersion() string
func (*GetLatestProvidersRequest) ProtoMessage ¶
func (*GetLatestProvidersRequest) ProtoMessage()
func (*GetLatestProvidersRequest) ProtoReflect ¶
func (x *GetLatestProvidersRequest) ProtoReflect() protoreflect.Message
func (*GetLatestProvidersRequest) Reset ¶
func (x *GetLatestProvidersRequest) Reset()
func (*GetLatestProvidersRequest) String ¶
func (x *GetLatestProvidersRequest) String() string
type GetPackageRequest ¶
type GetPackageRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetPackageRequest) Descriptor
deprecated
func (*GetPackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPackageRequest.ProtoReflect.Descriptor instead.
func (*GetPackageRequest) GetName ¶
func (x *GetPackageRequest) GetName() string
func (*GetPackageRequest) ProtoMessage ¶
func (*GetPackageRequest) ProtoMessage()
func (*GetPackageRequest) ProtoReflect ¶
func (x *GetPackageRequest) ProtoReflect() protoreflect.Message
func (*GetPackageRequest) Reset ¶
func (x *GetPackageRequest) Reset()
func (*GetPackageRequest) String ¶
func (x *GetPackageRequest) String() string
type GetReplacementRequest ¶
type GetReplacementRequest struct { CsvName string `protobuf:"bytes,1,opt,name=csvName,proto3" json:"csvName,omitempty"` PkgName string `protobuf:"bytes,2,opt,name=pkgName,proto3" json:"pkgName,omitempty"` ChannelName string `protobuf:"bytes,3,opt,name=channelName,proto3" json:"channelName,omitempty"` // contains filtered or unexported fields }
func (*GetReplacementRequest) Descriptor
deprecated
func (*GetReplacementRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReplacementRequest.ProtoReflect.Descriptor instead.
func (*GetReplacementRequest) GetChannelName ¶
func (x *GetReplacementRequest) GetChannelName() string
func (*GetReplacementRequest) GetCsvName ¶
func (x *GetReplacementRequest) GetCsvName() string
func (*GetReplacementRequest) GetPkgName ¶
func (x *GetReplacementRequest) GetPkgName() string
func (*GetReplacementRequest) ProtoMessage ¶
func (*GetReplacementRequest) ProtoMessage()
func (*GetReplacementRequest) ProtoReflect ¶
func (x *GetReplacementRequest) ProtoReflect() protoreflect.Message
func (*GetReplacementRequest) Reset ¶
func (x *GetReplacementRequest) Reset()
func (*GetReplacementRequest) String ¶
func (x *GetReplacementRequest) String() string
type GroupVersionKind ¶
type GroupVersionKind struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` Plural string `protobuf:"bytes,4,opt,name=plural,proto3" json:"plural,omitempty"` // contains filtered or unexported fields }
func (*GroupVersionKind) Descriptor
deprecated
func (*GroupVersionKind) Descriptor() ([]byte, []int)
Deprecated: Use GroupVersionKind.ProtoReflect.Descriptor instead.
func (*GroupVersionKind) GetGroup ¶
func (x *GroupVersionKind) GetGroup() string
func (*GroupVersionKind) GetKind ¶
func (x *GroupVersionKind) GetKind() string
func (*GroupVersionKind) GetPlural ¶
func (x *GroupVersionKind) GetPlural() string
func (*GroupVersionKind) GetVersion ¶
func (x *GroupVersionKind) GetVersion() string
func (*GroupVersionKind) ProtoMessage ¶
func (*GroupVersionKind) ProtoMessage()
func (*GroupVersionKind) ProtoReflect ¶
func (x *GroupVersionKind) ProtoReflect() protoreflect.Message
func (*GroupVersionKind) Reset ¶
func (x *GroupVersionKind) Reset()
func (*GroupVersionKind) String ¶
func (x *GroupVersionKind) String() string
type ListBundlesRequest ¶
type ListBundlesRequest struct {
// contains filtered or unexported fields
}
func (*ListBundlesRequest) Descriptor
deprecated
func (*ListBundlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBundlesRequest.ProtoReflect.Descriptor instead.
func (*ListBundlesRequest) ProtoMessage ¶
func (*ListBundlesRequest) ProtoMessage()
func (*ListBundlesRequest) ProtoReflect ¶
func (x *ListBundlesRequest) ProtoReflect() protoreflect.Message
func (*ListBundlesRequest) Reset ¶
func (x *ListBundlesRequest) Reset()
func (*ListBundlesRequest) String ¶
func (x *ListBundlesRequest) String() string
type ListPackageRequest ¶
type ListPackageRequest struct {
// contains filtered or unexported fields
}
func (*ListPackageRequest) Descriptor
deprecated
func (*ListPackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPackageRequest.ProtoReflect.Descriptor instead.
func (*ListPackageRequest) ProtoMessage ¶
func (*ListPackageRequest) ProtoMessage()
func (*ListPackageRequest) ProtoReflect ¶
func (x *ListPackageRequest) ProtoReflect() protoreflect.Message
func (*ListPackageRequest) Reset ¶
func (x *ListPackageRequest) Reset()
func (*ListPackageRequest) String ¶
func (x *ListPackageRequest) String() string
type Package ¶
type Package struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Channels []*Channel `protobuf:"bytes,2,rep,name=channels,proto3" json:"channels,omitempty"` DefaultChannelName string `protobuf:"bytes,3,opt,name=defaultChannelName,proto3" json:"defaultChannelName,omitempty"` Deprecation *Deprecation `protobuf:"bytes,4,opt,name=deprecation,proto3" json:"deprecation,omitempty"` // contains filtered or unexported fields }
func (*Package) Descriptor
deprecated
func (*Package) GetChannels ¶
func (*Package) GetDefaultChannelName ¶
func (*Package) GetDeprecation ¶ added in v1.32.0
func (x *Package) GetDeprecation() *Deprecation
func (*Package) ProtoMessage ¶
func (*Package) ProtoMessage()
func (*Package) ProtoReflect ¶
func (x *Package) ProtoReflect() protoreflect.Message
type PackageName ¶
type PackageName struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PackageName) Descriptor
deprecated
func (*PackageName) Descriptor() ([]byte, []int)
Deprecated: Use PackageName.ProtoReflect.Descriptor instead.
func (*PackageName) GetName ¶
func (x *PackageName) GetName() string
func (*PackageName) ProtoMessage ¶
func (*PackageName) ProtoMessage()
func (*PackageName) ProtoReflect ¶
func (x *PackageName) ProtoReflect() protoreflect.Message
func (*PackageName) Reset ¶
func (x *PackageName) Reset()
func (*PackageName) String ¶
func (x *PackageName) String() string
type Property ¶
type Property struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Property) Descriptor
deprecated
func (*Property) ProtoMessage ¶
func (*Property) ProtoMessage()
func (*Property) ProtoReflect ¶
func (x *Property) ProtoReflect() protoreflect.Message
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) // Deprecated: Do not use. 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) ListBundles(ctx context.Context, in *ListBundlesRequest, opts ...grpc.CallOption) (Registry_ListBundlesClient, error) }
RegistryClient is the client API for Registry service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRegistryClient ¶
func NewRegistryClient(cc grpc.ClientConnInterface) RegistryClient
type RegistryServer ¶
type RegistryServer interface { ListPackages(*ListPackageRequest, Registry_ListPackagesServer) error GetPackage(context.Context, *GetPackageRequest) (*Package, error) GetBundle(context.Context, *GetBundleRequest) (*Bundle, error) // Deprecated: Do not use. 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) ListBundles(*ListBundlesRequest, Registry_ListBundlesServer) error // contains filtered or unexported methods }
RegistryServer is the server API for Registry service. All implementations must embed UnimplementedRegistryServer for forward compatibility
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_ListBundlesClient ¶
type Registry_ListBundlesClient interface { Recv() (*Bundle, error) grpc.ClientStream }
type Registry_ListBundlesServer ¶
type Registry_ListBundlesServer interface { Send(*Bundle) 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 }
type UnimplementedRegistryServer ¶
type UnimplementedRegistryServer struct { }
UnimplementedRegistryServer must be embedded to have forward compatible implementations.
func (UnimplementedRegistryServer) GetBundle ¶
func (UnimplementedRegistryServer) GetBundle(context.Context, *GetBundleRequest) (*Bundle, error)
func (UnimplementedRegistryServer) GetBundleForChannel ¶
func (UnimplementedRegistryServer) GetBundleForChannel(context.Context, *GetBundleInChannelRequest) (*Bundle, error)
func (UnimplementedRegistryServer) GetBundleThatReplaces ¶
func (UnimplementedRegistryServer) GetBundleThatReplaces(context.Context, *GetReplacementRequest) (*Bundle, error)
func (UnimplementedRegistryServer) GetChannelEntriesThatProvide ¶
func (UnimplementedRegistryServer) GetChannelEntriesThatProvide(*GetAllProvidersRequest, Registry_GetChannelEntriesThatProvideServer) error
func (UnimplementedRegistryServer) GetChannelEntriesThatReplace ¶
func (UnimplementedRegistryServer) GetChannelEntriesThatReplace(*GetAllReplacementsRequest, Registry_GetChannelEntriesThatReplaceServer) error
func (UnimplementedRegistryServer) GetDefaultBundleThatProvides ¶
func (UnimplementedRegistryServer) GetDefaultBundleThatProvides(context.Context, *GetDefaultProviderRequest) (*Bundle, error)
func (UnimplementedRegistryServer) GetLatestChannelEntriesThatProvide ¶
func (UnimplementedRegistryServer) GetLatestChannelEntriesThatProvide(*GetLatestProvidersRequest, Registry_GetLatestChannelEntriesThatProvideServer) error
func (UnimplementedRegistryServer) GetPackage ¶
func (UnimplementedRegistryServer) GetPackage(context.Context, *GetPackageRequest) (*Package, error)
func (UnimplementedRegistryServer) ListBundles ¶
func (UnimplementedRegistryServer) ListBundles(*ListBundlesRequest, Registry_ListBundlesServer) error
func (UnimplementedRegistryServer) ListPackages ¶
func (UnimplementedRegistryServer) ListPackages(*ListPackageRequest, Registry_ListPackagesServer) error
type UnsafeRegistryServer ¶
type UnsafeRegistryServer interface {
// contains filtered or unexported methods
}
UnsafeRegistryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegistryServer will result in compilation errors.