api

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BundleStringToObjectStrings

func BundleStringToObjectStrings(bundleString string) ([]string, error)

Bundle strings are appended json objects, we need to split them apart e.g. {"my":"obj"}{"csv":"data"}{"crd":"too"}

func RegisterRegistryServer

func RegisterRegistryServer(s *grpc.Server, 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func BundleStringToAPIBundle

func BundleStringToAPIBundle(bundleString string, entry *registry.ChannelEntry) (*Bundle, error)

func (*Bundle) Descriptor

func (*Bundle) Descriptor() ([]byte, []int)

func (*Bundle) GetChannelName

func (m *Bundle) GetChannelName() string

func (*Bundle) GetCsvJson

func (m *Bundle) GetCsvJson() string

func (*Bundle) GetCsvName

func (m *Bundle) GetCsvName() string

func (*Bundle) GetObject

func (m *Bundle) GetObject() []string

func (*Bundle) GetPackageName

func (m *Bundle) GetPackageName() string

func (*Bundle) ProtoMessage

func (*Bundle) ProtoMessage()

func (*Bundle) Reset

func (m *Bundle) Reset()

func (*Bundle) String

func (m *Bundle) String() string

func (*Bundle) XXX_DiscardUnknown

func (m *Bundle) XXX_DiscardUnknown()

func (*Bundle) XXX_Marshal

func (m *Bundle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bundle) XXX_Merge

func (dst *Bundle) XXX_Merge(src proto.Message)

func (*Bundle) XXX_Size

func (m *Bundle) XXX_Size() int

func (*Bundle) XXX_Unmarshal

func (m *Bundle) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func PackageChannelToAPIChannel

func PackageChannelToAPIChannel(channel *registry.PackageChannel) *Channel

func (*Channel) Descriptor

func (*Channel) Descriptor() ([]byte, []int)

func (*Channel) GetCsvName

func (m *Channel) GetCsvName() string

func (*Channel) GetName

func (m *Channel) GetName() string

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) Reset

func (m *Channel) Reset()

func (*Channel) String

func (m *Channel) String() string

func (*Channel) XXX_DiscardUnknown

func (m *Channel) XXX_DiscardUnknown()

func (*Channel) XXX_Marshal

func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Channel) XXX_Merge

func (dst *Channel) XXX_Merge(src proto.Message)

func (*Channel) XXX_Size

func (m *Channel) XXX_Size() int

func (*Channel) XXX_Unmarshal

func (m *Channel) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func ChannelEntryToAPIChannelEntry

func ChannelEntryToAPIChannelEntry(entry *registry.ChannelEntry) *ChannelEntry

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

func (*ChannelEntry) XXX_DiscardUnknown

func (m *ChannelEntry) XXX_DiscardUnknown()

func (*ChannelEntry) XXX_Marshal

func (m *ChannelEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelEntry) XXX_Merge

func (dst *ChannelEntry) XXX_Merge(src proto.Message)

func (*ChannelEntry) XXX_Size

func (m *ChannelEntry) XXX_Size() int

func (*ChannelEntry) XXX_Unmarshal

func (m *ChannelEntry) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GetAllProvidersRequest) XXX_DiscardUnknown

func (m *GetAllProvidersRequest) XXX_DiscardUnknown()

func (*GetAllProvidersRequest) XXX_Marshal

func (m *GetAllProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAllProvidersRequest) XXX_Merge

func (dst *GetAllProvidersRequest) XXX_Merge(src proto.Message)

func (*GetAllProvidersRequest) XXX_Size

func (m *GetAllProvidersRequest) XXX_Size() int

func (*GetAllProvidersRequest) XXX_Unmarshal

func (m *GetAllProvidersRequest) XXX_Unmarshal(b []byte) error

type GetAllReplacementsRequest

