Documentation ¶
Overview ¶
Copyright 2023.
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.
Package v1alpha1 contains API Schema definitions for the tools v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.dapr.io
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type ChartMeta
- type ChartSpec
- type DaprControlPlane
- type DaprControlPlaneList
- type DaprControlPlaneSpec
- type DaprControlPlaneStatus
- type DaprCruiseControl
- func (in *DaprCruiseControl) DeepCopy() *DaprCruiseControl
- func (in *DaprCruiseControl) DeepCopyInto(out *DaprCruiseControl)
- func (in *DaprCruiseControl) DeepCopyObject() runtime.Object
- func (in *DaprCruiseControl) GetConditions() conditions.Conditions
- func (in *DaprCruiseControl) GetStatus() *Status
- type DaprCruiseControlList
- type DaprCruiseControlSpec
- type DaprCruiseControlStatus
- type DaprInstance
- type DaprInstanceList
- type DaprInstanceSpec
- type DaprInstanceStatus
- type JSON
- type RawMessage
- type Status
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: operator.Group, Version: "v1alpha1"} // SchemeGroupVersion is an hack for client gen. SchemeGroupVersion = GroupVersion // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ErrUnmarshalOnNil = errors.New("UnmarshalJSON on nil pointer")
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type ChartMeta ¶
type ChartMeta struct { Repo string `json:"repo,omitempty"` Name string `json:"name,omitempty"` Version string `json:"version,omitempty"` }
func (*ChartMeta) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartMeta.
func (*ChartMeta) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartSpec ¶
type ChartSpec struct { // +kubebuilder:default:="https://dapr.github.io/helm-charts" Repo string `json:"repo,omitempty"` // +kubebuilder:default:="dapr" Name string `json:"name,omitempty"` // +kubebuilder:validation:Optional Version string `json:"version,omitempty"` // +kubebuilder:validation:Optional Secret string `json:"secret,omitempty"` }
func (*ChartSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartSpec.
func (*ChartSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DaprControlPlane ¶
type DaprControlPlane struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DaprControlPlaneSpec `json:"spec,omitempty"` Status DaprControlPlaneStatus `json:"status,omitempty"` }
func (*DaprControlPlane) DeepCopy ¶
func (in *DaprControlPlane) DeepCopy() *DaprControlPlane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaprControlPlane.
func (*DaprControlPlane) DeepCopyInto ¶
func (in *DaprControlPlane) DeepCopyInto(out *DaprControlPlane)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DaprControlPlane) DeepCopyObject ¶
func (in *DaprControlPlane) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DaprControlPlane) GetConditions ¶
func (in *DaprControlPlane) GetConditions() conditions.Conditions
func (*DaprControlPlane) GetStatus ¶
func (in *DaprControlPlane) GetStatus() *Status
type DaprControlPlaneList ¶
type DaprControlPlaneList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DaprControlPlane `json:"items"` }
func (*DaprControlPlaneList) DeepCopy ¶
func (in *DaprControlPlaneList) DeepCopy() *DaprControlPlaneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaprControlPlaneList.
func (*DaprControlPlaneList) DeepCopyInto ¶
func (in *DaprControlPlaneList) DeepCopyInto(out *DaprControlPlaneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DaprControlPlaneList) DeepCopyObject ¶
func (in *DaprControlPlaneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DaprControlPlaneSpec ¶
type DaprControlPlaneSpec struct { // +kubebuilder:validation:Optional Values *JSON `json:"values"` }
func (*DaprControlPlaneSpec) DeepCopy ¶
func (in *DaprControlPlaneSpec) DeepCopy() *DaprControlPlaneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaprControlPlaneSpec.
func (*DaprControlPlaneSpec) DeepCopyInto ¶
func (in *DaprControlPlaneSpec) DeepCopyInto(out *DaprControlPlaneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DaprControlPlaneStatus ¶
type DaprControlPlaneStatus struct { Status `json:",inline"` Chart *ChartMeta `json:"chart,omitempty"` }
func (*DaprControlPlaneStatus) DeepCopy ¶
func (in *DaprControlPlaneStatus) DeepCopy() *DaprControlPlaneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaprControlPlaneStatus.
func (*DaprControlPlaneStatus) DeepCopyInto ¶
func (in *DaprControlPlaneStatus) DeepCopyInto(out *DaprControlPlaneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DaprCruiseControl ¶
type DaprCruiseControl struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DaprCruiseControlSpec `json:"spec,omitempty"` Status DaprCruiseControlStatus `json:"status,omitempty"` }
DaprCruiseControl is the Schema for the daprcruisecontrols API.
func (*DaprCruiseControl) DeepCopy ¶
func (in *DaprCruiseControl) DeepCopy() *DaprCruiseControl
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaprCruiseControl.
func (*DaprCruiseControl) DeepCopyInto ¶
func (in *DaprCruiseControl) DeepCopyInto(out *DaprCruiseControl)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DaprCruiseControl) DeepCopyObject ¶
func (in *DaprCruiseControl) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DaprCruiseControl) GetConditions ¶
func (in *DaprCruiseControl) GetConditions() conditions.Conditions
func (*DaprCruiseControl) GetStatus ¶
func (in *DaprCruiseControl) GetStatus() *Status
type DaprCruiseControlList ¶
type DaprCruiseControlList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DaprCruiseControl `json:"items"` }
DaprCruiseControlList contains a list of DaprCruiseControl.
func (*DaprCruiseControlList) DeepCopy ¶
func (in *DaprCruiseControlList) DeepCopy() *DaprCruiseControlList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaprCruiseControlList.
func (*DaprCruiseControlList) DeepCopyInto ¶
func (in *DaprCruiseControlList) DeepCopyInto(out *DaprCruiseControlList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DaprCruiseControlList) DeepCopyObject ¶
func (in *DaprCruiseControlList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DaprCruiseControlSpec ¶
type DaprCruiseControlSpec struct { }
DaprCruiseControlSpec defines the desired state of DaprCruiseControl.
func (*DaprCruiseControlSpec) DeepCopy ¶
func (in *DaprCruiseControlSpec) DeepCopy() *DaprCruiseControlSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaprCruiseControlSpec.
func (*DaprCruiseControlSpec) DeepCopyInto ¶
func (in *DaprCruiseControlSpec) DeepCopyInto(out *DaprCruiseControlSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DaprCruiseControlStatus ¶
type DaprCruiseControlStatus struct { Status `json:",inline"` Chart *ChartMeta `json:"chart,omitempty"` }
DaprCruiseControlStatus defines the observed state of DaprCruiseControl.
func (*DaprCruiseControlStatus) DeepCopy ¶
func (in *DaprCruiseControlStatus) DeepCopy() *DaprCruiseControlStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaprCruiseControlStatus.
func (*DaprCruiseControlStatus) DeepCopyInto ¶
func (in *DaprCruiseControlStatus) DeepCopyInto(out *DaprCruiseControlStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DaprInstance ¶
type DaprInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DaprInstanceSpec `json:"spec,omitempty"` Status DaprInstanceStatus `json:"status,omitempty"` }
DaprInstance is the Schema for the daprinstances API.
func (*DaprInstance) DeepCopy ¶
func (in *DaprInstance) DeepCopy() *DaprInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaprInstance.
func (*DaprInstance) DeepCopyInto ¶
func (in *DaprInstance) DeepCopyInto(out *DaprInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DaprInstance) DeepCopyObject ¶
func (in *DaprInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DaprInstance) GetConditions ¶
func (in *DaprInstance) GetConditions() conditions.Conditions
func (*DaprInstance) GetStatus ¶
func (in *DaprInstance) GetStatus() *Status
type DaprInstanceList ¶
type DaprInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DaprInstance `json:"items"` }
DaprInstanceList contains a list of DaprInstance.
func (*DaprInstanceList) DeepCopy ¶
func (in *DaprInstanceList) DeepCopy() *DaprInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaprInstanceList.
func (*DaprInstanceList) DeepCopyInto ¶
func (in *DaprInstanceList) DeepCopyInto(out *DaprInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DaprInstanceList) DeepCopyObject ¶
func (in *DaprInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DaprInstanceSpec ¶
type DaprInstanceSpec struct { // +kubebuilder:validation:Optional Chart *ChartSpec `json:"chart,omitempty"` // +kubebuilder:validation:Optional Values *JSON `json:"values"` }
DaprInstanceSpec defines the desired state of DaprInstance.
func (*DaprInstanceSpec) DeepCopy ¶
func (in *DaprInstanceSpec) DeepCopy() *DaprInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaprInstanceSpec.
func (*DaprInstanceSpec) DeepCopyInto ¶
func (in *DaprInstanceSpec) DeepCopyInto(out *DaprInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DaprInstanceStatus ¶
type DaprInstanceStatus struct { Status `json:",inline"` Chart *ChartMeta `json:"chart,omitempty"` }
DaprInstanceStatus defines the observed state of DaprInstance.
func (*DaprInstanceStatus) DeepCopy ¶
func (in *DaprInstanceStatus) DeepCopy() *DaprInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaprInstanceStatus.
func (*DaprInstanceStatus) DeepCopyInto ¶
func (in *DaprInstanceStatus) DeepCopyInto(out *DaprInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JSON ¶
type JSON struct {
RawMessage `json:",inline"`
}
+kubebuilder:validation:Type="" JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.
func (*JSON) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSON.
func (*JSON) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RawMessage ¶
type RawMessage []byte
RawMessage is a raw encoded JSON value. It implements Marshaler and Unmarshaler and can be used to delay JSON decoding or precompute a JSON encoding. +kubebuilder:validation:Type="" +kubebuilder:validation:Format="" +kubebuilder:pruning:PreserveUnknownFields
func (RawMessage) DeepCopy ¶
func (in RawMessage) DeepCopy() RawMessage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RawMessage.
func (RawMessage) DeepCopyInto ¶
func (in RawMessage) DeepCopyInto(out *RawMessage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (RawMessage) MarshalJSON ¶
func (m RawMessage) MarshalJSON() ([]byte, error)
MarshalJSON returns m as the JSON encoding of m.
func (*RawMessage) String ¶
func (m *RawMessage) String() string
String returns a string representation of RawMessage.
func (*RawMessage) UnmarshalJSON ¶
func (m *RawMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON sets *m to a copy of data.
type Status ¶
type Status struct { Phase string `json:"phase"` Conditions []metav1.Condition `json:"conditions,omitempty"` ObservedGeneration int64 `json:"observedGeneration,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.