Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=observability.knative.dev
Copyright 2018 The Knative Authors ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2018 The Knative Authors ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type ClusterLogSink
- type ClusterLogSinkList
- type ClusterMetricSink
- type ClusterMetricSinkList
- type LogSink
- type LogSinkList
- type MetricSink
- type MetricSinkList
- type MetricSinkMap
- type MetricSinkSpec
- type SinkSpec
- type SinkState
- type SinkStatus
- type SyslogSpec
- type WebhookSpec
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: sink.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ClusterLogSink ¶
type ClusterLogSink struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec SinkSpec `json:"spec"` }
ClusterLogSink is a specification for a ClusterLogSink resource
func (*ClusterLogSink) DeepCopy ¶
func (in *ClusterLogSink) DeepCopy() *ClusterLogSink
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterLogSink.
func (*ClusterLogSink) DeepCopyInto ¶
func (in *ClusterLogSink) DeepCopyInto(out *ClusterLogSink)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterLogSink) DeepCopyObject ¶
func (in *ClusterLogSink) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterLogSinkList ¶
type ClusterLogSinkList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ClusterLogSink `json:"items"` }
ClusterLogSinkList is a list of ClusterLogSink resources
func (*ClusterLogSinkList) DeepCopy ¶
func (in *ClusterLogSinkList) DeepCopy() *ClusterLogSinkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterLogSinkList.
func (*ClusterLogSinkList) DeepCopyInto ¶
func (in *ClusterLogSinkList) DeepCopyInto(out *ClusterLogSinkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterLogSinkList) DeepCopyObject ¶
func (in *ClusterLogSinkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterMetricSink ¶
type ClusterMetricSink struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec MetricSinkSpec `json:"spec"` Status SinkStatus `json:"status,omitempty"` }
ClusterMetricSink is a specification for a ClusterMetricSink resource
func (*ClusterMetricSink) DeepCopy ¶
func (in *ClusterMetricSink) DeepCopy() *ClusterMetricSink
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMetricSink.
func (*ClusterMetricSink) DeepCopyInto ¶
func (in *ClusterMetricSink) DeepCopyInto(out *ClusterMetricSink)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterMetricSink) DeepCopyObject ¶
func (in *ClusterMetricSink) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterMetricSinkList ¶
type ClusterMetricSinkList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ClusterMetricSink `json:"items"` }
ClusterMetricSinkList is a list of ClusterMetricSink resources
func (*ClusterMetricSinkList) DeepCopy ¶
func (in *ClusterMetricSinkList) DeepCopy() *ClusterMetricSinkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMetricSinkList.
func (*ClusterMetricSinkList) DeepCopyInto ¶
func (in *ClusterMetricSinkList) DeepCopyInto(out *ClusterMetricSinkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterMetricSinkList) DeepCopyObject ¶
func (in *ClusterMetricSinkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogSink ¶
type LogSink struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec SinkSpec `json:"spec"` }
LogSink is a specification for a LogSink resource
func (*LogSink) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogSink.
func (*LogSink) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogSink) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogSinkList ¶
type LogSinkList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []LogSink `json:"items"` }
LogSinkList is a list of LogSink resources
func (*LogSinkList) DeepCopy ¶
func (in *LogSinkList) DeepCopy() *LogSinkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogSinkList.
func (*LogSinkList) DeepCopyInto ¶
func (in *LogSinkList) DeepCopyInto(out *LogSinkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogSinkList) DeepCopyObject ¶
func (in *LogSinkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetricSink ¶
type MetricSink struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec MetricSinkSpec `json:"spec"` Status SinkStatus `json:"status,omitempty"` }
MetricSink is a specification for a MetricSink resource
func (*MetricSink) DeepCopy ¶
func (in *MetricSink) DeepCopy() *MetricSink
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSink.
func (*MetricSink) DeepCopyInto ¶
func (in *MetricSink) DeepCopyInto(out *MetricSink)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetricSink) DeepCopyObject ¶
func (in *MetricSink) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetricSinkList ¶
type MetricSinkList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []MetricSink `json:"items"` }
MetricSinkList is a list of MetricSink resources
func (*MetricSinkList) DeepCopy ¶
func (in *MetricSinkList) DeepCopy() *MetricSinkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSinkList.
func (*MetricSinkList) DeepCopyInto ¶
func (in *MetricSinkList) DeepCopyInto(out *MetricSinkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetricSinkList) DeepCopyObject ¶
func (in *MetricSinkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetricSinkMap ¶
type MetricSinkMap map[string]interface{}
MetricSinkMap contains key/values that define inputs and outputs for a MetricSink.
func (MetricSinkMap) DeepCopy ¶
func (m MetricSinkMap) DeepCopy() MetricSinkMap
func (MetricSinkMap) DeepCopyInto ¶
func (in MetricSinkMap) DeepCopyInto(out *MetricSinkMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricSinkSpec ¶
type MetricSinkSpec struct { Inputs []MetricSinkMap `json:"inputs"` Outputs []MetricSinkMap `json:"outputs"` }
MetricSinkSpec is the spec for a Sink resource
func (*MetricSinkSpec) DeepCopy ¶
func (in *MetricSinkSpec) DeepCopy() *MetricSinkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSinkSpec.
func (*MetricSinkSpec) DeepCopyInto ¶
func (in *MetricSinkSpec) DeepCopyInto(out *MetricSinkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SinkSpec ¶
type SinkSpec struct { Type string `json:"type"` SyslogSpec `json:",inline"` WebhookSpec `json:",inline"` InsecureSkipVerify bool `json:"insecure_skip_verify"` }
SinkSpec is the spec for a Sink resource
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 SinkStatus ¶
type SinkStatus struct { State SinkState `json:"state,omitempty"` LastSuccessfulSend metav1.MicroTime `json:"last_successful_send,omitempty"` LastError *string `json:"last_error,omitempty"` LastErrorTime *metav1.MicroTime `json:"last_error_time,omitempty"` }
SinkStatus is the status for a Sink resource
func (*SinkStatus) DeepCopy ¶
func (in *SinkStatus) DeepCopy() *SinkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinkStatus.
func (*SinkStatus) DeepCopyInto ¶
func (in *SinkStatus) DeepCopyInto(out *SinkStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyslogSpec ¶
type SyslogSpec struct { Host string `json:"host"` Port int `json:"port"` EnableTLS bool `json:"enable_tls"` }
func (*SyslogSpec) DeepCopy ¶
func (in *SyslogSpec) DeepCopy() *SyslogSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyslogSpec.
func (*SyslogSpec) DeepCopyInto ¶
func (in *SyslogSpec) DeepCopyInto(out *SyslogSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookSpec ¶
type WebhookSpec struct {
URL string `json:"url"`
}
func (*WebhookSpec) DeepCopy ¶
func (in *WebhookSpec) DeepCopy() *WebhookSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookSpec.
func (*WebhookSpec) DeepCopyInto ¶
func (in *WebhookSpec) DeepCopyInto(out *WebhookSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.