v1alpha1

package
v0.0.0-...-f29649d Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the policy v1alpha1 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: "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 MockPolicy

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

	Spec   MockPolicySpec   `json:"spec,omitempty"`
	Status MockPolicyStatus `json:"status,omitempty"`
}

MockPolicy is the Schema for the mockpolicies API

func (*MockPolicy) DeepCopy

func (in *MockPolicy) DeepCopy() *MockPolicy

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

func (*MockPolicy) DeepCopyInto

func (in *MockPolicy) DeepCopyInto(out *MockPolicy)

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

func (*MockPolicy) DeepCopyObject

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

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

func (MockPolicy) PolicySpec

func (p MockPolicy) PolicySpec() *framework.PolicyTypeSpec

func (MockPolicy) PolicyStatus

func (p MockPolicy) PolicyStatus() *framework.PolicyTypeStatus

type MockPolicyList

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

MockPolicyList contains a list of MockPolicy

func (*MockPolicyList) DeepCopy

func (in *MockPolicyList) DeepCopy() *MockPolicyList

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

func (*MockPolicyList) DeepCopyInto

func (in *MockPolicyList) DeepCopyInto(out *MockPolicyList)

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

func (*MockPolicyList) DeepCopyObject

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

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

type MockPolicySpec

type MockPolicySpec struct {
	framework.PolicyTypeSpec `json:",inline"`

	// Foo is an example field of MockPolicy.
	Foo string `json:"foo,omitempty"`
}

MockPolicySpec defines the desired state of MockPolicy

func (*MockPolicySpec) DeepCopy

func (in *MockPolicySpec) DeepCopy() *MockPolicySpec

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

func (*MockPolicySpec) DeepCopyInto

func (in *MockPolicySpec) DeepCopyInto(out *MockPolicySpec)

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

type MockPolicyStatus

type MockPolicyStatus struct {
	framework.PolicyTypeStatus `json:",inline"`

	Debug string `json:"debug,omitempty"`
}

MockPolicyStatus defines the observed state of MockPolicy

func (*MockPolicyStatus) DeepCopy

func (in *MockPolicyStatus) DeepCopy() *MockPolicyStatus

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

func (*MockPolicyStatus) DeepCopyInto

func (in *MockPolicyStatus) DeepCopyInto(out *MockPolicyStatus)

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