metadata

package
v1.0.1-0...-4418604 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package metadata is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	IDTypeEnum_IDType_name = map[int32]string{
		0: "UNKNOWN",
		1: "VERSIONING_REPOSITORY",
		2: "VERSIONING_COMMIT",
		3: "VERSIONING_REPO_COMMIT_BLOB",
		4: "VERSIONING_REPO_COMMIT",
	}
	IDTypeEnum_IDType_value = map[string]int32{
		"UNKNOWN":                     0,
		"VERSIONING_REPOSITORY":       1,
		"VERSIONING_COMMIT":           2,
		"VERSIONING_REPO_COMMIT_BLOB": 3,
		"VERSIONING_REPO_COMMIT":      4,
	}
)

Enum value maps for IDTypeEnum_IDType.

View Source
var File_modeldb_metadata_MetadataService_proto protoreflect.FileDescriptor

Functions

func RegisterMetadataServiceHandler

func RegisterMetadataServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMetadataServiceHandler registers the http handlers for service MetadataService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMetadataServiceHandlerClient

func RegisterMetadataServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MetadataServiceClient) error

RegisterMetadataServiceHandlerClient registers the http handlers for service MetadataService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MetadataServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MetadataServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MetadataServiceClient" to call the correct interceptors.

func RegisterMetadataServiceHandlerFromEndpoint

func RegisterMetadataServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMetadataServiceHandlerFromEndpoint is same as RegisterMetadataServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMetadataServiceHandlerServer

func RegisterMetadataServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MetadataServiceServer) error

RegisterMetadataServiceHandlerServer registers the http handlers for service MetadataService to "mux". UnaryRPC :call MetadataServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterMetadataServiceServer

func RegisterMetadataServiceServer(s *grpc.Server, srv MetadataServiceServer)

Types

type AddKeyValuePropertiesRequest

type AddKeyValuePropertiesRequest struct {
	Id               *IdentificationType       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PropertyName     string                    `protobuf:"bytes,2,opt,name=property_name,json=propertyName,proto3" json:"property_name,omitempty"`
	KeyValueProperty []*KeyValueStringProperty `protobuf:"bytes,3,rep,name=key_value_property,json=keyValueProperty,proto3" json:"key_value_property,omitempty"`
	// contains filtered or unexported fields
}

func (*AddKeyValuePropertiesRequest) Descriptor deprecated

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

Deprecated: Use AddKeyValuePropertiesRequest.ProtoReflect.Descriptor instead.

func (*AddKeyValuePropertiesRequest) GetId

func (*AddKeyValuePropertiesRequest) GetKeyValueProperty

func (x *AddKeyValuePropertiesRequest) GetKeyValueProperty() []*KeyValueStringProperty

func (*AddKeyValuePropertiesRequest) GetPropertyName

func (x *AddKeyValuePropertiesRequest) GetPropertyName() string

func (*AddKeyValuePropertiesRequest) ProtoMessage

func (*AddKeyValuePropertiesRequest) ProtoMessage()

func (*AddKeyValuePropertiesRequest) ProtoReflect

func (*AddKeyValuePropertiesRequest) Reset

func (x *AddKeyValuePropertiesRequest) Reset()

func (*AddKeyValuePropertiesRequest) String

type AddKeyValuePropertiesRequest_Response

type AddKeyValuePropertiesRequest_Response struct {
	// contains filtered or unexported fields
}

func (*AddKeyValuePropertiesRequest_Response) Descriptor deprecated

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

Deprecated: Use AddKeyValuePropertiesRequest_Response.ProtoReflect.Descriptor instead.

func (*AddKeyValuePropertiesRequest_Response) ProtoMessage

func (*AddKeyValuePropertiesRequest_Response) ProtoMessage()

func (*AddKeyValuePropertiesRequest_Response) ProtoReflect

func (*AddKeyValuePropertiesRequest_Response) Reset

func (*AddKeyValuePropertiesRequest_Response) String

type AddLabelsRequest

