v1

package
v0.3.321 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_metaprov_modeldapi_services_entity_v1_entity_proto protoreflect.FileDescriptor

Functions

func RegisterEntityServiceServer

func RegisterEntityServiceServer(s *grpc.Server, srv EntityServiceServer)

Types

type CreateEntityRequest

type CreateEntityRequest struct {
	Item *v1alpha1.Entity `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEntityRequest) Descriptor deprecated

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

Deprecated: Use CreateEntityRequest.ProtoReflect.Descriptor instead.

func (*CreateEntityRequest) GetItem added in v0.2.305

func (x *CreateEntityRequest) GetItem() *v1alpha1.Entity

func (*CreateEntityRequest) ProtoMessage

func (*CreateEntityRequest) ProtoMessage()

func (*CreateEntityRequest) ProtoReflect

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

func (*CreateEntityRequest) Reset

func (x *CreateEntityRequest) Reset()

func (*CreateEntityRequest) String

func (x *CreateEntityRequest) String() string

type CreateEntityResponse

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

func (*CreateEntityResponse) Descriptor deprecated

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

Deprecated: Use CreateEntityResponse.ProtoReflect.Descriptor instead.

func (*CreateEntityResponse) ProtoMessage

func (*CreateEntityResponse) ProtoMessage()

func (*CreateEntityResponse) ProtoReflect

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

func (*CreateEntityResponse) Reset

func (x *CreateEntityResponse) Reset()

func (*CreateEntityResponse) String

func (x *CreateEntityResponse) String() string

type DeleteEntityRequest

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

func (*DeleteEntityRequest) Descriptor deprecated

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

Deprecated: Use DeleteEntityRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntityRequest) GetName

func (x *DeleteEntityRequest) GetName() string

func (*DeleteEntityRequest) GetNamespace

func (x *DeleteEntityRequest) GetNamespace() string

func (*DeleteEntityRequest) ProtoMessage

func (*DeleteEntityRequest) ProtoMessage()

func (*DeleteEntityRequest) ProtoReflect

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

func (*DeleteEntityRequest) Reset

func (x *DeleteEntityRequest) Reset()

func (*DeleteEntityRequest) String

func (x *DeleteEntityRequest) String() string

type DeleteEntityResponse

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

func (*DeleteEntityResponse) Descriptor deprecated

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

Deprecated: Use DeleteEntityResponse.ProtoReflect.Descriptor instead.

func (*DeleteEntityResponse) ProtoMessage

func (*DeleteEntityResponse) ProtoMessage()

func (*DeleteEntityResponse) ProtoReflect

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

func (*DeleteEntityResponse) Reset

func (x *DeleteEntityResponse) Reset()

func (*DeleteEntityResponse) String

func (x *DeleteEntityResponse) String() string

type EntityServiceClient

type EntityServiceClient interface {
	ListEntities(ctx context.Context, in *ListEntitiesRequest, opts ...grpc.CallOption) (*ListEntitiesResponse, error)
	CreateEntity(ctx context.Context, in *CreateEntityRequest, opts ...grpc.CallOption) (*CreateEntityResponse, error)
	GetEntity(ctx context.Context, in *GetEntityRequest, opts ...grpc.CallOption) (*GetEntityResponse, error)
	UpdateEntity(ctx context.Context, in *UpdateEntityRequest, opts ...grpc.CallOption) (*UpdateEntityResponse, error)
	DeleteEntity(ctx context.Context, in *DeleteEntityRequest, opts ...grpc.CallOption) (*DeleteEntityResponse, error)
}

EntityServiceClient is the client API for EntityService service.

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

type EntityServiceServer

EntityServiceServer is the server API for EntityService service.

type GetEntityRequest

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

func (*GetEntityRequest) Descriptor deprecated

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

Deprecated: Use GetEntityRequest.ProtoReflect.Descriptor instead.

func (*GetEntityRequest) GetName

func (x *GetEntityRequest) GetName() string

func (*GetEntityRequest) GetNamespace

func (x *GetEntityRequest) GetNamespace() string

func (*GetEntityRequest) ProtoMessage

func (*GetEntityRequest) ProtoMessage()

func (*GetEntityRequest) ProtoReflect

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

func (*GetEntityRequest) Reset

func (x *GetEntityRequest) Reset()

func (*GetEntityRequest) String

func (x *GetEntityRequest) String() string

type GetEntityResponse

type GetEntityResponse struct {
	Item *v1alpha1.Entity `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	Yaml string           `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEntityResponse) Descriptor deprecated

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

Deprecated: Use GetEntityResponse.ProtoReflect.Descriptor instead.

func (*GetEntityResponse) GetItem

func (x *GetEntityResponse) GetItem() *v1alpha1.Entity

func (*GetEntityResponse) GetYaml

func (x *GetEntityResponse) GetYaml() string

func (*GetEntityResponse) ProtoMessage

func (*GetEntityResponse) ProtoMessage()

func (*GetEntityResponse) ProtoReflect

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

func (*GetEntityResponse) Reset

func (x *GetEntityResponse) Reset()

func (*GetEntityResponse) String

func (x *GetEntityResponse) String() string

type ListEntitiesRequest

type ListEntitiesRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListEntitiesRequest) Descriptor deprecated

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

Deprecated: Use ListEntitiesRequest.ProtoReflect.Descriptor instead.

func (*ListEntitiesRequest) GetLabels

func (x *ListEntitiesRequest) GetLabels() map[string]string

func (*ListEntitiesRequest) GetNamespace

func (x *ListEntitiesRequest) GetNamespace() string

func (*ListEntitiesRequest) ProtoMessage

func (*ListEntitiesRequest) ProtoMessage()

func (*ListEntitiesRequest) ProtoReflect

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

func (*ListEntitiesRequest) Reset

func (x *ListEntitiesRequest) Reset()

func (*ListEntitiesRequest) String

func (x *ListEntitiesRequest) String() string

type ListEntitiesResponse

type ListEntitiesResponse struct {
	Items *v1alpha1.EntityList `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEntitiesResponse) Descriptor deprecated

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

