Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=git.rio.cattle.io
+k8s:deepcopy-gen=package +groupName=git.rio.cattle.io
+k8s:deepcopy-gen=package +groupName=git.rio.cattle.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: git.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type GitModule ¶
type GitModule struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec GitModuleSpec `json:"spec,omitempty"`
Status GitModuleStatus `json:"status,omitempty"`
}
func NewGitModule ¶
func (*GitModule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitModule.
func (*GitModule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitModule) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitModuleList ¶
type GitModuleList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []GitModule `json:"items"`
}
GitModuleList is a list of GitModule resources
func (*GitModuleList) DeepCopy ¶
func (in *GitModuleList) DeepCopy() *GitModuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitModuleList.
func (*GitModuleList) DeepCopyInto ¶
func (in *GitModuleList) DeepCopyInto(out *GitModuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitModuleList) DeepCopyObject ¶
func (in *GitModuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitModuleSpec ¶
type GitModuleSpec struct {
ServiceName string `json:"serviceName,omitempty"`
ServiceNamespace string `json:"serviceNamespace,omitempty"`
Repo string `json:"repo,omitempty"`
Secret string `json:"secret,omitempty"`
Branch string `json:"branch,omitempty"`
}
func (*GitModuleSpec) DeepCopy ¶
func (in *GitModuleSpec) DeepCopy() *GitModuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitModuleSpec.
func (*GitModuleSpec) DeepCopyInto ¶
func (in *GitModuleSpec) DeepCopyInto(out *GitModuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitModuleStatus ¶
type GitModuleStatus struct {
LastRevision string `json:"lastRevision,omitempty"`
}
func (*GitModuleStatus) DeepCopy ¶
func (in *GitModuleStatus) DeepCopy() *GitModuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitModuleStatus.
func (*GitModuleStatus) DeepCopyInto ¶
func (in *GitModuleStatus) DeepCopyInto(out *GitModuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.