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
- func (in *Snapshot) DeepCopy() *Snapshot
- func (in *Snapshot) DeepCopyInto(out *Snapshot)
- func (in *Snapshot) DeepCopyObject() runtime.Object
- func (*Snapshot) Descriptor() ([]byte, []int)
- func (m *Snapshot) Marshal() (dAtA []byte, err error)
- func (m *Snapshot) MarshalTo(dAtA []byte) (int, error)
- func (m *Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Snapshot) ProtoMessage()
- func (m *Snapshot) Reset()
- func (m *Snapshot) Size() (n int)
- func (this *Snapshot) String() string
- func (m *Snapshot) Unmarshal(dAtA []byte) error
- func (m *Snapshot) XXX_DiscardUnknown()
- func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Snapshot) XXX_Merge(src proto.Message)
- func (m *Snapshot) XXX_Size() int
- func (m *Snapshot) XXX_Unmarshal(b []byte) error
- type SnapshotList
- func (in *SnapshotList) DeepCopy() *SnapshotList
- func (in *SnapshotList) DeepCopyInto(out *SnapshotList)
- func (in *SnapshotList) DeepCopyObject() runtime.Object
- func (*SnapshotList) Descriptor() ([]byte, []int)
- func (m *SnapshotList) Marshal() (dAtA []byte, err error)
- func (m *SnapshotList) MarshalTo(dAtA []byte) (int, error)
- func (m *SnapshotList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SnapshotList) ProtoMessage()
- func (m *SnapshotList) Reset()
- func (m *SnapshotList) Size() (n int)
- func (this *SnapshotList) String() string
- func (m *SnapshotList) Unmarshal(dAtA []byte) error
- func (m *SnapshotList) XXX_DiscardUnknown()
- func (m *SnapshotList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SnapshotList) XXX_Merge(src proto.Message)
- func (m *SnapshotList) XXX_Size() int
- func (m *SnapshotList) XXX_Unmarshal(b []byte) error
- type SnapshotStatus
- func (in *SnapshotStatus) DeepCopy() *SnapshotStatus
- func (in *SnapshotStatus) DeepCopyInto(out *SnapshotStatus)
- func (*SnapshotStatus) Descriptor() ([]byte, []int)
- func (m *SnapshotStatus) Marshal() (dAtA []byte, err error)
- func (m *SnapshotStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *SnapshotStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SnapshotStatus) ProtoMessage()
- func (m *SnapshotStatus) Reset()
- func (m *SnapshotStatus) Size() (n int)
- func (this *SnapshotStatus) String() string
- func (m *SnapshotStatus) Unmarshal(dAtA []byte) error
- func (m *SnapshotStatus) XXX_DiscardUnknown()
- func (m *SnapshotStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SnapshotStatus) XXX_Merge(src proto.Message)
- func (m *SnapshotStatus) XXX_Size() int
- func (m *SnapshotStatus) XXX_Unmarshal(b []byte) error
Constants ¶
const ( ResourceKindSnapshot = "Snapshot" ResourcePluralSnapshot = "snapshots" ResourceSingularSnapshot = "snapshot" )
const GroupName = "repositories.stash.appscode.com"
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
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" protobuf:"bytes,1,opt,name=metadata"` Status SnapshotStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status"` }
+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"
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.
func (*Snapshot) Descriptor ¶
func (*Snapshot) MarshalToSizedBuffer ¶
func (*Snapshot) ProtoMessage ¶
func (*Snapshot) ProtoMessage()
func (*Snapshot) XXX_DiscardUnknown ¶
func (m *Snapshot) XXX_DiscardUnknown()
func (*Snapshot) XXX_Marshal ¶
func (*Snapshot) XXX_Unmarshal ¶
type SnapshotList ¶
type SnapshotList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Snapshot `json:"items" protobuf:"bytes,2,rep,name=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.
func (*SnapshotList) Descriptor ¶
func (*SnapshotList) Descriptor() ([]byte, []int)
func (*SnapshotList) Marshal ¶
func (m *SnapshotList) Marshal() (dAtA []byte, err error)
func (*SnapshotList) MarshalToSizedBuffer ¶
func (m *SnapshotList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SnapshotList) ProtoMessage ¶
func (*SnapshotList) ProtoMessage()
func (*SnapshotList) Reset ¶
func (m *SnapshotList) Reset()
func (*SnapshotList) Size ¶
func (m *SnapshotList) Size() (n int)
func (*SnapshotList) String ¶
func (this *SnapshotList) String() string
func (*SnapshotList) Unmarshal ¶
func (m *SnapshotList) Unmarshal(dAtA []byte) error
func (*SnapshotList) XXX_DiscardUnknown ¶
func (m *SnapshotList) XXX_DiscardUnknown()
func (*SnapshotList) XXX_Marshal ¶
func (m *SnapshotList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SnapshotList) XXX_Merge ¶
func (m *SnapshotList) XXX_Merge(src proto.Message)
func (*SnapshotList) XXX_Size ¶
func (m *SnapshotList) XXX_Size() int
func (*SnapshotList) XXX_Unmarshal ¶
func (m *SnapshotList) XXX_Unmarshal(b []byte) error
type SnapshotStatus ¶
type SnapshotStatus struct { Tree string `json:"tree" protobuf:"bytes,1,opt,name=tree"` Paths []string `json:"paths" protobuf:"bytes,2,rep,name=paths"` Hostname string `json:"hostname" protobuf:"bytes,3,opt,name=hostname"` Username string `json:"username" protobuf:"bytes,4,opt,name=username"` UID int32 `json:"uid" protobuf:"varint,5,opt,name=uid"` Gid int32 `json:"gid" protobuf:"varint,6,opt,name=gid"` Tags []string `json:",omitempty" protobuf:"bytes,7,rep,name=tags"` Repository string `json:"repository" protobuf:"bytes,8,opt,name=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.
func (*SnapshotStatus) Descriptor ¶
func (*SnapshotStatus) Descriptor() ([]byte, []int)
func (*SnapshotStatus) Marshal ¶
func (m *SnapshotStatus) Marshal() (dAtA []byte, err error)
func (*SnapshotStatus) MarshalToSizedBuffer ¶
func (m *SnapshotStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SnapshotStatus) ProtoMessage ¶
func (*SnapshotStatus) ProtoMessage()
func (*SnapshotStatus) Reset ¶
func (m *SnapshotStatus) Reset()
func (*SnapshotStatus) Size ¶
func (m *SnapshotStatus) Size() (n int)
func (*SnapshotStatus) String ¶
func (this *SnapshotStatus) String() string
func (*SnapshotStatus) Unmarshal ¶
func (m *SnapshotStatus) Unmarshal(dAtA []byte) error
func (*SnapshotStatus) XXX_DiscardUnknown ¶
func (m *SnapshotStatus) XXX_DiscardUnknown()
func (*SnapshotStatus) XXX_Marshal ¶
func (m *SnapshotStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SnapshotStatus) XXX_Merge ¶
func (m *SnapshotStatus) XXX_Merge(src proto.Message)
func (*SnapshotStatus) XXX_Size ¶
func (m *SnapshotStatus) XXX_Size() int
func (*SnapshotStatus) XXX_Unmarshal ¶
func (m *SnapshotStatus) XXX_Unmarshal(b []byte) error