Documentation ¶
Index ¶
- Variables
- type Format
- type Metadata
- type ObjectReference
- func (*ObjectReference) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectReference) GetApiVersion() string
- func (x *ObjectReference) GetKind() string
- func (x *ObjectReference) GetName() string
- func (x *ObjectReference) GetUid() string
- func (*ObjectReference) ProtoMessage()
- func (x *ObjectReference) ProtoReflect() protoreflect.Message
- func (x *ObjectReference) Reset()
- func (x *ObjectReference) String() string
- type Parser
- type Source
- func (*Source) Descriptor() ([]byte, []int)deprecated
- func (x *Source) GetFormat() Format
- func (x *Source) GetInterval() *durationpb.Duration
- func (x *Source) GetParser() Parser
- func (x *Source) GetUrl() string
- func (*Source) ProtoMessage()
- func (x *Source) ProtoReflect() protoreflect.Message
- func (x *Source) Reset()
- func (x *Source) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Format_name = map[int32]string{ 0: "FORMAT_UNSPECIFIED", 1: "JSON", 2: "YAML", 3: "CSV", 4: "HTML", 5: "XML", } Format_value = map[string]int32{ "FORMAT_UNSPECIFIED": 0, "JSON": 1, "YAML": 2, "CSV": 3, "HTML": 4, "XML": 5, } )
Enum value maps for Format.
View Source
var ( Parser_name = map[int32]string{ 0: "PARSER_UNSPECIFIED", 1: "ASIC", } Parser_value = map[string]int32{ "PARSER_UNSPECIFIED": 0, "ASIC": 1, } )
Enum value maps for Parser.
View Source
var File_core_v1_core_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Format ¶
type Format int32
func (Format) Descriptor ¶
func (Format) Descriptor() protoreflect.EnumDescriptor
func (Format) EnumDescriptor
deprecated
func (Format) Number ¶
func (x Format) Number() protoreflect.EnumNumber
func (Format) Type ¶
func (Format) Type() protoreflect.EnumType
type Metadata ¶
type Metadata struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CreationTimestamp string `protobuf:"bytes,3,opt,name=creationTimestamp,proto3" json:"creationTimestamp,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetCreationTimestamp ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type ObjectReference ¶
type ObjectReference struct { // Kind of the referent. Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"` // API version of the referent. // +optional ApiVersion string `protobuf:"bytes,5,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"` // contains filtered or unexported fields }
func (*ObjectReference) Descriptor
deprecated
func (*ObjectReference) Descriptor() ([]byte, []int)
Deprecated: Use ObjectReference.ProtoReflect.Descriptor instead.
func (*ObjectReference) GetApiVersion ¶
func (x *ObjectReference) GetApiVersion() string
func (*ObjectReference) GetKind ¶
func (x *ObjectReference) GetKind() string
func (*ObjectReference) GetName ¶
func (x *ObjectReference) GetName() string
func (*ObjectReference) GetUid ¶
func (x *ObjectReference) GetUid() string
func (*ObjectReference) ProtoMessage ¶
func (*ObjectReference) ProtoMessage()
func (*ObjectReference) ProtoReflect ¶
func (x *ObjectReference) ProtoReflect() protoreflect.Message
func (*ObjectReference) Reset ¶
func (x *ObjectReference) Reset()
func (*ObjectReference) String ¶
func (x *ObjectReference) String() string
type Parser ¶
type Parser int32
func (Parser) Descriptor ¶
func (Parser) Descriptor() protoreflect.EnumDescriptor
func (Parser) EnumDescriptor
deprecated
func (Parser) Number ¶
func (x Parser) Number() protoreflect.EnumNumber
func (Parser) Type ¶
func (Parser) Type() protoreflect.EnumType
type Source ¶
type Source struct { // URL is the base URL for the givne source Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Parser Parser `protobuf:"varint,2,opt,name=parser,proto3,enum=core.v1.Parser" json:"parser,omitempty"` Format Format `protobuf:"varint,3,opt,name=format,proto3,enum=core.v1.Format" json:"format,omitempty"` Interval *durationpb.Duration `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"` // contains filtered or unexported fields }
Source is a definition of a target that we want to "watch" and discover content from
func (*Source) Descriptor
deprecated
func (*Source) GetInterval ¶
func (x *Source) GetInterval() *durationpb.Duration
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶
func (x *Source) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.