Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=configuration.dapr.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: configuration.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 Configuration ¶
type Configuration struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Spec ConfigurationSpec `json:"spec,omitempty"` }
Configuration describes an Dapr configuration setting
func (*Configuration) DeepCopy ¶
func (in *Configuration) DeepCopy() *Configuration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (*Configuration) DeepCopyInto ¶
func (in *Configuration) DeepCopyInto(out *Configuration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Configuration) DeepCopyObject ¶
func (in *Configuration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigurationList ¶
type ConfigurationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Configuration `json:"items"` }
ConfigurationList is a list of Dapr event sources
func (*ConfigurationList) DeepCopy ¶
func (in *ConfigurationList) DeepCopy() *ConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationList.
func (*ConfigurationList) DeepCopyInto ¶
func (in *ConfigurationList) DeepCopyInto(out *ConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigurationList) DeepCopyObject ¶
func (in *ConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigurationSpec ¶
type ConfigurationSpec struct { // +optional HTTPPipelineSpec PipelineSpec `json:"httpPipeline,omitempty"` // +optional TracingSpec TracingSpec `json:"tracing,omitempty"` // +optional MTLSSpec MTLSSpec `json:"mtls,omitempty"` }
ConfigurationSpec is the spec for an configuration
func (*ConfigurationSpec) DeepCopy ¶
func (in *ConfigurationSpec) DeepCopy() *ConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationSpec.
func (*ConfigurationSpec) DeepCopyInto ¶
func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HandlerSpec ¶ added in v0.4.0
type HandlerSpec struct { Name string `json:"name"` Type string `json:"type"` SelectorSpec SelectorSpec `json:"selector,omitempty"` }
HandlerSpec defines a request handlers
func (*HandlerSpec) DeepCopy ¶ added in v0.4.0
func (in *HandlerSpec) DeepCopy() *HandlerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HandlerSpec.
func (*HandlerSpec) DeepCopyInto ¶ added in v0.4.0
func (in *HandlerSpec) DeepCopyInto(out *HandlerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MTLSSpec ¶ added in v0.4.0
type MTLSSpec struct { Enabled bool `json:"enabled"` WorkloadCertTTL string `json:"workloadCertTTL"` AllowedClockSkew string `json:"allowedClockSkew"` }
MTLSSpec defines mTLS configuration
func (*MTLSSpec) DeepCopy ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MTLSSpec.
func (*MTLSSpec) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineSpec ¶ added in v0.4.0
type PipelineSpec struct {
Handlers []HandlerSpec `json:"handlers"`
}
PipelineSpec defines the middleware pipeline
func (*PipelineSpec) DeepCopy ¶ added in v0.4.0
func (in *PipelineSpec) DeepCopy() *PipelineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineSpec.
func (*PipelineSpec) DeepCopyInto ¶ added in v0.4.0
func (in *PipelineSpec) DeepCopyInto(out *PipelineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelectorField ¶ added in v0.4.0
SelectorField defines a selector fields
func (*SelectorField) DeepCopy ¶ added in v0.4.0
func (in *SelectorField) DeepCopy() *SelectorField
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectorField.
func (*SelectorField) DeepCopyInto ¶ added in v0.4.0
func (in *SelectorField) DeepCopyInto(out *SelectorField)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SelectorSpec ¶ added in v0.4.0
type SelectorSpec struct {
Fields []SelectorField `json:"fields"`
}
SelectorSpec selects target services to which the handler is to be applied
func (*SelectorSpec) DeepCopy ¶ added in v0.4.0
func (in *SelectorSpec) DeepCopy() *SelectorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectorSpec.
func (*SelectorSpec) DeepCopyInto ¶ added in v0.4.0
func (in *SelectorSpec) DeepCopyInto(out *SelectorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TracingSpec ¶
type TracingSpec struct { Enabled bool `json:"enabled"` IncludeBody bool `json:"includeBody"` ExpandParams bool `json:"expandParams"` }
TracingSpec is the spec object in ConfigurationSpec
func (*TracingSpec) DeepCopy ¶
func (in *TracingSpec) DeepCopy() *TracingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingSpec.
func (*TracingSpec) DeepCopyInto ¶
func (in *TracingSpec) DeepCopyInto(out *TracingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.