v1alpha1

package
v0.11.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 18 Imported by: 5

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=repositories.stash.appscode.com

Index

Constants

View Source
const (
	ResourceKindSnapshot     = "Snapshot"
	ResourcePluralSnapshot   = "snapshots"
	ResourceSingularSnapshot = "snapshot"
)
View Source
const GroupName = "repositories.stash.appscode.com"

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
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
)
View Source
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 RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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

func (in *Snapshot) DeepCopy() *Snapshot

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snapshot.

func (*Snapshot) DeepCopyInto

func (in *Snapshot) DeepCopyInto(out *Snapshot)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Snapshot) DeepCopyObject

func (in *Snapshot) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Snapshot) Descriptor

func (*Snapshot) Descriptor() ([]byte, []int)

func (*Snapshot) Marshal

func (m *Snapshot) Marshal() (dAtA []byte, err error)

func (*Snapshot) MarshalTo

func (m *Snapshot) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot) MarshalToSizedBuffer

func (m *Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Snapshot) ProtoMessage

func (*Snapshot) ProtoMessage()

func (*Snapshot) Reset

func (m *Snapshot) Reset()

func (*Snapshot) Size

func (m *Snapshot) Size() (n int)

func (*Snapshot) String

func (this *Snapshot) String() string

func (*Snapshot) Unmarshal

func (m *Snapshot) Unmarshal(dAtA []byte) error

func (*Snapshot) XXX_DiscardUnknown

func (m *Snapshot) XXX_DiscardUnknown()

func (*Snapshot) XXX_Marshal

func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot) XXX_Merge

func (m *Snapshot) XXX_Merge(src proto.Message)

func (*Snapshot) XXX_Size

func (m *Snapshot) XXX_Size() int

func (*Snapshot) XXX_Unmarshal

func (m *Snapshot) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *SnapshotList) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *SnapshotStatus) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL