v1alpha1

package
v0.0.0-...-2ae20b0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the cim v1alpha1 API group +kubebuilder:object:generate=true +groupName=cim.zerocloud.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "cim.zerocloud.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type MirrorConfig

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

	Spec   MirrorConfigSpec   `json:"spec,omitempty"`
	Status MirrorConfigStatus `json:"status,omitempty"`
}

MirrorConfig is the Schema for the mirrorconfigs API

func (*MirrorConfig) DeepCopy

func (in *MirrorConfig) DeepCopy() *MirrorConfig

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

func (*MirrorConfig) DeepCopyInto

func (in *MirrorConfig) DeepCopyInto(out *MirrorConfig)

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

func (*MirrorConfig) DeepCopyObject

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

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

type MirrorConfigList

type MirrorConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MirrorConfig `json:"items"`
}

MirrorConfigList contains a list of MirrorConfig

func (*MirrorConfigList) DeepCopy

func (in *MirrorConfigList) DeepCopy() *MirrorConfigList

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

func (*MirrorConfigList) DeepCopyInto

func (in *MirrorConfigList) DeepCopyInto(out *MirrorConfigList)

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

func (*MirrorConfigList) DeepCopyObject

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

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

type MirrorConfigSpec

type MirrorConfigSpec struct {
	Images       []string   `json:"images"`
	Destinations []string   `json:"destinations"`
	TagPolicy    *TagPolicy `json:"tagPolicy,omitempty"`
}

MirrorConfigSpec defines the desired state of MirrorConfig

func (*MirrorConfigSpec) DeepCopy

func (in *MirrorConfigSpec) DeepCopy() *MirrorConfigSpec

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

func (*MirrorConfigSpec) DeepCopyInto

func (in *MirrorConfigSpec) DeepCopyInto(out *MirrorConfigSpec)

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

type MirrorConfigStatus

type MirrorConfigStatus struct {
	LastExecution *metav1.Time `json:"lastExecution,omitempty"`
	Summary       []string     `json:"summary,omitempty"`
}

MirrorConfigStatus defines the observed state of MirrorConfig

func (*MirrorConfigStatus) DeepCopy

func (in *MirrorConfigStatus) DeepCopy() *MirrorConfigStatus

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

func (*MirrorConfigStatus) DeepCopyInto

func (in *MirrorConfigStatus) DeepCopyInto(out *MirrorConfigStatus)

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

type TagPolicy

type TagPolicy struct {
	MinNum int             `json:"minNum,omitempty"`
	MaxNum int             `json:"maxNum,omitempty"`
	MaxAge metav1.Duration `json:"maxAge,omitempty"`
}

Jump to

Keyboard shortcuts

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