artifacttrackerpb

package
v0.0.0-...-0888c38 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthArtifactTracker        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowArtifactTracker          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupArtifactTracker = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterArtifactTrackerServer

func RegisterArtifactTrackerServer(s *grpc.Server, srv ArtifactTrackerServer)

Types

type ArtifactTrackerClient

type ArtifactTrackerClient interface {
	GetArtifactList(ctx context.Context, in *GetArtifactListRequest, opts ...grpc.CallOption) (*versionspb.ArtifactSet, error)
	GetDownloadLink(ctx context.Context, in *GetDownloadLinkRequest, opts ...grpc.CallOption) (*GetDownloadLinkResponse, error)
}

ArtifactTrackerClient is the client API for ArtifactTracker service.

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

func NewArtifactTrackerClient

func NewArtifactTrackerClient(cc *grpc.ClientConn) ArtifactTrackerClient

type ArtifactTrackerServer

type ArtifactTrackerServer interface {
	GetArtifactList(context.Context, *GetArtifactListRequest) (*versionspb.ArtifactSet, error)
	GetDownloadLink(context.Context, *GetDownloadLinkRequest) (*GetDownloadLinkResponse, error)
}

ArtifactTrackerServer is the server API for ArtifactTracker service.

type GetArtifactListRequest

type GetArtifactListRequest struct {
	ArtifactName string                  `protobuf:"bytes,1,opt,name=artifact_name,json=artifactName,proto3" json:"artifact_name,omitempty"`
	ArtifactType versionspb.ArtifactType `` /* 128-byte string literal not displayed */
	Limit        int64                   `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
}

func (*GetArtifactListRequest) Descriptor

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

func (*GetArtifactListRequest) Equal

func (this *GetArtifactListRequest) Equal(that interface{}) bool

func (*GetArtifactListRequest) GetArtifactName

func (m *GetArtifactListRequest) GetArtifactName() string

func (*GetArtifactListRequest) GetArtifactType

func (m *GetArtifactListRequest) GetArtifactType() versionspb.ArtifactType

func (*GetArtifactListRequest) GetLimit

func (m *GetArtifactListRequest) GetLimit() int64

func (*GetArtifactListRequest) GoString

func (this *GetArtifactListRequest) GoString() string

func (*GetArtifactListRequest) Marshal

func (m *GetArtifactListRequest) Marshal() (dAtA []byte, err error)

func (*GetArtifactListRequest) MarshalTo

func (m *GetArtifactListRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetArtifactListRequest) MarshalToSizedBuffer

func (m *GetArtifactListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetArtifactListRequest) ProtoMessage

func (*GetArtifactListRequest) ProtoMessage()

func (*GetArtifactListRequest) Reset

func (m *GetArtifactListRequest) Reset()

func (*GetArtifactListRequest) Size

func (m *GetArtifactListRequest) Size() (n int)

func (*GetArtifactListRequest) String

func (this *GetArtifactListRequest) String() string

func (*GetArtifactListRequest) Unmarshal

func (m *GetArtifactListRequest) Unmarshal(dAtA []byte) error

func (*GetArtifactListRequest) XXX_DiscardUnknown

func (m *GetArtifactListRequest) XXX_DiscardUnknown()

func (*GetArtifactListRequest) XXX_Marshal

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

func (*GetArtifactListRequest) XXX_Merge

func (m *GetArtifactListRequest) XXX_Merge(src proto.Message)

func (*GetArtifactListRequest) XXX_Size

func (m *GetArtifactListRequest) XXX_Size() int

func (*GetArtifactListRequest) XXX_Unmarshal

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

type GetDownloadLinkRequest

type GetDownloadLinkRequest struct {
	ArtifactName string                  `protobuf:"bytes,1,opt,name=artifact_name,json=artifactName,proto3" json:"artifact_name,omitempty"`
	VersionStr   string                  `protobuf:"bytes,2,opt,name=version_str,json=versionStr,proto3" json:"version_str,omitempty"`
	ArtifactType versionspb.ArtifactType `` /* 128-byte string literal not displayed */
}

func (*GetDownloadLinkRequest) Descriptor

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

func (*GetDownloadLinkRequest) Equal

func (this *GetDownloadLinkRequest) Equal(that interface{}) bool

func (*GetDownloadLinkRequest) GetArtifactName

func (m *GetDownloadLinkRequest) GetArtifactName() string

func (*GetDownloadLinkRequest) GetArtifactType

func (m *GetDownloadLinkRequest) GetArtifactType() versionspb.ArtifactType

func (*GetDownloadLinkRequest) GetVersionStr

func (m *GetDownloadLinkRequest) GetVersionStr() string

func (*GetDownloadLinkRequest) GoString

func (this *GetDownloadLinkRequest) GoString() string

func (*GetDownloadLinkRequest) Marshal

func (m *GetDownloadLinkRequest) Marshal() (dAtA []byte, err error)

func (*GetDownloadLinkRequest) MarshalTo

func (m *GetDownloadLinkRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetDownloadLinkRequest) MarshalToSizedBuffer

func (m *GetDownloadLinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetDownloadLinkRequest) ProtoMessage

func (*GetDownloadLinkRequest) ProtoMessage()

func (*GetDownloadLinkRequest) Reset

func (m *GetDownloadLinkRequest) Reset()

func (*GetDownloadLinkRequest) Size

func (m *GetDownloadLinkRequest) Size() (n int)

func (*GetDownloadLinkRequest) String

func (this *GetDownloadLinkRequest) String() string

func (*GetDownloadLinkRequest) Unmarshal

func (m *GetDownloadLinkRequest) Unmarshal(dAtA []byte) error

func (*GetDownloadLinkRequest) XXX_DiscardUnknown

func (m *GetDownloadLinkRequest) XXX_DiscardUnknown()

func (*GetDownloadLinkRequest) XXX_Marshal

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

func (*GetDownloadLinkRequest) XXX_Merge

func (m *GetDownloadLinkRequest) XXX_Merge(src proto.Message)

func (*GetDownloadLinkRequest) XXX_Size

func (m *GetDownloadLinkRequest) XXX_Size() int

func (*GetDownloadLinkRequest) XXX_Unmarshal

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

type GetDownloadLinkResponse

type GetDownloadLinkResponse struct {
	Url        string           `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	SHA256     string           `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"`
	ValidUntil *types.Timestamp `protobuf:"bytes,3,opt,name=valid_until,json=validUntil,proto3" json:"valid_until,omitempty"`
}

