v1alpha1

package
v0.0.0-...-c7d747a Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the config.porch.kpt.dev v1alpha1 API group +kubebuilder:object:generate=true +groupName=config.porch.kpt.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "config.porch.kpt.dev", 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 ClusterTargetSelector

type ClusterTargetSelector struct {
	Selector *metav1.LabelSelector `json:"selector,omitempty"`
}

func (*ClusterTargetSelector) DeepCopy

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

func (*ClusterTargetSelector) DeepCopyInto

func (in *ClusterTargetSelector) DeepCopyInto(out *ClusterTargetSelector)

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

type PackageSelector

type PackageSelector struct {
	Namespace string `json:"namespace,omitempty"`

	Selector *metav1.LabelSelector `json:"selector,omitempty"`
}

func (*PackageSelector) DeepCopy

func (in *PackageSelector) DeepCopy() *PackageSelector

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

func (*PackageSelector) DeepCopyInto

func (in *PackageSelector) DeepCopyInto(out *PackageSelector)

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

type PackageStatus

type PackageStatus struct {
	Package string `json:"package"`

	Revisions []Revision `json:"revision"`
}

func (*PackageStatus) DeepCopy

func (in *PackageStatus) DeepCopy() *PackageStatus

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

func (*PackageStatus) DeepCopyInto

func (in *PackageStatus) DeepCopyInto(out *PackageStatus)

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

type Revision

type Revision struct {
	Revision string `json:"revision"`

	Count int `json:"count"`

	SyncedCount int `json:"syncedCount"`
}

func (*Revision) DeepCopy

func (in *Revision) DeepCopy() *Revision

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

func (*Revision) DeepCopyInto

func (in *Revision) DeepCopyInto(out *Revision)

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

type RootSyncRollout

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

	Spec   RootSyncRolloutSpec   `json:"spec,omitempty"`
	Status RootSyncRolloutStatus `json:"status,omitempty"`
}

RootSyncRollout is the Schema for the rootsyncrollouts API

func (*RootSyncRollout) DeepCopy

func (in *RootSyncRollout) DeepCopy() *RootSyncRollout

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

func (*RootSyncRollout) DeepCopyInto

func (in *RootSyncRollout) DeepCopyInto(out *RootSyncRollout)

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

func (*RootSyncRollout) DeepCopyObject

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

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

type RootSyncRolloutList

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

RootSyncRolloutList contains a list of RootSyncRollout

func (*RootSyncRolloutList) DeepCopy

func (in *RootSyncRolloutList) DeepCopy() *RootSyncRolloutList

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

func (*RootSyncRolloutList) DeepCopyInto

func (in *RootSyncRolloutList) DeepCopyInto(out *RootSyncRolloutList)

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

func (*RootSyncRolloutList) DeepCopyObject

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

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

type RootSyncRolloutSpec

type RootSyncRolloutSpec struct {
	Targets ClusterTargetSelector `json:"targets,omitempty"`

	Packages PackageSelector `json:"packages,omitempty"`
}

RootSyncRolloutSpec

func (*RootSyncRolloutSpec) DeepCopy

func (in *RootSyncRolloutSpec) DeepCopy() *RootSyncRolloutSpec

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

func (*RootSyncRolloutSpec) DeepCopyInto

func (in *RootSyncRolloutSpec) DeepCopyInto(out *RootSyncRolloutSpec)

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

type RootSyncRolloutStatus

type RootSyncRolloutStatus struct {
	// Conditions describes the reconciliation state of the object.
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	PackageStatuses []PackageStatus `json:"packageStatus,omitempty"`
}

RootSyncRolloutStatus defines the observed state of RootSyncRollout

func (*RootSyncRolloutStatus) DeepCopy

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

func (*RootSyncRolloutStatus) DeepCopyInto

func (in *RootSyncRolloutStatus) DeepCopyInto(out *RootSyncRolloutStatus)

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