corev1

package
v0.0.0-...-bb7e8d2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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
const (
	Format_FORMAT_UNSPECIFIED Format = 0
	Format_JSON               Format = 1
	Format_YAML               Format = 2
	Format_CSV                Format = 3
	Format_HTML               Format = 4
	Format_XML                Format = 5
)

func (Format) Descriptor

func (Format) Descriptor() protoreflect.EnumDescriptor

func (Format) Enum

func (x Format) Enum() *Format

func (Format) EnumDescriptor deprecated

func (Format) EnumDescriptor() ([]byte, []int)

Deprecated: Use Format.Descriptor instead.

func (Format) Number

func (x Format) Number() protoreflect.EnumNumber

func (Format) String

func (x Format) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetCreationTimestamp

func (x *Metadata) GetCreationTimestamp() string

func (*Metadata) GetId

func (x *Metadata) GetId() string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

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
const (
	Parser_PARSER_UNSPECIFIED Parser = 0
	Parser_ASIC               Parser = 1
)

func (Parser) Descriptor

func (Parser) Descriptor() protoreflect.EnumDescriptor

func (Parser) Enum

func (x Parser) Enum() *Parser

func (Parser) EnumDescriptor deprecated

func (Parser) EnumDescriptor() ([]byte, []int)

Deprecated: Use Parser.Descriptor instead.

func (Parser) Number

func (x Parser) Number() protoreflect.EnumNumber

func (Parser) String

func (x Parser) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetFormat

func (x *Source) GetFormat() Format

func (*Source) GetInterval

func (x *Source) GetInterval() *durationpb.Duration

func (*Source) GetParser

func (x *Source) GetParser() Parser

func (*Source) GetUrl

func (x *Source) GetUrl() string

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

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

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

Jump to

Keyboard shortcuts

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