type AddLabelsRequest struct {
	Id     *IdentificationType `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Labels []string            `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*AddLabelsRequest) Descriptor deprecated

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

Deprecated: Use AddLabelsRequest.ProtoReflect.Descriptor instead.

func (*AddLabelsRequest) GetId

func (*AddLabelsRequest) GetLabels

func (x *AddLabelsRequest) GetLabels() []string

func (*AddLabelsRequest) ProtoMessage

func (*AddLabelsRequest) ProtoMessage()

func (*AddLabelsRequest) ProtoReflect

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

func (*AddLabelsRequest) Reset

func (x *AddLabelsRequest) Reset()

func (*AddLabelsRequest) String

func (x *AddLabelsRequest) String() string

type AddLabelsRequest_Response

type AddLabelsRequest_Response struct {
	Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*AddLabelsRequest_Response) Descriptor deprecated

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

Deprecated: Use AddLabelsRequest_Response.ProtoReflect.Descriptor instead.

func (*AddLabelsRequest_Response) GetStatus

func (x *AddLabelsRequest_Response) GetStatus() bool

func (*AddLabelsRequest_Response) ProtoMessage

func (*AddLabelsRequest_Response) ProtoMessage()

func (*AddLabelsRequest_Response) ProtoReflect

func (*AddLabelsRequest_Response) Reset

func (x *AddLabelsRequest_Response) Reset()

func (*AddLabelsRequest_Response) String

func (x *AddLabelsRequest_Response) String() string

type AddPropertyRequest

type AddPropertyRequest struct {
	Id    *IdentificationType `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Key   string              `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value string              `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*AddPropertyRequest) Descriptor deprecated

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

Deprecated: Use AddPropertyRequest.ProtoReflect.Descriptor instead.

func (*AddPropertyRequest) GetId

func (*AddPropertyRequest) GetKey

func (x *AddPropertyRequest) GetKey() string

func (*AddPropertyRequest) GetValue

func (x *AddPropertyRequest) GetValue() string

func (*AddPropertyRequest) ProtoMessage

func (*AddPropertyRequest) ProtoMessage()

func (*AddPropertyRequest) ProtoReflect

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

func (*AddPropertyRequest) Reset

func (x *AddPropertyRequest) Reset()

func (*AddPropertyRequest) String

func (x *AddPropertyRequest) String() string

type AddPropertyRequest_Response

type AddPropertyRequest_Response struct {
	// contains filtered or unexported fields
}

func (*AddPropertyRequest_Response) Descriptor deprecated

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

Deprecated: Use AddPropertyRequest_Response.ProtoReflect.Descriptor instead.

func (*AddPropertyRequest_Response) ProtoMessage

func (*AddPropertyRequest_Response) ProtoMessage()

func (*AddPropertyRequest_Response) ProtoReflect

func (*AddPropertyRequest_Response) Reset

func (x *AddPropertyRequest_Response) Reset()

func (*AddPropertyRequest_Response) String

func (x *AddPropertyRequest_Response) String() string

type DeleteKeyValuePropertiesRequest

type DeleteKeyValuePropertiesRequest struct {
	Id           *IdentificationType `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PropertyName string              `protobuf:"bytes,2,opt,name=property_name,json=propertyName,proto3" json:"property_name,omitempty"`
	Keys         []string            `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`
	DeleteAll    bool                `protobuf:"varint,4,opt,name=deleteAll,proto3" json:"deleteAll,omitempty"`
	// contains filtered or unexported fields
}

if deleteAll flag is true ignores keys and deletes all key value properties corresponding to id and property_name

func (*DeleteKeyValuePropertiesRequest) Descriptor deprecated

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

Deprecated: Use DeleteKeyValuePropertiesRequest.ProtoReflect.Descriptor instead.

func (*DeleteKeyValuePropertiesRequest) GetDeleteAll

func (x *DeleteKeyValuePropertiesRequest) GetDeleteAll() bool

func (*DeleteKeyValuePropertiesRequest) GetId

