v1alpha1

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   "blakelead.com",
	Version: "v1alpha1",
}

SchemeGroupVersion is group version used to register these objects.

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource returns the group resource

Types

type NamespaceResourcesInjector

type NamespaceResourcesInjector struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata,omitempty"`

	// Spec is the custom resource spec
	Spec   NamespaceResourcesInjectorSpec   `json:"spec"`
	Status NamespaceResourcesInjectorStatus `json:"status"`
}

NamespaceResourcesInjector describes a NamespaceResourcesInjector resource

func (*NamespaceResourcesInjector) CanInject

func (nri *NamespaceResourcesInjector) CanInject(namespace string) bool

func (*NamespaceResourcesInjector) DeepCopy

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

func (*NamespaceResourcesInjector) DeepCopyInto

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

func (*NamespaceResourcesInjector) DeepCopyObject

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

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

func (*NamespaceResourcesInjector) Injected

func (nri *NamespaceResourcesInjector) Injected(namespace string) bool

type NamespaceResourcesInjectorList

type NamespaceResourcesInjectorList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`

	Items []NamespaceResourcesInjector `json:"items"`
}

NamespaceResourcesInjectorList is a list of NamespaceResourcesInjector resources

func (*NamespaceResourcesInjectorList) DeepCopy

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

func (*NamespaceResourcesInjectorList) DeepCopyInto

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

func (*NamespaceResourcesInjectorList) DeepCopyObject

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

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

type NamespaceResourcesInjectorSpec

type NamespaceResourcesInjectorSpec struct {
	ExcludedNamespaces []string `json:"excludedNamespaces"`
	Namespaces         []string `json:"namespaces"`
	Resources          []string `json:"resources"`
}

NamespaceResourcesInjectorSpec is the spec for a NamespaceResourcesInjector resource

func (*NamespaceResourcesInjectorSpec) DeepCopy

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

func (*NamespaceResourcesInjectorSpec) DeepCopyInto

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

type NamespaceResourcesInjectorStatus

type NamespaceResourcesInjectorStatus struct {
	InjectedNamespaces []string `json:"injectedNamespaces"`
}

NamespaceResourcesInjectorStatus is the status for a NamespaceResourcesInjector resource

func (*NamespaceResourcesInjectorStatus) DeepCopy

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

func (*NamespaceResourcesInjectorStatus) DeepCopyInto

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