Documentation ¶
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type NamespaceResourcesInjector
- func (nri *NamespaceResourcesInjector) CanInject(namespace string) bool
- func (in *NamespaceResourcesInjector) DeepCopy() *NamespaceResourcesInjector
- func (in *NamespaceResourcesInjector) DeepCopyInto(out *NamespaceResourcesInjector)
- func (in *NamespaceResourcesInjector) DeepCopyObject() runtime.Object
- func (nri *NamespaceResourcesInjector) Injected(namespace string) bool
- type NamespaceResourcesInjectorList
- type NamespaceResourcesInjectorSpec
- type NamespaceResourcesInjectorStatus
Constants ¶
This section is empty.
Variables ¶
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 )
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 ¶
func (in *NamespaceResourcesInjector) DeepCopy() *NamespaceResourcesInjector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceResourcesInjector.
func (*NamespaceResourcesInjector) DeepCopyInto ¶
func (in *NamespaceResourcesInjector) DeepCopyInto(out *NamespaceResourcesInjector)
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 ¶
func (in *NamespaceResourcesInjectorList) DeepCopy() *NamespaceResourcesInjectorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceResourcesInjectorList.
func (*NamespaceResourcesInjectorList) DeepCopyInto ¶
func (in *NamespaceResourcesInjectorList) DeepCopyInto(out *NamespaceResourcesInjectorList)
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 ¶
func (in *NamespaceResourcesInjectorSpec) DeepCopy() *NamespaceResourcesInjectorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceResourcesInjectorSpec.
func (*NamespaceResourcesInjectorSpec) DeepCopyInto ¶
func (in *NamespaceResourcesInjectorSpec) DeepCopyInto(out *NamespaceResourcesInjectorSpec)
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 ¶
func (in *NamespaceResourcesInjectorStatus) DeepCopy() *NamespaceResourcesInjectorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceResourcesInjectorStatus.
func (*NamespaceResourcesInjectorStatus) DeepCopyInto ¶
func (in *NamespaceResourcesInjectorStatus) DeepCopyInto(out *NamespaceResourcesInjectorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.