func (*DeleteKeyValuePropertiesRequest) GetKeys

func (x *DeleteKeyValuePropertiesRequest) GetKeys() []string

func (*DeleteKeyValuePropertiesRequest) GetPropertyName

func (x *DeleteKeyValuePropertiesRequest) GetPropertyName() string

func (*DeleteKeyValuePropertiesRequest) ProtoMessage

func (*DeleteKeyValuePropertiesRequest) ProtoMessage()

func (*DeleteKeyValuePropertiesRequest) ProtoReflect

func (*DeleteKeyValuePropertiesRequest) Reset

func (*DeleteKeyValuePropertiesRequest) String

type DeleteKeyValuePropertiesRequest_Response

type DeleteKeyValuePropertiesRequest_Response struct {
	// contains filtered or unexported fields
}

func (*DeleteKeyValuePropertiesRequest_Response) Descriptor deprecated

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

Deprecated: Use DeleteKeyValuePropertiesRequest_Response.ProtoReflect.Descriptor instead.

func (*DeleteKeyValuePropertiesRequest_Response) ProtoMessage

func (*DeleteKeyValuePropertiesRequest_Response) ProtoReflect

func (*DeleteKeyValuePropertiesRequest_Response) Reset

func (*DeleteKeyValuePropertiesRequest_Response) String

type DeleteLabelsRequest

type DeleteLabelsRequest struct {
	Id        *IdentificationType `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Labels    []string            `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
	DeleteAll bool                `protobuf:"varint,3,opt,name=delete_all,json=deleteAll,proto3" json:"delete_all,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteLabelsRequest) Descriptor deprecated

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

Deprecated: Use DeleteLabelsRequest.ProtoReflect.Descriptor instead.

func (*DeleteLabelsRequest) GetDeleteAll

func (x *DeleteLabelsRequest) GetDeleteAll() bool

func (*DeleteLabelsRequest) GetId

func (*DeleteLabelsRequest) GetLabels

func (x *DeleteLabelsRequest) GetLabels() []string

func (*DeleteLabelsRequest) ProtoMessage

func (*DeleteLabelsRequest) ProtoMessage()

func (*DeleteLabelsRequest) ProtoReflect

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

func (*DeleteLabelsRequest) Reset

func (x *DeleteLabelsRequest) Reset()

func (*DeleteLabelsRequest) String

func (x *DeleteLabelsRequest) String() string

type DeleteLabelsRequest_Response

type DeleteLabelsRequest_Response struct {
	Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteLabelsRequest_Response) Descriptor deprecated

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

Deprecated: Use DeleteLabelsRequest_Response.ProtoReflect.Descriptor instead.

func (*DeleteLabelsRequest_Response) GetStatus

func (x *DeleteLabelsRequest_Response) GetStatus() bool

func (*DeleteLabelsRequest_Response) ProtoMessage

func (*DeleteLabelsRequest_Response) ProtoMessage()

func (*DeleteLabelsRequest_Response) ProtoReflect

func (*DeleteLabelsRequest_Response) Reset

func (x *DeleteLabelsRequest_Response) Reset()

func (*DeleteLabelsRequest_Response) String

type DeletePropertyRequest

type DeletePropertyRequest struct {
	Id  *IdentificationType `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Key string              `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePropertyRequest) Descriptor deprecated

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

Deprecated: Use DeletePropertyRequest.ProtoReflect.Descriptor instead.

func (*DeletePropertyRequest) GetId

func (*DeletePropertyRequest) GetKey

func (x *DeletePropertyRequest) GetKey() string

func (*DeletePropertyRequest) ProtoMessage

func (*DeletePropertyRequest) ProtoMessage()

func (*DeletePropertyRequest) ProtoReflect

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

func (*DeletePropertyRequest) Reset

func (x *DeletePropertyRequest) Reset()

func (*DeletePropertyRequest) String

func (x *DeletePropertyRequest) String() string

type DeletePropertyRequest_Response

type DeletePropertyRequest_Response struct {
	// contains filtered or unexported fields
}

func (*DeletePropertyRequest_Response) Descriptor deprecated

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

Deprecated: Use DeletePropertyRequest_Response.ProtoReflect.Descriptor instead.

func (*DeletePropertyRequest_Response) ProtoMessage

func (*DeletePropertyRequest_Response) ProtoMessage()

func (*DeletePropertyRequest_Response) ProtoReflect

func (*DeletePropertyRequest_Response) Reset

func (x *DeletePropertyRequest_Response) Reset()

func (*DeletePropertyRequest_Response) String

type GenerateRandomNameRequest

type GenerateRandomNameRequest struct {
	// contains filtered or unexported fields
}

func (*GenerateRandomNameRequest) Descriptor deprecated

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

Deprecated: Use GenerateRandomNameRequest.ProtoReflect.Descriptor instead.

func (*GenerateRandomNameRequest) ProtoMessage

func (*GenerateRandomNameRequest) ProtoMessage()

func (*GenerateRandomNameRequest) ProtoReflect

func (*GenerateRandomNameRequest) Reset

func (x *GenerateRandomNameRequest) Reset()

func (*GenerateRandomNameRequest) String

func (x *GenerateRandomNameRequest) String() string

type GenerateRandomNameRequest_Response

type GenerateRandomNameRequest_Response struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateRandomNameRequest_Response) Descriptor deprecated

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

Deprecated: Use GenerateRandomNameRequest_Response.ProtoReflect.Descriptor instead.

func (*GenerateRandomNameRequest_Response) GetName

func (*GenerateRandomNameRequest_Response) ProtoMessage

func (*GenerateRandomNameRequest_Response) ProtoMessage()

func (*GenerateRandomNameRequest_Response) ProtoReflect

func (*GenerateRandomNameRequest_Response) Reset

func (*GenerateRandomNameRequest_Response) String

type GetKeyValuePropertiesRequest

type GetKeyValuePropertiesRequest struct {
	Id           *IdentificationType `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PropertyName string              `protobuf:"bytes,2,opt,name=property_name,json=propertyName,proto3" json:"property_name,omitempty"`
	Keys         []string            `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`
	GetAll       bool                `protobuf:"varint,4,opt,name=getAll,proto3" json:"getAll,omitempty"`
	// contains filtered or unexported fields
}

