Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterProviderServer(s grpc.ServiceRegistrar, srv ProviderServer)
- type BoolSchema
- func (*BoolSchema) Descriptor() ([]byte, []int)deprecated
- func (msg *BoolSchema) MarshalJSON() ([]byte, error)
- func (*BoolSchema) ProtoMessage()
- func (x *BoolSchema) ProtoReflect() protoreflect.Message
- func (x *BoolSchema) Reset()
- func (x *BoolSchema) String() string
- func (msg *BoolSchema) UnmarshalJSON(b []byte) error
- type CreateResourceRequest
- func (*CreateResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceRequest) GetConfig() *Value
- func (x *CreateResourceRequest) GetIdentifier() *Value
- func (msg *CreateResourceRequest) MarshalJSON() ([]byte, error)
- func (*CreateResourceRequest) ProtoMessage()
- func (x *CreateResourceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateResourceRequest) Reset()
- func (x *CreateResourceRequest) String() string
- func (msg *CreateResourceRequest) UnmarshalJSON(b []byte) error
- type CreateResourceResponse
- func (*CreateResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceResponse) GetResource() *Resource
- func (msg *CreateResourceResponse) MarshalJSON() ([]byte, error)
- func (*CreateResourceResponse) ProtoMessage()
- func (x *CreateResourceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResourceResponse) Reset()
- func (x *CreateResourceResponse) String() string
- func (msg *CreateResourceResponse) UnmarshalJSON(b []byte) error
- type DeleteResourceRequest
- func (*DeleteResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResourceRequest) GetIdentifier() *Value
- func (msg *DeleteResourceRequest) MarshalJSON() ([]byte, error)
- func (*DeleteResourceRequest) ProtoMessage()
- func (x *DeleteResourceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceRequest) Reset()
- func (x *DeleteResourceRequest) String() string
- func (msg *DeleteResourceRequest) UnmarshalJSON(b []byte) error
- type DeleteResourceResponse
- func (*DeleteResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *DeleteResourceResponse) MarshalJSON() ([]byte, error)
- func (*DeleteResourceResponse) ProtoMessage()
- func (x *DeleteResourceResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceResponse) Reset()
- func (x *DeleteResourceResponse) String() string
- func (msg *DeleteResourceResponse) UnmarshalJSON(b []byte) error
- type Field
- func (*Field) Descriptor() ([]byte, []int)deprecated
- func (x *Field) GetName() string
- func (x *Field) GetOperation() Operation
- func (x *Field) GetSubFields() []*Field
- func (msg *Field) MarshalJSON() ([]byte, error)
- func (*Field) ProtoMessage()
- func (x *Field) ProtoReflect() protoreflect.Message
- func (x *Field) Reset()
- func (x *Field) String() string
- func (msg *Field) UnmarshalJSON(b []byte) error
- type FieldSchema
- func (*FieldSchema) Descriptor() ([]byte, []int)deprecated
- func (x *FieldSchema) GetBoolSchema() *BoolSchema
- func (x *FieldSchema) GetFileSchema() *FileSchema
- func (x *FieldSchema) GetIdentifierSchema() *IdentifierSchema
- func (x *FieldSchema) GetImmutableSchema() *ImmutableSchema
- func (x *FieldSchema) GetListSchema() *ListSchema
- func (x *FieldSchema) GetMapSchema() *MapSchema
- func (x *FieldSchema) GetStringSchema() *StringSchema
- func (x *FieldSchema) GetStructSchema() *StructSchema
- func (m *FieldSchema) GetType() isFieldSchema_Type
- func (msg *FieldSchema) MarshalJSON() ([]byte, error)
- func (*FieldSchema) ProtoMessage()
- func (x *FieldSchema) ProtoReflect() protoreflect.Message
- func (x *FieldSchema) Reset()
- func (x *FieldSchema) String() string
- func (msg *FieldSchema) UnmarshalJSON(b []byte) error
- type FieldSchema_BoolSchema
- type FieldSchema_FileSchema
- type FieldSchema_IdentifierSchema
- type FieldSchema_ImmutableSchema
- type FieldSchema_ListSchema
- type FieldSchema_MapSchema
- type FieldSchema_StringSchema
- type FieldSchema_StructSchema
- type FileSchema
- func (*FileSchema) Descriptor() ([]byte, []int)deprecated
- func (msg *FileSchema) MarshalJSON() ([]byte, error)
- func (*FileSchema) ProtoMessage()
- func (x *FileSchema) ProtoReflect() protoreflect.Message
- func (x *FileSchema) Reset()
- func (x *FileSchema) String() string
- func (msg *FileSchema) UnmarshalJSON(b []byte) error
- type FileValue
- func (*FileValue) Descriptor() ([]byte, []int)deprecated
- func (x *FileValue) GetChecksum() string
- func (x *FileValue) GetPath() string
- func (msg *FileValue) MarshalJSON() ([]byte, error)
- func (*FileValue) ProtoMessage()
- func (x *FileValue) ProtoReflect() protoreflect.Message
- func (x *FileValue) Reset()
- func (x *FileValue) String() string
- func (msg *FileValue) UnmarshalJSON(b []byte) error
- type GetResourceRequest
- func (*GetResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceRequest) GetIdentifier() *Value
- func (msg *GetResourceRequest) MarshalJSON() ([]byte, error)
- func (*GetResourceRequest) ProtoMessage()
- func (x *GetResourceRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourceRequest) Reset()
- func (x *GetResourceRequest) String() string
- func (msg *GetResourceRequest) UnmarshalJSON(b []byte) error
- type GetResourceResponse
- func (*GetResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceResponse) GetResource() *Resource
- func (msg *GetResourceResponse) MarshalJSON() ([]byte, error)
- func (*GetResourceResponse) ProtoMessage()
- func (x *GetResourceResponse) ProtoReflect() protoreflect.Message
- func (x *GetResourceResponse) Reset()
- func (x *GetResourceResponse) String() string
- func (msg *GetResourceResponse) UnmarshalJSON(b []byte) error
- type Identifier
- func (*Identifier) Descriptor() ([]byte, []int)deprecated
- func (x *Identifier) GetType() string
- func (x *Identifier) GetValue() *Value
- func (msg *Identifier) MarshalJSON() ([]byte, error)
- func (*Identifier) ProtoMessage()
- func (x *Identifier) ProtoReflect() protoreflect.Message
- func (x *Identifier) Reset()
- func (x *Identifier) String() string
- func (msg *Identifier) UnmarshalJSON(b []byte) error
- type IdentifierSchema
- func (*IdentifierSchema) Descriptor() ([]byte, []int)deprecated
- func (msg *IdentifierSchema) MarshalJSON() ([]byte, error)
- func (*IdentifierSchema) ProtoMessage()
- func (x *IdentifierSchema) ProtoReflect() protoreflect.Message
- func (x *IdentifierSchema) Reset()
- func (x *IdentifierSchema) String() string
- func (msg *IdentifierSchema) UnmarshalJSON(b []byte) error
- type Immutable
- func (*Immutable) Descriptor() ([]byte, []int)deprecated
- func (x *Immutable) GetValue() *Value
- func (msg *Immutable) MarshalJSON() ([]byte, error)
- func (*Immutable) ProtoMessage()
- func (x *Immutable) ProtoReflect() protoreflect.Message
- func (x *Immutable) Reset()
- func (x *Immutable) String() string
- func (msg *Immutable) UnmarshalJSON(b []byte) error
- type ImmutableSchema
- func (*ImmutableSchema) Descriptor() ([]byte, []int)deprecated
- func (x *ImmutableSchema) GetValue() *FieldSchema
- func (msg *ImmutableSchema) MarshalJSON() ([]byte, error)
- func (*ImmutableSchema) ProtoMessage()
- func (x *ImmutableSchema) ProtoReflect() protoreflect.Message
- func (x *ImmutableSchema) Reset()
- func (x *ImmutableSchema) String() string
- func (msg *ImmutableSchema) UnmarshalJSON(b []byte) error
- type ListSchema
- func (*ListSchema) Descriptor() ([]byte, []int)deprecated
- func (x *ListSchema) GetElement() *FieldSchema
- func (msg *ListSchema) MarshalJSON() ([]byte, error)
- func (*ListSchema) ProtoMessage()
- func (x *ListSchema) ProtoReflect() protoreflect.Message
- func (x *ListSchema) Reset()
- func (x *ListSchema) String() string
- func (msg *ListSchema) UnmarshalJSON(b []byte) error
- type ListValue
- func (*ListValue) Descriptor() ([]byte, []int)deprecated
- func (x *ListValue) GetElements() []*Value
- func (msg *ListValue) MarshalJSON() ([]byte, error)
- func (*ListValue) ProtoMessage()
- func (x *ListValue) ProtoReflect() protoreflect.Message
- func (x *ListValue) Reset()
- func (x *ListValue) String() string
- func (msg *ListValue) UnmarshalJSON(b []byte) error
- type MapSchema
- func (*MapSchema) Descriptor() ([]byte, []int)deprecated
- func (x *MapSchema) GetValue() *FieldSchema
- func (msg *MapSchema) MarshalJSON() ([]byte, error)
- func (*MapSchema) ProtoMessage()
- func (x *MapSchema) ProtoReflect() protoreflect.Message
- func (x *MapSchema) Reset()
- func (x *MapSchema) String() string
- func (msg *MapSchema) UnmarshalJSON(b []byte) error
- type MapValue
- func (*MapValue) Descriptor() ([]byte, []int)deprecated
- func (x *MapValue) GetEntries() map[string]*Value
- func (msg *MapValue) MarshalJSON() ([]byte, error)
- func (*MapValue) ProtoMessage()
- func (x *MapValue) ProtoReflect() protoreflect.Message
- func (x *MapValue) Reset()
- func (x *MapValue) String() string
- func (msg *MapValue) UnmarshalJSON(b []byte) error
- type Nil
- type Operation
- type ProviderClient
- type ProviderServer
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetAttrs() *Value
- func (x *Resource) GetConfig() *Value
- func (x *Resource) GetIdentifier() *Value
- func (msg *Resource) MarshalJSON() ([]byte, error)
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- func (msg *Resource) UnmarshalJSON(b []byte) error
- type ResourceSchema
- func (*ResourceSchema) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceSchema) GetAttrs() *FieldSchema
- func (x *ResourceSchema) GetConfig() *FieldSchema
- func (x *ResourceSchema) GetIdentifier() *FieldSchema
- func (x *ResourceSchema) GetType() string
- func (msg *ResourceSchema) MarshalJSON() ([]byte, error)
- func (*ResourceSchema) ProtoMessage()
- func (x *ResourceSchema) ProtoReflect() protoreflect.Message
- func (x *ResourceSchema) Reset()
- func (x *ResourceSchema) String() string
- func (msg *ResourceSchema) UnmarshalJSON(b []byte) error
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)deprecated
- func (x *Schema) GetName() string
- func (x *Schema) GetResources() []*ResourceSchema
- func (x *Schema) GetVersion() string
- func (msg *Schema) MarshalJSON() ([]byte, error)
- func (*Schema) ProtoMessage()
- func (x *Schema) ProtoReflect() protoreflect.Message
- func (x *Schema) Reset()
- func (x *Schema) String() string
- func (msg *Schema) UnmarshalJSON(b []byte) error
- type State
- func (*State) Descriptor() ([]byte, []int)deprecated
- func (x *State) GetResource() *Resource
- func (m *State) GetType() isState_Type
- func (msg *State) MarshalJSON() ([]byte, error)
- func (*State) ProtoMessage()
- func (x *State) ProtoReflect() protoreflect.Message
- func (x *State) Reset()
- func (x *State) String() string
- func (msg *State) UnmarshalJSON(b []byte) error
- type State_Resource
- type StringSchema
- func (*StringSchema) Descriptor() ([]byte, []int)deprecated
- func (msg *StringSchema) MarshalJSON() ([]byte, error)
- func (*StringSchema) ProtoMessage()
- func (x *StringSchema) ProtoReflect() protoreflect.Message
- func (x *StringSchema) Reset()
- func (x *StringSchema) String() string
- func (msg *StringSchema) UnmarshalJSON(b []byte) error
- type StructSchema
- func (*StructSchema) Descriptor() ([]byte, []int)deprecated
- func (x *StructSchema) GetFields() map[string]*FieldSchema
- func (x *StructSchema) GetName() string
- func (msg *StructSchema) MarshalJSON() ([]byte, error)
- func (*StructSchema) ProtoMessage()
- func (x *StructSchema) ProtoReflect() protoreflect.Message
- func (x *StructSchema) Reset()
- func (x *StructSchema) String() string
- func (msg *StructSchema) UnmarshalJSON(b []byte) error
- type UnimplementedProviderServer
- func (UnimplementedProviderServer) CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceResponse, error)
- func (UnimplementedProviderServer) DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceResponse, error)
- func (UnimplementedProviderServer) GetResource(context.Context, *GetResourceRequest) (*GetResourceResponse, error)
- func (UnimplementedProviderServer) UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceResponse, error)
- type UnsafeProviderServer
- type UpdateResourceRequest
- func (*UpdateResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceRequest) GetConfig() *Value
- func (x *UpdateResourceRequest) GetIdentifier() *Value
- func (x *UpdateResourceRequest) GetMask() []*Field
- func (msg *UpdateResourceRequest) MarshalJSON() ([]byte, error)
- func (*UpdateResourceRequest) ProtoMessage()
- func (x *UpdateResourceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceRequest) Reset()
- func (x *UpdateResourceRequest) String() string
- func (msg *UpdateResourceRequest) UnmarshalJSON(b []byte) error
- type UpdateResourceResponse
- func (*UpdateResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceResponse) GetResource() *Resource
- func (msg *UpdateResourceResponse) MarshalJSON() ([]byte, error)
- func (*UpdateResourceResponse) ProtoMessage()
- func (x *UpdateResourceResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceResponse) Reset()
- func (x *UpdateResourceResponse) String() string
- func (msg *UpdateResourceResponse) UnmarshalJSON(b []byte) error
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetBoolValue() bool
- func (x *Value) GetFile() *FileValue
- func (x *Value) GetFloatValue() float32
- func (x *Value) GetIdentifier() *Identifier
- func (x *Value) GetImmutable() *Immutable
- func (x *Value) GetIntValue() uint32
- func (x *Value) GetList() *ListValue
- func (x *Value) GetMap() *MapValue
- func (x *Value) GetNil() *Nil
- func (x *Value) GetStringValue() string
- func (m *Value) GetType() isValue_Type
- func (msg *Value) MarshalJSON() ([]byte, error)
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- func (msg *Value) UnmarshalJSON(b []byte) error
- type Value_BoolValue
- type Value_File
- type Value_FloatValue
- type Value_Identifier
- type Value_Immutable
- type Value_IntValue
- type Value_List
- type Value_Map
- type Value_Nil
- type Value_StringValue
Constants ¶
const ( Provider_CreateResource_FullMethodName = "/alchematik.athanor.provider.v1.Provider/CreateResource" Provider_DeleteResource_FullMethodName = "/alchematik.athanor.provider.v1.Provider/DeleteResource" Provider_GetResource_FullMethodName = "/alchematik.athanor.provider.v1.Provider/GetResource" Provider_UpdateResource_FullMethodName = "/alchematik.athanor.provider.v1.Provider/UpdateResource" )
Variables ¶
var ( Operation_name = map[int32]string{ 0: "OPERATION_EMPTY", 1: "OPERATION_UPDATE", 2: "OPERATION_DELETE", } Operation_value = map[string]int32{ "OPERATION_EMPTY": 0, "OPERATION_UPDATE": 1, "OPERATION_DELETE": 2, } )
Enum value maps for Operation.
var File_provider_v1_provider_proto protoreflect.FileDescriptor
var File_provider_v1_schema_proto protoreflect.FileDescriptor
var Provider_ServiceDesc = grpc.ServiceDesc{ ServiceName: "alchematik.athanor.provider.v1.Provider", HandlerType: (*ProviderServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateResource", Handler: _Provider_CreateResource_Handler, }, { MethodName: "DeleteResource", Handler: _Provider_DeleteResource_Handler, }, { MethodName: "GetResource", Handler: _Provider_GetResource_Handler, }, { MethodName: "UpdateResource", Handler: _Provider_UpdateResource_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "provider/v1/provider.proto", }
Provider_ServiceDesc is the grpc.ServiceDesc for Provider service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProviderServer ¶
func RegisterProviderServer(s grpc.ServiceRegistrar, srv ProviderServer)
Types ¶
type BoolSchema ¶
type BoolSchema struct {
// contains filtered or unexported fields
}
func (*BoolSchema) Descriptor
deprecated
func (*BoolSchema) Descriptor() ([]byte, []int)
Deprecated: Use BoolSchema.ProtoReflect.Descriptor instead.
func (*BoolSchema) MarshalJSON ¶
func (msg *BoolSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*BoolSchema) ProtoMessage ¶
func (*BoolSchema) ProtoMessage()
func (*BoolSchema) ProtoReflect ¶
func (x *BoolSchema) ProtoReflect() protoreflect.Message
func (*BoolSchema) Reset ¶
func (x *BoolSchema) Reset()
func (*BoolSchema) String ¶
func (x *BoolSchema) String() string
func (*BoolSchema) UnmarshalJSON ¶
func (msg *BoolSchema) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CreateResourceRequest ¶
type CreateResourceRequest struct { Identifier *Value `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` Config *Value `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*CreateResourceRequest) Descriptor
deprecated
func (*CreateResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateResourceRequest.ProtoReflect.Descriptor instead.
func (*CreateResourceRequest) GetConfig ¶
func (x *CreateResourceRequest) GetConfig() *Value
func (*CreateResourceRequest) GetIdentifier ¶
func (x *CreateResourceRequest) GetIdentifier() *Value
func (*CreateResourceRequest) MarshalJSON ¶
func (msg *CreateResourceRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CreateResourceRequest) ProtoMessage ¶
func (*CreateResourceRequest) ProtoMessage()
func (*CreateResourceRequest) ProtoReflect ¶
func (x *CreateResourceRequest) ProtoReflect() protoreflect.Message
func (*CreateResourceRequest) Reset ¶
func (x *CreateResourceRequest) Reset()
func (*CreateResourceRequest) String ¶
func (x *CreateResourceRequest) String() string
func (*CreateResourceRequest) UnmarshalJSON ¶
func (msg *CreateResourceRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type CreateResourceResponse ¶
type CreateResourceResponse struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*CreateResourceResponse) Descriptor
deprecated
func (*CreateResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResourceResponse.ProtoReflect.Descriptor instead.
func (*CreateResourceResponse) GetResource ¶
func (x *CreateResourceResponse) GetResource() *Resource
func (*CreateResourceResponse) MarshalJSON ¶
func (msg *CreateResourceResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CreateResourceResponse) ProtoMessage ¶
func (*CreateResourceResponse) ProtoMessage()
func (*CreateResourceResponse) ProtoReflect ¶
func (x *CreateResourceResponse) ProtoReflect() protoreflect.Message
func (*CreateResourceResponse) Reset ¶
func (x *CreateResourceResponse) Reset()
func (*CreateResourceResponse) String ¶
func (x *CreateResourceResponse) String() string
func (*CreateResourceResponse) UnmarshalJSON ¶
func (msg *CreateResourceResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type DeleteResourceRequest ¶
type DeleteResourceRequest struct { Identifier *Value `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` // contains filtered or unexported fields }
func (*DeleteResourceRequest) Descriptor
deprecated
func (*DeleteResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResourceRequest.ProtoReflect.Descriptor instead.
func (*DeleteResourceRequest) GetIdentifier ¶
func (x *DeleteResourceRequest) GetIdentifier() *Value
func (*DeleteResourceRequest) MarshalJSON ¶
func (msg *DeleteResourceRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*DeleteResourceRequest) ProtoMessage ¶
func (*DeleteResourceRequest) ProtoMessage()
func (*DeleteResourceRequest) ProtoReflect ¶
func (x *DeleteResourceRequest) ProtoReflect() protoreflect.Message
func (*DeleteResourceRequest) Reset ¶
func (x *DeleteResourceRequest) Reset()
func (*DeleteResourceRequest) String ¶
func (x *DeleteResourceRequest) String() string
func (*DeleteResourceRequest) UnmarshalJSON ¶
func (msg *DeleteResourceRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type DeleteResourceResponse ¶
type DeleteResourceResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResourceResponse) Descriptor
deprecated
func (*DeleteResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResourceResponse.ProtoReflect.Descriptor instead.
func (*DeleteResourceResponse) MarshalJSON ¶
func (msg *DeleteResourceResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*DeleteResourceResponse) ProtoMessage ¶
func (*DeleteResourceResponse) ProtoMessage()
func (*DeleteResourceResponse) ProtoReflect ¶
func (x *DeleteResourceResponse) ProtoReflect() protoreflect.Message
func (*DeleteResourceResponse) Reset ¶
func (x *DeleteResourceResponse) Reset()
func (*DeleteResourceResponse) String ¶
func (x *DeleteResourceResponse) String() string
func (*DeleteResourceResponse) UnmarshalJSON ¶
func (msg *DeleteResourceResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Field ¶
type Field struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` SubFields []*Field `protobuf:"bytes,2,rep,name=sub_fields,json=subFields,proto3" json:"sub_fields,omitempty"` Operation Operation `protobuf:"varint,3,opt,name=operation,proto3,enum=alchematik.athanor.provider.v1.Operation" json:"operation,omitempty"` // contains filtered or unexported fields }
func (*Field) Descriptor
deprecated
func (*Field) GetOperation ¶
func (*Field) GetSubFields ¶
func (*Field) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
func (*Field) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type FieldSchema ¶
type FieldSchema struct { // Types that are assignable to Type: // // *FieldSchema_StringSchema // *FieldSchema_BoolSchema // *FieldSchema_MapSchema // *FieldSchema_StructSchema // *FieldSchema_FileSchema // *FieldSchema_IdentifierSchema // *FieldSchema_ListSchema // *FieldSchema_ImmutableSchema Type isFieldSchema_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*FieldSchema) Descriptor
deprecated
func (*FieldSchema) Descriptor() ([]byte, []int)
Deprecated: Use FieldSchema.ProtoReflect.Descriptor instead.
func (*FieldSchema) GetBoolSchema ¶
func (x *FieldSchema) GetBoolSchema() *BoolSchema
func (*FieldSchema) GetFileSchema ¶
func (x *FieldSchema) GetFileSchema() *FileSchema
func (*FieldSchema) GetIdentifierSchema ¶
func (x *FieldSchema) GetIdentifierSchema() *IdentifierSchema
func (*FieldSchema) GetImmutableSchema ¶
func (x *FieldSchema) GetImmutableSchema() *ImmutableSchema
func (*FieldSchema) GetListSchema ¶
func (x *FieldSchema) GetListSchema() *ListSchema
func (*FieldSchema) GetMapSchema ¶
func (x *FieldSchema) GetMapSchema() *MapSchema
func (*FieldSchema) GetStringSchema ¶
func (x *FieldSchema) GetStringSchema() *StringSchema
func (*FieldSchema) GetStructSchema ¶
func (x *FieldSchema) GetStructSchema() *StructSchema
func (*FieldSchema) GetType ¶
func (m *FieldSchema) GetType() isFieldSchema_Type
func (*FieldSchema) MarshalJSON ¶
func (msg *FieldSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*FieldSchema) ProtoMessage ¶
func (*FieldSchema) ProtoMessage()
func (*FieldSchema) ProtoReflect ¶
func (x *FieldSchema) ProtoReflect() protoreflect.Message
func (*FieldSchema) Reset ¶
func (x *FieldSchema) Reset()
func (*FieldSchema) String ¶
func (x *FieldSchema) String() string
func (*FieldSchema) UnmarshalJSON ¶
func (msg *FieldSchema) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type FieldSchema_BoolSchema ¶
type FieldSchema_BoolSchema struct {
BoolSchema *BoolSchema `protobuf:"bytes,2,opt,name=bool_schema,json=boolSchema,proto3,oneof"`
}
type FieldSchema_FileSchema ¶
type FieldSchema_FileSchema struct {
FileSchema *FileSchema `protobuf:"bytes,5,opt,name=file_schema,json=fileSchema,proto3,oneof"`
}
type FieldSchema_IdentifierSchema ¶
type FieldSchema_IdentifierSchema struct {
IdentifierSchema *IdentifierSchema `protobuf:"bytes,6,opt,name=identifier_schema,json=identifierSchema,proto3,oneof"`
}
type FieldSchema_ImmutableSchema ¶
type FieldSchema_ImmutableSchema struct {
ImmutableSchema *ImmutableSchema `protobuf:"bytes,8,opt,name=immutable_schema,json=immutableSchema,proto3,oneof"`
}
type FieldSchema_ListSchema ¶
type FieldSchema_ListSchema struct {
ListSchema *ListSchema `protobuf:"bytes,7,opt,name=list_schema,json=listSchema,proto3,oneof"`
}
type FieldSchema_MapSchema ¶
type FieldSchema_MapSchema struct {
MapSchema *MapSchema `protobuf:"bytes,3,opt,name=map_schema,json=mapSchema,proto3,oneof"`
}
type FieldSchema_StringSchema ¶
type FieldSchema_StringSchema struct {
StringSchema *StringSchema `protobuf:"bytes,1,opt,name=string_schema,json=stringSchema,proto3,oneof"`
}
type FieldSchema_StructSchema ¶
type FieldSchema_StructSchema struct {
StructSchema *StructSchema `protobuf:"bytes,4,opt,name=struct_schema,json=structSchema,proto3,oneof"`
}
type FileSchema ¶
type FileSchema struct {
// contains filtered or unexported fields
}
func (*FileSchema) Descriptor
deprecated
func (*FileSchema) Descriptor() ([]byte, []int)
Deprecated: Use FileSchema.ProtoReflect.Descriptor instead.
func (*FileSchema) MarshalJSON ¶
func (msg *FileSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*FileSchema) ProtoMessage ¶
func (*FileSchema) ProtoMessage()
func (*FileSchema) ProtoReflect ¶
func (x *FileSchema) ProtoReflect() protoreflect.Message
func (*FileSchema) Reset ¶
func (x *FileSchema) Reset()
func (*FileSchema) String ¶
func (x *FileSchema) String() string
func (*FileSchema) UnmarshalJSON ¶
func (msg *FileSchema) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type FileValue ¶
type FileValue struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Checksum string `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"` // contains filtered or unexported fields }
func (*FileValue) Descriptor
deprecated
func (*FileValue) GetChecksum ¶
func (*FileValue) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*FileValue) ProtoMessage ¶
func (*FileValue) ProtoMessage()
func (*FileValue) ProtoReflect ¶
func (x *FileValue) ProtoReflect() protoreflect.Message
func (*FileValue) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type GetResourceRequest ¶
type GetResourceRequest struct { Identifier *Value `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` // contains filtered or unexported fields }
func (*GetResourceRequest) Descriptor
deprecated
func (*GetResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceRequest.ProtoReflect.Descriptor instead.
func (*GetResourceRequest) GetIdentifier ¶
func (x *GetResourceRequest) GetIdentifier() *Value
func (*GetResourceRequest) MarshalJSON ¶
func (msg *GetResourceRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetResourceRequest) ProtoMessage ¶
func (*GetResourceRequest) ProtoMessage()
func (*GetResourceRequest) ProtoReflect ¶
func (x *GetResourceRequest) ProtoReflect() protoreflect.Message
func (*GetResourceRequest) Reset ¶
func (x *GetResourceRequest) Reset()
func (*GetResourceRequest) String ¶
func (x *GetResourceRequest) String() string
func (*GetResourceRequest) UnmarshalJSON ¶
func (msg *GetResourceRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type GetResourceResponse ¶
type GetResourceResponse struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*GetResourceResponse) Descriptor
deprecated
func (*GetResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceResponse.ProtoReflect.Descriptor instead.
func (*GetResourceResponse) GetResource ¶
func (x *GetResourceResponse) GetResource() *Resource
func (*GetResourceResponse) MarshalJSON ¶
func (msg *GetResourceResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetResourceResponse) ProtoMessage ¶
func (*GetResourceResponse) ProtoMessage()
func (*GetResourceResponse) ProtoReflect ¶
func (x *GetResourceResponse) ProtoReflect() protoreflect.Message
func (*GetResourceResponse) Reset ¶
func (x *GetResourceResponse) Reset()
func (*GetResourceResponse) String ¶
func (x *GetResourceResponse) String() string
func (*GetResourceResponse) UnmarshalJSON ¶
func (msg *GetResourceResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Identifier ¶
type Identifier struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Identifier) Descriptor
deprecated
func (*Identifier) Descriptor() ([]byte, []int)
Deprecated: Use Identifier.ProtoReflect.Descriptor instead.
func (*Identifier) GetType ¶
func (x *Identifier) GetType() string
func (*Identifier) GetValue ¶
func (x *Identifier) GetValue() *Value
func (*Identifier) MarshalJSON ¶
func (msg *Identifier) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Identifier) ProtoMessage ¶
func (*Identifier) ProtoMessage()
func (*Identifier) ProtoReflect ¶
func (x *Identifier) ProtoReflect() protoreflect.Message
func (*Identifier) Reset ¶
func (x *Identifier) Reset()
func (*Identifier) String ¶
func (x *Identifier) String() string
func (*Identifier) UnmarshalJSON ¶
func (msg *Identifier) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type IdentifierSchema ¶
type IdentifierSchema struct {
// contains filtered or unexported fields
}
func (*IdentifierSchema) Descriptor
deprecated
func (*IdentifierSchema) Descriptor() ([]byte, []int)
Deprecated: Use IdentifierSchema.ProtoReflect.Descriptor instead.
func (*IdentifierSchema) MarshalJSON ¶
func (msg *IdentifierSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*IdentifierSchema) ProtoMessage ¶
func (*IdentifierSchema) ProtoMessage()
func (*IdentifierSchema) ProtoReflect ¶
func (x *IdentifierSchema) ProtoReflect() protoreflect.Message
func (*IdentifierSchema) Reset ¶
func (x *IdentifierSchema) Reset()
func (*IdentifierSchema) String ¶
func (x *IdentifierSchema) String() string
func (*IdentifierSchema) UnmarshalJSON ¶
func (msg *IdentifierSchema) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Immutable ¶
type Immutable struct { Value *Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Immutable) Descriptor
deprecated
func (*Immutable) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Immutable) ProtoMessage ¶
func (*Immutable) ProtoMessage()
func (*Immutable) ProtoReflect ¶
func (x *Immutable) ProtoReflect() protoreflect.Message
func (*Immutable) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type ImmutableSchema ¶
type ImmutableSchema struct { Value *FieldSchema `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ImmutableSchema) Descriptor
deprecated
func (*ImmutableSchema) Descriptor() ([]byte, []int)
Deprecated: Use ImmutableSchema.ProtoReflect.Descriptor instead.
func (*ImmutableSchema) GetValue ¶
func (x *ImmutableSchema) GetValue() *FieldSchema
func (*ImmutableSchema) MarshalJSON ¶
func (msg *ImmutableSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ImmutableSchema) ProtoMessage ¶
func (*ImmutableSchema) ProtoMessage()
func (*ImmutableSchema) ProtoReflect ¶
func (x *ImmutableSchema) ProtoReflect() protoreflect.Message
func (*ImmutableSchema) Reset ¶
func (x *ImmutableSchema) Reset()
func (*ImmutableSchema) String ¶
func (x *ImmutableSchema) String() string
func (*ImmutableSchema) UnmarshalJSON ¶
func (msg *ImmutableSchema) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ListSchema ¶
type ListSchema struct { Element *FieldSchema `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"` // contains filtered or unexported fields }
func (*ListSchema) Descriptor
deprecated
func (*ListSchema) Descriptor() ([]byte, []int)
Deprecated: Use ListSchema.ProtoReflect.Descriptor instead.
func (*ListSchema) GetElement ¶
func (x *ListSchema) GetElement() *FieldSchema
func (*ListSchema) MarshalJSON ¶
func (msg *ListSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ListSchema) ProtoMessage ¶
func (*ListSchema) ProtoMessage()
func (*ListSchema) ProtoReflect ¶
func (x *ListSchema) ProtoReflect() protoreflect.Message
func (*ListSchema) Reset ¶
func (x *ListSchema) Reset()
func (*ListSchema) String ¶
func (x *ListSchema) String() string
func (*ListSchema) UnmarshalJSON ¶
func (msg *ListSchema) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ListValue ¶
type ListValue struct { Elements []*Value `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"` // contains filtered or unexported fields }
func (*ListValue) Descriptor
deprecated
func (*ListValue) GetElements ¶
func (*ListValue) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*ListValue) ProtoMessage ¶
func (*ListValue) ProtoMessage()
func (*ListValue) ProtoReflect ¶
func (x *ListValue) ProtoReflect() protoreflect.Message
func (*ListValue) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type MapSchema ¶
type MapSchema struct { Value *FieldSchema `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*MapSchema) Descriptor
deprecated
func (*MapSchema) GetValue ¶
func (x *MapSchema) GetValue() *FieldSchema
func (*MapSchema) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*MapSchema) ProtoMessage ¶
func (*MapSchema) ProtoMessage()
func (*MapSchema) ProtoReflect ¶
func (x *MapSchema) ProtoReflect() protoreflect.Message
func (*MapSchema) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type MapValue ¶
type MapValue struct { Entries map[string]*Value `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MapValue) Descriptor
deprecated
func (*MapValue) GetEntries ¶
func (*MapValue) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*MapValue) ProtoMessage ¶
func (*MapValue) ProtoMessage()
func (*MapValue) ProtoReflect ¶
func (x *MapValue) ProtoReflect() protoreflect.Message
func (*MapValue) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type Nil ¶
type Nil struct {
// contains filtered or unexported fields
}
func (*Nil) Descriptor
deprecated
func (*Nil) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Nil) ProtoMessage ¶
func (*Nil) ProtoMessage()
func (*Nil) ProtoReflect ¶
func (x *Nil) ProtoReflect() protoreflect.Message
func (*Nil) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type Operation ¶
type Operation int32
func (Operation) Descriptor ¶
func (Operation) Descriptor() protoreflect.EnumDescriptor
func (Operation) EnumDescriptor
deprecated
func (Operation) Number ¶
func (x Operation) Number() protoreflect.EnumNumber
func (Operation) Type ¶
func (Operation) Type() protoreflect.EnumType
type ProviderClient ¶
type ProviderClient interface { CreateResource(ctx context.Context, in *CreateResourceRequest, opts ...grpc.CallOption) (*CreateResourceResponse, error) DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*DeleteResourceResponse, error) GetResource(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*GetResourceResponse, error) UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*UpdateResourceResponse, error) }
ProviderClient is the client API for Provider 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 NewProviderClient ¶
func NewProviderClient(cc grpc.ClientConnInterface) ProviderClient
type ProviderServer ¶
type ProviderServer interface { CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceResponse, error) DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceResponse, error) GetResource(context.Context, *GetResourceRequest) (*GetResourceResponse, error) UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceResponse, error) }
ProviderServer is the server API for Provider service. All implementations should embed UnimplementedProviderServer for forward compatibility
type Resource ¶
type Resource struct { Identifier *Value `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` Config *Value `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` Attrs *Value `protobuf:"bytes,3,opt,name=attrs,proto3" json:"attrs,omitempty"` // contains filtered or unexported fields }
func (*Resource) Descriptor
deprecated
func (*Resource) GetIdentifier ¶
func (*Resource) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
func (*Resource) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type ResourceSchema ¶
type ResourceSchema struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Identifier *FieldSchema `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` Config *FieldSchema `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` Attrs *FieldSchema `protobuf:"bytes,4,opt,name=attrs,proto3" json:"attrs,omitempty"` // contains filtered or unexported fields }
func (*ResourceSchema) Descriptor
deprecated
func (*ResourceSchema) Descriptor() ([]byte, []int)
Deprecated: Use ResourceSchema.ProtoReflect.Descriptor instead.
func (*ResourceSchema) GetAttrs ¶
func (x *ResourceSchema) GetAttrs() *FieldSchema
func (*ResourceSchema) GetConfig ¶
func (x *ResourceSchema) GetConfig() *FieldSchema
func (*ResourceSchema) GetIdentifier ¶
func (x *ResourceSchema) GetIdentifier() *FieldSchema
func (*ResourceSchema) GetType ¶
func (x *ResourceSchema) GetType() string
func (*ResourceSchema) MarshalJSON ¶
func (msg *ResourceSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ResourceSchema) ProtoMessage ¶
func (*ResourceSchema) ProtoMessage()
func (*ResourceSchema) ProtoReflect ¶
func (x *ResourceSchema) ProtoReflect() protoreflect.Message
func (*ResourceSchema) Reset ¶
func (x *ResourceSchema) Reset()
func (*ResourceSchema) String ¶
func (x *ResourceSchema) String() string
func (*ResourceSchema) UnmarshalJSON ¶
func (msg *ResourceSchema) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Schema ¶
type Schema struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Resources []*ResourceSchema `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*Schema) Descriptor
deprecated
func (*Schema) GetResources ¶
func (x *Schema) GetResources() []*ResourceSchema
func (*Schema) GetVersion ¶
func (*Schema) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) ProtoReflect ¶
func (x *Schema) ProtoReflect() protoreflect.Message
func (*Schema) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type State ¶
type State struct { // Types that are assignable to Type: // // *State_Resource Type isState_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*State) Descriptor
deprecated
func (*State) GetResource ¶
func (*State) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) ProtoReflect ¶
func (x *State) ProtoReflect() protoreflect.Message
func (*State) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type State_Resource ¶
type State_Resource struct {
Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3,oneof"`
}
type StringSchema ¶
type StringSchema struct {
// contains filtered or unexported fields
}
func (*StringSchema) Descriptor
deprecated
func (*StringSchema) Descriptor() ([]byte, []int)
Deprecated: Use StringSchema.ProtoReflect.Descriptor instead.
func (*StringSchema) MarshalJSON ¶
func (msg *StringSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*StringSchema) ProtoMessage ¶
func (*StringSchema) ProtoMessage()
func (*StringSchema) ProtoReflect ¶
func (x *StringSchema) ProtoReflect() protoreflect.Message
func (*StringSchema) Reset ¶
func (x *StringSchema) Reset()
func (*StringSchema) String ¶
func (x *StringSchema) String() string
func (*StringSchema) UnmarshalJSON ¶
func (msg *StringSchema) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type StructSchema ¶
type StructSchema struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Fields map[string]*FieldSchema `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StructSchema) Descriptor
deprecated
func (*StructSchema) Descriptor() ([]byte, []int)
Deprecated: Use StructSchema.ProtoReflect.Descriptor instead.
func (*StructSchema) GetFields ¶
func (x *StructSchema) GetFields() map[string]*FieldSchema
func (*StructSchema) GetName ¶
func (x *StructSchema) GetName() string
func (*StructSchema) MarshalJSON ¶
func (msg *StructSchema) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*StructSchema) ProtoMessage ¶
func (*StructSchema) ProtoMessage()
func (*StructSchema) ProtoReflect ¶
func (x *StructSchema) ProtoReflect() protoreflect.Message
func (*StructSchema) Reset ¶
func (x *StructSchema) Reset()
func (*StructSchema) String ¶
func (x *StructSchema) String() string
func (*StructSchema) UnmarshalJSON ¶
func (msg *StructSchema) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type UnimplementedProviderServer ¶
type UnimplementedProviderServer struct { }
UnimplementedProviderServer should be embedded to have forward compatible implementations.
func (UnimplementedProviderServer) CreateResource ¶
func (UnimplementedProviderServer) CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceResponse, error)
func (UnimplementedProviderServer) DeleteResource ¶
func (UnimplementedProviderServer) DeleteResource(context.Context, *DeleteResourceRequest) (*DeleteResourceResponse, error)
func (UnimplementedProviderServer) GetResource ¶
func (UnimplementedProviderServer) GetResource(context.Context, *GetResourceRequest) (*GetResourceResponse, error)
func (UnimplementedProviderServer) UpdateResource ¶
func (UnimplementedProviderServer) UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceResponse, error)
type UnsafeProviderServer ¶
type UnsafeProviderServer interface {
// contains filtered or unexported methods
}
UnsafeProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProviderServer will result in compilation errors.
type UpdateResourceRequest ¶
type UpdateResourceRequest struct { Identifier *Value `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` Config *Value `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` Mask []*Field `protobuf:"bytes,3,rep,name=mask,proto3" json:"mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateResourceRequest) Descriptor
deprecated
func (*UpdateResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceRequest.ProtoReflect.Descriptor instead.
func (*UpdateResourceRequest) GetConfig ¶
func (x *UpdateResourceRequest) GetConfig() *Value
func (*UpdateResourceRequest) GetIdentifier ¶
func (x *UpdateResourceRequest) GetIdentifier() *Value
func (*UpdateResourceRequest) GetMask ¶
func (x *UpdateResourceRequest) GetMask() []*Field
func (*UpdateResourceRequest) MarshalJSON ¶
func (msg *UpdateResourceRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*UpdateResourceRequest) ProtoMessage ¶
func (*UpdateResourceRequest) ProtoMessage()
func (*UpdateResourceRequest) ProtoReflect ¶
func (x *UpdateResourceRequest) ProtoReflect() protoreflect.Message
func (*UpdateResourceRequest) Reset ¶
func (x *UpdateResourceRequest) Reset()
func (*UpdateResourceRequest) String ¶
func (x *UpdateResourceRequest) String() string
func (*UpdateResourceRequest) UnmarshalJSON ¶
func (msg *UpdateResourceRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type UpdateResourceResponse ¶
type UpdateResourceResponse struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*UpdateResourceResponse) Descriptor
deprecated
func (*UpdateResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceResponse.ProtoReflect.Descriptor instead.
func (*UpdateResourceResponse) GetResource ¶
func (x *UpdateResourceResponse) GetResource() *Resource
func (*UpdateResourceResponse) MarshalJSON ¶
func (msg *UpdateResourceResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*UpdateResourceResponse) ProtoMessage ¶
func (*UpdateResourceResponse) ProtoMessage()
func (*UpdateResourceResponse) ProtoReflect ¶
func (x *UpdateResourceResponse) ProtoReflect() protoreflect.Message
func (*UpdateResourceResponse) Reset ¶
func (x *UpdateResourceResponse) Reset()
func (*UpdateResourceResponse) String ¶
func (x *UpdateResourceResponse) String() string
func (*UpdateResourceResponse) UnmarshalJSON ¶
func (msg *UpdateResourceResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Value ¶
type Value struct { // Types that are assignable to Type: // // *Value_StringValue // *Value_IntValue // *Value_FloatValue // *Value_BoolValue // *Value_List // *Value_Map // *Value_Identifier // *Value_File // *Value_Immutable // *Value_Nil Type isValue_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Value) Descriptor
deprecated
func (*Value) GetBoolValue ¶
func (*Value) GetFloatValue ¶
func (*Value) GetIdentifier ¶
func (x *Value) GetIdentifier() *Identifier
func (*Value) GetImmutable ¶
func (*Value) GetIntValue ¶
func (*Value) GetStringValue ¶
func (*Value) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
func (*Value) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type Value_BoolValue ¶
type Value_BoolValue struct {
BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type Value_File ¶
type Value_File struct {
File *FileValue `protobuf:"bytes,8,opt,name=file,proto3,oneof"`
}
type Value_FloatValue ¶
type Value_FloatValue struct {
FloatValue float32 `protobuf:"fixed32,3,opt,name=float_value,json=floatValue,proto3,oneof"`
}
type Value_Identifier ¶
type Value_Identifier struct {
Identifier *Identifier `protobuf:"bytes,7,opt,name=identifier,proto3,oneof"`
}
type Value_Immutable ¶
type Value_Immutable struct {
Immutable *Immutable `protobuf:"bytes,9,opt,name=immutable,proto3,oneof"`
}
type Value_IntValue ¶
type Value_IntValue struct {
IntValue uint32 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}
type Value_List ¶
type Value_List struct {
List *ListValue `protobuf:"bytes,5,opt,name=list,proto3,oneof"`
}
type Value_Map ¶
type Value_Map struct {
Map *MapValue `protobuf:"bytes,6,opt,name=map,proto3,oneof"`
}
type Value_StringValue ¶
type Value_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}