Documentation ¶
Index ¶
- Variables
- func Convert_config_EmissionsArgs_To_v1alpha1_EmissionsArgs(in *config.EmissionsArgs, out *EmissionsArgs, s conversion.Scope) error
- func Convert_v1alpha1_EmissionsArgs_To_config_EmissionsArgs(in *EmissionsArgs, out *config.EmissionsArgs, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- type EmissionsArgs
Constants ¶
This section is empty.
Variables ¶
var (
// AddToScheme is a global function that registers this API group & version to a scheme
AddToScheme = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: schedconfig.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_config_EmissionsArgs_To_v1alpha1_EmissionsArgs ¶
func Convert_config_EmissionsArgs_To_v1alpha1_EmissionsArgs(in *config.EmissionsArgs, out *EmissionsArgs, s conversion.Scope) error
Convert_config_EmissionsArgs_To_v1alpha1_EmissionsArgs is an autogenerated conversion function.
func Convert_v1alpha1_EmissionsArgs_To_config_EmissionsArgs ¶
func Convert_v1alpha1_EmissionsArgs_To_config_EmissionsArgs(in *EmissionsArgs, out *config.EmissionsArgs, s conversion.Scope) error
Convert_v1alpha1_EmissionsArgs_To_config_EmissionsArgs is an autogenerated conversion function.
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.
Types ¶
type EmissionsArgs ¶
type EmissionsArgs struct { metav1.TypeMeta `json:",inline"` // WattTimeUsername is the WattTime username. WattTimeUsername *string `json:"wattTimeUsername,omitempty"` // WattTimePassword is the WattTime password. WattTimePassword *string `json:"wattTimePassword,omitempty"` // WattTimeBA is the WattTime BA. WattTimeBA *string `json:"wattTimeBA,omitempty"` }
EmissionsArgs defines the parameters for Emissions plugin.
func (*EmissionsArgs) DeepCopy ¶
func (in *EmissionsArgs) DeepCopy() *EmissionsArgs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmissionsArgs.
func (*EmissionsArgs) DeepCopyInto ¶
func (in *EmissionsArgs) DeepCopyInto(out *EmissionsArgs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EmissionsArgs) DeepCopyObject ¶
func (in *EmissionsArgs) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.