if getAll flag is true ignores keys and gets all key value properties corresponding to id and property_name

func (*GetKeyValuePropertiesRequest) Descriptor deprecated

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

Deprecated: Use GetKeyValuePropertiesRequest.ProtoReflect.Descriptor instead.

func (*GetKeyValuePropertiesRequest) GetGetAll

func (x *GetKeyValuePropertiesRequest) GetGetAll() bool

func (*GetKeyValuePropertiesRequest) GetId

func (*GetKeyValuePropertiesRequest) GetKeys

func (x *GetKeyValuePropertiesRequest) GetKeys() []string

func (*GetKeyValuePropertiesRequest) GetPropertyName

func (x *GetKeyValuePropertiesRequest) GetPropertyName() string

func (*GetKeyValuePropertiesRequest) ProtoMessage

func (*GetKeyValuePropertiesRequest) ProtoMessage()

func (*GetKeyValuePropertiesRequest) ProtoReflect

func (*GetKeyValuePropertiesRequest) Reset

func (x *GetKeyValuePropertiesRequest) Reset()

func (*GetKeyValuePropertiesRequest) String

type GetKeyValuePropertiesRequest_Response

type GetKeyValuePropertiesRequest_Response struct {
	KeyValueProperty []*KeyValueStringProperty `protobuf:"bytes,1,rep,name=key_value_property,json=keyValueProperty,proto3" json:"key_value_property,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyValuePropertiesRequest_Response) Descriptor deprecated

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

Deprecated: Use GetKeyValuePropertiesRequest_Response.ProtoReflect.Descriptor instead.

func (*GetKeyValuePropertiesRequest_Response) GetKeyValueProperty

func (*GetKeyValuePropertiesRequest_Response) ProtoMessage

func (*GetKeyValuePropertiesRequest_Response) ProtoMessage()

func (*GetKeyValuePropertiesRequest_Response) ProtoReflect

func (*GetKeyValuePropertiesRequest_Response) Reset

func (*GetKeyValuePropertiesRequest_Response) String

type GetLabelIdsRequest

type GetLabelIdsRequest struct {
	Labels   []string                     `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	Operator common.OperatorEnum_Operator `protobuf:"varint,2,opt,name=operator,proto3,enum=ai.verta.common.OperatorEnum_Operator" json:"operator,omitempty"` // Default = EQ
	// contains filtered or unexported fields
}

