Documentation ¶
Index ¶
- Constants
- Variables
- func Object[T client.Object](base T, overrides ...T) T
- func RandomName() string
- type CustomObject
- func (in *CustomObject) DeepCopy() *CustomObject
- func (in *CustomObject) DeepCopyInto(out *CustomObject)
- func (in *CustomObject) DeepCopyObject() runtime.Object
- func (t *CustomObject) GetConditions() []status.Condition
- func (t *CustomObject) SetConditions(conditions []status.Condition)
- func (t *CustomObject) StatusConditions() status.ConditionSet
- type CustomStatus
Constants ¶
View Source
const ( // Normal Conditions ConditionTypeFoo = "Foo" ConditionTypeBar = "Bar" // Abnormal Conditions ConditionTypeBaz = "Baz" )
Variables ¶
View Source
var ( APIGroup = "operators.k8s.aws" DiscoveryLabel = APIGroup + "/test-id" )
View Source
var Namespace = &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "default"}}
Functions ¶
func RandomName ¶
func RandomName() string
Types ¶
type CustomObject ¶
type CustomObject struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Status CustomStatus `json:"status"` }
+k8s:deepcopy-gen=true +kubebuilder:object:root=true
func (*CustomObject) DeepCopy ¶
func (in *CustomObject) DeepCopy() *CustomObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomObject.
func (*CustomObject) DeepCopyInto ¶
func (in *CustomObject) DeepCopyInto(out *CustomObject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomObject) DeepCopyObject ¶
func (in *CustomObject) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CustomObject) GetConditions ¶
func (t *CustomObject) GetConditions() []status.Condition
func (*CustomObject) SetConditions ¶
func (t *CustomObject) SetConditions(conditions []status.Condition)
func (*CustomObject) StatusConditions ¶
func (t *CustomObject) StatusConditions() status.ConditionSet
type CustomStatus ¶
+k8s:deepcopy-gen=true
func (*CustomStatus) DeepCopy ¶
func (in *CustomStatus) DeepCopy() *CustomStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomStatus.
func (*CustomStatus) DeepCopyInto ¶
func (in *CustomStatus) DeepCopyInto(out *CustomStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.