Documentation
¶
Index ¶
- Variables
- type TestResource
- type TestResourceEmptyStatus
- type TestResourceEmptyStatusList
- type TestResourceEmptyStatusStatus
- type TestResourceList
- type TestResourceNilableStatus
- func (in *TestResourceNilableStatus) DeepCopy() *TestResourceNilableStatus
- func (in *TestResourceNilableStatus) DeepCopyInto(out *TestResourceNilableStatus)
- func (in *TestResourceNilableStatus) DeepCopyObject() runtime.Object
- func (r *TestResourceNilableStatus) Default()
- func (r *TestResourceNilableStatus) Validate() validation.FieldErrors
- type TestResourceNilableStatusList
- type TestResourceNoStatus
- type TestResourceNoStatusList
- type TestResourceSpec
- type TestResourceStatus
- func (in *TestResourceStatus) DeepCopy() *TestResourceStatus
- func (in *TestResourceStatus) DeepCopyInto(out *TestResourceStatus)
- func (rs *TestResourceStatus) InitializeConditions()
- func (rs *TestResourceStatus) MarkNotReady(reason, message string, messageA ...interface{})
- func (rs *TestResourceStatus) MarkReady()
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "testing.reconciler.runtime", Version: "v1"} // 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 SchemeGroupVersion = GroupVersion
compatibility with k8s.io/code-generator
Functions ¶
This section is empty.
Types ¶
type TestResource ¶
type TestResource struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec TestResourceSpec `json:"spec"`
Status TestResourceStatus `json:"status"`
}
func (*TestResource) DeepCopy ¶
func (in *TestResource) DeepCopy() *TestResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResource.
func (*TestResource) DeepCopyInto ¶
func (in *TestResource) DeepCopyInto(out *TestResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestResource) DeepCopyObject ¶
func (in *TestResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TestResource) Default ¶
func (r *TestResource) Default()
func (*TestResource) Validate ¶
func (r *TestResource) Validate() validation.FieldErrors
type TestResourceEmptyStatus ¶
type TestResourceEmptyStatus struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec TestResourceSpec `json:"spec"`
Status TestResourceEmptyStatusStatus `json:"status"`
}
func (*TestResourceEmptyStatus) DeepCopy ¶
func (in *TestResourceEmptyStatus) DeepCopy() *TestResourceEmptyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResourceEmptyStatus.
func (*TestResourceEmptyStatus) DeepCopyInto ¶
func (in *TestResourceEmptyStatus) DeepCopyInto(out *TestResourceEmptyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestResourceEmptyStatus) DeepCopyObject ¶
func (in *TestResourceEmptyStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TestResourceEmptyStatus) Default ¶
func (r *TestResourceEmptyStatus) Default()
type TestResourceEmptyStatusList ¶
type TestResourceEmptyStatusList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []TestResourceNoStatus `json:"items"`
}
func (*TestResourceEmptyStatusList) DeepCopy ¶
func (in *TestResourceEmptyStatusList) DeepCopy() *TestResourceEmptyStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResourceEmptyStatusList.
func (*TestResourceEmptyStatusList) DeepCopyInto ¶
func (in *TestResourceEmptyStatusList) DeepCopyInto(out *TestResourceEmptyStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestResourceEmptyStatusList) DeepCopyObject ¶
func (in *TestResourceEmptyStatusList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestResourceEmptyStatusStatus ¶
type TestResourceEmptyStatusStatus struct {
}
+kubebuilder:object:generate=true
func (*TestResourceEmptyStatusStatus) DeepCopy ¶
func (in *TestResourceEmptyStatusStatus) DeepCopy() *TestResourceEmptyStatusStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResourceEmptyStatusStatus.
func (*TestResourceEmptyStatusStatus) DeepCopyInto ¶
func (in *TestResourceEmptyStatusStatus) DeepCopyInto(out *TestResourceEmptyStatusStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestResourceList ¶
type TestResourceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []TestResource `json:"items"`
}
func (*TestResourceList) DeepCopy ¶
func (in *TestResourceList) DeepCopy() *TestResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResourceList.
func (*TestResourceList) DeepCopyInto ¶
func (in *TestResourceList) DeepCopyInto(out *TestResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestResourceList) DeepCopyObject ¶
func (in *TestResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestResourceNilableStatus ¶
type TestResourceNilableStatus struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec TestResourceSpec `json:"spec"`
Status *TestResourceStatus `json:"status"`
}
func (*TestResourceNilableStatus) DeepCopy ¶
func (in *TestResourceNilableStatus) DeepCopy() *TestResourceNilableStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResourceNilableStatus.
func (*TestResourceNilableStatus) DeepCopyInto ¶
func (in *TestResourceNilableStatus) DeepCopyInto(out *TestResourceNilableStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestResourceNilableStatus) DeepCopyObject ¶
func (in *TestResourceNilableStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TestResourceNilableStatus) Default ¶
func (r *TestResourceNilableStatus) Default()
func (*TestResourceNilableStatus) Validate ¶
func (r *TestResourceNilableStatus) Validate() validation.FieldErrors
type TestResourceNilableStatusList ¶
type TestResourceNilableStatusList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []TestResourceNilableStatus `json:"items"`
}
func (*TestResourceNilableStatusList) DeepCopy ¶
func (in *TestResourceNilableStatusList) DeepCopy() *TestResourceNilableStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResourceNilableStatusList.
func (*TestResourceNilableStatusList) DeepCopyInto ¶
func (in *TestResourceNilableStatusList) DeepCopyInto(out *TestResourceNilableStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestResourceNilableStatusList) DeepCopyObject ¶
func (in *TestResourceNilableStatusList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestResourceNoStatus ¶
type TestResourceNoStatus struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec TestResourceSpec `json:"spec"`
}
func (*TestResourceNoStatus) DeepCopy ¶
func (in *TestResourceNoStatus) DeepCopy() *TestResourceNoStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResourceNoStatus.
func (*TestResourceNoStatus) DeepCopyInto ¶
func (in *TestResourceNoStatus) DeepCopyInto(out *TestResourceNoStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestResourceNoStatus) DeepCopyObject ¶
func (in *TestResourceNoStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TestResourceNoStatus) Default ¶
func (r *TestResourceNoStatus) Default()
type TestResourceNoStatusList ¶
type TestResourceNoStatusList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []TestResourceNoStatus `json:"items"`
}
func (*TestResourceNoStatusList) DeepCopy ¶
func (in *TestResourceNoStatusList) DeepCopy() *TestResourceNoStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResourceNoStatusList.
func (*TestResourceNoStatusList) DeepCopyInto ¶
func (in *TestResourceNoStatusList) DeepCopyInto(out *TestResourceNoStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestResourceNoStatusList) DeepCopyObject ¶
func (in *TestResourceNoStatusList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestResourceSpec ¶
type TestResourceSpec struct {
Fields map[string]string `json:"fields,omitempty"`
Template corev1.PodTemplateSpec `json:"template,omitempty"`
ErrOnMarshal bool `json:"errOnMarhsal,omitempty"`
ErrOnUnmarshal bool `json:"errOnUnmarhsal,omitempty"`
}
+kubebuilder:object:generate=true
func (*TestResourceSpec) DeepCopy ¶
func (in *TestResourceSpec) DeepCopy() *TestResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResourceSpec.
func (*TestResourceSpec) DeepCopyInto ¶
func (in *TestResourceSpec) DeepCopyInto(out *TestResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestResourceSpec) MarshalJSON ¶
func (r *TestResourceSpec) MarshalJSON() ([]byte, error)
func (*TestResourceSpec) UnmarshalJSON ¶
func (r *TestResourceSpec) UnmarshalJSON(data []byte) error
type TestResourceStatus ¶
type TestResourceStatus struct {
apis.Status `json:",inline"`
Fields map[string]string `json:"fields,omitempty"`
}
+kubebuilder:object:generate=true
func (*TestResourceStatus) DeepCopy ¶
func (in *TestResourceStatus) DeepCopy() *TestResourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResourceStatus.
func (*TestResourceStatus) DeepCopyInto ¶
func (in *TestResourceStatus) DeepCopyInto(out *TestResourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestResourceStatus) InitializeConditions ¶
func (rs *TestResourceStatus) InitializeConditions()
func (*TestResourceStatus) MarkNotReady ¶
func (rs *TestResourceStatus) MarkNotReady(reason, message string, messageA ...interface{})
func (*TestResourceStatus) MarkReady ¶
func (rs *TestResourceStatus) MarkReady()