func (*GetLabelIdsRequest) Descriptor deprecated

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

Deprecated: Use GetLabelIdsRequest.ProtoReflect.Descriptor instead.

func (*GetLabelIdsRequest) GetLabels

func (x *GetLabelIdsRequest) GetLabels() []string

func (*GetLabelIdsRequest) GetOperator

func (*GetLabelIdsRequest) ProtoMessage

func (*GetLabelIdsRequest) ProtoMessage()

func (*GetLabelIdsRequest) ProtoReflect

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

func (*GetLabelIdsRequest) Reset

func (x *GetLabelIdsRequest) Reset()

func (*GetLabelIdsRequest) String

func (x *GetLabelIdsRequest) String() string

type GetLabelIdsRequest_Response

type GetLabelIdsRequest_Response struct {
	Ids []*IdentificationType `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLabelIdsRequest_Response) Descriptor deprecated

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

Deprecated: Use GetLabelIdsRequest_Response.ProtoReflect.Descriptor instead.

func (*GetLabelIdsRequest_Response) GetIds

func (*GetLabelIdsRequest_Response) ProtoMessage

func (*GetLabelIdsRequest_Response) ProtoMessage()

func (*GetLabelIdsRequest_Response) ProtoReflect

func (*GetLabelIdsRequest_Response) Reset

func (x *GetLabelIdsRequest_Response) Reset()

func (*GetLabelIdsRequest_Response) String

func (x *GetLabelIdsRequest_Response) String() string

type GetLabelsRequest

type GetLabelsRequest struct {

	// If only id_type is provided, gather from all of such sources
	Id *IdentificationType `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLabelsRequest) Descriptor deprecated

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

Deprecated: Use GetLabelsRequest.ProtoReflect.Descriptor instead.

func (*GetLabelsRequest) GetId

func (*GetLabelsRequest) ProtoMessage

func (*GetLabelsRequest) ProtoMessage()

func (*GetLabelsRequest) ProtoReflect

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

func (*GetLabelsRequest) Reset

func (x *GetLabelsRequest) Reset()

func (*GetLabelsRequest) String

func (x *GetLabelsRequest) String() string

type GetLabelsRequest_Response

type GetLabelsRequest_Response struct {
	Labels []string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLabelsRequest_Response) Descriptor deprecated

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

Deprecated: Use GetLabelsRequest_Response.ProtoReflect.Descriptor instead.

func (*GetLabelsRequest_Response) GetLabels

func (x *GetLabelsRequest_Response) GetLabels() []string

func (*GetLabelsRequest_Response) ProtoMessage

func (*GetLabelsRequest_Response) ProtoMessage()

func (*GetLabelsRequest_Response) ProtoReflect

func (*GetLabelsRequest_Response) Reset

func (x *GetLabelsRequest_Response) Reset()

func (*GetLabelsRequest_Response) String

func (x *GetLabelsRequest_Response) String() string

type GetPropertyRequest

type GetPropertyRequest struct {

	// If only id_type is provided, gather from all of such sources
	Id  *IdentificationType `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Key string              `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPropertyRequest) Descriptor deprecated

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

Deprecated: Use GetPropertyRequest.ProtoReflect.Descriptor instead.

