services

package
v0.0.79-test-3259.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pb_terrarium_provider_services_storage_proto protoreflect.FileDescriptor
View Source
var File_pb_terrarium_provider_services_version_manager_proto protoreflect.FileDescriptor
View Source
var Storage_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "terrarium.provider.services.Storage",
	HandlerType: (*StorageServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "DownloadProviderSourceZip",
			Handler:       _Storage_DownloadProviderSourceZip_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DownloadShasum",
			Handler:       _Storage_DownloadShasum_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DownloadShasumSignature",
			Handler:       _Storage_DownloadShasumSignature_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "pb/terrarium/provider/services/storage.proto",
}

Storage_ServiceDesc is the grpc.ServiceDesc for Storage service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
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 RegisterStorageServer added in v0.0.79

func RegisterStorageServer(s grpc.ServiceRegistrar, srv StorageServer)

func RegisterVersionManagerServer added in v0.0.78

func RegisterVersionManagerServer(s grpc.ServiceRegistrar, srv VersionManagerServer)

Types

type DownloadShasumRequest added in v0.0.79

type DownloadShasumRequest struct {
	Provider *provider.Provider `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadShasumRequest) Descriptor deprecated added in v0.0.79

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

Deprecated: Use DownloadShasumRequest.ProtoReflect.Descriptor instead.

func (*DownloadShasumRequest) GetProvider added in v0.0.79

func (x *DownloadShasumRequest) GetProvider() *provider.Provider

func (*DownloadShasumRequest) ProtoMessage added in v0.0.79

func (*DownloadShasumRequest) ProtoMessage()

func (*DownloadShasumRequest) ProtoReflect added in v0.0.79

func (x *DownloadShasumRequest) ProtoReflect() protoreflect.Message

func (*DownloadShasumRequest) Reset added in v0.0.79

func (x *DownloadShasumRequest) Reset()

func (*DownloadShasumRequest) String added in v0.0.79

func (x *DownloadShasumRequest) String() string

type DownloadShasumResponse added in v0.0.79

type DownloadShasumResponse struct {
	ShasumDataChunk []byte `protobuf:"bytes,1,opt,name=shasum_data_chunk,json=shasumDataChunk,proto3" json:"shasum_data_chunk,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadShasumResponse) Descriptor deprecated added in v0.0.79

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

Deprecated: Use DownloadShasumResponse.ProtoReflect.Descriptor instead.

func (*DownloadShasumResponse) GetShasumDataChunk added in v0.0.79

func (x *DownloadShasumResponse) GetShasumDataChunk() []byte

func (*DownloadShasumResponse) ProtoMessage added in v0.0.79

func (*DownloadShasumResponse) ProtoMessage()

func (*DownloadShasumResponse) ProtoReflect added in v0.0.79

func (x *DownloadShasumResponse) ProtoReflect() protoreflect.Message

func (*DownloadShasumResponse) Reset added in v0.0.79

func (x *DownloadShasumResponse) Reset()

func (*DownloadShasumResponse) String added in v0.0.79

func (x *DownloadShasumResponse) String() string

type DownloadSourceZipRequest added in v0.0.79

type DownloadSourceZipRequest struct {
	Provider *ProviderRequest `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadSourceZipRequest) Descriptor deprecated added in v0.0.79

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

Deprecated: Use DownloadSourceZipRequest.ProtoReflect.Descriptor instead.

func (*DownloadSourceZipRequest) GetProvider added in v0.0.79

func (x *DownloadSourceZipRequest) GetProvider() *ProviderRequest

func (*DownloadSourceZipRequest) ProtoMessage added in v0.0.79

func (*DownloadSourceZipRequest) ProtoMessage()

func (*DownloadSourceZipRequest) ProtoReflect added in v0.0.79

func (x *DownloadSourceZipRequest) ProtoReflect() protoreflect.Message

func (*DownloadSourceZipRequest) Reset added in v0.0.79

func (x *DownloadSourceZipRequest) Reset()

func (*DownloadSourceZipRequest) String added in v0.0.79

func (x *DownloadSourceZipRequest) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Platform.ProtoReflect.Descriptor instead.

func (*Platform) GetArch added in v0.0.78

func (x *Platform) GetArch() string

func (*Platform) GetOs added in v0.0.78

func (x *Platform) GetOs() string

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

func (*Platform) Reset added in v0.0.78

func (x *Platform) Reset()

func (*Platform) String added in v0.0.78

func (x *Platform) String() string

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 ProviderRequest added in v0.0.79

type ProviderRequest 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 (*ProviderRequest) Descriptor deprecated added in v0.0.79

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

Deprecated: Use ProviderRequest.ProtoReflect.Descriptor instead.

func (*ProviderRequest) GetArch added in v0.0.79

func (x *ProviderRequest) GetArch() string

func (*ProviderRequest) GetName added in v0.0.79

func (x *ProviderRequest) GetName() string

func (*ProviderRequest) GetOs added in v0.0.79

func (x *ProviderRequest) GetOs() string

func (*ProviderRequest) GetVersion added in v0.0.79

func (x *ProviderRequest) GetVersion() string

func (*ProviderRequest) ProtoMessage added in v0.0.79

func (*ProviderRequest) ProtoMessage()

func (*ProviderRequest) ProtoReflect added in v0.0.79

func (x *ProviderRequest) ProtoReflect() protoreflect.Message

func (*ProviderRequest) Reset added in v0.0.79

func (x *ProviderRequest) Reset()

func (*ProviderRequest) String added in v0.0.79

func (x *ProviderRequest) 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 SourceZipResponse added in v0.0.79

type SourceZipResponse struct {
	ZipDataChunk []byte `protobuf:"bytes,1,opt,name=zip_data_chunk,json=zipDataChunk,proto3" json:"zip_data_chunk,omitempty"`
	// contains filtered or unexported fields
}

func (*SourceZipResponse) Descriptor deprecated added in v0.0.79

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

Deprecated: Use SourceZipResponse.ProtoReflect.Descriptor instead.

func (*SourceZipResponse) GetZipDataChunk added in v0.0.79

func (x *SourceZipResponse) GetZipDataChunk() []byte

func (*SourceZipResponse) ProtoMessage added in v0.0.79

func (*SourceZipResponse) ProtoMessage()

func (*SourceZipResponse) ProtoReflect added in v0.0.79

func (x *SourceZipResponse) ProtoReflect() protoreflect.Message

func (*SourceZipResponse) Reset added in v0.0.79

func (x *SourceZipResponse) Reset()

func (*SourceZipResponse) String added in v0.0.79

func (x *SourceZipResponse) String() string

type StorageClient added in v0.0.79

type StorageClient interface {
	DownloadProviderSourceZip(ctx context.Context, in *DownloadSourceZipRequest, opts ...grpc.CallOption) (Storage_DownloadProviderSourceZipClient, error)
	DownloadShasum(ctx context.Context, in *DownloadShasumRequest, opts ...grpc.CallOption) (Storage_DownloadShasumClient, error)
	DownloadShasumSignature(ctx context.Context, in *DownloadShasumRequest, opts ...grpc.CallOption) (Storage_DownloadShasumSignatureClient, error)
}

StorageClient is the client API for Storage 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 NewStorageClient added in v0.0.79

func NewStorageClient(cc grpc.ClientConnInterface) StorageClient

type StorageServer added in v0.0.79

type StorageServer interface {
	DownloadProviderSourceZip(*DownloadSourceZipRequest, Storage_DownloadProviderSourceZipServer) error
	DownloadShasum(*DownloadShasumRequest, Storage_DownloadShasumServer) error
	DownloadShasumSignature(*DownloadShasumRequest, Storage_DownloadShasumSignatureServer) error
	// contains filtered or unexported methods
}

StorageServer is the server API for Storage service. All implementations must embed UnimplementedStorageServer for forward compatibility

type Storage_DownloadProviderSourceZipClient added in v0.0.79

type Storage_DownloadProviderSourceZipClient interface {
	Recv() (*SourceZipResponse, error)
	grpc.ClientStream
}

type Storage_DownloadProviderSourceZipServer added in v0.0.79

type Storage_DownloadProviderSourceZipServer interface {
	Send(*SourceZipResponse) error
	grpc.ServerStream
}

type Storage_DownloadShasumClient added in v0.0.79

type Storage_DownloadShasumClient interface {
	Recv() (*DownloadShasumResponse, error)
	grpc.ClientStream
}

type Storage_DownloadShasumServer added in v0.0.79

type Storage_DownloadShasumServer interface {
	Send(*DownloadShasumResponse) error
	grpc.ServerStream
}

type Storage_DownloadShasumSignatureClient added in v0.0.79

type Storage_DownloadShasumSignatureClient interface {
	Recv() (*DownloadShasumResponse, error)
	grpc.ClientStream
}

type Storage_DownloadShasumSignatureServer added in v0.0.79

type Storage_DownloadShasumSignatureServer interface {
	Send(*DownloadShasumResponse) error
	grpc.ServerStream
}

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 UnimplementedStorageServer added in v0.0.79

type UnimplementedStorageServer struct {
}

UnimplementedStorageServer must be embedded to have forward compatible implementations.

func (UnimplementedStorageServer) DownloadProviderSourceZip added in v0.0.79

func (UnimplementedStorageServer) DownloadShasum added in v0.0.79

func (UnimplementedStorageServer) DownloadShasumSignature added in v0.0.79

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) GetProvider added in v0.0.78

func (UnimplementedVersionManagerServer) GetVersionData added in v0.0.78

func (UnimplementedVersionManagerServer) ListProviderVersions added in v0.0.78

func (UnimplementedVersionManagerServer) ListProviders added in v0.0.78

func (UnimplementedVersionManagerServer) PublishVersion added in v0.0.78

func (UnimplementedVersionManagerServer) Register added in v0.0.78

type UnsafeStorageServer added in v0.0.79

type UnsafeStorageServer interface {
	// contains filtered or unexported methods
}

UnsafeStorageServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageServer will result in compilation errors.

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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