v1beta1

package
v0.0.0-...-6a1c4da Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the policy v1beta1 API group +kubebuilder:object:generate=true +groupName=policy.open-cluster-management.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "policy.open-cluster-management.io", Version: "v1beta1"}

	// 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 FakePolicy

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

	Spec   FakePolicySpec   `json:"spec,omitempty"`
	Status FakePolicyStatus `json:"status,omitempty"`
}

FakePolicy is the Schema for the fakepolicies API

func (*FakePolicy) DeepCopy

func (in *FakePolicy) DeepCopy() *FakePolicy

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

func (*FakePolicy) DeepCopyInto

func (in *FakePolicy) DeepCopyInto(out *FakePolicy)

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

func (*FakePolicy) DeepCopyObject

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

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

type FakePolicyList

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

FakePolicyList contains a list of FakePolicy

func (*FakePolicyList) DeepCopy

func (in *FakePolicyList) DeepCopy() *FakePolicyList

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

func (*FakePolicyList) DeepCopyInto

func (in *FakePolicyList) DeepCopyInto(out *FakePolicyList)

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

func (*FakePolicyList) DeepCopyObject

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

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

type FakePolicySpec

type FakePolicySpec struct {
	nucleusv1beta1.PolicyCoreSpec `json:",inline"`
}

FakePolicySpec defines the desired state of FakePolicy

func (*FakePolicySpec) DeepCopy

func (in *FakePolicySpec) DeepCopy() *FakePolicySpec

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

func (*FakePolicySpec) DeepCopyInto

func (in *FakePolicySpec) DeepCopyInto(out *FakePolicySpec)

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

type FakePolicyStatus

type FakePolicyStatus struct {
	nucleusv1beta1.PolicyCoreStatus `json:",inline"`

	// SelectedNamespaces stores the list of namespaces the policy applies to
	SelectedNamespaces []string `json:"selectedNamespaces"`

	// SelectionComplete stores whether the selection has been completed
	SelectionComplete bool `json:"selectionComplete"`

	// SelectionError stores the error from the selection, if one occurred
	SelectionError string `json:"selectionError"`
}

FakePolicyStatus defines the observed state of FakePolicy

func (*FakePolicyStatus) DeepCopy

func (in *FakePolicyStatus) DeepCopy() *FakePolicyStatus

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

func (*FakePolicyStatus) DeepCopyInto

func (in *FakePolicyStatus) DeepCopyInto(out *FakePolicyStatus)

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