v1alpha1

package
v0.0.0-...-9022789 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the grop version used to reigister objects of this
	// API.
	SchemeGroupVersion = schema.GroupVersion{
		Group:   group.GroupName,
		Version: "v1alpha1",
	}

	// AddToScheme can be used to register the known types of this API with a
	// scheme
	AddToScheme = schemeBuilder.AddToScheme
)

Functions

func Convert_storage_ChangedBlockList_To_v1alpha1_ChangedBlockList

func Convert_storage_ChangedBlockList_To_v1alpha1_ChangedBlockList(
	in *storage.ChangedBlockList, out *ChangedBlockList, s conversion.Scope) error

func Convert_storage_ChangedBlockSpec_To_v1alpha1_ChangedBlockSpec

func Convert_storage_ChangedBlockSpec_To_v1alpha1_ChangedBlockSpec(
	in *storage.ChangedBlockSpec, out *ChangedBlockSpec, s conversion.Scope) error

func Convert_storage_ChangedBlock_To_v1alpha1_ChangedBlock

func Convert_storage_ChangedBlock_To_v1alpha1_ChangedBlock(in *storage.ChangedBlock, out *ChangedBlock, s conversion.Scope) error

Convert_storage_ChangedBlock_To_v1alpha1_ChangedBlock is an autogenerated conversion function.

func Convert_v1alpha1_ChangedBlockList_To_storage_ChangedBlockList

func Convert_v1alpha1_ChangedBlockList_To_storage_ChangedBlockList(
	in *ChangedBlockList, out *storage.ChangedBlockList, s conversion.Scope) error

func Convert_v1alpha1_ChangedBlockSpec_To_storage_ChangedBlockSpec

func Convert_v1alpha1_ChangedBlockSpec_To_storage_ChangedBlockSpec(
	in *ChangedBlockSpec, out *storage.ChangedBlockSpec, s conversion.Scope) error

func Convert_v1alpha1_ChangedBlock_To_storage_ChangedBlock

func Convert_v1alpha1_ChangedBlock_To_storage_ChangedBlock(in *ChangedBlock, out *storage.ChangedBlock, s conversion.Scope) error

Convert_v1alpha1_ChangedBlock_To_storage_ChangedBlock is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a qualified GroupKind.

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 qualified GroupResource.

Types

type ChangedBlock

type ChangedBlock struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ChangedBlockSpec `json:"spec"`
}

ChangedBlock is a changed block.

func (*ChangedBlock) DeepCopy

func (in *ChangedBlock) DeepCopy() *ChangedBlock

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

func (*ChangedBlock) DeepCopyInto

func (in *ChangedBlock) DeepCopyInto(out *ChangedBlock)

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

func (*ChangedBlock) DeepCopyObject

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

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

type ChangedBlockList

type ChangedBlockList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []ChangedBlock `json:"items"`
}

ChangedBlockList is a list of ChangedBlock objects.

func (*ChangedBlockList) DeepCopy

func (in *ChangedBlockList) DeepCopy() *ChangedBlockList

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

func (*ChangedBlockList) DeepCopyInto

func (in *ChangedBlockList) DeepCopyInto(out *ChangedBlockList)

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

func (*ChangedBlockList) DeepCopyObject

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

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

type ChangedBlockSpec

type ChangedBlockSpec struct {
	Offset  int64
	Size    int64
	Context []byte
	ZeroOut bool
}

ChangedBlockSpec is a changed block.

func (*ChangedBlockSpec) DeepCopy

func (in *ChangedBlockSpec) DeepCopy() *ChangedBlockSpec

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

func (*ChangedBlockSpec) DeepCopyInto

func (in *ChangedBlockSpec) DeepCopyInto(out *ChangedBlockSpec)

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