Documentation ¶
Index ¶
- Constants
- Variables
- func Convert_config_ChainControllerConfiguration_To_v1beta1_ChainControllerConfiguration(in *config.ChainControllerConfiguration, out *ChainControllerConfiguration, ...) error
- func Convert_config_OneXControllerManagerConfiguration_To_v1beta1_OneXControllerManagerConfiguration(in *config.OneXControllerManagerConfiguration, ...) error
- func Convert_v1beta1_ChainControllerConfiguration_To_config_ChainControllerConfiguration(in *ChainControllerConfiguration, out *config.ChainControllerConfiguration, ...) error
- func Convert_v1beta1_OneXControllerManagerConfiguration_To_config_OneXControllerManagerConfiguration(in *OneXControllerManagerConfiguration, ...) error
- func RecommendedDefaultChainControllerConfiguration(obj *ChainControllerConfiguration)
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func SetDefaults_OneXControllerManagerConfiguration(obj *OneXControllerManagerConfiguration)
- func SetObjectDefaults_OneXControllerManagerConfiguration(in *OneXControllerManagerConfiguration)
- type ChainControllerConfiguration
- type OneXControllerManagerConfiguration
Constants ¶
const GroupName = "onexcontrollermanager.config.onex.io"
GroupName is the group name use in this package.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs) // AddToScheme is a global function that registers this API group & version to a scheme. AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func Convert_config_ChainControllerConfiguration_To_v1beta1_ChainControllerConfiguration ¶
func Convert_config_ChainControllerConfiguration_To_v1beta1_ChainControllerConfiguration(in *config.ChainControllerConfiguration, out *ChainControllerConfiguration, s conversion.Scope) error
Convert_config_ChainControllerConfiguration_To_v1beta1_ChainControllerConfiguration is an autogenerated conversion function.
func Convert_config_OneXControllerManagerConfiguration_To_v1beta1_OneXControllerManagerConfiguration ¶
func Convert_config_OneXControllerManagerConfiguration_To_v1beta1_OneXControllerManagerConfiguration(in *config.OneXControllerManagerConfiguration, out *OneXControllerManagerConfiguration, s conversion.Scope) error
Convert_config_OneXControllerManagerConfiguration_To_v1beta1_OneXControllerManagerConfiguration is an autogenerated conversion function.
func Convert_v1beta1_ChainControllerConfiguration_To_config_ChainControllerConfiguration ¶
func Convert_v1beta1_ChainControllerConfiguration_To_config_ChainControllerConfiguration(in *ChainControllerConfiguration, out *config.ChainControllerConfiguration, s conversion.Scope) error
Convert_v1beta1_ChainControllerConfiguration_To_config_ChainControllerConfiguration is an autogenerated conversion function.
func Convert_v1beta1_OneXControllerManagerConfiguration_To_config_OneXControllerManagerConfiguration ¶
func Convert_v1beta1_OneXControllerManagerConfiguration_To_config_OneXControllerManagerConfiguration(in *OneXControllerManagerConfiguration, out *config.OneXControllerManagerConfiguration, s conversion.Scope) error
Convert_v1beta1_OneXControllerManagerConfiguration_To_config_OneXControllerManagerConfiguration is an autogenerated conversion function.
func RecommendedDefaultChainControllerConfiguration ¶
func RecommendedDefaultChainControllerConfiguration(obj *ChainControllerConfiguration)
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func SetDefaults_OneXControllerManagerConfiguration ¶
func SetDefaults_OneXControllerManagerConfiguration(obj *OneXControllerManagerConfiguration)
func SetObjectDefaults_OneXControllerManagerConfiguration ¶
func SetObjectDefaults_OneXControllerManagerConfiguration(in *OneXControllerManagerConfiguration)
Types ¶
type ChainControllerConfiguration ¶
type ChainControllerConfiguration struct { // Image specify the blockchain node image. Image string `json:"image,omitempty"` }
func (*ChainControllerConfiguration) DeepCopy ¶
func (in *ChainControllerConfiguration) DeepCopy() *ChainControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChainControllerConfiguration.
func (*ChainControllerConfiguration) DeepCopyInto ¶
func (in *ChainControllerConfiguration) DeepCopyInto(out *ChainControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OneXControllerManagerConfiguration ¶
type OneXControllerManagerConfiguration struct { metav1.TypeMeta `json:",inline"` // MySQL defines the configuration of mysql client. MySQL genericconfigv1beta1.MySQLConfiguration `json:"mysql,omitempty"` // Generic holds configuration for a generic controller-manager Generic genericconfigv1beta1.GenericControllerManagerConfiguration `json:"generic,omitempty"` // GarbageCollectorControllerConfiguration holds configuration for // GarbageCollectorController related features. GarbageCollectorController genericconfigv1beta1.GarbageCollectorControllerConfiguration `json:"garbageCollectorController,omitempty"` // ChainControllerConfiguration holds configuration for ChainController related features. ChainController ChainControllerConfiguration `json:"chainController,omitempty"` }
OneXControllerManagerConfiguration contains elements describing onex-controller manager.
func (*OneXControllerManagerConfiguration) DeepCopy ¶
func (in *OneXControllerManagerConfiguration) DeepCopy() *OneXControllerManagerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OneXControllerManagerConfiguration.
func (*OneXControllerManagerConfiguration) DeepCopyInto ¶
func (in *OneXControllerManagerConfiguration) DeepCopyInto(out *OneXControllerManagerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OneXControllerManagerConfiguration) DeepCopyObject ¶
func (in *OneXControllerManagerConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.