type GetAllReplacementsRequest struct {
	CsvName              string   `protobuf:"bytes,1,opt,name=csvName,proto3" json:"csvName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GetAllReplacementsRequest) XXX_DiscardUnknown

func (m *GetAllReplacementsRequest) XXX_DiscardUnknown()

func (*GetAllReplacementsRequest) XXX_Marshal

func (m *GetAllReplacementsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAllReplacementsRequest) XXX_Merge

func (dst *GetAllReplacementsRequest) XXX_Merge(src proto.Message)

func (*GetAllReplacementsRequest) XXX_Size

func (m *GetAllReplacementsRequest) XXX_Size() int

func (*GetAllReplacementsRequest) XXX_Unmarshal

func (m *GetAllReplacementsRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GetBundleInChannelRequest) XXX_DiscardUnknown

func (m *GetBundleInChannelRequest) XXX_DiscardUnknown()

func (*GetBundleInChannelRequest) XXX_Marshal

func (m *GetBundleInChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetBundleInChannelRequest) XXX_Merge

func (dst *GetBundleInChannelRequest) XXX_Merge(src proto.Message)

func (*GetBundleInChannelRequest) XXX_Size

func (m *GetBundleInChannelRequest) XXX_Size() int

func (*GetBundleInChannelRequest) XXX_Unmarshal

func (m *GetBundleInChannelRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GetBundleRequest) XXX_DiscardUnknown

func (m *GetBundleRequest) XXX_DiscardUnknown()

func (*GetBundleRequest) XXX_Marshal

func (m *GetBundleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetBundleRequest) XXX_Merge

func (dst *GetBundleRequest) XXX_Merge(src proto.Message)

func (*GetBundleRequest) XXX_Size

func (m *GetBundleRequest) XXX_Size() int

func (*GetBundleRequest) XXX_Unmarshal

func (m *GetBundleRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GetDefaultProviderRequest) XXX_DiscardUnknown

func (m *GetDefaultProviderRequest) XXX_DiscardUnknown()

func (*GetDefaultProviderRequest) XXX_Marshal

func (m *GetDefaultProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDefaultProviderRequest) XXX_Merge

func (dst *GetDefaultProviderRequest) XXX_Merge(src proto.Message)

func (*GetDefaultProviderRequest) XXX_Size

func (m *GetDefaultProviderRequest) XXX_Size() int

func (*GetDefaultProviderRequest) XXX_Unmarshal

func (m *GetDefaultProviderRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GetLatestProvidersRequest) XXX_DiscardUnknown

func (m *GetLatestProvidersRequest) XXX_DiscardUnknown()

func (*GetLatestProvidersRequest) XXX_Marshal

func (m *GetLatestProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetLatestProvidersRequest) XXX_Merge

func (dst *GetLatestProvidersRequest) XXX_Merge(src proto.Message)

func (*GetLatestProvidersRequest) XXX_Size

func (m *GetLatestProvidersRequest) XXX_Size() int

func (*GetLatestProvidersRequest) XXX_Unmarshal

func (m *GetLatestProvidersRequest) XXX_Unmarshal(b []byte) error

type GetPackageRequest

type GetPackageRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GetPackageRequest) XXX_DiscardUnknown

func (m *GetPackageRequest) XXX_DiscardUnknown()

func (*GetPackageRequest) XXX_Marshal

func (m *GetPackageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPackageRequest) XXX_Merge

func (dst *GetPackageRequest) XXX_Merge(src proto.Message)

func (*GetPackageRequest) XXX_Size

func (m *GetPackageRequest) XXX_Size() int

func (*GetPackageRequest) XXX_Unmarshal

func (m *GetPackageRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GetReplacementRequest) XXX_DiscardUnknown

func (m *GetReplacementRequest) XXX_DiscardUnknown()

func (*GetReplacementRequest) XXX_Marshal

func (m *GetReplacementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetReplacementRequest) XXX_Merge

func (dst *GetReplacementRequest) XXX_Merge(src proto.Message)

func (*GetReplacementRequest) XXX_Size

func (m *GetReplacementRequest) XXX_Size() int

func (*GetReplacementRequest) XXX_Unmarshal

func (m *GetReplacementRequest) XXX_Unmarshal(b []byte) error

type ListPackageRequest

type ListPackageRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*ListPackageRequest) XXX_DiscardUnknown

func (m *ListPackageRequest) XXX_DiscardUnknown()

func (*ListPackageRequest) XXX_Marshal

func (m *ListPackageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPackageRequest) XXX_Merge

func (dst *ListPackageRequest) XXX_Merge(src proto.Message)

func (*ListPackageRequest) XXX_Size

func (m *ListPackageRequest) XXX_Size() int

func (*ListPackageRequest) XXX_Unmarshal

func (m *ListPackageRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func PackageManifestToAPIPackage

func PackageManifestToAPIPackage(manifest *registry.PackageManifest) *Package

func (*Package) Descriptor

func (*Package) Descriptor() ([]byte, []int)

func (*Package) GetChannels

func (m *Package) GetChannels() []*Channel

func (*Package) GetDefaultChannelName

func (m *Package) GetDefaultChannelName() string

func (*Package) GetName

func (m *Package) GetName() string

func (*Package) ProtoMessage

func (*Package) ProtoMessage()

func (*Package) Reset

func (m *Package) Reset()

func (*Package) String

func (m *Package) String() string

func (*Package) XXX_DiscardUnknown

func (m *Package) XXX_DiscardUnknown()

func (*Package) XXX_Marshal

func (m *Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Package) XXX_Merge

func (dst *Package) XXX_Merge(src proto.Message)

func (*Package) XXX_Size

func (m *Package) XXX_Size() int

func (*Package) XXX_Unmarshal

func (m *Package) XXX_Unmarshal(b []byte) error

type PackageName

type PackageName struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*PackageName) XXX_DiscardUnknown

func (m *PackageName) XXX_DiscardUnknown()

func (*PackageName) XXX_Marshal

func (m *PackageName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackageName) XXX_Merge

func (dst *PackageName) XXX_Merge(src proto.Message)

func (*PackageName) XXX_Size

func (m *PackageName) XXX_Size() int

func (*PackageName) XXX_Unmarshal

func (m *PackageName) XXX_Unmarshal(b []byte) error

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)
}

RegistryClient is the client API for Registry service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRegistryClient

func NewRegistryClient(cc *grpc.ClientConn) RegistryClient

type RegistryServer

RegistryServer is the server API for Registry service.

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

Jump to

Keyboard shortcuts

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