Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type ClusterLogConfig
- type ClusterLogConfigList
- type Interceptor
- type InterceptorList
- type InterceptorSpec
- type LogConfig
- type LogConfigList
- type Message
- type NodeSelector
- type Pipeline
- type PodSelector
- type Selector
- type Sink
- type SinkList
- type SinkSpec
- type Spec
- type Status
Constants ¶
const ( SelectorTypePod = "pod" SelectorTypeNode = "node" SelectorTypeCluster = "cluster" SelectorTypeAll = "all" )
const (
PathStdout = "stdout"
)
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
create a SchemeBuilder which uses functions to add types to the scheme
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 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 ¶
func (in *ClusterLogConfigList) DeepCopy() *ClusterLogConfigList
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogConfig.
func (*LogConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogConfig) DeepCopyObject ¶
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
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Message.
func (*Message) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeSelector ¶
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"` }
func (*Pipeline) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pipeline.
func (*Pipeline) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodSelector ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Selector.
func (*Selector) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sink.
func (*Sink) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Sink) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinkList.
func (*SinkList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SinkList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinkSpec.
func (*SinkSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Spec.
func (*Spec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.