Documentation ¶
Index ¶
Constants ¶
View Source
const GroupName = "core.oam.dev"
View Source
const GroupVersion = "v1alpha1"
Variables ¶
View Source
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}
Functions ¶
This section is empty.
Types ¶
type Trait ¶
type Trait struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TraitSpec `json:"spec,omitempty"` Status TraitStatus `json:"status,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Trait) DeepCopyInto ¶
func (*Trait) DeepCopyObject ¶
type TraitList ¶
type TraitList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Trait `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TraitList) DeepCopyInto ¶
func (*TraitList) DeepCopyObject ¶
type TraitSpec ¶
type TraitSpec struct { AppliesTo []string `json:"appliesTo"` Properties string `json:"properties"` }
func (*TraitSpec) DeepCopyInto ¶
type TraitStatus ¶
type TraitStatus struct { }
func (*TraitStatus) DeepCopy ¶
func (in *TraitStatus) DeepCopy() *TraitStatus
func (*TraitStatus) DeepCopyInto ¶
func (in *TraitStatus) DeepCopyInto(out *TraitStatus)
Click to show internal directories.
Click to hide internal directories.