Documentation
¶
Overview ¶
Package resources is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterResourceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterResourceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResourceServiceClient) error
- func RegisterResourceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterResourceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResourceServiceServer) error
- func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)
- type ControllersRequest
- func (m *ControllersRequest) CloneMessageVT() proto.Message
- func (m *ControllersRequest) CloneVT() *ControllersRequest
- func (*ControllersRequest) Descriptor() ([]byte, []int)deprecated
- func (this *ControllersRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ControllersRequest) EqualVT(that *ControllersRequest) bool
- func (m *ControllersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ControllersRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ControllersRequest) MarshalVT() (dAtA []byte, err error)
- func (*ControllersRequest) ProtoMessage()
- func (x *ControllersRequest) ProtoReflect() protoreflect.Message
- func (x *ControllersRequest) Reset()
- func (m *ControllersRequest) SizeVT() (n int)
- func (x *ControllersRequest) String() string
- func (m *ControllersRequest) UnmarshalVT(dAtA []byte) error
- type ControllersResponse
- func (m *ControllersResponse) CloneMessageVT() proto.Message
- func (m *ControllersResponse) CloneVT() *ControllersResponse
- func (*ControllersResponse) Descriptor() ([]byte, []int)deprecated
- func (this *ControllersResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ControllersResponse) EqualVT(that *ControllersResponse) bool
- func (x *ControllersResponse) GetControllers() []string
- func (m *ControllersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ControllersResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ControllersResponse) MarshalVT() (dAtA []byte, err error)
- func (*ControllersResponse) ProtoMessage()
- func (x *ControllersResponse) ProtoReflect() protoreflect.Message
- func (x *ControllersResponse) Reset()
- func (m *ControllersResponse) SizeVT() (n int)
- func (x *ControllersResponse) String() string
- func (m *ControllersResponse) UnmarshalVT(dAtA []byte) error
- type CreateRequest
- func (m *CreateRequest) CloneMessageVT() proto.Message
- func (m *CreateRequest) CloneVT() *CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (this *CreateRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CreateRequest) EqualVT(that *CreateRequest) bool
- func (x *CreateRequest) GetResource() *Resource
- func (m *CreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateRequest) MarshalVT() (dAtA []byte, err error)
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (m *CreateRequest) SizeVT() (n int)
- func (x *CreateRequest) String() string
- func (m *CreateRequest) UnmarshalVT(dAtA []byte) error
- type CreateResponse
- func (m *CreateResponse) CloneMessageVT() proto.Message
- func (m *CreateResponse) CloneVT() *CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)deprecated
- func (this *CreateResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CreateResponse) EqualVT(that *CreateResponse) bool
- func (m *CreateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateResponse) MarshalVT() (dAtA []byte, err error)
- func (*CreateResponse) ProtoMessage()
- func (x *CreateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResponse) Reset()
- func (m *CreateResponse) SizeVT() (n int)
- func (x *CreateResponse) String() string
- func (m *CreateResponse) UnmarshalVT(dAtA []byte) error
- type DeleteRequest
- func (m *DeleteRequest) CloneMessageVT() proto.Message
- func (m *DeleteRequest) CloneVT() *DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (this *DeleteRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DeleteRequest) EqualVT(that *DeleteRequest) bool
- func (x *DeleteRequest) GetId() string
- func (x *DeleteRequest) GetNamespace() string
- func (x *DeleteRequest) GetType() string
- func (m *DeleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DeleteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *DeleteRequest) MarshalVT() (dAtA []byte, err error)
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (m *DeleteRequest) SizeVT() (n int)
- func (x *DeleteRequest) String() string
- func (m *DeleteRequest) UnmarshalVT(dAtA []byte) error
- type DeleteResponse
- func (m *DeleteResponse) CloneMessageVT() proto.Message
- func (m *DeleteResponse) CloneVT() *DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (this *DeleteResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DeleteResponse) EqualVT(that *DeleteResponse) bool
- func (m *DeleteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DeleteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *DeleteResponse) MarshalVT() (dAtA []byte, err error)
- func (*DeleteResponse) ProtoMessage()
- func (x *DeleteResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResponse) Reset()
- func (m *DeleteResponse) SizeVT() (n int)
- func (x *DeleteResponse) String() string
- func (m *DeleteResponse) UnmarshalVT(dAtA []byte) error
- type DependencyGraphRequest
- func (m *DependencyGraphRequest) CloneMessageVT() proto.Message
- func (m *DependencyGraphRequest) CloneVT() *DependencyGraphRequest
- func (*DependencyGraphRequest) Descriptor() ([]byte, []int)deprecated
- func (this *DependencyGraphRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DependencyGraphRequest) EqualVT(that *DependencyGraphRequest) bool
- func (x *DependencyGraphRequest) GetControllers() []string
- func (x *DependencyGraphRequest) GetShowDestroyReady() bool
- func (m *DependencyGraphRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DependencyGraphRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *DependencyGraphRequest) MarshalVT() (dAtA []byte, err error)
- func (*DependencyGraphRequest) ProtoMessage()
- func (x *DependencyGraphRequest) ProtoReflect() protoreflect.Message
- func (x *DependencyGraphRequest) Reset()
- func (m *DependencyGraphRequest) SizeVT() (n int)
- func (x *DependencyGraphRequest) String() string
- func (m *DependencyGraphRequest) UnmarshalVT(dAtA []byte) error
- type DependencyGraphResponse
- func (m *DependencyGraphResponse) CloneMessageVT() proto.Message
- func (m *DependencyGraphResponse) CloneVT() *DependencyGraphResponse
- func (*DependencyGraphResponse) Descriptor() ([]byte, []int)deprecated
- func (this *DependencyGraphResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DependencyGraphResponse) EqualVT(that *DependencyGraphResponse) bool
- func (x *DependencyGraphResponse) GetEdges() []*DependencyGraphResponse_Edge
- func (x *DependencyGraphResponse) GetNodes() []*DependencyGraphResponse_Node
- func (m *DependencyGraphResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DependencyGraphResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *DependencyGraphResponse) MarshalVT() (dAtA []byte, err error)
- func (*DependencyGraphResponse) ProtoMessage()
- func (x *DependencyGraphResponse) ProtoReflect() protoreflect.Message
- func (x *DependencyGraphResponse) Reset()
- func (m *DependencyGraphResponse) SizeVT() (n int)
- func (x *DependencyGraphResponse) String() string
- func (m *DependencyGraphResponse) UnmarshalVT(dAtA []byte) error
- type DependencyGraphResponse_Edge
- func (m *DependencyGraphResponse_Edge) CloneMessageVT() proto.Message
- func (m *DependencyGraphResponse_Edge) CloneVT() *DependencyGraphResponse_Edge
- func (*DependencyGraphResponse_Edge) Descriptor() ([]byte, []int)deprecated
- func (this *DependencyGraphResponse_Edge) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DependencyGraphResponse_Edge) EqualVT(that *DependencyGraphResponse_Edge) bool
- func (x *DependencyGraphResponse_Edge) GetEdgeType() int32
- func (x *DependencyGraphResponse_Edge) GetId() string
- func (x *DependencyGraphResponse_Edge) GetSource() string
- func (x *DependencyGraphResponse_Edge) GetTarget() string
- func (m *DependencyGraphResponse_Edge) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DependencyGraphResponse_Edge) MarshalToVT(dAtA []byte) (int, error)
- func (m *DependencyGraphResponse_Edge) MarshalVT() (dAtA []byte, err error)
- func (*DependencyGraphResponse_Edge) ProtoMessage()
- func (x *DependencyGraphResponse_Edge) ProtoReflect() protoreflect.Message
- func (x *DependencyGraphResponse_Edge) Reset()
- func (m *DependencyGraphResponse_Edge) SizeVT() (n int)
- func (x *DependencyGraphResponse_Edge) String() string
- func (m *DependencyGraphResponse_Edge) UnmarshalVT(dAtA []byte) error
- type DependencyGraphResponse_Node
- func (m *DependencyGraphResponse_Node) CloneMessageVT() proto.Message
- func (m *DependencyGraphResponse_Node) CloneVT() *DependencyGraphResponse_Node
- func (*DependencyGraphResponse_Node) Descriptor() ([]byte, []int)deprecated
- func (this *DependencyGraphResponse_Node) EqualMessageVT(thatMsg proto.Message) bool
- func (this *DependencyGraphResponse_Node) EqualVT(that *DependencyGraphResponse_Node) bool
- func (x *DependencyGraphResponse_Node) GetFields() []string
- func (x *DependencyGraphResponse_Node) GetId() string
- func (x *DependencyGraphResponse_Node) GetLabel() string
- func (x *DependencyGraphResponse_Node) GetLabels() []string
- func (x *DependencyGraphResponse_Node) GetType() DependencyGraphResponse_Node_Type
- func (m *DependencyGraphResponse_Node) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DependencyGraphResponse_Node) MarshalToVT(dAtA []byte) (int, error)
- func (m *DependencyGraphResponse_Node) MarshalVT() (dAtA []byte, err error)
- func (*DependencyGraphResponse_Node) ProtoMessage()
- func (x *DependencyGraphResponse_Node) ProtoReflect() protoreflect.Message
- func (x *DependencyGraphResponse_Node) Reset()
- func (m *DependencyGraphResponse_Node) SizeVT() (n int)
- func (x *DependencyGraphResponse_Node) String() string
- func (m *DependencyGraphResponse_Node) UnmarshalVT(dAtA []byte) error
- type DependencyGraphResponse_Node_Type
- func (DependencyGraphResponse_Node_Type) Descriptor() protoreflect.EnumDescriptor
- func (x DependencyGraphResponse_Node_Type) Enum() *DependencyGraphResponse_Node_Type
- func (DependencyGraphResponse_Node_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x DependencyGraphResponse_Node_Type) Number() protoreflect.EnumNumber
- func (x DependencyGraphResponse_Node_Type) String() string
- func (DependencyGraphResponse_Node_Type) Type() protoreflect.EnumType
- type Event
- func (m *Event) CloneMessageVT() proto.Message
- func (m *Event) CloneVT() *Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (this *Event) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Event) EqualVT(that *Event) bool
- func (x *Event) GetEventType() EventType
- func (x *Event) GetOld() string
- func (x *Event) GetResource() string
- func (m *Event) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Event) MarshalToVT(dAtA []byte) (int, error)
- func (m *Event) MarshalVT() (dAtA []byte, err error)
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (m *Event) SizeVT() (n int)
- func (x *Event) String() string
- func (m *Event) UnmarshalVT(dAtA []byte) error
- type EventType
- type GetRequest
- func (m *GetRequest) CloneMessageVT() proto.Message
- func (m *GetRequest) CloneVT() *GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)deprecated
- func (this *GetRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *GetRequest) EqualVT(that *GetRequest) bool
- func (x *GetRequest) GetId() string
- func (x *GetRequest) GetNamespace() string
- func (x *GetRequest) GetType() string
- func (m *GetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetRequest) ProtoMessage()
- func (x *GetRequest) ProtoReflect() protoreflect.Message
- func (x *GetRequest) Reset()
- func (m *GetRequest) SizeVT() (n int)
- func (x *GetRequest) String() string
- func (m *GetRequest) UnmarshalVT(dAtA []byte) error
- type GetResponse
- func (m *GetResponse) CloneMessageVT() proto.Message
- func (m *GetResponse) CloneVT() *GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)deprecated
- func (this *GetResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *GetResponse) EqualVT(that *GetResponse) bool
- func (x *GetResponse) GetBody() string
- func (m *GetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetResponse) ProtoMessage()
- func (x *GetResponse) ProtoReflect() protoreflect.Message
- func (x *GetResponse) Reset()
- func (m *GetResponse) SizeVT() (n int)
- func (x *GetResponse) String() string
- func (m *GetResponse) UnmarshalVT(dAtA []byte) error
- type ListRequest
- func (m *ListRequest) CloneMessageVT() proto.Message
- func (m *ListRequest) CloneVT() *ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)deprecated
- func (this *ListRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ListRequest) EqualVT(that *ListRequest) bool
- func (x *ListRequest) GetLimit() int32
- func (x *ListRequest) GetNamespace() string
- func (x *ListRequest) GetOffset() int32
- func (x *ListRequest) GetSearchFor() []string
- func (x *ListRequest) GetSortByField() string
- func (x *ListRequest) GetSortDescending() bool
- func (x *ListRequest) GetType() string
- func (m *ListRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ListRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ListRequest) MarshalVT() (dAtA []byte, err error)
- func (*ListRequest) ProtoMessage()
- func (x *ListRequest) ProtoReflect() protoreflect.Message
- func (x *ListRequest) Reset()
- func (m *ListRequest) SizeVT() (n int)
- func (x *ListRequest) String() string
- func (m *ListRequest) UnmarshalVT(dAtA []byte) error
- type ListResponse
- func (m *ListResponse) CloneMessageVT() proto.Message
- func (m *ListResponse) CloneVT() *ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)deprecated
- func (this *ListResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ListResponse) EqualVT(that *ListResponse) bool
- func (x *ListResponse) GetItems() []string
- func (x *ListResponse) GetTotal() int32
- func (m *ListResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ListResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ListResponse) MarshalVT() (dAtA []byte, err error)
- func (*ListResponse) ProtoMessage()
- func (x *ListResponse) ProtoReflect() protoreflect.Message
- func (x *ListResponse) Reset()
- func (m *ListResponse) SizeVT() (n int)
- func (x *ListResponse) String() string
- func (m *ListResponse) UnmarshalVT(dAtA []byte) error
- type Resource
- func (m *Resource) CloneMessageVT() proto.Message
- func (m *Resource) CloneVT() *Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (this *Resource) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Resource) EqualVT(that *Resource) bool
- func (x *Resource) GetMetadata() *v1alpha1.Metadata
- func (x *Resource) GetSpec() string
- func (m *Resource) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Resource) MarshalToVT(dAtA []byte) (int, error)
- func (m *Resource) MarshalVT() (dAtA []byte, err error)
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (m *Resource) SizeVT() (n int)
- func (x *Resource) String() string
- func (m *Resource) UnmarshalVT(dAtA []byte) error
- type ResourceServiceClient
- type ResourceServiceServer
- type ResourceService_WatchClient
- type ResourceService_WatchServer
- type UnimplementedResourceServiceServer
- func (UnimplementedResourceServiceServer) Controllers(context.Context, *ControllersRequest) (*ControllersResponse, error)
- func (UnimplementedResourceServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
- func (UnimplementedResourceServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedResourceServiceServer) DependencyGraph(context.Context, *DependencyGraphRequest) (*DependencyGraphResponse, error)
- func (UnimplementedResourceServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
- func (UnimplementedResourceServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (UnimplementedResourceServiceServer) Teardown(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedResourceServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- func (UnimplementedResourceServiceServer) Watch(*WatchRequest, grpc.ServerStreamingServer[WatchResponse]) error
- type UnsafeResourceServiceServer
- type UpdateRequest
- func (m *UpdateRequest) CloneMessageVT() proto.Message
- func (m *UpdateRequest) CloneVT() *UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (this *UpdateRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *UpdateRequest) EqualVT(that *UpdateRequest) bool
- func (x *UpdateRequest) GetCurrentVersion() string
- func (x *UpdateRequest) GetResource() *Resource
- func (m *UpdateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateRequest) MarshalVT() (dAtA []byte, err error)
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (m *UpdateRequest) SizeVT() (n int)
- func (x *UpdateRequest) String() string
- func (m *UpdateRequest) UnmarshalVT(dAtA []byte) error
- type UpdateResponse
- func (m *UpdateResponse) CloneMessageVT() proto.Message
- func (m *UpdateResponse) CloneVT() *UpdateResponse
- func (*UpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (this *UpdateResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *UpdateResponse) EqualVT(that *UpdateResponse) bool
- func (m *UpdateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateResponse) MarshalVT() (dAtA []byte, err error)
- func (*UpdateResponse) ProtoMessage()
- func (x *UpdateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResponse) Reset()
- func (m *UpdateResponse) SizeVT() (n int)
- func (x *UpdateResponse) String() string
- func (m *UpdateResponse) UnmarshalVT(dAtA []byte) error
- type WatchRequest
- func (m *WatchRequest) CloneMessageVT() proto.Message
- func (m *WatchRequest) CloneVT() *WatchRequest
- func (*WatchRequest) Descriptor() ([]byte, []int)deprecated
- func (this *WatchRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *WatchRequest) EqualVT(that *WatchRequest) bool
- func (x *WatchRequest) GetId() string
- func (x *WatchRequest) GetLimit() int32
- func (x *WatchRequest) GetNamespace() string
- func (x *WatchRequest) GetOffset() int32
- func (x *WatchRequest) GetSearchFor() []string
- func (x *WatchRequest) GetSortByField() string
- func (x *WatchRequest) GetSortDescending() bool
- func (x *WatchRequest) GetTailEvents() int32
- func (x *WatchRequest) GetType() string
- func (m *WatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchRequest) MarshalVT() (dAtA []byte, err error)
- func (*WatchRequest) ProtoMessage()
- func (x *WatchRequest) ProtoReflect() protoreflect.Message
- func (x *WatchRequest) Reset()
- func (m *WatchRequest) SizeVT() (n int)
- func (x *WatchRequest) String() string
- func (m *WatchRequest) UnmarshalVT(dAtA []byte) error
- type WatchResponse
- func (m *WatchResponse) CloneMessageVT() proto.Message
- func (m *WatchResponse) CloneVT() *WatchResponse
- func (*WatchResponse) Descriptor() ([]byte, []int)deprecated
- func (this *WatchResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *WatchResponse) EqualVT(that *WatchResponse) bool
- func (x *WatchResponse) GetEvent() *Event
- func (x *WatchResponse) GetSortDescending() bool
- func (x *WatchResponse) GetSortFieldData() string
- func (x *WatchResponse) GetTotal() int32
- func (m *WatchResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchResponse) MarshalVT() (dAtA []byte, err error)
- func (*WatchResponse) ProtoMessage()
- func (x *WatchResponse) ProtoReflect() protoreflect.Message
- func (x *WatchResponse) Reset()
- func (m *WatchResponse) SizeVT() (n int)
- func (x *WatchResponse) String() string
- func (m *WatchResponse) UnmarshalVT(dAtA []byte) error
Constants ¶
const ( ResourceService_Get_FullMethodName = "/omni.resources.ResourceService/Get" ResourceService_List_FullMethodName = "/omni.resources.ResourceService/List" ResourceService_Create_FullMethodName = "/omni.resources.ResourceService/Create" ResourceService_Update_FullMethodName = "/omni.resources.ResourceService/Update" ResourceService_Delete_FullMethodName = "/omni.resources.ResourceService/Delete" ResourceService_Teardown_FullMethodName = "/omni.resources.ResourceService/Teardown" ResourceService_Watch_FullMethodName = "/omni.resources.ResourceService/Watch" ResourceService_Controllers_FullMethodName = "/omni.resources.ResourceService/Controllers" ResourceService_DependencyGraph_FullMethodName = "/omni.resources.ResourceService/DependencyGraph" )
Variables ¶
var ( EventType_name = map[int32]string{ 0: "UNKNOWN", 1: "CREATED", 2: "UPDATED", 3: "DESTROYED", 4: "BOOTSTRAPPED", } EventType_value = map[string]int32{ "UNKNOWN": 0, "CREATED": 1, "UPDATED": 2, "DESTROYED": 3, "BOOTSTRAPPED": 4, } )
Enum value maps for EventType.
var ( DependencyGraphResponse_Node_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "CONTROLLER", 2: "RESOURCE", } DependencyGraphResponse_Node_Type_value = map[string]int32{ "UNKNOWN": 0, "CONTROLLER": 1, "RESOURCE": 2, } )
Enum value maps for DependencyGraphResponse_Node_Type.
var File_omni_resources_resources_proto protoreflect.FileDescriptor
var ResourceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "omni.resources.ResourceService", HandlerType: (*ResourceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _ResourceService_Get_Handler, }, { MethodName: "List", Handler: _ResourceService_List_Handler, }, { MethodName: "Create", Handler: _ResourceService_Create_Handler, }, { MethodName: "Update", Handler: _ResourceService_Update_Handler, }, { MethodName: "Delete", Handler: _ResourceService_Delete_Handler, }, { MethodName: "Teardown", Handler: _ResourceService_Teardown_Handler, }, { MethodName: "Controllers", Handler: _ResourceService_Controllers_Handler, }, { MethodName: "DependencyGraph", Handler: _ResourceService_DependencyGraph_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Watch", Handler: _ResourceService_Watch_Handler, ServerStreams: true, }, }, Metadata: "omni/resources/resources.proto", }
ResourceService_ServiceDesc is the grpc.ServiceDesc for ResourceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterResourceServiceHandler ¶
func RegisterResourceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterResourceServiceHandler registers the http handlers for service ResourceService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterResourceServiceHandlerClient ¶
func RegisterResourceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResourceServiceClient) error
RegisterResourceServiceHandlerClient registers the http handlers for service ResourceService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ResourceServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ResourceServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ResourceServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterResourceServiceHandlerFromEndpoint ¶
func RegisterResourceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterResourceServiceHandlerFromEndpoint is same as RegisterResourceServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterResourceServiceHandlerServer ¶
func RegisterResourceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResourceServiceServer) error
RegisterResourceServiceHandlerServer registers the http handlers for service ResourceService to "mux". UnaryRPC :call ResourceServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterResourceServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterResourceServiceServer ¶
func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)
Types ¶
type ControllersRequest ¶ added in v1.0.0
type ControllersRequest struct {
// contains filtered or unexported fields
}
func (*ControllersRequest) CloneMessageVT ¶ added in v1.0.0
func (m *ControllersRequest) CloneMessageVT() proto.Message
func (*ControllersRequest) CloneVT ¶ added in v1.0.0
func (m *ControllersRequest) CloneVT() *ControllersRequest
func (*ControllersRequest) Descriptor
deprecated
added in
v1.0.0
func (*ControllersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ControllersRequest.ProtoReflect.Descriptor instead.
func (*ControllersRequest) EqualMessageVT ¶ added in v1.0.0
func (this *ControllersRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*ControllersRequest) EqualVT ¶ added in v1.0.0
func (this *ControllersRequest) EqualVT(that *ControllersRequest) bool
func (*ControllersRequest) MarshalToSizedBufferVT ¶ added in v1.0.0
func (m *ControllersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ControllersRequest) MarshalToVT ¶ added in v1.0.0
func (m *ControllersRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ControllersRequest) MarshalVT ¶ added in v1.0.0
func (m *ControllersRequest) MarshalVT() (dAtA []byte, err error)
func (*ControllersRequest) ProtoMessage ¶ added in v1.0.0
func (*ControllersRequest) ProtoMessage()
func (*ControllersRequest) ProtoReflect ¶ added in v1.0.0
func (x *ControllersRequest) ProtoReflect() protoreflect.Message
func (*ControllersRequest) Reset ¶ added in v1.0.0
func (x *ControllersRequest) Reset()
func (*ControllersRequest) SizeVT ¶ added in v1.0.0
func (m *ControllersRequest) SizeVT() (n int)
func (*ControllersRequest) String ¶ added in v1.0.0
func (x *ControllersRequest) String() string
func (*ControllersRequest) UnmarshalVT ¶ added in v1.0.0
func (m *ControllersRequest) UnmarshalVT(dAtA []byte) error
type ControllersResponse ¶ added in v1.0.0
type ControllersResponse struct {
Controllers []string `protobuf:"bytes,1,rep,name=controllers,proto3" json:"controllers,omitempty"`
// contains filtered or unexported fields
}
func (*ControllersResponse) CloneMessageVT ¶ added in v1.0.0
func (m *ControllersResponse) CloneMessageVT() proto.Message
func (*ControllersResponse) CloneVT ¶ added in v1.0.0
func (m *ControllersResponse) CloneVT() *ControllersResponse
func (*ControllersResponse) Descriptor
deprecated
added in
v1.0.0
func (*ControllersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ControllersResponse.ProtoReflect.Descriptor instead.
func (*ControllersResponse) EqualMessageVT ¶ added in v1.0.0
func (this *ControllersResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*ControllersResponse) EqualVT ¶ added in v1.0.0
func (this *ControllersResponse) EqualVT(that *ControllersResponse) bool
func (*ControllersResponse) GetControllers ¶ added in v1.0.0
func (x *ControllersResponse) GetControllers() []string
func (*ControllersResponse) MarshalToSizedBufferVT ¶ added in v1.0.0
func (m *ControllersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ControllersResponse) MarshalToVT ¶ added in v1.0.0
func (m *ControllersResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ControllersResponse) MarshalVT ¶ added in v1.0.0
func (m *ControllersResponse) MarshalVT() (dAtA []byte, err error)
func (*ControllersResponse) ProtoMessage ¶ added in v1.0.0
func (*ControllersResponse) ProtoMessage()
func (*ControllersResponse) ProtoReflect ¶ added in v1.0.0
func (x *ControllersResponse) ProtoReflect() protoreflect.Message
func (*ControllersResponse) Reset ¶ added in v1.0.0
func (x *ControllersResponse) Reset()
func (*ControllersResponse) SizeVT ¶ added in v1.0.0
func (m *ControllersResponse) SizeVT() (n int)
func (*ControllersResponse) String ¶ added in v1.0.0
func (x *ControllersResponse) String() string
func (*ControllersResponse) UnmarshalVT ¶ added in v1.0.0
func (m *ControllersResponse) UnmarshalVT(dAtA []byte) error
type CreateRequest ¶
type CreateRequest struct {
Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
// contains filtered or unexported fields
}
func (*CreateRequest) CloneMessageVT ¶
func (m *CreateRequest) CloneMessageVT() proto.Message
func (*CreateRequest) CloneVT ¶
func (m *CreateRequest) CloneVT() *CreateRequest
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) EqualMessageVT ¶
func (this *CreateRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*CreateRequest) EqualVT ¶
func (this *CreateRequest) EqualVT(that *CreateRequest) bool
func (*CreateRequest) GetResource ¶
func (x *CreateRequest) GetResource() *Resource
func (*CreateRequest) MarshalToSizedBufferVT ¶
func (m *CreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateRequest) MarshalToVT ¶
func (m *CreateRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CreateRequest) MarshalVT ¶
func (m *CreateRequest) MarshalVT() (dAtA []byte, err error)
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) SizeVT ¶
func (m *CreateRequest) SizeVT() (n int)
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
func (*CreateRequest) UnmarshalVT ¶
func (m *CreateRequest) UnmarshalVT(dAtA []byte) error
type CreateResponse ¶
type CreateResponse struct {
// contains filtered or unexported fields
}
func (*CreateResponse) CloneMessageVT ¶
func (m *CreateResponse) CloneMessageVT() proto.Message
func (*CreateResponse) CloneVT ¶
func (m *CreateResponse) CloneVT() *CreateResponse
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) EqualMessageVT ¶
func (this *CreateResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*CreateResponse) EqualVT ¶
func (this *CreateResponse) EqualVT(that *CreateResponse) bool
func (*CreateResponse) MarshalToSizedBufferVT ¶
func (m *CreateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateResponse) MarshalToVT ¶
func (m *CreateResponse) MarshalToVT(dAtA []byte) (int, error)
func (*CreateResponse) MarshalVT ¶
func (m *CreateResponse) MarshalVT() (dAtA []byte, err error)
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) SizeVT ¶
func (m *CreateResponse) SizeVT() (n int)
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
func (*CreateResponse) UnmarshalVT ¶
func (m *CreateResponse) UnmarshalVT(dAtA []byte) error
type DeleteRequest ¶
type DeleteRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteRequest) CloneMessageVT ¶
func (m *DeleteRequest) CloneMessageVT() proto.Message
func (*DeleteRequest) CloneVT ¶
func (m *DeleteRequest) CloneVT() *DeleteRequest
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) EqualMessageVT ¶
func (this *DeleteRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*DeleteRequest) EqualVT ¶
func (this *DeleteRequest) EqualVT(that *DeleteRequest) bool
func (*DeleteRequest) GetId ¶
func (x *DeleteRequest) GetId() string
func (*DeleteRequest) GetNamespace ¶
func (x *DeleteRequest) GetNamespace() string
func (*DeleteRequest) GetType ¶
func (x *DeleteRequest) GetType() string
func (*DeleteRequest) MarshalToSizedBufferVT ¶
func (m *DeleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DeleteRequest) MarshalToVT ¶
func (m *DeleteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*DeleteRequest) MarshalVT ¶
func (m *DeleteRequest) MarshalVT() (dAtA []byte, err error)
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) SizeVT ¶
func (m *DeleteRequest) SizeVT() (n int)
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
func (*DeleteRequest) UnmarshalVT ¶
func (m *DeleteRequest) UnmarshalVT(dAtA []byte) error
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResponse) CloneMessageVT ¶
func (m *DeleteResponse) CloneMessageVT() proto.Message
func (*DeleteResponse) CloneVT ¶
func (m *DeleteResponse) CloneVT() *DeleteResponse
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) EqualMessageVT ¶
func (this *DeleteResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*DeleteResponse) EqualVT ¶
func (this *DeleteResponse) EqualVT(that *DeleteResponse) bool
func (*DeleteResponse) MarshalToSizedBufferVT ¶
func (m *DeleteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DeleteResponse) MarshalToVT ¶
func (m *DeleteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*DeleteResponse) MarshalVT ¶
func (m *DeleteResponse) MarshalVT() (dAtA []byte, err error)
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) SizeVT ¶
func (m *DeleteResponse) SizeVT() (n int)
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
func (*DeleteResponse) UnmarshalVT ¶
func (m *DeleteResponse) UnmarshalVT(dAtA []byte) error
type DependencyGraphRequest ¶ added in v1.0.0
type DependencyGraphRequest struct {
Controllers []string `protobuf:"bytes,1,rep,name=controllers,proto3" json:"controllers,omitempty"`
ShowDestroyReady bool `protobuf:"varint,2,opt,name=show_destroy_ready,json=showDestroyReady,proto3" json:"show_destroy_ready,omitempty"`
// contains filtered or unexported fields
}
func (*DependencyGraphRequest) CloneMessageVT ¶ added in v1.0.0
func (m *DependencyGraphRequest) CloneMessageVT() proto.Message
func (*DependencyGraphRequest) CloneVT ¶ added in v1.0.0
func (m *DependencyGraphRequest) CloneVT() *DependencyGraphRequest
func (*DependencyGraphRequest) Descriptor
deprecated
added in
v1.0.0
func (*DependencyGraphRequest) Descriptor() ([]byte, []int)
Deprecated: Use DependencyGraphRequest.ProtoReflect.Descriptor instead.
func (*DependencyGraphRequest) EqualMessageVT ¶ added in v1.0.0
func (this *DependencyGraphRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*DependencyGraphRequest) EqualVT ¶ added in v1.0.0
func (this *DependencyGraphRequest) EqualVT(that *DependencyGraphRequest) bool
func (*DependencyGraphRequest) GetControllers ¶ added in v1.0.0
func (x *DependencyGraphRequest) GetControllers() []string
func (*DependencyGraphRequest) GetShowDestroyReady ¶ added in v1.0.0
func (x *DependencyGraphRequest) GetShowDestroyReady() bool
func (*DependencyGraphRequest) MarshalToSizedBufferVT ¶ added in v1.0.0
func (m *DependencyGraphRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DependencyGraphRequest) MarshalToVT ¶ added in v1.0.0
func (m *DependencyGraphRequest) MarshalToVT(dAtA []byte) (int, error)
func (*DependencyGraphRequest) MarshalVT ¶ added in v1.0.0
func (m *DependencyGraphRequest) MarshalVT() (dAtA []byte, err error)
func (*DependencyGraphRequest) ProtoMessage ¶ added in v1.0.0
func (*DependencyGraphRequest) ProtoMessage()
func (*DependencyGraphRequest) ProtoReflect ¶ added in v1.0.0
func (x *DependencyGraphRequest) ProtoReflect() protoreflect.Message
func (*DependencyGraphRequest) Reset ¶ added in v1.0.0
func (x *DependencyGraphRequest) Reset()
func (*DependencyGraphRequest) SizeVT ¶ added in v1.0.0
func (m *DependencyGraphRequest) SizeVT() (n int)
func (*DependencyGraphRequest) String ¶ added in v1.0.0
func (x *DependencyGraphRequest) String() string
func (*DependencyGraphRequest) UnmarshalVT ¶ added in v1.0.0
func (m *DependencyGraphRequest) UnmarshalVT(dAtA []byte) error
type DependencyGraphResponse ¶ added in v1.0.0
type DependencyGraphResponse struct {
Nodes []*DependencyGraphResponse_Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
Edges []*DependencyGraphResponse_Edge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"`
// contains filtered or unexported fields
}
func (*DependencyGraphResponse) CloneMessageVT ¶ added in v1.0.0
func (m *DependencyGraphResponse) CloneMessageVT() proto.Message
func (*DependencyGraphResponse) CloneVT ¶ added in v1.0.0
func (m *DependencyGraphResponse) CloneVT() *DependencyGraphResponse
func (*DependencyGraphResponse) Descriptor
deprecated
added in
v1.0.0
func (*DependencyGraphResponse) Descriptor() ([]byte, []int)
Deprecated: Use DependencyGraphResponse.ProtoReflect.Descriptor instead.
func (*DependencyGraphResponse) EqualMessageVT ¶ added in v1.0.0
func (this *DependencyGraphResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*DependencyGraphResponse) EqualVT ¶ added in v1.0.0
func (this *DependencyGraphResponse) EqualVT(that *DependencyGraphResponse) bool
func (*DependencyGraphResponse) GetEdges ¶ added in v1.0.0
func (x *DependencyGraphResponse) GetEdges() []*DependencyGraphResponse_Edge
func (*DependencyGraphResponse) GetNodes ¶ added in v1.0.0
func (x *DependencyGraphResponse) GetNodes() []*DependencyGraphResponse_Node
func (*DependencyGraphResponse) MarshalToSizedBufferVT ¶ added in v1.0.0
func (m *DependencyGraphResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DependencyGraphResponse) MarshalToVT ¶ added in v1.0.0
func (m *DependencyGraphResponse) MarshalToVT(dAtA []byte) (int, error)
func (*DependencyGraphResponse) MarshalVT ¶ added in v1.0.0
func (m *DependencyGraphResponse) MarshalVT() (dAtA []byte, err error)
func (*DependencyGraphResponse) ProtoMessage ¶ added in v1.0.0
func (*DependencyGraphResponse) ProtoMessage()
func (*DependencyGraphResponse) ProtoReflect ¶ added in v1.0.0
func (x *DependencyGraphResponse) ProtoReflect() protoreflect.Message
func (*DependencyGraphResponse) Reset ¶ added in v1.0.0
func (x *DependencyGraphResponse) Reset()
func (*DependencyGraphResponse) SizeVT ¶ added in v1.0.0
func (m *DependencyGraphResponse) SizeVT() (n int)
func (*DependencyGraphResponse) String ¶ added in v1.0.0
func (x *DependencyGraphResponse) String() string
func (*DependencyGraphResponse) UnmarshalVT ¶ added in v1.0.0
func (m *DependencyGraphResponse) UnmarshalVT(dAtA []byte) error
type DependencyGraphResponse_Edge ¶ added in v1.0.0
type DependencyGraphResponse_Edge struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
EdgeType int32 `protobuf:"varint,4,opt,name=edge_type,json=edgeType,proto3" json:"edge_type,omitempty"`
// contains filtered or unexported fields
}
func (*DependencyGraphResponse_Edge) CloneMessageVT ¶ added in v1.0.0
func (m *DependencyGraphResponse_Edge) CloneMessageVT() proto.Message
func (*DependencyGraphResponse_Edge) CloneVT ¶ added in v1.0.0
func (m *DependencyGraphResponse_Edge) CloneVT() *DependencyGraphResponse_Edge
func (*DependencyGraphResponse_Edge) Descriptor
deprecated
added in
v1.0.0
func (*DependencyGraphResponse_Edge) Descriptor() ([]byte, []int)
Deprecated: Use DependencyGraphResponse_Edge.ProtoReflect.Descriptor instead.
func (*DependencyGraphResponse_Edge) EqualMessageVT ¶ added in v1.0.0
func (this *DependencyGraphResponse_Edge) EqualMessageVT(thatMsg proto.Message) bool
func (*DependencyGraphResponse_Edge) EqualVT ¶ added in v1.0.0
func (this *DependencyGraphResponse_Edge) EqualVT(that *DependencyGraphResponse_Edge) bool
func (*DependencyGraphResponse_Edge) GetEdgeType ¶ added in v1.0.0
func (x *DependencyGraphResponse_Edge) GetEdgeType() int32
func (*DependencyGraphResponse_Edge) GetId ¶ added in v1.0.0
func (x *DependencyGraphResponse_Edge) GetId() string
func (*DependencyGraphResponse_Edge) GetSource ¶ added in v1.0.0
func (x *DependencyGraphResponse_Edge) GetSource() string
func (*DependencyGraphResponse_Edge) GetTarget ¶ added in v1.0.0
func (x *DependencyGraphResponse_Edge) GetTarget() string
func (*DependencyGraphResponse_Edge) MarshalToSizedBufferVT ¶ added in v1.0.0
func (m *DependencyGraphResponse_Edge) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DependencyGraphResponse_Edge) MarshalToVT ¶ added in v1.0.0
func (m *DependencyGraphResponse_Edge) MarshalToVT(dAtA []byte) (int, error)
func (*DependencyGraphResponse_Edge) MarshalVT ¶ added in v1.0.0
func (m *DependencyGraphResponse_Edge) MarshalVT() (dAtA []byte, err error)
func (*DependencyGraphResponse_Edge) ProtoMessage ¶ added in v1.0.0
func (*DependencyGraphResponse_Edge) ProtoMessage()
func (*DependencyGraphResponse_Edge) ProtoReflect ¶ added in v1.0.0
func (x *DependencyGraphResponse_Edge) ProtoReflect() protoreflect.Message
func (*DependencyGraphResponse_Edge) Reset ¶ added in v1.0.0
func (x *DependencyGraphResponse_Edge) Reset()
func (*DependencyGraphResponse_Edge) SizeVT ¶ added in v1.0.0
func (m *DependencyGraphResponse_Edge) SizeVT() (n int)
func (*DependencyGraphResponse_Edge) String ¶ added in v1.0.0
func (x *DependencyGraphResponse_Edge) String() string
func (*DependencyGraphResponse_Edge) UnmarshalVT ¶ added in v1.0.0
func (m *DependencyGraphResponse_Edge) UnmarshalVT(dAtA []byte) error
type DependencyGraphResponse_Node ¶ added in v1.0.0
type DependencyGraphResponse_Node struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
Type DependencyGraphResponse_Node_Type `protobuf:"varint,3,opt,name=type,proto3,enum=omni.resources.DependencyGraphResponse_Node_Type" json:"type,omitempty"`
Labels []string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`
Fields []string `protobuf:"bytes,5,rep,name=fields,proto3" json:"fields,omitempty"`
// contains filtered or unexported fields
}
func (*DependencyGraphResponse_Node) CloneMessageVT ¶ added in v1.0.0
func (m *DependencyGraphResponse_Node) CloneMessageVT() proto.Message
func (*DependencyGraphResponse_Node) CloneVT ¶ added in v1.0.0
func (m *DependencyGraphResponse_Node) CloneVT() *DependencyGraphResponse_Node
func (*DependencyGraphResponse_Node) Descriptor
deprecated
added in
v1.0.0
func (*DependencyGraphResponse_Node) Descriptor() ([]byte, []int)
Deprecated: Use DependencyGraphResponse_Node.ProtoReflect.Descriptor instead.
func (*DependencyGraphResponse_Node) EqualMessageVT ¶ added in v1.0.0
func (this *DependencyGraphResponse_Node) EqualMessageVT(thatMsg proto.Message) bool
func (*DependencyGraphResponse_Node) EqualVT ¶ added in v1.0.0
func (this *DependencyGraphResponse_Node) EqualVT(that *DependencyGraphResponse_Node) bool
func (*DependencyGraphResponse_Node) GetFields ¶ added in v1.0.0
func (x *DependencyGraphResponse_Node) GetFields() []string
func (*DependencyGraphResponse_Node) GetId ¶ added in v1.0.0
func (x *DependencyGraphResponse_Node) GetId() string
func (*DependencyGraphResponse_Node) GetLabel ¶ added in v1.0.0
func (x *DependencyGraphResponse_Node) GetLabel() string
func (*DependencyGraphResponse_Node) GetLabels ¶ added in v1.0.0
func (x *DependencyGraphResponse_Node) GetLabels() []string
func (*DependencyGraphResponse_Node) GetType ¶ added in v1.0.0
func (x *DependencyGraphResponse_Node) GetType() DependencyGraphResponse_Node_Type
func (*DependencyGraphResponse_Node) MarshalToSizedBufferVT ¶ added in v1.0.0
func (m *DependencyGraphResponse_Node) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DependencyGraphResponse_Node) MarshalToVT ¶ added in v1.0.0
func (m *DependencyGraphResponse_Node) MarshalToVT(dAtA []byte) (int, error)
func (*DependencyGraphResponse_Node) MarshalVT ¶ added in v1.0.0
func (m *DependencyGraphResponse_Node) MarshalVT() (dAtA []byte, err error)
func (*DependencyGraphResponse_Node) ProtoMessage ¶ added in v1.0.0
func (*DependencyGraphResponse_Node) ProtoMessage()
func (*DependencyGraphResponse_Node) ProtoReflect ¶ added in v1.0.0
func (x *DependencyGraphResponse_Node) ProtoReflect() protoreflect.Message
func (*DependencyGraphResponse_Node) Reset ¶ added in v1.0.0
func (x *DependencyGraphResponse_Node) Reset()
func (*DependencyGraphResponse_Node) SizeVT ¶ added in v1.0.0
func (m *DependencyGraphResponse_Node) SizeVT() (n int)
func (*DependencyGraphResponse_Node) String ¶ added in v1.0.0
func (x *DependencyGraphResponse_Node) String() string
func (*DependencyGraphResponse_Node) UnmarshalVT ¶ added in v1.0.0
func (m *DependencyGraphResponse_Node) UnmarshalVT(dAtA []byte) error
type DependencyGraphResponse_Node_Type ¶ added in v1.0.0
type DependencyGraphResponse_Node_Type int32
const ( DependencyGraphResponse_Node_UNKNOWN DependencyGraphResponse_Node_Type = 0 DependencyGraphResponse_Node_CONTROLLER DependencyGraphResponse_Node_Type = 1 DependencyGraphResponse_Node_RESOURCE DependencyGraphResponse_Node_Type = 2 )
func (DependencyGraphResponse_Node_Type) Descriptor ¶ added in v1.0.0
func (DependencyGraphResponse_Node_Type) Descriptor() protoreflect.EnumDescriptor
func (DependencyGraphResponse_Node_Type) Enum ¶ added in v1.0.0
func (x DependencyGraphResponse_Node_Type) Enum() *DependencyGraphResponse_Node_Type
func (DependencyGraphResponse_Node_Type) EnumDescriptor
deprecated
added in
v1.0.0
func (DependencyGraphResponse_Node_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use DependencyGraphResponse_Node_Type.Descriptor instead.
func (DependencyGraphResponse_Node_Type) Number ¶ added in v1.0.0
func (x DependencyGraphResponse_Node_Type) Number() protoreflect.EnumNumber
func (DependencyGraphResponse_Node_Type) String ¶ added in v1.0.0
func (x DependencyGraphResponse_Node_Type) String() string
func (DependencyGraphResponse_Node_Type) Type ¶ added in v1.0.0
func (DependencyGraphResponse_Node_Type) Type() protoreflect.EnumType
type Event ¶
type Event struct {
Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
Old string `protobuf:"bytes,2,opt,name=old,proto3" json:"old,omitempty"`
EventType EventType `protobuf:"varint,3,opt,name=event_type,json=eventType,proto3,enum=omni.resources.EventType" json:"event_type,omitempty"`
// contains filtered or unexported fields
}
Event is emitted when resource changes. It's the same as COSI Event, but encodes resources into JSON.
func (*Event) CloneMessageVT ¶
func (*Event) Descriptor
deprecated
func (*Event) GetEventType ¶
func (*Event) GetResource ¶
func (*Event) MarshalToSizedBufferVT ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) UnmarshalVT ¶
type EventType ¶
type EventType int32
func (EventType) Descriptor ¶
func (EventType) Descriptor() protoreflect.EnumDescriptor
func (EventType) EnumDescriptor
deprecated
func (EventType) Number ¶
func (x EventType) Number() protoreflect.EnumNumber
func (EventType) Type ¶
func (EventType) Type() protoreflect.EnumType
type GetRequest ¶
type GetRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetRequest) CloneMessageVT ¶
func (m *GetRequest) CloneMessageVT() proto.Message
func (*GetRequest) CloneVT ¶
func (m *GetRequest) CloneVT() *GetRequest
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) EqualMessageVT ¶
func (this *GetRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*GetRequest) EqualVT ¶
func (this *GetRequest) EqualVT(that *GetRequest) bool
func (*GetRequest) GetId ¶
func (x *GetRequest) GetId() string
func (*GetRequest) GetNamespace ¶
func (x *GetRequest) GetNamespace() string
func (*GetRequest) GetType ¶
func (x *GetRequest) GetType() string
func (*GetRequest) MarshalToSizedBufferVT ¶
func (m *GetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetRequest) MarshalToVT ¶
func (m *GetRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetRequest) MarshalVT ¶
func (m *GetRequest) MarshalVT() (dAtA []byte, err error)
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) SizeVT ¶
func (m *GetRequest) SizeVT() (n int)
func (*GetRequest) String ¶
func (x *GetRequest) String() string
func (*GetRequest) UnmarshalVT ¶
func (m *GetRequest) UnmarshalVT(dAtA []byte) error
type GetResponse ¶
type GetResponse struct {
// Body should contain JSON encoded spec.
Body string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
// contains filtered or unexported fields
}
func (*GetResponse) CloneMessageVT ¶
func (m *GetResponse) CloneMessageVT() proto.Message
func (*GetResponse) CloneVT ¶
func (m *GetResponse) CloneVT() *GetResponse
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) EqualMessageVT ¶
func (this *GetResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*GetResponse) EqualVT ¶
func (this *GetResponse) EqualVT(that *GetResponse) bool
func (*GetResponse) GetBody ¶
func (x *GetResponse) GetBody() string
func (*GetResponse) MarshalToSizedBufferVT ¶
func (m *GetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetResponse) MarshalToVT ¶
func (m *GetResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetResponse) MarshalVT ¶
func (m *GetResponse) MarshalVT() (dAtA []byte, err error)
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) SizeVT ¶
func (m *GetResponse) SizeVT() (n int)
func (*GetResponse) String ¶
func (x *GetResponse) String() string
func (*GetResponse) UnmarshalVT ¶
func (m *GetResponse) UnmarshalVT(dAtA []byte) error
type ListRequest ¶
type ListRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
SortByField string `protobuf:"bytes,5,opt,name=sort_by_field,json=sortByField,proto3" json:"sort_by_field,omitempty"`
SortDescending bool `protobuf:"varint,6,opt,name=sort_descending,json=sortDescending,proto3" json:"sort_descending,omitempty"`
SearchFor []string `protobuf:"bytes,7,rep,name=search_for,json=searchFor,proto3" json:"search_for,omitempty"`
// contains filtered or unexported fields
}
func (*ListRequest) CloneMessageVT ¶
func (m *ListRequest) CloneMessageVT() proto.Message
func (*ListRequest) CloneVT ¶
func (m *ListRequest) CloneVT() *ListRequest
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) EqualMessageVT ¶
func (this *ListRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*ListRequest) EqualVT ¶
func (this *ListRequest) EqualVT(that *ListRequest) bool
func (*ListRequest) GetLimit ¶
func (x *ListRequest) GetLimit() int32
func (*ListRequest) GetNamespace ¶
func (x *ListRequest) GetNamespace() string
func (*ListRequest) GetOffset ¶
func (x *ListRequest) GetOffset() int32
func (*ListRequest) GetSearchFor ¶
func (x *ListRequest) GetSearchFor() []string
func (*ListRequest) GetSortByField ¶
func (x *ListRequest) GetSortByField() string
func (*ListRequest) GetSortDescending ¶
func (x *ListRequest) GetSortDescending() bool
func (*ListRequest) GetType ¶
func (x *ListRequest) GetType() string
func (*ListRequest) MarshalToSizedBufferVT ¶
func (m *ListRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ListRequest) MarshalToVT ¶
func (m *ListRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ListRequest) MarshalVT ¶
func (m *ListRequest) MarshalVT() (dAtA []byte, err error)
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) SizeVT ¶
func (m *ListRequest) SizeVT() (n int)
func (*ListRequest) String ¶
func (x *ListRequest) String() string
func (*ListRequest) UnmarshalVT ¶
func (m *ListRequest) UnmarshalVT(dAtA []byte) error
type ListResponse ¶
type ListResponse struct {
// Items should contain JSON encoded resources.
Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
// contains filtered or unexported fields
}
func (*ListResponse) CloneMessageVT ¶
func (m *ListResponse) CloneMessageVT() proto.Message
func (*ListResponse) CloneVT ¶
func (m *ListResponse) CloneVT() *ListResponse
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) EqualMessageVT ¶
func (this *ListResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*ListResponse) EqualVT ¶
func (this *ListResponse) EqualVT(that *ListResponse) bool
func (*ListResponse) GetItems ¶
func (x *ListResponse) GetItems() []string
func (*ListResponse) GetTotal ¶
func (x *ListResponse) GetTotal() int32
func (*ListResponse) MarshalToSizedBufferVT ¶
func (m *ListResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ListResponse) MarshalToVT ¶
func (m *ListResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ListResponse) MarshalVT ¶
func (m *ListResponse) MarshalVT() (dAtA []byte, err error)
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) SizeVT ¶
func (m *ListResponse) SizeVT() (n int)
func (*ListResponse) String ¶
func (x *ListResponse) String() string
func (*ListResponse) UnmarshalVT ¶
func (m *ListResponse) UnmarshalVT(dAtA []byte) error
type Resource ¶
type Resource struct {
Metadata *v1alpha1.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec string `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*Resource) CloneMessageVT ¶
func (*Resource) Descriptor
deprecated
func (*Resource) GetMetadata ¶
func (*Resource) MarshalToSizedBufferVT ¶
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
func (*Resource) UnmarshalVT ¶
type ResourceServiceClient ¶
type ResourceServiceClient interface {
Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
Teardown(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchResponse], error)
Controllers(ctx context.Context, in *ControllersRequest, opts ...grpc.CallOption) (*ControllersResponse, error)
DependencyGraph(ctx context.Context, in *DependencyGraphRequest, opts ...grpc.CallOption) (*DependencyGraphResponse, error)
}
ResourceServiceClient is the client API for ResourceService 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 NewResourceServiceClient ¶
func NewResourceServiceClient(cc grpc.ClientConnInterface) ResourceServiceClient
type ResourceServiceServer ¶
type ResourceServiceServer interface {
Get(context.Context, *GetRequest) (*GetResponse, error)
List(context.Context, *ListRequest) (*ListResponse, error)
Create(context.Context, *CreateRequest) (*CreateResponse, error)
Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
Teardown(context.Context, *DeleteRequest) (*DeleteResponse, error)
Watch(*WatchRequest, grpc.ServerStreamingServer[WatchResponse]) error
Controllers(context.Context, *ControllersRequest) (*ControllersResponse, error)
DependencyGraph(context.Context, *DependencyGraphRequest) (*DependencyGraphResponse, error)
// contains filtered or unexported methods
}
ResourceServiceServer is the server API for ResourceService service. All implementations must embed UnimplementedResourceServiceServer for forward compatibility.
type ResourceService_WatchClient ¶
type ResourceService_WatchClient = grpc.ServerStreamingClient[WatchResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ResourceService_WatchServer ¶
type ResourceService_WatchServer = grpc.ServerStreamingServer[WatchResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type UnimplementedResourceServiceServer ¶
type UnimplementedResourceServiceServer struct{}
UnimplementedResourceServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedResourceServiceServer) Controllers ¶ added in v1.0.0
func (UnimplementedResourceServiceServer) Controllers(context.Context, *ControllersRequest) (*ControllersResponse, error)
func (UnimplementedResourceServiceServer) Create ¶
func (UnimplementedResourceServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
func (UnimplementedResourceServiceServer) Delete ¶
func (UnimplementedResourceServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedResourceServiceServer) DependencyGraph ¶ added in v1.0.0
func (UnimplementedResourceServiceServer) DependencyGraph(context.Context, *DependencyGraphRequest) (*DependencyGraphResponse, error)
func (UnimplementedResourceServiceServer) Get ¶
func (UnimplementedResourceServiceServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (UnimplementedResourceServiceServer) List ¶
func (UnimplementedResourceServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (UnimplementedResourceServiceServer) Teardown ¶
func (UnimplementedResourceServiceServer) Teardown(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedResourceServiceServer) Update ¶
func (UnimplementedResourceServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
type UnsafeResourceServiceServer ¶
type UnsafeResourceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeResourceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceServiceServer will result in compilation errors.
type UpdateRequest ¶
type UpdateRequest struct {
CurrentVersion string `protobuf:"bytes,1,opt,name=currentVersion,proto3" json:"currentVersion,omitempty"`
Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateRequest) CloneMessageVT ¶
func (m *UpdateRequest) CloneMessageVT() proto.Message
func (*UpdateRequest) CloneVT ¶
func (m *UpdateRequest) CloneVT() *UpdateRequest
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) EqualMessageVT ¶
func (this *UpdateRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*UpdateRequest) EqualVT ¶
func (this *UpdateRequest) EqualVT(that *UpdateRequest) bool
func (*UpdateRequest) GetCurrentVersion ¶
func (x *UpdateRequest) GetCurrentVersion() string
func (*UpdateRequest) GetResource ¶
func (x *UpdateRequest) GetResource() *Resource
func (*UpdateRequest) MarshalToSizedBufferVT ¶
func (m *UpdateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateRequest) MarshalToVT ¶
func (m *UpdateRequest) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateRequest) MarshalVT ¶
func (m *UpdateRequest) MarshalVT() (dAtA []byte, err error)
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) SizeVT ¶
func (m *UpdateRequest) SizeVT() (n int)
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
func (*UpdateRequest) UnmarshalVT ¶
func (m *UpdateRequest) UnmarshalVT(dAtA []byte) error
type UpdateResponse ¶
type UpdateResponse struct {
// contains filtered or unexported fields
}
func (*UpdateResponse) CloneMessageVT ¶
func (m *UpdateResponse) CloneMessageVT() proto.Message
func (*UpdateResponse) CloneVT ¶
func (m *UpdateResponse) CloneVT() *UpdateResponse
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) EqualMessageVT ¶
func (this *UpdateResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*UpdateResponse) EqualVT ¶
func (this *UpdateResponse) EqualVT(that *UpdateResponse) bool
func (*UpdateResponse) MarshalToSizedBufferVT ¶
func (m *UpdateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateResponse) MarshalToVT ¶
func (m *UpdateResponse) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateResponse) MarshalVT ¶
func (m *UpdateResponse) MarshalVT() (dAtA []byte, err error)
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) SizeVT ¶
func (m *UpdateResponse) SizeVT() (n int)
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string
func (*UpdateResponse) UnmarshalVT ¶
func (m *UpdateResponse) UnmarshalVT(dAtA []byte) error
type WatchRequest ¶
type WatchRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
TailEvents int32 `protobuf:"varint,4,opt,name=tail_events,json=tailEvents,proto3" json:"tail_events,omitempty"`
Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
Limit int32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
SortByField string `protobuf:"bytes,7,opt,name=sort_by_field,json=sortByField,proto3" json:"sort_by_field,omitempty"`
SortDescending bool `protobuf:"varint,8,opt,name=sort_descending,json=sortDescending,proto3" json:"sort_descending,omitempty"`
SearchFor []string `protobuf:"bytes,9,rep,name=search_for,json=searchFor,proto3" json:"search_for,omitempty"`
// contains filtered or unexported fields
}
func (*WatchRequest) CloneMessageVT ¶
func (m *WatchRequest) CloneMessageVT() proto.Message
func (*WatchRequest) CloneVT ¶
func (m *WatchRequest) CloneVT() *WatchRequest
func (*WatchRequest) Descriptor
deprecated
func (*WatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.
func (*WatchRequest) EqualMessageVT ¶
func (this *WatchRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*WatchRequest) EqualVT ¶
func (this *WatchRequest) EqualVT(that *WatchRequest) bool
func (*WatchRequest) GetId ¶
func (x *WatchRequest) GetId() string
func (*WatchRequest) GetLimit ¶
func (x *WatchRequest) GetLimit() int32
func (*WatchRequest) GetNamespace ¶
func (x *WatchRequest) GetNamespace() string
func (*WatchRequest) GetOffset ¶
func (x *WatchRequest) GetOffset() int32
func (*WatchRequest) GetSearchFor ¶
func (x *WatchRequest) GetSearchFor() []string
func (*WatchRequest) GetSortByField ¶
func (x *WatchRequest) GetSortByField() string
func (*WatchRequest) GetSortDescending ¶
func (x *WatchRequest) GetSortDescending() bool
func (*WatchRequest) GetTailEvents ¶
func (x *WatchRequest) GetTailEvents() int32
func (*WatchRequest) GetType ¶
func (x *WatchRequest) GetType() string
func (*WatchRequest) MarshalToSizedBufferVT ¶
func (m *WatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchRequest) MarshalToVT ¶
func (m *WatchRequest) MarshalToVT(dAtA []byte) (int, error)
func (*WatchRequest) MarshalVT ¶
func (m *WatchRequest) MarshalVT() (dAtA []byte, err error)
func (*WatchRequest) ProtoMessage ¶
func (*WatchRequest) ProtoMessage()
func (*WatchRequest) ProtoReflect ¶
func (x *WatchRequest) ProtoReflect() protoreflect.Message
func (*WatchRequest) Reset ¶
func (x *WatchRequest) Reset()
func (*WatchRequest) SizeVT ¶
func (m *WatchRequest) SizeVT() (n int)
func (*WatchRequest) String ¶
func (x *WatchRequest) String() string
func (*WatchRequest) UnmarshalVT ¶
func (m *WatchRequest) UnmarshalVT(dAtA []byte) error
type WatchResponse ¶
type WatchResponse struct {
Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
SortFieldData string `protobuf:"bytes,3,opt,name=sort_field_data,json=sortFieldData,proto3" json:"sort_field_data,omitempty"`
SortDescending bool `protobuf:"varint,4,opt,name=sort_descending,json=sortDescending,proto3" json:"sort_descending,omitempty"`
// contains filtered or unexported fields
}
func (*WatchResponse) CloneMessageVT ¶
func (m *WatchResponse) CloneMessageVT() proto.Message
func (*WatchResponse) CloneVT ¶
func (m *WatchResponse) CloneVT() *WatchResponse
func (*WatchResponse) Descriptor
deprecated
func (*WatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use WatchResponse.ProtoReflect.Descriptor instead.
func (*WatchResponse) EqualMessageVT ¶
func (this *WatchResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*WatchResponse) EqualVT ¶
func (this *WatchResponse) EqualVT(that *WatchResponse) bool
func (*WatchResponse) GetEvent ¶
func (x *WatchResponse) GetEvent() *Event
func (*WatchResponse) GetSortDescending ¶
func (x *WatchResponse) GetSortDescending() bool
func (*WatchResponse) GetSortFieldData ¶
func (x *WatchResponse) GetSortFieldData() string
func (*WatchResponse) GetTotal ¶
func (x *WatchResponse) GetTotal() int32
func (*WatchResponse) MarshalToSizedBufferVT ¶
func (m *WatchResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchResponse) MarshalToVT ¶
func (m *WatchResponse) MarshalToVT(dAtA []byte) (int, error)
func (*WatchResponse) MarshalVT ¶
func (m *WatchResponse) MarshalVT() (dAtA []byte, err error)
func (*WatchResponse) ProtoMessage ¶
func (*WatchResponse) ProtoMessage()
func (*WatchResponse) ProtoReflect ¶
func (x *WatchResponse) ProtoReflect() protoreflect.Message
func (*WatchResponse) Reset ¶
func (x *WatchResponse) Reset()
func (*WatchResponse) SizeVT ¶
func (m *WatchResponse) SizeVT() (n int)
func (*WatchResponse) String ¶
func (x *WatchResponse) String() string
func (*WatchResponse) UnmarshalVT ¶
func (m *WatchResponse) UnmarshalVT(dAtA []byte) error