Documentation
¶
Index ¶
Constants ¶
const GroupName = "blockchaincontroller.config.onex.io"
GroupName is the group name used in this package.
Variables ¶
var ( // SchemeBuilder is the scheme builder with scheme init functions to run for this API package. 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: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
This section is empty.
Types ¶
type BlockchainControllerConfiguration ¶
type BlockchainControllerConfiguration struct { // TypeMeta contains the API version and kind. metav1.TypeMeta // Generic holds configuration for a generic controller-manager Generic genericconfig.GenericControllerManagerConfiguration // DryRun tells if the dry run mode is enabled, do not create an actual miner pod, // but directly set the miner status to Running. // If DryRun is set to true, the DryRun mode will be prioritized. // +optional DryRun bool // FeatureGates is a map of feature names to bools that enable or disable alpha/experimental features. FeatureGates map[string]bool // Path to miner provider kubeconfig file with authorization and master location information. // +optional ProviderKubeconfig string // Create miner pod in the cluster where miner controller is located. // +optional InCluster bool // Redis defines the configuration of redis client. Redis genericconfig.RedisConfiguration // MySQL defines the configuration of mysql client. MySQL genericconfig.MySQLConfiguration // Types specifies the configuration of the cloud mining machine. Types map[string]MinerProfile // ChainControllerConfiguration holds configuration for ChainController related features. ChainController ChainControllerConfiguration }
BlockchainControllerConfiguration configures a scheduler.
func (*BlockchainControllerConfiguration) DeepCopy ¶
func (in *BlockchainControllerConfiguration) DeepCopy() *BlockchainControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockchainControllerConfiguration.
func (*BlockchainControllerConfiguration) DeepCopyInto ¶
func (in *BlockchainControllerConfiguration) DeepCopyInto(out *BlockchainControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BlockchainControllerConfiguration) DeepCopyObject ¶
func (in *BlockchainControllerConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ChainControllerConfiguration ¶
type ChainControllerConfiguration struct { // Image specify the blockchain node image. Image string }
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 MinerProfile ¶
func (*MinerProfile) DeepCopy ¶
func (in *MinerProfile) DeepCopy() *MinerProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinerProfile.
func (*MinerProfile) DeepCopyInto ¶
func (in *MinerProfile) DeepCopyInto(out *MinerProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.