Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "k8s.example.com", 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 )
Functions ¶
This section is empty.
Types ¶
type SimpleCRD ¶
type SimpleCRD struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SimpleCRDSpec `json:"spec,omitempty"` Status SimpleCRDStatus `json:"status,omitempty"` }
SimpleCRD is a CRD we use on tests to validate the behavior of our internal reconciler. This should be kept simple with only primitive values on spec / status since the deepcopy code is manually maintained and it's going to be easier that way
func (*SimpleCRD) DeepCopyInto ¶
func (*SimpleCRD) DeepCopyObject ¶
type SimpleCRDList ¶
type SimpleCRDList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SimpleCRD `json:"items"` }
func (*SimpleCRDList) DeepCopy ¶
func (in *SimpleCRDList) DeepCopy() *SimpleCRDList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimpleCRDList.
func (*SimpleCRDList) DeepCopyInto ¶
func (in *SimpleCRDList) DeepCopyInto(out *SimpleCRDList)
func (*SimpleCRDList) DeepCopyObject ¶
func (in *SimpleCRDList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SimpleCRDSpec ¶
type SimpleCRDSpec struct { ReferencedMap *string `json:"referencedMap"` ConfigMapValue *string `json:"configMapValue"` SecretValue *string `json:"secretValue"` }
func (*SimpleCRDSpec) DeepCopy ¶
func (in *SimpleCRDSpec) DeepCopy() *SimpleCRDSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimpleCRDSpec.
func (*SimpleCRDSpec) DeepCopyInto ¶
func (in *SimpleCRDSpec) DeepCopyInto(out *SimpleCRDSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SimpleCRDStatus ¶
type SimpleCRDStatus struct { StaticValue *string `json:"staticValue"` ReferencedValue *string `json:"referencedValue"` KnownConfigMapValue *string `json:"knownConfigMapValue"` KnownSecretValue *string `json:"knownSecretValue"` NamespaceAnnotation string `json:"namespaceAnnotation"` Finalizing bool `json:"finalizing"` }