v1alpha1

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: Apache-2.0 Imports: 11 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 (
	// 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"`
	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

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.

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.

Jump to

Keyboard shortcuts

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