func (*GetPropertyRequest) GetId

func (*GetPropertyRequest) GetKey

func (x *GetPropertyRequest) GetKey() string

func (*GetPropertyRequest) ProtoMessage

func (*GetPropertyRequest) ProtoMessage()

func (*GetPropertyRequest) ProtoReflect

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

func (*GetPropertyRequest) Reset

func (x *GetPropertyRequest) Reset()

func (*GetPropertyRequest) String

func (x *GetPropertyRequest) String() string

type GetPropertyRequest_Response

type GetPropertyRequest_Response struct {
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPropertyRequest_Response) Descriptor deprecated

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

Deprecated: Use GetPropertyRequest_Response.ProtoReflect.Descriptor instead.

func (*GetPropertyRequest_Response) GetValue

func (x *GetPropertyRequest_Response) GetValue() string

func (*GetPropertyRequest_Response) ProtoMessage

func (*GetPropertyRequest_Response) ProtoMessage()

func (*GetPropertyRequest_Response) ProtoReflect

func (*GetPropertyRequest_Response) Reset

func (x *GetPropertyRequest_Response) Reset()

func (*GetPropertyRequest_Response) String

func (x *GetPropertyRequest_Response) String() string

type IDTypeEnum

type IDTypeEnum struct {
	// contains filtered or unexported fields
}

func (*IDTypeEnum) Descriptor deprecated

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

Deprecated: Use IDTypeEnum.ProtoReflect.Descriptor instead.

func (*IDTypeEnum) ProtoMessage

func (*IDTypeEnum) ProtoMessage()

func (*IDTypeEnum) ProtoReflect

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

func (*IDTypeEnum) Reset

func (x *IDTypeEnum) Reset()

func (*IDTypeEnum) String

func (x *IDTypeEnum) String() string

type IDTypeEnum_IDType

type IDTypeEnum_IDType int32
const (
	IDTypeEnum_UNKNOWN                     IDTypeEnum_IDType = 0 // Type 0 should always cause an error
	IDTypeEnum_VERSIONING_REPOSITORY       IDTypeEnum_IDType = 1
	IDTypeEnum_VERSIONING_COMMIT           IDTypeEnum_IDType = 2
	IDTypeEnum_VERSIONING_REPO_COMMIT_BLOB IDTypeEnum_IDType = 3
	IDTypeEnum_VERSIONING_REPO_COMMIT      IDTypeEnum_IDType = 4
)

func (IDTypeEnum_IDType) Descriptor

func (IDTypeEnum_IDType) Enum

func (IDTypeEnum_IDType) EnumDescriptor deprecated

func (IDTypeEnum_IDType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IDTypeEnum_IDType.Descriptor instead.

func (IDTypeEnum_IDType) Number

func (IDTypeEnum_IDType) String

func (x IDTypeEnum_IDType) String() string

func (IDTypeEnum_IDType) Type

type IdentificationType

type IdentificationType struct {
	IdType IDTypeEnum_IDType `` /* 129-byte string literal not displayed */
	// Types that are assignable to Id:
	//
	//	*IdentificationType_IntId
	//	*IdentificationType_StringId
	Id isIdentificationType_Id `protobuf_oneof:"id"`
	// contains filtered or unexported fields
}

func (*IdentificationType) Descriptor deprecated

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

Deprecated: Use IdentificationType.ProtoReflect.Descriptor instead.

func (*IdentificationType) GetId

func (m *IdentificationType) GetId() isIdentificationType_Id

func (*IdentificationType) GetIdType

func (x *IdentificationType) GetIdType() IDTypeEnum_IDType

func (*IdentificationType) GetIntId

func (x *IdentificationType) GetIntId() uint64

func (*IdentificationType) GetStringId

func (x *IdentificationType) GetStringId() string

func (*IdentificationType) ProtoMessage

func (*IdentificationType) ProtoMessage()

func (*IdentificationType) ProtoReflect

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

func (*IdentificationType) Reset

func (x *IdentificationType) Reset()

func (*IdentificationType) String

func (x *IdentificationType) String() string

type IdentificationType_IntId

type IdentificationType_IntId struct {
	IntId uint64 `protobuf:"varint,2,opt,name=int_id,json=intId,proto3,oneof"`
}

type IdentificationType_StringId

type IdentificationType_StringId struct {
	StringId string `protobuf:"bytes,3,opt,name=string_id,json=stringId,proto3,oneof"`
}

type KeyValueStringProperty

type KeyValueStringProperty struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyValueStringProperty) Descriptor deprecated

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