Deprecated: Use ListEntitiesResponse.ProtoReflect.Descriptor instead.

func (*ListEntitiesResponse) GetItems

func (x *ListEntitiesResponse) GetItems() *v1alpha1.EntityList

func (*ListEntitiesResponse) ProtoMessage

func (*ListEntitiesResponse) ProtoMessage()

func (*ListEntitiesResponse) ProtoReflect

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

func (*ListEntitiesResponse) Reset

func (x *ListEntitiesResponse) Reset()

func (*ListEntitiesResponse) String

func (x *ListEntitiesResponse) String() string

type UnimplementedEntityServiceServer

type UnimplementedEntityServiceServer struct {
}

UnimplementedEntityServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedEntityServiceServer) CreateEntity

func (*UnimplementedEntityServiceServer) DeleteEntity

func (*UnimplementedEntityServiceServer) GetEntity

func (*UnimplementedEntityServiceServer) ListEntities

func (*UnimplementedEntityServiceServer) UpdateEntity

type UpdateEntityRequest

type UpdateEntityRequest struct {
	Item *v1alpha1.Entity `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEntityRequest) Descriptor deprecated

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

Deprecated: Use UpdateEntityRequest.ProtoReflect.Descriptor instead.

func (*UpdateEntityRequest) GetItem added in v0.2.305

func (x *UpdateEntityRequest) GetItem() *v1alpha1.Entity

func (*UpdateEntityRequest) ProtoMessage

func (*UpdateEntityRequest) ProtoMessage()

func (*UpdateEntityRequest) ProtoReflect

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

func (*UpdateEntityRequest) Reset

func (x *UpdateEntityRequest) Reset()

func (*UpdateEntityRequest) String

func (x *UpdateEntityRequest) String() string

type UpdateEntityResponse

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

func (*UpdateEntityResponse) Descriptor deprecated

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

Deprecated: Use UpdateEntityResponse.ProtoReflect.Descriptor instead.

func (*UpdateEntityResponse) ProtoMessage

func (*UpdateEntityResponse) ProtoMessage()

func (*UpdateEntityResponse) ProtoReflect

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

func (*UpdateEntityResponse) Reset

func (x *UpdateEntityResponse) Reset()

func (*UpdateEntityResponse) String

func (x *UpdateEntityResponse) String() string

Jump to

Keyboard shortcuts

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