Documentation ¶
Index ¶
- Variables
- type Methods
- func (*Methods) Descriptor() ([]byte, []int)deprecated
- func (x *Methods) GetCreate() *Methods_CreateMethod
- func (x *Methods) GetDelete() *Methods_DeleteMethod
- func (x *Methods) GetList() *Methods_ListMethod
- func (x *Methods) GetRead() *Methods_ReadMethod
- func (x *Methods) GetUpdate() *Methods_UpdateMethod
- func (*Methods) ProtoMessage()
- func (x *Methods) ProtoReflect() protoreflect.Message
- func (x *Methods) Reset()
- func (x *Methods) String() string
- type Methods_CreateMethod
- type Methods_DeleteMethod
- type Methods_ListMethod
- type Methods_ReadMethod
- type Methods_UpdateMethod
- type Property
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetKind() string
- func (x *Resource) GetMethods() *Methods
- func (x *Resource) GetParents() []string
- func (x *Resource) GetPlural() string
- func (x *Resource) GetProperties() map[string]*Property
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type Service
- type Type
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Type_name = map[int32]string{ 0: "UNSPECIFIED", 1: "STRING", } Type_value = map[string]int32{ "UNSPECIFIED": 0, "STRING": 1, } )
Enum value maps for Type.
View Source
var File_schema_resourcedefinition_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Methods ¶
type Methods struct { Create *Methods_CreateMethod `protobuf:"bytes,1,opt,name=create,proto3" json:"create,omitempty"` Read *Methods_ReadMethod `protobuf:"bytes,2,opt,name=read,proto3" json:"read,omitempty"` Update *Methods_UpdateMethod `protobuf:"bytes,3,opt,name=update,proto3" json:"update,omitempty"` Delete *Methods_DeleteMethod `protobuf:"bytes,4,opt,name=delete,proto3" json:"delete,omitempty"` List *Methods_ListMethod `protobuf:"bytes,5,opt,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*Methods) Descriptor
deprecated
func (*Methods) GetCreate ¶
func (x *Methods) GetCreate() *Methods_CreateMethod
func (*Methods) GetDelete ¶
func (x *Methods) GetDelete() *Methods_DeleteMethod
func (*Methods) GetList ¶
func (x *Methods) GetList() *Methods_ListMethod
func (*Methods) GetRead ¶
func (x *Methods) GetRead() *Methods_ReadMethod
func (*Methods) GetUpdate ¶
func (x *Methods) GetUpdate() *Methods_UpdateMethod
func (*Methods) ProtoMessage ¶
func (*Methods) ProtoMessage()
func (*Methods) ProtoReflect ¶
func (x *Methods) ProtoReflect() protoreflect.Message
type Methods_CreateMethod ¶
type Methods_CreateMethod struct {
// contains filtered or unexported fields
}
func (*Methods_CreateMethod) Descriptor
deprecated
func (*Methods_CreateMethod) Descriptor() ([]byte, []int)
Deprecated: Use Methods_CreateMethod.ProtoReflect.Descriptor instead.
func (*Methods_CreateMethod) ProtoMessage ¶
func (*Methods_CreateMethod) ProtoMessage()
func (*Methods_CreateMethod) ProtoReflect ¶
func (x *Methods_CreateMethod) ProtoReflect() protoreflect.Message
func (*Methods_CreateMethod) Reset ¶
func (x *Methods_CreateMethod) Reset()
func (*Methods_CreateMethod) String ¶
func (x *Methods_CreateMethod) String() string
type Methods_DeleteMethod ¶
type Methods_DeleteMethod struct {
// contains filtered or unexported fields
}
func (*Methods_DeleteMethod) Descriptor
deprecated
func (*Methods_DeleteMethod) Descriptor() ([]byte, []int)
Deprecated: Use Methods_DeleteMethod.ProtoReflect.Descriptor instead.
func (*Methods_DeleteMethod) ProtoMessage ¶
func (*Methods_DeleteMethod) ProtoMessage()
func (*Methods_DeleteMethod) ProtoReflect ¶
func (x *Methods_DeleteMethod) ProtoReflect() protoreflect.Message
func (*Methods_DeleteMethod) Reset ¶
func (x *Methods_DeleteMethod) Reset()
func (*Methods_DeleteMethod) String ¶
func (x *Methods_DeleteMethod) String() string
type Methods_ListMethod ¶
type Methods_ListMethod struct {
// contains filtered or unexported fields
}
func (*Methods_ListMethod) Descriptor
deprecated
func (*Methods_ListMethod) Descriptor() ([]byte, []int)
Deprecated: Use Methods_ListMethod.ProtoReflect.Descriptor instead.
func (*Methods_ListMethod) ProtoMessage ¶
func (*Methods_ListMethod) ProtoMessage()
func (*Methods_ListMethod) ProtoReflect ¶
func (x *Methods_ListMethod) ProtoReflect() protoreflect.Message
func (*Methods_ListMethod) Reset ¶
func (x *Methods_ListMethod) Reset()
func (*Methods_ListMethod) String ¶
func (x *Methods_ListMethod) String() string
type Methods_ReadMethod ¶
type Methods_ReadMethod struct {
// contains filtered or unexported fields
}
func (*Methods_ReadMethod) Descriptor
deprecated
func (*Methods_ReadMethod) Descriptor() ([]byte, []int)
Deprecated: Use Methods_ReadMethod.ProtoReflect.Descriptor instead.
func (*Methods_ReadMethod) ProtoMessage ¶
func (*Methods_ReadMethod) ProtoMessage()
func (*Methods_ReadMethod) ProtoReflect ¶
func (x *Methods_ReadMethod) ProtoReflect() protoreflect.Message
func (*Methods_ReadMethod) Reset ¶
func (x *Methods_ReadMethod) Reset()
func (*Methods_ReadMethod) String ¶
func (x *Methods_ReadMethod) String() string
type Methods_UpdateMethod ¶
type Methods_UpdateMethod struct {
// contains filtered or unexported fields
}
func (*Methods_UpdateMethod) Descriptor
deprecated
func (*Methods_UpdateMethod) Descriptor() ([]byte, []int)
Deprecated: Use Methods_UpdateMethod.ProtoReflect.Descriptor instead.
func (*Methods_UpdateMethod) ProtoMessage ¶
func (*Methods_UpdateMethod) ProtoMessage()
func (*Methods_UpdateMethod) ProtoReflect ¶
func (x *Methods_UpdateMethod) ProtoReflect() protoreflect.Message
func (*Methods_UpdateMethod) Reset ¶
func (x *Methods_UpdateMethod) Reset()
func (*Methods_UpdateMethod) String ¶
func (x *Methods_UpdateMethod) String() string
type Property ¶
type Property struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=Type" json:"type,omitempty"` // field number used for protobuf or other systems where fields must // be explicitly enumerated. Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
func (*Property) Descriptor
deprecated
func (*Property) ProtoMessage ¶
func (*Property) ProtoMessage()
func (*Property) ProtoReflect ¶
func (x *Property) ProtoReflect() protoreflect.Message
type Resource ¶
type Resource struct { // The type of the resource. Used to programmatically // refer to and identify the resource. Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // The plural of the resource. Used in documentation. Plural string `protobuf:"bytes,2,opt,name=plural,proto3" json:"plural,omitempty"` // The list of parent resources, referred to via the kind. Parents []string `protobuf:"bytes,3,rep,name=parents,proto3" json:"parents,omitempty"` // Properties Properties map[string]*Property `` /* 161-byte string literal not displayed */ // method support Methods *Methods `protobuf:"bytes,5,opt,name=methods,proto3" json:"methods,omitempty"` // contains filtered or unexported fields }
func (*Resource) Descriptor
deprecated
func (*Resource) GetMethods ¶
func (*Resource) GetParents ¶
func (*Resource) GetProperties ¶
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
type Service ¶
type Service struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Resources []*Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) GetResources ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.