Documentation ¶
Index ¶
Constants ¶
const GroupName = "gceproviderconfig"
Variables ¶
var ( SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
Functions ¶
Types ¶
type Disk ¶
type Disk struct {
InitializeParams DiskInitializeParams `json:"initializeParams"`
}
type DiskInitializeParams ¶
type GCEClusterProviderConfig ¶
type GCEClusterProviderConfig struct { metav1.TypeMeta `json:",inline"` Project string `json:"project"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*GCEClusterProviderConfig) DeepCopy ¶
func (in *GCEClusterProviderConfig) DeepCopy() *GCEClusterProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCEClusterProviderConfig.
func (*GCEClusterProviderConfig) DeepCopyInto ¶
func (in *GCEClusterProviderConfig) DeepCopyInto(out *GCEClusterProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GCEClusterProviderConfig) DeepCopyObject ¶
func (in *GCEClusterProviderConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GCEMachineProviderConfig ¶
type GCEMachineProviderConfig struct { metav1.TypeMeta `json:",inline"` Zone string `json:"zone"` MachineType string `json:"machineType"` // The name of the OS to be installed on the machine. OS string `json:"os"` Disks []Disk `json:"disks"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*GCEMachineProviderConfig) DeepCopy ¶
func (in *GCEMachineProviderConfig) DeepCopy() *GCEMachineProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCEMachineProviderConfig.
func (*GCEMachineProviderConfig) DeepCopyInto ¶
func (in *GCEMachineProviderConfig) DeepCopyInto(out *GCEMachineProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GCEMachineProviderConfig) DeepCopyObject ¶
func (in *GCEMachineProviderConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GCEProviderConfigCodec ¶
type GCEProviderConfigCodec struct {
// contains filtered or unexported fields
}
func NewCodec ¶
func NewCodec() (*GCEProviderConfigCodec, error)
func (*GCEProviderConfigCodec) DecodeFromProviderConfig ¶
func (codec *GCEProviderConfigCodec) DecodeFromProviderConfig(providerConfig clusterv1.ProviderConfig, out runtime.Object) error
func (*GCEProviderConfigCodec) EncodeToProviderConfig ¶
func (codec *GCEProviderConfigCodec) EncodeToProviderConfig(in runtime.Object) (*clusterv1.ProviderConfig, error)