Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=repositories.stash.appscode.com
Index ¶
- Constants
- Variables
- func Convert_repositories_SnapshotList_To_v1alpha1_SnapshotList(in *repositories.SnapshotList, out *SnapshotList, s conversion.Scope) error
- func Convert_repositories_SnapshotStatus_To_v1alpha1_SnapshotStatus(in *repositories.SnapshotStatus, out *SnapshotStatus, s conversion.Scope) error
- func Convert_repositories_Snapshot_To_v1alpha1_Snapshot(in *repositories.Snapshot, out *Snapshot, s conversion.Scope) error
- func Convert_v1alpha1_SnapshotList_To_repositories_SnapshotList(in *SnapshotList, out *repositories.SnapshotList, s conversion.Scope) error
- func Convert_v1alpha1_SnapshotStatus_To_repositories_SnapshotStatus(in *SnapshotStatus, out *repositories.SnapshotStatus, s conversion.Scope) error
- func Convert_v1alpha1_Snapshot_To_repositories_Snapshot(in *Snapshot, out *repositories.Snapshot, s conversion.Scope) error
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type Snapshot
- type SnapshotList
- type SnapshotStatus
Constants ¶
const ( ResourceKindSnapshot = "Snapshot" ResourcePluralSnapshot = "snapshots" ResourceSingularSnapshot = "snapshot" )
const GroupName = "repositories.stash.appscode.com"
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_repositories_SnapshotList_To_v1alpha1_SnapshotList ¶
func Convert_repositories_SnapshotList_To_v1alpha1_SnapshotList(in *repositories.SnapshotList, out *SnapshotList, s conversion.Scope) error
Convert_repositories_SnapshotList_To_v1alpha1_SnapshotList is an autogenerated conversion function.
func Convert_repositories_SnapshotStatus_To_v1alpha1_SnapshotStatus ¶
func Convert_repositories_SnapshotStatus_To_v1alpha1_SnapshotStatus(in *repositories.SnapshotStatus, out *SnapshotStatus, s conversion.Scope) error
Convert_repositories_SnapshotStatus_To_v1alpha1_SnapshotStatus is an autogenerated conversion function.
func Convert_repositories_Snapshot_To_v1alpha1_Snapshot ¶
func Convert_repositories_Snapshot_To_v1alpha1_Snapshot(in *repositories.Snapshot, out *Snapshot, s conversion.Scope) error
Convert_repositories_Snapshot_To_v1alpha1_Snapshot is an autogenerated conversion function.
func Convert_v1alpha1_SnapshotList_To_repositories_SnapshotList ¶
func Convert_v1alpha1_SnapshotList_To_repositories_SnapshotList(in *SnapshotList, out *repositories.SnapshotList, s conversion.Scope) error
Convert_v1alpha1_SnapshotList_To_repositories_SnapshotList is an autogenerated conversion function.
func Convert_v1alpha1_SnapshotStatus_To_repositories_SnapshotStatus ¶
func Convert_v1alpha1_SnapshotStatus_To_repositories_SnapshotStatus(in *SnapshotStatus, out *repositories.SnapshotStatus, s conversion.Scope) error
Convert_v1alpha1_SnapshotStatus_To_repositories_SnapshotStatus is an autogenerated conversion function.
func Convert_v1alpha1_Snapshot_To_repositories_Snapshot ¶
func Convert_v1alpha1_Snapshot_To_repositories_Snapshot(in *Snapshot, out *repositories.Snapshot, s conversion.Scope) error
Convert_v1alpha1_Snapshot_To_repositories_Snapshot is an autogenerated conversion function.
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Snapshot ¶
type Snapshot struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Status SnapshotStatus `json:"status,omitempty"` }
+genclient +genclient:skipVerbs=create,update,patch,deleteCollection,watch +k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:printcolumn:name="Repository",type="string",JSONPath=".status.repository" +kubebuilder:printcolumn:name="Hostname",type="string",JSONPath=".status.hostname" +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".uid"
func (*Snapshot) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snapshot.
func (*Snapshot) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Snapshot) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SnapshotList ¶
type SnapshotList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Snapshot `json:"items"` }
func (*SnapshotList) DeepCopy ¶
func (in *SnapshotList) DeepCopy() *SnapshotList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotList.
func (*SnapshotList) DeepCopyInto ¶
func (in *SnapshotList) DeepCopyInto(out *SnapshotList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SnapshotList) DeepCopyObject ¶
func (in *SnapshotList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SnapshotStatus ¶
type SnapshotStatus struct { Tree string `json:"tree"` Paths []string `json:"paths"` Hostname string `json:"hostname"` Username string `json:"username"` UID int32 `json:"uid"` Gid int32 `json:"gid"` Tags []string `json:"tags,omitempty"` Repository string `json:"repository"` }
func (*SnapshotStatus) DeepCopy ¶
func (in *SnapshotStatus) DeepCopy() *SnapshotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotStatus.
func (*SnapshotStatus) DeepCopyInto ¶
func (in *SnapshotStatus) DeepCopyInto(out *SnapshotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.