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 ¶
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 )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
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.
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 { Phase string `json:"phase"` Conditions []metav1.Condition `json:"conditions,omitempty"` ObservedGeneration int64 `json:"observedGeneration,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 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.