func (*GetDownloadLinkResponse) Descriptor

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

func (*GetDownloadLinkResponse) Equal

func (this *GetDownloadLinkResponse) Equal(that interface{}) bool

func (*GetDownloadLinkResponse) GetSHA256

func (m *GetDownloadLinkResponse) GetSHA256() string

func (*GetDownloadLinkResponse) GetUrl

func (m *GetDownloadLinkResponse) GetUrl() string

func (*GetDownloadLinkResponse) GetValidUntil

func (m *GetDownloadLinkResponse) GetValidUntil() *types.Timestamp

func (*GetDownloadLinkResponse) GoString

func (this *GetDownloadLinkResponse) GoString() string

func (*GetDownloadLinkResponse) Marshal

func (m *GetDownloadLinkResponse) Marshal() (dAtA []byte, err error)

func (*GetDownloadLinkResponse) MarshalTo

func (m *GetDownloadLinkResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetDownloadLinkResponse) MarshalToSizedBuffer

func (m *GetDownloadLinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetDownloadLinkResponse) ProtoMessage

func (*GetDownloadLinkResponse) ProtoMessage()

func (*GetDownloadLinkResponse) Reset

func (m *GetDownloadLinkResponse) Reset()

func (*GetDownloadLinkResponse) Size

func (m *GetDownloadLinkResponse) Size() (n int)

func (*GetDownloadLinkResponse) String

func (this *GetDownloadLinkResponse) String() string

func (*GetDownloadLinkResponse) Unmarshal

func (m *GetDownloadLinkResponse) Unmarshal(dAtA []byte) error

func (*GetDownloadLinkResponse) XXX_DiscardUnknown

func (m *GetDownloadLinkResponse) XXX_DiscardUnknown()

func (*GetDownloadLinkResponse) XXX_Marshal

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

func (*GetDownloadLinkResponse) XXX_Merge

func (m *GetDownloadLinkResponse) XXX_Merge(src proto.Message)

func (*GetDownloadLinkResponse) XXX_Size

func (m *GetDownloadLinkResponse) XXX_Size() int

func (*GetDownloadLinkResponse) XXX_Unmarshal

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

type UnimplementedArtifactTrackerServer

type UnimplementedArtifactTrackerServer struct {
}

UnimplementedArtifactTrackerServer can be embedded to have forward compatible implementations.

func (*UnimplementedArtifactTrackerServer) GetArtifactList

Directories

Path Synopsis
Package mock_artifacttrackerpb is a generated GoMock package.
Package mock_artifacttrackerpb is a generated GoMock package.

Jump to

Keyboard shortcuts

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