v2alpha1

package
v0.34.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 7

Documentation

Overview

Package v2alpha1 is the v2alpha1 version of the API. +groupName=testing.solo.io

Index

Constants

View Source
const (
	// Package-wide consts from generator "register".
	GroupName = "testing.solo.io"
)

Variables

View Source
var (
	// Package-wide variables from generator "register".
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v2alpha1"}
	SchemeBuilder      = runtime.NewSchemeBuilder(addKnownTypes)

	AddToScheme = localSchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type FrequentlyChangingAnnotationsResource

type FrequentlyChangingAnnotationsResource struct {
	v1.TypeMeta `json:",inline"`
	// +optional
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the implementation of this definition.
	// +optional
	Spec api.FrequentlyChangingAnnotationsResource `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +resourceName=fcars +genclient +genclient:noStatus

func (*FrequentlyChangingAnnotationsResource) DeepCopy

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

func (*FrequentlyChangingAnnotationsResource) DeepCopyInto

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

func (*FrequentlyChangingAnnotationsResource) DeepCopyObject

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

func (*FrequentlyChangingAnnotationsResource) MarshalJSON

func (o *FrequentlyChangingAnnotationsResource) MarshalJSON() ([]byte, error)

func (*FrequentlyChangingAnnotationsResource) UnmarshalJSON

func (o *FrequentlyChangingAnnotationsResource) UnmarshalJSON(data []byte) error

type FrequentlyChangingAnnotationsResourceList

type FrequentlyChangingAnnotationsResourceList struct {
	v1.TypeMeta `json:",inline"`
	// +optional
	v1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items       []FrequentlyChangingAnnotationsResource `json:"items" protobuf:"bytes,2,rep,name=items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object FrequentlyChangingAnnotationsResourceList is a collection of FrequentlyChangingAnnotationsResources.

func (*FrequentlyChangingAnnotationsResourceList) DeepCopy

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

func (*FrequentlyChangingAnnotationsResourceList) DeepCopyInto

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

func (*FrequentlyChangingAnnotationsResourceList) DeepCopyObject

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

type MockResource

type MockResource struct {
	v1.TypeMeta `json:",inline"`
	// +optional
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the implementation of this definition.
	// +optional
	Spec   api.MockResource        `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status core.NamespacedStatuses `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +resourceName=mocks +genclient

func (*MockResource) DeepCopy

func (in *MockResource) DeepCopy() *MockResource

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

func (*MockResource) DeepCopyInto

func (in *MockResource) DeepCopyInto(out *MockResource)

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

func (*MockResource) DeepCopyObject

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

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

func (*MockResource) MarshalJSON

func (o *MockResource) MarshalJSON() ([]byte, error)

func (*MockResource) UnmarshalJSON

func (o *MockResource) UnmarshalJSON(data []byte) error

type MockResourceList

type MockResourceList struct {
	v1.TypeMeta `json:",inline"`
	// +optional
	v1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items       []MockResource `json:"items" protobuf:"bytes,2,rep,name=items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object MockResourceList is a collection of MockResources.

func (*MockResourceList) DeepCopy

func (in *MockResourceList) DeepCopy() *MockResourceList

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

func (*MockResourceList) DeepCopyInto

func (in *MockResourceList) DeepCopyInto(out *MockResourceList)

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

func (*MockResourceList) DeepCopyObject

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

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

Jump to

Keyboard shortcuts

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