Documentation ¶
Index ¶
- Variables
- func MustMarshallString(value string, t *testing.T) types.AttributeValue
- func RegisterVersionManagerServer(s grpc.ServiceRegistrar, srv VersionManagerServer)
- type GPGPublicKey
- func (*GPGPublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *GPGPublicKey) GetAsciiArmor() string
- func (x *GPGPublicKey) GetKeyId() string
- func (x *GPGPublicKey) GetSource() string
- func (x *GPGPublicKey) GetSourceUrl() string
- func (x *GPGPublicKey) GetTrustSignature() string
- func (*GPGPublicKey) ProtoMessage()
- func (x *GPGPublicKey) ProtoReflect() protoreflect.Message
- func (x *GPGPublicKey) Reset()
- func (x *GPGPublicKey) String() string
- type GetProviderResponse
- func (*GetProviderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProviderResponse) GetProvider() *ListProviderItem
- func (*GetProviderResponse) ProtoMessage()
- func (x *GetProviderResponse) ProtoReflect() protoreflect.Message
- func (x *GetProviderResponse) Reset()
- func (x *GetProviderResponse) String() string
- type ListProviderItem
- func (*ListProviderItem) Descriptor() ([]byte, []int)deprecated
- func (x *ListProviderItem) GetDescription() string
- func (x *ListProviderItem) GetMaturity() provider.Maturity
- func (x *ListProviderItem) GetName() string
- func (x *ListProviderItem) GetOrganization() string
- func (x *ListProviderItem) GetSourceRepoUrl() string
- func (*ListProviderItem) ProtoMessage()
- func (x *ListProviderItem) ProtoReflect() protoreflect.Message
- func (x *ListProviderItem) Reset()
- func (x *ListProviderItem) String() string
- type ListProvidersRequest
- type ListProvidersResponse
- func (*ListProvidersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProvidersResponse) GetProviders() []*ListProviderItem
- func (*ListProvidersResponse) ProtoMessage()
- func (x *ListProvidersResponse) ProtoReflect() protoreflect.Message
- func (x *ListProvidersResponse) Reset()
- func (x *ListProvidersResponse) String() string
- type Platform
- type PlatformMetadataResponse
- func (*PlatformMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformMetadataResponse) GetArch() string
- func (x *PlatformMetadataResponse) GetDownloadUrl() string
- func (x *PlatformMetadataResponse) GetFilename() string
- func (x *PlatformMetadataResponse) GetOs() string
- func (x *PlatformMetadataResponse) GetProtocols() []string
- func (x *PlatformMetadataResponse) GetShasum() string
- func (x *PlatformMetadataResponse) GetShasumsSignatureUrl() string
- func (x *PlatformMetadataResponse) GetShasumsUrl() string
- func (x *PlatformMetadataResponse) GetSigningKeys() *SigningKeys
- func (*PlatformMetadataResponse) ProtoMessage()
- func (x *PlatformMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *PlatformMetadataResponse) Reset()
- func (x *PlatformMetadataResponse) String() string
- type ProviderName
- type ProviderVersionsResponse
- func (*ProviderVersionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderVersionsResponse) GetVersions() []*VersionItem
- func (*ProviderVersionsResponse) ProtoMessage()
- func (x *ProviderVersionsResponse) ProtoReflect() protoreflect.Message
- func (x *ProviderVersionsResponse) Reset()
- func (x *ProviderVersionsResponse) String() string
- type SigningKeys
- type TerminateVersionRequest
- func (*TerminateVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TerminateVersionRequest) GetProvider() *provider.Provider
- func (*TerminateVersionRequest) ProtoMessage()
- func (x *TerminateVersionRequest) ProtoReflect() protoreflect.Message
- func (x *TerminateVersionRequest) Reset()
- func (x *TerminateVersionRequest) String() string
- type UnimplementedVersionManagerServer
- func (UnimplementedVersionManagerServer) AbortProviderVersion(context.Context, *TerminateVersionRequest) (*provider.Response, error)
- func (UnimplementedVersionManagerServer) GetProvider(context.Context, *ProviderName) (*GetProviderResponse, error)
- func (UnimplementedVersionManagerServer) GetVersionData(context.Context, *VersionDataRequest) (*PlatformMetadataResponse, error)
- func (UnimplementedVersionManagerServer) ListProviderVersions(context.Context, *ProviderName) (*ProviderVersionsResponse, error)
- func (UnimplementedVersionManagerServer) ListProviders(context.Context, *ListProvidersRequest) (*ListProvidersResponse, error)
- func (UnimplementedVersionManagerServer) PublishVersion(context.Context, *TerminateVersionRequest) (*provider.Response, error)
- func (UnimplementedVersionManagerServer) Register(context.Context, *provider.RegisterProviderRequest) (*provider.Response, error)
- type UnsafeVersionManagerServer
- type VersionDataRequest
- func (*VersionDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VersionDataRequest) GetArch() string
- func (x *VersionDataRequest) GetName() string
- func (x *VersionDataRequest) GetOs() string
- func (x *VersionDataRequest) GetVersion() string
- func (*VersionDataRequest) ProtoMessage()
- func (x *VersionDataRequest) ProtoReflect() protoreflect.Message
- func (x *VersionDataRequest) Reset()
- func (x *VersionDataRequest) String() string
- type VersionItem
- func (*VersionItem) Descriptor() ([]byte, []int)deprecated
- func (x *VersionItem) GetPlatforms() []*Platform
- func (x *VersionItem) GetProtocols() []string
- func (x *VersionItem) GetVersion() string
- func (*VersionItem) ProtoMessage()
- func (x *VersionItem) ProtoReflect() protoreflect.Message
- func (x *VersionItem) Reset()
- func (x *VersionItem) String() string
- type VersionManagerClient
- type VersionManagerServer
Constants ¶
This section is empty.
Variables ¶
var File_pb_terrarium_provider_services_version_manager_proto protoreflect.FileDescriptor
var VersionManager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "terrarium.provider.services.VersionManager", HandlerType: (*VersionManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _VersionManager_Register_Handler, }, { MethodName: "ListProviderVersions", Handler: _VersionManager_ListProviderVersions_Handler, }, { MethodName: "GetVersionData", Handler: _VersionManager_GetVersionData_Handler, }, { MethodName: "ListProviders", Handler: _VersionManager_ListProviders_Handler, }, { MethodName: "GetProvider", Handler: _VersionManager_GetProvider_Handler, }, { MethodName: "PublishVersion", Handler: _VersionManager_PublishVersion_Handler, }, { MethodName: "AbortProviderVersion", Handler: _VersionManager_AbortProviderVersion_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pb/terrarium/provider/services/version_manager.proto", }
VersionManager_ServiceDesc is the grpc.ServiceDesc for VersionManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func MustMarshallString ¶ added in v0.0.78
func MustMarshallString(value string, t *testing.T) types.AttributeValue
func RegisterVersionManagerServer ¶ added in v0.0.78
func RegisterVersionManagerServer(s grpc.ServiceRegistrar, srv VersionManagerServer)
Types ¶
type GPGPublicKey ¶
type GPGPublicKey struct { KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` AsciiArmor string `protobuf:"bytes,2,opt,name=ascii_armor,json=asciiArmor,proto3" json:"ascii_armor,omitempty"` TrustSignature string `protobuf:"bytes,3,opt,name=trust_signature,json=trustSignature,proto3" json:"trust_signature,omitempty"` Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` SourceUrl string `protobuf:"bytes,5,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"` // contains filtered or unexported fields }
func (*GPGPublicKey) Descriptor
deprecated
added in
v0.0.78
func (*GPGPublicKey) Descriptor() ([]byte, []int)
Deprecated: Use GPGPublicKey.ProtoReflect.Descriptor instead.
func (*GPGPublicKey) GetAsciiArmor ¶ added in v0.0.78
func (x *GPGPublicKey) GetAsciiArmor() string
func (*GPGPublicKey) GetKeyId ¶ added in v0.0.78
func (x *GPGPublicKey) GetKeyId() string
func (*GPGPublicKey) GetSource ¶ added in v0.0.78
func (x *GPGPublicKey) GetSource() string
func (*GPGPublicKey) GetSourceUrl ¶ added in v0.0.78
func (x *GPGPublicKey) GetSourceUrl() string
func (*GPGPublicKey) GetTrustSignature ¶ added in v0.0.78
func (x *GPGPublicKey) GetTrustSignature() string
func (*GPGPublicKey) ProtoMessage ¶ added in v0.0.78
func (*GPGPublicKey) ProtoMessage()
func (*GPGPublicKey) ProtoReflect ¶ added in v0.0.78
func (x *GPGPublicKey) ProtoReflect() protoreflect.Message
func (*GPGPublicKey) Reset ¶ added in v0.0.78
func (x *GPGPublicKey) Reset()
func (*GPGPublicKey) String ¶ added in v0.0.78
func (x *GPGPublicKey) String() string
type GetProviderResponse ¶ added in v0.0.78
type GetProviderResponse struct { Provider *ListProviderItem `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*GetProviderResponse) Descriptor
deprecated
added in
v0.0.78
func (*GetProviderResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProviderResponse.ProtoReflect.Descriptor instead.
func (*GetProviderResponse) GetProvider ¶ added in v0.0.78
func (x *GetProviderResponse) GetProvider() *ListProviderItem
func (*GetProviderResponse) ProtoMessage ¶ added in v0.0.78
func (*GetProviderResponse) ProtoMessage()
func (*GetProviderResponse) ProtoReflect ¶ added in v0.0.78
func (x *GetProviderResponse) ProtoReflect() protoreflect.Message
func (*GetProviderResponse) Reset ¶ added in v0.0.78
func (x *GetProviderResponse) Reset()
func (*GetProviderResponse) String ¶ added in v0.0.78
func (x *GetProviderResponse) String() string
type ListProviderItem ¶ added in v0.0.77
type ListProviderItem struct { Organization string `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` SourceRepoUrl string `protobuf:"bytes,4,opt,name=source_repo_url,json=sourceRepoUrl,proto3" json:"source_repo_url,omitempty"` Maturity provider.Maturity `protobuf:"varint,5,opt,name=maturity,proto3,enum=terrarium.provider.Maturity" json:"maturity,omitempty"` // contains filtered or unexported fields }
func (*ListProviderItem) Descriptor
deprecated
added in
v0.0.78
func (*ListProviderItem) Descriptor() ([]byte, []int)
Deprecated: Use ListProviderItem.ProtoReflect.Descriptor instead.
func (*ListProviderItem) GetDescription ¶ added in v0.0.78
func (x *ListProviderItem) GetDescription() string
func (*ListProviderItem) GetMaturity ¶ added in v0.0.78
func (x *ListProviderItem) GetMaturity() provider.Maturity
func (*ListProviderItem) GetName ¶ added in v0.0.78
func (x *ListProviderItem) GetName() string
func (*ListProviderItem) GetOrganization ¶ added in v0.0.78
func (x *ListProviderItem) GetOrganization() string
func (*ListProviderItem) GetSourceRepoUrl ¶ added in v0.0.78
func (x *ListProviderItem) GetSourceRepoUrl() string
func (*ListProviderItem) ProtoMessage ¶ added in v0.0.78
func (*ListProviderItem) ProtoMessage()
func (*ListProviderItem) ProtoReflect ¶ added in v0.0.78
func (x *ListProviderItem) ProtoReflect() protoreflect.Message
func (*ListProviderItem) Reset ¶ added in v0.0.78
func (x *ListProviderItem) Reset()
func (*ListProviderItem) String ¶ added in v0.0.78
func (x *ListProviderItem) String() string
type ListProvidersRequest ¶ added in v0.0.78
type ListProvidersRequest struct {
// contains filtered or unexported fields
}
func (*ListProvidersRequest) Descriptor
deprecated
added in
v0.0.78
func (*ListProvidersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProvidersRequest.ProtoReflect.Descriptor instead.
func (*ListProvidersRequest) ProtoMessage ¶ added in v0.0.78
func (*ListProvidersRequest) ProtoMessage()
func (*ListProvidersRequest) ProtoReflect ¶ added in v0.0.78
func (x *ListProvidersRequest) ProtoReflect() protoreflect.Message
func (*ListProvidersRequest) Reset ¶ added in v0.0.78
func (x *ListProvidersRequest) Reset()
func (*ListProvidersRequest) String ¶ added in v0.0.78
func (x *ListProvidersRequest) String() string
type ListProvidersResponse ¶ added in v0.0.78
type ListProvidersResponse struct { Providers []*ListProviderItem `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"` // contains filtered or unexported fields }
func (*ListProvidersResponse) Descriptor
deprecated
added in
v0.0.78
func (*ListProvidersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProvidersResponse.ProtoReflect.Descriptor instead.
func (*ListProvidersResponse) GetProviders ¶ added in v0.0.78
func (x *ListProvidersResponse) GetProviders() []*ListProviderItem
func (*ListProvidersResponse) ProtoMessage ¶ added in v0.0.78
func (*ListProvidersResponse) ProtoMessage()
func (*ListProvidersResponse) ProtoReflect ¶ added in v0.0.78
func (x *ListProvidersResponse) ProtoReflect() protoreflect.Message
func (*ListProvidersResponse) Reset ¶ added in v0.0.78
func (x *ListProvidersResponse) Reset()
func (*ListProvidersResponse) String ¶ added in v0.0.78
func (x *ListProvidersResponse) String() string
type Platform ¶
type Platform struct { Os string `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"` Arch string `protobuf:"bytes,2,opt,name=arch,proto3" json:"arch,omitempty"` // contains filtered or unexported fields }
func (*Platform) Descriptor
deprecated
added in
v0.0.78
func (*Platform) ProtoMessage ¶ added in v0.0.78
func (*Platform) ProtoMessage()
func (*Platform) ProtoReflect ¶ added in v0.0.78
func (x *Platform) ProtoReflect() protoreflect.Message
type PlatformMetadataResponse ¶
type PlatformMetadataResponse struct { Protocols []string `protobuf:"bytes,1,rep,name=protocols,proto3" json:"protocols,omitempty"` Os string `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"` Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"` Filename string `protobuf:"bytes,4,opt,name=filename,proto3" json:"filename,omitempty"` DownloadUrl string `protobuf:"bytes,5,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"` ShasumsUrl string `protobuf:"bytes,6,opt,name=shasums_url,json=shasumsUrl,proto3" json:"shasums_url,omitempty"` ShasumsSignatureUrl string `protobuf:"bytes,7,opt,name=shasums_signature_url,json=shasumsSignatureUrl,proto3" json:"shasums_signature_url,omitempty"` Shasum string `protobuf:"bytes,8,opt,name=shasum,proto3" json:"shasum,omitempty"` SigningKeys *SigningKeys `protobuf:"bytes,9,opt,name=signing_keys,json=signingKeys,proto3" json:"signing_keys,omitempty"` // contains filtered or unexported fields }
func (*PlatformMetadataResponse) Descriptor
deprecated
added in
v0.0.78
func (*PlatformMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use PlatformMetadataResponse.ProtoReflect.Descriptor instead.
func (*PlatformMetadataResponse) GetArch ¶ added in v0.0.78
func (x *PlatformMetadataResponse) GetArch() string
func (*PlatformMetadataResponse) GetDownloadUrl ¶ added in v0.0.78
func (x *PlatformMetadataResponse) GetDownloadUrl() string
func (*PlatformMetadataResponse) GetFilename ¶ added in v0.0.78
func (x *PlatformMetadataResponse) GetFilename() string
func (*PlatformMetadataResponse) GetOs ¶ added in v0.0.78
func (x *PlatformMetadataResponse) GetOs() string
func (*PlatformMetadataResponse) GetProtocols ¶ added in v0.0.78
func (x *PlatformMetadataResponse) GetProtocols() []string
func (*PlatformMetadataResponse) GetShasum ¶ added in v0.0.78
func (x *PlatformMetadataResponse) GetShasum() string
func (*PlatformMetadataResponse) GetShasumsSignatureUrl ¶ added in v0.0.78
func (x *PlatformMetadataResponse) GetShasumsSignatureUrl() string
func (*PlatformMetadataResponse) GetShasumsUrl ¶ added in v0.0.78
func (x *PlatformMetadataResponse) GetShasumsUrl() string
func (*PlatformMetadataResponse) GetSigningKeys ¶ added in v0.0.78
func (x *PlatformMetadataResponse) GetSigningKeys() *SigningKeys
func (*PlatformMetadataResponse) ProtoMessage ¶ added in v0.0.78
func (*PlatformMetadataResponse) ProtoMessage()
func (*PlatformMetadataResponse) ProtoReflect ¶ added in v0.0.78
func (x *PlatformMetadataResponse) ProtoReflect() protoreflect.Message
func (*PlatformMetadataResponse) Reset ¶ added in v0.0.78
func (x *PlatformMetadataResponse) Reset()
func (*PlatformMetadataResponse) String ¶ added in v0.0.78
func (x *PlatformMetadataResponse) String() string
type ProviderName ¶ added in v0.0.78
type ProviderName struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*ProviderName) Descriptor
deprecated
added in
v0.0.78
func (*ProviderName) Descriptor() ([]byte, []int)
Deprecated: Use ProviderName.ProtoReflect.Descriptor instead.
func (*ProviderName) GetProvider ¶ added in v0.0.78
func (x *ProviderName) GetProvider() string
func (*ProviderName) ProtoMessage ¶ added in v0.0.78
func (*ProviderName) ProtoMessage()
func (*ProviderName) ProtoReflect ¶ added in v0.0.78
func (x *ProviderName) ProtoReflect() protoreflect.Message
func (*ProviderName) Reset ¶ added in v0.0.78
func (x *ProviderName) Reset()
func (*ProviderName) String ¶ added in v0.0.78
func (x *ProviderName) String() string
type ProviderVersionsResponse ¶
type ProviderVersionsResponse struct { Versions []*VersionItem `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` // contains filtered or unexported fields }
func (*ProviderVersionsResponse) Descriptor
deprecated
added in
v0.0.78
func (*ProviderVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProviderVersionsResponse.ProtoReflect.Descriptor instead.
func (*ProviderVersionsResponse) GetVersions ¶ added in v0.0.78
func (x *ProviderVersionsResponse) GetVersions() []*VersionItem
func (*ProviderVersionsResponse) ProtoMessage ¶ added in v0.0.78
func (*ProviderVersionsResponse) ProtoMessage()
func (*ProviderVersionsResponse) ProtoReflect ¶ added in v0.0.78
func (x *ProviderVersionsResponse) ProtoReflect() protoreflect.Message
func (*ProviderVersionsResponse) Reset ¶ added in v0.0.78
func (x *ProviderVersionsResponse) Reset()
func (*ProviderVersionsResponse) String ¶ added in v0.0.78
func (x *ProviderVersionsResponse) String() string
type SigningKeys ¶
type SigningKeys struct { GpgPublicKeys []*GPGPublicKey `protobuf:"bytes,1,rep,name=gpg_public_keys,json=gpgPublicKeys,proto3" json:"gpg_public_keys,omitempty"` // contains filtered or unexported fields }
func (*SigningKeys) Descriptor
deprecated
added in
v0.0.78
func (*SigningKeys) Descriptor() ([]byte, []int)
Deprecated: Use SigningKeys.ProtoReflect.Descriptor instead.
func (*SigningKeys) GetGpgPublicKeys ¶ added in v0.0.78
func (x *SigningKeys) GetGpgPublicKeys() []*GPGPublicKey
func (*SigningKeys) ProtoMessage ¶ added in v0.0.78
func (*SigningKeys) ProtoMessage()
func (*SigningKeys) ProtoReflect ¶ added in v0.0.78
func (x *SigningKeys) ProtoReflect() protoreflect.Message
func (*SigningKeys) Reset ¶ added in v0.0.78
func (x *SigningKeys) Reset()
func (*SigningKeys) String ¶ added in v0.0.78
func (x *SigningKeys) String() string
type TerminateVersionRequest ¶ added in v0.0.78
type TerminateVersionRequest struct { Provider *provider.Provider `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*TerminateVersionRequest) Descriptor
deprecated
added in
v0.0.78
func (*TerminateVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use TerminateVersionRequest.ProtoReflect.Descriptor instead.
func (*TerminateVersionRequest) GetProvider ¶ added in v0.0.78
func (x *TerminateVersionRequest) GetProvider() *provider.Provider
func (*TerminateVersionRequest) ProtoMessage ¶ added in v0.0.78
func (*TerminateVersionRequest) ProtoMessage()
func (*TerminateVersionRequest) ProtoReflect ¶ added in v0.0.78
func (x *TerminateVersionRequest) ProtoReflect() protoreflect.Message
func (*TerminateVersionRequest) Reset ¶ added in v0.0.78
func (x *TerminateVersionRequest) Reset()
func (*TerminateVersionRequest) String ¶ added in v0.0.78
func (x *TerminateVersionRequest) String() string
type UnimplementedVersionManagerServer ¶ added in v0.0.78
type UnimplementedVersionManagerServer struct { }
UnimplementedVersionManagerServer must be embedded to have forward compatible implementations.
func (UnimplementedVersionManagerServer) AbortProviderVersion ¶ added in v0.0.78
func (UnimplementedVersionManagerServer) AbortProviderVersion(context.Context, *TerminateVersionRequest) (*provider.Response, error)
func (UnimplementedVersionManagerServer) GetProvider ¶ added in v0.0.78
func (UnimplementedVersionManagerServer) GetProvider(context.Context, *ProviderName) (*GetProviderResponse, error)
func (UnimplementedVersionManagerServer) GetVersionData ¶ added in v0.0.78
func (UnimplementedVersionManagerServer) GetVersionData(context.Context, *VersionDataRequest) (*PlatformMetadataResponse, error)
func (UnimplementedVersionManagerServer) ListProviderVersions ¶ added in v0.0.78
func (UnimplementedVersionManagerServer) ListProviderVersions(context.Context, *ProviderName) (*ProviderVersionsResponse, error)
func (UnimplementedVersionManagerServer) ListProviders ¶ added in v0.0.78
func (UnimplementedVersionManagerServer) ListProviders(context.Context, *ListProvidersRequest) (*ListProvidersResponse, error)
func (UnimplementedVersionManagerServer) PublishVersion ¶ added in v0.0.78
func (UnimplementedVersionManagerServer) PublishVersion(context.Context, *TerminateVersionRequest) (*provider.Response, error)
func (UnimplementedVersionManagerServer) Register ¶ added in v0.0.78
func (UnimplementedVersionManagerServer) Register(context.Context, *provider.RegisterProviderRequest) (*provider.Response, error)
type UnsafeVersionManagerServer ¶ added in v0.0.78
type UnsafeVersionManagerServer interface {
// contains filtered or unexported methods
}
UnsafeVersionManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VersionManagerServer will result in compilation errors.
type VersionDataRequest ¶ added in v0.0.78
type VersionDataRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Os string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"` Arch string `protobuf:"bytes,4,opt,name=arch,proto3" json:"arch,omitempty"` // contains filtered or unexported fields }
func (*VersionDataRequest) Descriptor
deprecated
added in
v0.0.78
func (*VersionDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use VersionDataRequest.ProtoReflect.Descriptor instead.
func (*VersionDataRequest) GetArch ¶ added in v0.0.78
func (x *VersionDataRequest) GetArch() string
func (*VersionDataRequest) GetName ¶ added in v0.0.78
func (x *VersionDataRequest) GetName() string
func (*VersionDataRequest) GetOs ¶ added in v0.0.78
func (x *VersionDataRequest) GetOs() string
func (*VersionDataRequest) GetVersion ¶ added in v0.0.78
func (x *VersionDataRequest) GetVersion() string
func (*VersionDataRequest) ProtoMessage ¶ added in v0.0.78
func (*VersionDataRequest) ProtoMessage()
func (*VersionDataRequest) ProtoReflect ¶ added in v0.0.78
func (x *VersionDataRequest) ProtoReflect() protoreflect.Message
func (*VersionDataRequest) Reset ¶ added in v0.0.78
func (x *VersionDataRequest) Reset()
func (*VersionDataRequest) String ¶ added in v0.0.78
func (x *VersionDataRequest) String() string
type VersionItem ¶
type VersionItem struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Protocols []string `protobuf:"bytes,2,rep,name=protocols,proto3" json:"protocols,omitempty"` Platforms []*Platform `protobuf:"bytes,3,rep,name=platforms,proto3" json:"platforms,omitempty"` // contains filtered or unexported fields }
func (*VersionItem) Descriptor
deprecated
added in
v0.0.78
func (*VersionItem) Descriptor() ([]byte, []int)
Deprecated: Use VersionItem.ProtoReflect.Descriptor instead.
func (*VersionItem) GetPlatforms ¶ added in v0.0.78
func (x *VersionItem) GetPlatforms() []*Platform
func (*VersionItem) GetProtocols ¶ added in v0.0.78
func (x *VersionItem) GetProtocols() []string
func (*VersionItem) GetVersion ¶ added in v0.0.78
func (x *VersionItem) GetVersion() string
func (*VersionItem) ProtoMessage ¶ added in v0.0.78
func (*VersionItem) ProtoMessage()
func (*VersionItem) ProtoReflect ¶ added in v0.0.78
func (x *VersionItem) ProtoReflect() protoreflect.Message
func (*VersionItem) Reset ¶ added in v0.0.78
func (x *VersionItem) Reset()
func (*VersionItem) String ¶ added in v0.0.78
func (x *VersionItem) String() string
type VersionManagerClient ¶ added in v0.0.78
type VersionManagerClient interface { Register(ctx context.Context, in *provider.RegisterProviderRequest, opts ...grpc.CallOption) (*provider.Response, error) ListProviderVersions(ctx context.Context, in *ProviderName, opts ...grpc.CallOption) (*ProviderVersionsResponse, error) GetVersionData(ctx context.Context, in *VersionDataRequest, opts ...grpc.CallOption) (*PlatformMetadataResponse, error) ListProviders(ctx context.Context, in *ListProvidersRequest, opts ...grpc.CallOption) (*ListProvidersResponse, error) GetProvider(ctx context.Context, in *ProviderName, opts ...grpc.CallOption) (*GetProviderResponse, error) PublishVersion(ctx context.Context, in *TerminateVersionRequest, opts ...grpc.CallOption) (*provider.Response, error) AbortProviderVersion(ctx context.Context, in *TerminateVersionRequest, opts ...grpc.CallOption) (*provider.Response, error) }
VersionManagerClient is the client API for VersionManager 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 NewVersionManagerClient ¶ added in v0.0.78
func NewVersionManagerClient(cc grpc.ClientConnInterface) VersionManagerClient
type VersionManagerServer ¶ added in v0.0.78
type VersionManagerServer interface { Register(context.Context, *provider.RegisterProviderRequest) (*provider.Response, error) ListProviderVersions(context.Context, *ProviderName) (*ProviderVersionsResponse, error) GetVersionData(context.Context, *VersionDataRequest) (*PlatformMetadataResponse, error) ListProviders(context.Context, *ListProvidersRequest) (*ListProvidersResponse, error) GetProvider(context.Context, *ProviderName) (*GetProviderResponse, error) PublishVersion(context.Context, *TerminateVersionRequest) (*provider.Response, error) AbortProviderVersion(context.Context, *TerminateVersionRequest) (*provider.Response, error) // contains filtered or unexported methods }
VersionManagerServer is the server API for VersionManager service. All implementations must embed UnimplementedVersionManagerServer for forward compatibility