Documentation
¶
Overview ¶
+groupName=testing.giantswarm.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var (
// AddToScheme is used by the generated client.
AddToScheme = schemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{
Group: group,
Version: version,
}
SchemeGroupVersion is group version used to register these objects
Functions ¶
This section is empty.
Types ¶
type ConditionStatus ¶
type ConditionStatus string
const ( ConditionTrue ConditionStatus = "True" ConditionFalse ConditionStatus = "False" ConditionUnknown ConditionStatus = "Unknown" )
type Example ¶
type Example struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata"`
Spec ExampleSpec `json:"spec"`
// +optional
Status ExampleStatus `json:"status"`
}
Example is a basic type used for integration tests. +kubebuilder:object:root=true +kubebuilder:subresource:status
func (*Example) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Example.
func (*Example) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Example) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExampleCondition ¶
type ExampleCondition struct {
// type is the type of the condition. Types include Normal.
Type ExampleConditionType `json:"type"`
// status is the status of the condition.
// Can be True, False, Unknown.
Status ConditionStatus `json:"status"`
// lastTransitionTime last time the condition transitioned from one status to another.
// +optional
LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
// reason is a unique, one-word, CamelCase reason for the condition's last transition.
// +optional
Reason string `json:"reason,omitempty"`
// message is a human-readable message indicating details about last transition.
// +optional
Message string `json:"message,omitempty"`
}
func (*ExampleCondition) DeepCopy ¶
func (in *ExampleCondition) DeepCopy() *ExampleCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleCondition.
func (*ExampleCondition) DeepCopyInto ¶
func (in *ExampleCondition) DeepCopyInto(out *ExampleCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExampleConditionType ¶
type ExampleConditionType string
ExampleConditionType is a valid value for ExampleCondition.Type
const (
Normal ExampleConditionType = "Normal"
)
type ExampleList ¶
type ExampleList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []Example `json:"items"`
}
+kubebuilder:object:root=true
func (*ExampleList) DeepCopy ¶
func (in *ExampleList) DeepCopy() *ExampleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleList.
func (*ExampleList) DeepCopyInto ¶
func (in *ExampleList) DeepCopyInto(out *ExampleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExampleList) DeepCopyObject ¶
func (in *ExampleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExampleSpec ¶
type ExampleSpec struct {
Field1 string `json:"field1"`
}
func (*ExampleSpec) DeepCopy ¶
func (in *ExampleSpec) DeepCopy() *ExampleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec.
func (*ExampleSpec) DeepCopyInto ¶
func (in *ExampleSpec) DeepCopyInto(out *ExampleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExampleStatus ¶
type ExampleStatus struct {
Conditions []ExampleCondition `json:"conditions"`
}
func (*ExampleStatus) DeepCopy ¶
func (in *ExampleStatus) DeepCopy() *ExampleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleStatus.
func (*ExampleStatus) DeepCopyInto ¶
func (in *ExampleStatus) DeepCopyInto(out *ExampleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.