Documentation ¶
Overview ¶
Package v2 contains API Schema definitions for the config v2 API group +kubebuilder:object:generate=true +groupName=config.k8s.torproject.org
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "config.k8s.torproject.org", Version: "v2"} // 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 ProjectConfig ¶
type ProjectConfig struct { metav1.TypeMeta `json:",inline"` // ControllerManagerConfigurationSpec returns the contfigurations for controllers cfg.ControllerManagerConfigurationSpec `json:",inline"` // +optional TorDaemon TorDaemonType `json:"torDaemon,omitempty"` // +optional TorDaemonManager TorDaemonManagerType `json:"torDaemonManager,omitempty"` // +optional TorOnionbalanceManager TorOnionbalanceManagerType `json:"torOnionbalanceManager,omitempty"` // +optional Namespace string `json:"namespace,omitempty"` }
ProjectConfig is the Schema for the projectconfigs API.
func (*ProjectConfig) DeepCopy ¶
func (in *ProjectConfig) DeepCopy() *ProjectConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectConfig.
func (*ProjectConfig) DeepCopyInto ¶
func (in *ProjectConfig) DeepCopyInto(out *ProjectConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectConfig) DeepCopyObject ¶
func (in *ProjectConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TorDaemonManagerType ¶
type TorDaemonManagerType struct { // +optional // +kubebuilder:default:="quay.io/bugfest/tor-daemon-manager:latest" Image string `json:"image,omitempty"` }
func (*TorDaemonManagerType) DeepCopy ¶
func (in *TorDaemonManagerType) DeepCopy() *TorDaemonManagerType
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TorDaemonManagerType.
func (*TorDaemonManagerType) DeepCopyInto ¶
func (in *TorDaemonManagerType) DeepCopyInto(out *TorDaemonManagerType)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TorDaemonType ¶
type TorDaemonType struct { // +optional // +kubebuilder:default:="quay.io/bugfest/tor-daemon:latest" Image string `json:"image,omitempty"` }
func (*TorDaemonType) DeepCopy ¶
func (in *TorDaemonType) DeepCopy() *TorDaemonType
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TorDaemonType.
func (*TorDaemonType) DeepCopyInto ¶
func (in *TorDaemonType) DeepCopyInto(out *TorDaemonType)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TorOnionbalanceManagerType ¶
type TorOnionbalanceManagerType struct { // +optional // +kubebuilder:default:="quay.io/bugfest/tor-onionbalance-manager:latest" Image string `json:"image,omitempty"` }
func (*TorOnionbalanceManagerType) DeepCopy ¶
func (in *TorOnionbalanceManagerType) DeepCopy() *TorOnionbalanceManagerType
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TorOnionbalanceManagerType.
func (*TorOnionbalanceManagerType) DeepCopyInto ¶
func (in *TorOnionbalanceManagerType) DeepCopyInto(out *TorOnionbalanceManagerType)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.