Deprecated: Use KeyValueStringProperty.ProtoReflect.Descriptor instead.

func (*KeyValueStringProperty) GetKey

func (x *KeyValueStringProperty) GetKey() string

func (*KeyValueStringProperty) GetValue

func (x *KeyValueStringProperty) GetValue() string

func (*KeyValueStringProperty) ProtoMessage

func (*KeyValueStringProperty) ProtoMessage()

func (*KeyValueStringProperty) ProtoReflect

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

func (*KeyValueStringProperty) Reset

func (x *KeyValueStringProperty) Reset()

func (*KeyValueStringProperty) String

func (x *KeyValueStringProperty) String() string

type MetadataServiceClient

type MetadataServiceClient interface {
	GetLabels(ctx context.Context, in *GetLabelsRequest, opts ...grpc.CallOption) (*GetLabelsRequest_Response, error)
	GetLabelIds(ctx context.Context, in *GetLabelIdsRequest, opts ...grpc.CallOption) (*GetLabelIdsRequest_Response, error)
	AddLabels(ctx context.Context, in *AddLabelsRequest, opts ...grpc.CallOption) (*AddLabelsRequest_Response, error)
	UpdateLabels(ctx context.Context, in *AddLabelsRequest, opts ...grpc.CallOption) (*AddLabelsRequest_Response, error)
	DeleteLabels(ctx context.Context, in *DeleteLabelsRequest, opts ...grpc.CallOption) (*DeleteLabelsRequest_Response, error)
	GetProperty(ctx context.Context, in *GetPropertyRequest, opts ...grpc.CallOption) (*GetPropertyRequest_Response, error)
	AddProperty(ctx context.Context, in *AddPropertyRequest, opts ...grpc.CallOption) (*AddPropertyRequest_Response, error)
	DeleteProperty(ctx context.Context, in *DeletePropertyRequest, opts ...grpc.CallOption) (*DeletePropertyRequest_Response, error)
	AddKeyValueProperties(ctx context.Context, in *AddKeyValuePropertiesRequest, opts ...grpc.CallOption) (*AddKeyValuePropertiesRequest_Response, error)
	GetKeyValueProperties(ctx context.Context, in *GetKeyValuePropertiesRequest, opts ...grpc.CallOption) (*GetKeyValuePropertiesRequest_Response, error)
	DeleteKeyValueProperties(ctx context.Context, in *DeleteKeyValuePropertiesRequest, opts ...grpc.CallOption) (*DeleteKeyValuePropertiesRequest_Response, error)
	GenerateRandomName(ctx context.Context, in *GenerateRandomNameRequest, opts ...grpc.CallOption) (*GenerateRandomNameRequest_Response, error)
}

MetadataServiceClient is the client API for MetadataService service.

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

type UnimplementedMetadataServiceServer

type UnimplementedMetadataServiceServer struct {
}

UnimplementedMetadataServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMetadataServiceServer) AddLabels

func (*UnimplementedMetadataServiceServer) AddProperty

func (*UnimplementedMetadataServiceServer) DeleteLabels

func (*UnimplementedMetadataServiceServer) DeleteProperty

func (*UnimplementedMetadataServiceServer) GetLabelIds

func (*UnimplementedMetadataServiceServer) GetLabels

func (*UnimplementedMetadataServiceServer) GetProperty

func (*UnimplementedMetadataServiceServer) UpdateLabels

Jump to

Keyboard shortcuts

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