v1beta1

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	SelectorTypePod     = "pod"
	SelectorTypeNode    = "node"
	SelectorTypeCluster = "cluster"
	SelectorTypeVm      = "vm"
	SelectorTypeAll     = "all"
)
View Source
const (
	IndicateChinese    = "loggie-cn"
	AnnotationCnPrefix = "loggie.io/"
)
View Source
const (
	PathStdout = "stdout"
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)

create a SchemeBuilder which uses functions to add types to the scheme

View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   "loggie.io",
	Version: "v1beta1",
}

SchemeGroupVersion is the identifier for the API which includes the name of the group and the version of the API

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ClusterLogConfig

type ClusterLogConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   Spec   `json:"spec"`
	Status Status `json:"status"`
}

func (*ClusterLogConfig) DeepCopy

func (in *ClusterLogConfig) DeepCopy() *ClusterLogConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterLogConfig.

func (*ClusterLogConfig) DeepCopyInto

func (in *ClusterLogConfig) DeepCopyInto(out *ClusterLogConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterLogConfig) DeepCopyObject

func (in *ClusterLogConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClusterLogConfig) ToLogConfig

func (in *ClusterLogConfig) ToLogConfig() *LogConfig

func (*ClusterLogConfig) Validate

func (in *ClusterLogConfig) Validate() error

type ClusterLogConfigList

type ClusterLogConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ClusterLogConfig `json:"items"`
}

func (*ClusterLogConfigList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterLogConfigList.

func (*ClusterLogConfigList) DeepCopyInto

func (in *ClusterLogConfigList) DeepCopyInto(out *ClusterLogConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterLogConfigList) DeepCopyObject

func (in *ClusterLogConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type Interceptor

type Interceptor struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec InterceptorSpec `json:"spec"`
}

func (*Interceptor) DeepCopy

func (in *Interceptor) DeepCopy() *Interceptor

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Interceptor.

func (*Interceptor) DeepCopyInto

func (in *Interceptor) DeepCopyInto(out *Interceptor)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Interceptor) DeepCopyObject

func (in *Interceptor) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type InterceptorList

type InterceptorList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Interceptor `json:"items"`
}

func (*InterceptorList) DeepCopy

func (in *InterceptorList) DeepCopy() *InterceptorList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorList.

func (*InterceptorList) DeepCopyInto

func (in *InterceptorList) DeepCopyInto(out *InterceptorList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*InterceptorList) DeepCopyObject

func (in *InterceptorList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type InterceptorSpec

type InterceptorSpec struct {
	Interceptors string `json:"interceptors,omitempty"`
}

func (*InterceptorSpec) DeepCopy

func (in *InterceptorSpec) DeepCopy() *InterceptorSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterceptorSpec.

func (*InterceptorSpec) DeepCopyInto

func (in *InterceptorSpec) DeepCopyInto(out *InterceptorSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LogConfig

type LogConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   Spec   `json:"spec"`
	Status Status `json:"status"`
}

func (*LogConfig) DeepCopy

func (in *LogConfig) DeepCopy() *LogConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogConfig.

func (*LogConfig) DeepCopyInto

func (in *LogConfig) DeepCopyInto(out *LogConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LogConfig) DeepCopyObject

func (in *LogConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LogConfig) ToClusterLogConfig added in v1.3.0

func (in *LogConfig) ToClusterLogConfig() *ClusterLogConfig

func (*LogConfig) Validate

func (in *LogConfig) Validate() error

type LogConfigList

type LogConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []LogConfig `json:"items"`
}

func (*LogConfigList) DeepCopy

func (in *LogConfigList) DeepCopy() *LogConfigList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogConfigList.

func (*LogConfigList) DeepCopyInto

func (in *LogConfigList) DeepCopyInto(out *LogConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LogConfigList) DeepCopyObject

