Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=dapr.io
Index ¶
- Constants
- Variables
- func GroupKindFromKind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Auth
- type Component
- func (Component) APIVersion() string
- func (c Component) ClientObject() client.Object
- func (in *Component) DeepCopy() *Component
- func (in *Component) DeepCopyInto(out *Component)
- func (in *Component) DeepCopyObject() runtime.Object
- func (c Component) EmptyMetaDeepCopy() metav1.Object
- func (c Component) GetName() string
- func (c Component) GetNamespace() string
- func (c Component) GetScopes() []string
- func (c Component) GetSecretStore() string
- func (Component) Kind() string
- func (c Component) LogName() string
- func (c Component) NameValuePairs() []common.NameValuePair
- type ComponentList
- type ComponentSpec
Constants ¶
const ( Kind = "Component" Version = "v1alpha1" )
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: components.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func GroupKindFromKind ¶ added in v1.13.0
GroupKindFromKind 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 Auth ¶
type Auth struct {
SecretStore string `json:"secretStore"`
}
Auth represents authentication details for the component.
func (*Auth) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Auth.
func (*Auth) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Component ¶
type Component struct {
metav1.TypeMeta `json:",inline"`
//+optional
metav1.ObjectMeta `json:"metadata,omitempty"`
//+optional
Spec ComponentSpec `json:"spec,omitempty"`
//+optional
Auth `json:"auth,omitempty"`
common.Scoped `json:",inline"`
}
Component describes an Dapr component type.
func (Component) APIVersion ¶ added in v1.14.0
func (Component) ClientObject ¶ added in v1.14.0
func (*Component) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
func (*Component) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Component) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (Component) EmptyMetaDeepCopy ¶ added in v1.13.0
EmptyMetaDeepCopy returns a new instance of the component type with the TypeMeta's Kind and APIVersion fields set.
func (Component) GetNamespace ¶ added in v1.13.0
GetNamespace returns the component namespace.
func (Component) GetSecretStore ¶ added in v1.12.0
GetSecretStore returns the name of the secret store.
func (Component) LogName ¶ added in v1.10.0
LogName returns the name of the component that can be used in logging.
func (Component) NameValuePairs ¶ added in v1.12.0
func (c Component) NameValuePairs() []common.NameValuePair
NameValuePairs returns the component's metadata as name/value pairs
type ComponentList ¶
type ComponentList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []Component `json:"items"`
}
ComponentList is a list of Dapr components.
func (*ComponentList) DeepCopy ¶
func (in *ComponentList) DeepCopy() *ComponentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentList.
func (*ComponentList) DeepCopyInto ¶
func (in *ComponentList) DeepCopyInto(out *ComponentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentList) DeepCopyObject ¶
func (in *ComponentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ComponentSpec ¶
type ComponentSpec struct {
Type string `json:"type"`
Version string `json:"version"`
//+optional
IgnoreErrors bool `json:"ignoreErrors"`
Metadata []common.NameValuePair `json:"metadata"`
//+optional
InitTimeout string `json:"initTimeout"`
}
ComponentSpec is the spec for a component.
func (*ComponentSpec) DeepCopy ¶
func (in *ComponentSpec) DeepCopy() *ComponentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSpec.
func (*ComponentSpec) DeepCopyInto ¶
func (in *ComponentSpec) DeepCopyInto(out *ComponentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.