func (in *LogConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type Message

type Message struct {
	Reason             string `json:"reason,omitempty"`
	LastTransitionTime string `json:"lastTransitionTime,omitempty"`
	ObservedGeneration int64  `json:"observedGeneration,omitempty"`
}

func (*Message) DeepCopy

func (in *Message) DeepCopy() *Message

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Message.

func (*Message) DeepCopyInto

func (in *Message) DeepCopyInto(out *Message)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeAddress added in v1.5.0

type NodeAddress struct {
	// Node address type, one of Hostname, ExternalIP or InternalIP.
	Type string `json:"type,omitempty"`
	// The node address.
	Address string `json:"address,omitempty"`
}

NodeAddress contains information for the node's address.

func (*NodeAddress) DeepCopy added in v1.5.0

func (in *NodeAddress) DeepCopy() *NodeAddress

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddress.

func (*NodeAddress) DeepCopyInto added in v1.5.0

func (in *NodeAddress) DeepCopyInto(out *NodeAddress)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeSelector

type NodeSelector struct {
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
}

func (*NodeSelector) DeepCopy

func (in *NodeSelector) DeepCopy() *NodeSelector

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelector.

func (*NodeSelector) DeepCopyInto

func (in *NodeSelector) DeepCopyInto(out *NodeSelector)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Pipeline

type Pipeline struct {
	Name           string `json:"name,omitempty"`
	Sources        string `json:"sources,omitempty"`
	Sink           string `json:"sink,omitempty"`
	Interceptors   string `json:"interceptors,omitempty"`
	SinkRef        string `json:"sinkRef,omitempty"`
	InterceptorRef string `json:"interceptorRef,omitempty"`
	Queue          string `json:"queue,omitempty"`
}

func (*Pipeline) DeepCopy

func (in *Pipeline) DeepCopy() *Pipeline

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pipeline.

func (*Pipeline) DeepCopyInto

func (in *Pipeline) DeepCopyInto(out *Pipeline)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PodSelector

type PodSelector struct {
	LabelSelector map[string]string `json:"labelSelector,omitempty"`
}

func (*PodSelector) DeepCopy

func (in *PodSelector) DeepCopy() *PodSelector

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSelector.

func (*PodSelector) DeepCopyInto

func (in *PodSelector) DeepCopyInto(out *PodSelector)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Selector

type Selector struct {
	Cluster      string `json:"cluster,omitempty"`
	Type         string `json:"type,omitempty"`
	PodSelector  `json:",inline"`
	NodeSelector `json:",inline"`
}

func (*Selector) DeepCopy

func (in *Selector) DeepCopy() *Selector

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Selector.

func (*Selector) DeepCopyInto

func (in *Selector) DeepCopyInto(out *Selector)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Sink

type Sink struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec SinkSpec `json:"spec"`
}

func (*Sink) DeepCopy

func (in *Sink) DeepCopy() *Sink

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sink.

func (*Sink) DeepCopyInto

func (in *Sink) DeepCopyInto(out *Sink)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Sink) DeepCopyObject

func (in *Sink) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SinkList

type SinkList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Sink `json:"items"`
}

func (*SinkList) DeepCopy

func (in *SinkList) DeepCopy() *SinkList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinkList.

func (*SinkList) DeepCopyInto

func (in *SinkList) DeepCopyInto(out *SinkList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SinkList) DeepCopyObject

func (in *SinkList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SinkSpec

type SinkSpec struct {
	Sink string `json:"sink,omitempty"`
}

func (*SinkSpec) DeepCopy

func (in *SinkSpec) DeepCopy() *SinkSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinkSpec.

func (*SinkSpec) DeepCopyInto

func (in *SinkSpec) DeepCopyInto(out *SinkSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Spec

type Spec struct {
	Selector *Selector `json:"selector,omitempty"`
	Pipeline *Pipeline `json:"pipeline,omitempty"`
}

func (*Spec) DeepCopy

func (in *Spec) DeepCopy() *Spec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Spec.

func (*Spec) DeepCopyInto

func (in *Spec) DeepCopyInto(out *Spec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Status

type Status struct {
	Message Message `json:"message,omitempty"`
}

func (*Status) DeepCopy

func (in *Status) DeepCopy() *Status

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.

func (*Status) DeepCopyInto

func (in *Status) DeepCopyInto(out *Status)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Vm added in v1.5.0

type Vm struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   VmSpec   `json:"spec"`
	Status VmStatus `json:"status"`
}

Vm represent a virtual machine, same as Node in Kubernetes, but we used in host outside Kubernetes Cluster.

func (*Vm) ConvertChineseLabels added in v1.5.0

func (in *Vm) ConvertChineseLabels()

func (*Vm) DeepCopy added in v1.5.0

func (in *Vm) DeepCopy() *Vm

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vm.

func (*Vm) DeepCopyInto added in v1.5.0

func (in *Vm) DeepCopyInto(out *Vm)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Vm) DeepCopyObject added in v1.5.0

func (in *Vm) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VmList added in v1.5.0

type VmList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Vm `json:"items"`
}

func (*VmList) DeepCopy added in v1.5.0

func (in *VmList) DeepCopy() *VmList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VmList.

func (*VmList) DeepCopyInto added in v1.5.0

func (in *VmList) DeepCopyInto(out *VmList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VmList) DeepCopyObject added in v1.5.0

func (in *VmList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VmSpec added in v1.5.0

type VmSpec struct {
}

func (*VmSpec) DeepCopy added in v1.5.0

func (in *VmSpec) DeepCopy() *VmSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VmSpec.

func (*VmSpec) DeepCopyInto added in v1.5.0

func (in *VmSpec) DeepCopyInto(out *VmSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VmStatus added in v1.5.0

type VmStatus struct {
	Addresses []NodeAddress `json:"addresses,omitempty"`
}

func (*VmStatus) DeepCopy added in v1.5.0

func (in *VmStatus) DeepCopy() *VmStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VmStatus.

func (*VmStatus) DeepCopyInto added in v1.5.0

func (in *VmStatus) DeepCopyInto(out *VmStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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