Documentation
¶
Index ¶
- Constants
- Variables
- type CNIConfig
- func (x *CNIConfig) ClearBinDir()
- func (x *CNIConfig) ClearConfigDir()
- func (x *CNIConfig) Defaulting()
- func (x *CNIConfig) GetBinDir() string
- func (x *CNIConfig) GetConfigDir() string
- func (x *CNIConfig) HasBinDir() bool
- func (x *CNIConfig) HasConfigDir() bool
- func (*CNIConfig) ProtoMessage()
- func (x *CNIConfig) ProtoReflect() protoreflect.Message
- func (x *CNIConfig) Reset()
- func (x *CNIConfig) SetBinDir(v string)
- func (x *CNIConfig) SetConfigDir(v string)
- func (x *CNIConfig) String() string
- func (x *CNIConfig) Validate() error
- type CNIConfig_builder
- type DownloadCRIBinaries
- func (x *DownloadCRIBinaries) ClearMetadata()
- func (x *DownloadCRIBinaries) ClearSpec()
- func (x *DownloadCRIBinaries) ClearStatus()
- func (x *DownloadCRIBinaries) GetMetadata() *api.Metadata
- func (x *DownloadCRIBinaries) GetSpec() *DownloadCRIBinariesSpec
- func (x *DownloadCRIBinaries) GetStatus() *DownloadCRIBinariesStatus
- func (x *DownloadCRIBinaries) HasMetadata() bool
- func (x *DownloadCRIBinaries) HasSpec() bool
- func (x *DownloadCRIBinaries) HasStatus() bool
- func (*DownloadCRIBinaries) ProtoMessage()
- func (x *DownloadCRIBinaries) ProtoReflect() protoreflect.Message
- func (x *DownloadCRIBinaries) Redact()
- func (x *DownloadCRIBinaries) Reset()
- func (x *DownloadCRIBinaries) SetMetadata(v *api.Metadata)
- func (x *DownloadCRIBinaries) SetSpec(v *DownloadCRIBinariesSpec)
- func (x *DownloadCRIBinaries) SetStatus(v *DownloadCRIBinariesStatus)
- func (x *DownloadCRIBinaries) String() string
- type DownloadCRIBinariesSpec
- func (x *DownloadCRIBinariesSpec) ClearContainerdVersion()
- func (x *DownloadCRIBinariesSpec) ClearRuncVersion()
- func (x *DownloadCRIBinariesSpec) GetContainerdVersion() string
- func (x *DownloadCRIBinariesSpec) GetRuncVersion() string
- func (x *DownloadCRIBinariesSpec) HasContainerdVersion() bool
- func (x *DownloadCRIBinariesSpec) HasRuncVersion() bool
- func (*DownloadCRIBinariesSpec) ProtoMessage()
- func (x *DownloadCRIBinariesSpec) ProtoReflect() protoreflect.Message
- func (x *DownloadCRIBinariesSpec) Reset()
- func (x *DownloadCRIBinariesSpec) SetContainerdVersion(v string)
- func (x *DownloadCRIBinariesSpec) SetRuncVersion(v string)
- func (x *DownloadCRIBinariesSpec) String() string
- type DownloadCRIBinariesSpec_builder
- type DownloadCRIBinariesStatus
- func (x *DownloadCRIBinariesStatus) ClearContainerdDownloadUrl()
- func (x *DownloadCRIBinariesStatus) ClearContainerdPath()
- func (x *DownloadCRIBinariesStatus) ClearRuncDownloadUrl()
- func (x *DownloadCRIBinariesStatus) ClearRuncPath()
- func (x *DownloadCRIBinariesStatus) GetContainerdDownloadUrl() string
- func (x *DownloadCRIBinariesStatus) GetContainerdPath() string
- func (x *DownloadCRIBinariesStatus) GetRuncDownloadUrl() string
- func (x *DownloadCRIBinariesStatus) GetRuncPath() string
- func (x *DownloadCRIBinariesStatus) HasContainerdDownloadUrl() bool
- func (x *DownloadCRIBinariesStatus) HasContainerdPath() bool
- func (x *DownloadCRIBinariesStatus) HasRuncDownloadUrl() bool
- func (x *DownloadCRIBinariesStatus) HasRuncPath() bool
- func (*DownloadCRIBinariesStatus) ProtoMessage()
- func (x *DownloadCRIBinariesStatus) ProtoReflect() protoreflect.Message
- func (x *DownloadCRIBinariesStatus) Reset()
- func (x *DownloadCRIBinariesStatus) SetContainerdDownloadUrl(v string)
- func (x *DownloadCRIBinariesStatus) SetContainerdPath(v string)
- func (x *DownloadCRIBinariesStatus) SetRuncDownloadUrl(v string)
- func (x *DownloadCRIBinariesStatus) SetRuncPath(v string)
- func (x *DownloadCRIBinariesStatus) String() string
- type DownloadCRIBinariesStatus_builder
- type DownloadCRIBinaries_builder
- type GPUConfig
- func (x *GPUConfig) ClearGpuConfig()
- func (x *GPUConfig) ClearNvidiaRuntime()
- func (x *GPUConfig) GetNvidiaRuntime() *NvidiaRuntime
- func (x *GPUConfig) HasGpuConfig() bool
- func (x *GPUConfig) HasNvidiaRuntime() bool
- func (*GPUConfig) ProtoMessage()
- func (x *GPUConfig) ProtoReflect() protoreflect.Message
- func (x *GPUConfig) Reset()
- func (x *GPUConfig) SetNvidiaRuntime(v *NvidiaRuntime)
- func (x *GPUConfig) String() string
- func (x *GPUConfig) WhichGpuConfig() case_GPUConfig_GpuConfig
- type GPUConfig_builder
- type NvidiaRuntime
- func (x *NvidiaRuntime) ClearDisableSetAsDefaultRuntime()
- func (x *NvidiaRuntime) ClearRuntimeClassName()
- func (x *NvidiaRuntime) ClearRuntimePath()
- func (x *NvidiaRuntime) Defaulting()
- func (x *NvidiaRuntime) GetDisableSetAsDefaultRuntime() bool
- func (x *NvidiaRuntime) GetRuntimeClassName() string
- func (x *NvidiaRuntime) GetRuntimePath() string
- func (x *NvidiaRuntime) HasDisableSetAsDefaultRuntime() bool
- func (x *NvidiaRuntime) HasRuntimeClassName() bool
- func (x *NvidiaRuntime) HasRuntimePath() bool
- func (*NvidiaRuntime) ProtoMessage()
- func (x *NvidiaRuntime) ProtoReflect() protoreflect.Message
- func (x *NvidiaRuntime) Reset()
- func (x *NvidiaRuntime) SetDisableSetAsDefaultRuntime(v bool)
- func (x *NvidiaRuntime) SetRuntimeClassName(v string)
- func (x *NvidiaRuntime) SetRuntimePath(v string)
- func (x *NvidiaRuntime) String() string
- func (x *NvidiaRuntime) Validate() error
- type NvidiaRuntime_builder
- type StartContainerdService
- func (x *StartContainerdService) ClearMetadata()
- func (x *StartContainerdService) ClearSpec()
- func (x *StartContainerdService) ClearStatus()
- func (x *StartContainerdService) GetMetadata() *api.Metadata
- func (x *StartContainerdService) GetSpec() *StartContainerdServiceSpec
- func (x *StartContainerdService) GetStatus() *StartContainerdServiceStatus
- func (x *StartContainerdService) HasMetadata() bool
- func (x *StartContainerdService) HasSpec() bool
- func (x *StartContainerdService) HasStatus() bool
- func (*StartContainerdService) ProtoMessage()
- func (x *StartContainerdService) ProtoReflect() protoreflect.Message
- func (x *StartContainerdService) Redact()
- func (x *StartContainerdService) Reset()
- func (x *StartContainerdService) SetMetadata(v *api.Metadata)
- func (x *StartContainerdService) SetSpec(v *StartContainerdServiceSpec)
- func (x *StartContainerdService) SetStatus(v *StartContainerdServiceStatus)
- func (x *StartContainerdService) String() string
- type StartContainerdServiceSpec
- func (x *StartContainerdServiceSpec) ClearCniConfig()
- func (x *StartContainerdServiceSpec) ClearGpuConfig()
- func (x *StartContainerdServiceSpec) ClearMetricsAddress()
- func (x *StartContainerdServiceSpec) ClearSandboxImage()
- func (x *StartContainerdServiceSpec) Defaulting()
- func (x *StartContainerdServiceSpec) GetCniConfig() *CNIConfig
- func (x *StartContainerdServiceSpec) GetGpuConfig() *GPUConfig
- func (x *StartContainerdServiceSpec) GetMetricsAddress() string
- func (x *StartContainerdServiceSpec) GetSandboxImage() string
- func (x *StartContainerdServiceSpec) HasCniConfig() bool
- func (x *StartContainerdServiceSpec) HasGpuConfig() bool
- func (x *StartContainerdServiceSpec) HasMetricsAddress() bool
- func (x *StartContainerdServiceSpec) HasSandboxImage() bool
- func (*StartContainerdServiceSpec) ProtoMessage()
- func (x *StartContainerdServiceSpec) ProtoReflect() protoreflect.Message
- func (x *StartContainerdServiceSpec) Reset()
- func (x *StartContainerdServiceSpec) SetCniConfig(v *CNIConfig)
- func (x *StartContainerdServiceSpec) SetGpuConfig(v *GPUConfig)
- func (x *StartContainerdServiceSpec) SetMetricsAddress(v string)
- func (x *StartContainerdServiceSpec) SetSandboxImage(v string)
- func (x *StartContainerdServiceSpec) String() string
- func (x *StartContainerdServiceSpec) Validate() error
- type StartContainerdServiceSpec_builder
- type StartContainerdServiceStatus
- type StartContainerdServiceStatus_builder
- type StartContainerdService_builder
Constants ¶
View Source
const GPUConfig_GpuConfig_not_set_case case_GPUConfig_GpuConfig = 0
View Source
const GPUConfig_NvidiaRuntime_case case_GPUConfig_GpuConfig = 1
Variables ¶
View Source
var File_components_cri_action_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CNIConfig ¶
type CNIConfig struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
TODO: allow overriding cni config?
func (*CNIConfig) ClearBinDir ¶
func (x *CNIConfig) ClearBinDir()
func (*CNIConfig) ClearConfigDir ¶
func (x *CNIConfig) ClearConfigDir()
func (*CNIConfig) Defaulting ¶
func (x *CNIConfig) Defaulting()
func (*CNIConfig) GetConfigDir ¶
func (*CNIConfig) HasConfigDir ¶
func (*CNIConfig) ProtoMessage ¶
func (*CNIConfig) ProtoMessage()
func (*CNIConfig) ProtoReflect ¶
func (x *CNIConfig) ProtoReflect() protoreflect.Message
func (*CNIConfig) SetConfigDir ¶
type CNIConfig_builder ¶
type CNIConfig_builder struct {
// CNI plugin directory
// Defaults to "/opt/cni/bin"
BinDir *string
// CNI config directory
// Defaults to "/etc/cni/net.d"
ConfigDir *string
// contains filtered or unexported fields
}
func (CNIConfig_builder) Build ¶
func (b0 CNIConfig_builder) Build() *CNIConfig
type DownloadCRIBinaries ¶
type DownloadCRIBinaries struct {
// contains filtered or unexported fields
}
func (*DownloadCRIBinaries) ClearMetadata ¶
func (x *DownloadCRIBinaries) ClearMetadata()
func (*DownloadCRIBinaries) ClearSpec ¶
func (x *DownloadCRIBinaries) ClearSpec()
func (*DownloadCRIBinaries) ClearStatus ¶
func (x *DownloadCRIBinaries) ClearStatus()
func (*DownloadCRIBinaries) GetMetadata ¶
func (x *DownloadCRIBinaries) GetMetadata() *api.Metadata
func (*DownloadCRIBinaries) GetSpec ¶
func (x *DownloadCRIBinaries) GetSpec() *DownloadCRIBinariesSpec
func (*DownloadCRIBinaries) GetStatus ¶
func (x *DownloadCRIBinaries) GetStatus() *DownloadCRIBinariesStatus
func (*DownloadCRIBinaries) HasMetadata ¶
func (x *DownloadCRIBinaries) HasMetadata() bool
func (*DownloadCRIBinaries) HasSpec ¶
func (x *DownloadCRIBinaries) HasSpec() bool
func (*DownloadCRIBinaries) HasStatus ¶
func (x *DownloadCRIBinaries) HasStatus() bool
func (*DownloadCRIBinaries) ProtoMessage ¶
func (*DownloadCRIBinaries) ProtoMessage()
func (*DownloadCRIBinaries) ProtoReflect ¶
func (x *DownloadCRIBinaries) ProtoReflect() protoreflect.Message
func (*DownloadCRIBinaries) Redact ¶
func (x *DownloadCRIBinaries) Redact()
func (*DownloadCRIBinaries) Reset ¶
func (x *DownloadCRIBinaries) Reset()
func (*DownloadCRIBinaries) SetMetadata ¶
func (x *DownloadCRIBinaries) SetMetadata(v *api.Metadata)
func (*DownloadCRIBinaries) SetSpec ¶
func (x *DownloadCRIBinaries) SetSpec(v *DownloadCRIBinariesSpec)
func (*DownloadCRIBinaries) SetStatus ¶
func (x *DownloadCRIBinaries) SetStatus(v *DownloadCRIBinariesStatus)
func (*DownloadCRIBinaries) String ¶
func (x *DownloadCRIBinaries) String() string
type DownloadCRIBinariesSpec ¶
type DownloadCRIBinariesSpec struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*DownloadCRIBinariesSpec) ClearContainerdVersion ¶
func (x *DownloadCRIBinariesSpec) ClearContainerdVersion()
func (*DownloadCRIBinariesSpec) ClearRuncVersion ¶
func (x *DownloadCRIBinariesSpec) ClearRuncVersion()
func (*DownloadCRIBinariesSpec) GetContainerdVersion ¶
func (x *DownloadCRIBinariesSpec) GetContainerdVersion() string
func (*DownloadCRIBinariesSpec) GetRuncVersion ¶
func (x *DownloadCRIBinariesSpec) GetRuncVersion() string
func (*DownloadCRIBinariesSpec) HasContainerdVersion ¶
func (x *DownloadCRIBinariesSpec) HasContainerdVersion() bool
func (*DownloadCRIBinariesSpec) HasRuncVersion ¶
func (x *DownloadCRIBinariesSpec) HasRuncVersion() bool
func (*DownloadCRIBinariesSpec) ProtoMessage ¶
func (*DownloadCRIBinariesSpec) ProtoMessage()
func (*DownloadCRIBinariesSpec) ProtoReflect ¶
func (x *DownloadCRIBinariesSpec) ProtoReflect() protoreflect.Message
func (*DownloadCRIBinariesSpec) Reset ¶
func (x *DownloadCRIBinariesSpec) Reset()
func (*DownloadCRIBinariesSpec) SetContainerdVersion ¶
func (x *DownloadCRIBinariesSpec) SetContainerdVersion(v string)
func (*DownloadCRIBinariesSpec) SetRuncVersion ¶
func (x *DownloadCRIBinariesSpec) SetRuncVersion(v string)
func (*DownloadCRIBinariesSpec) String ¶
func (x *DownloadCRIBinariesSpec) String() string
type DownloadCRIBinariesSpec_builder ¶
type DownloadCRIBinariesSpec_builder struct {
ContainerdVersion *string
RuncVersion *string
// contains filtered or unexported fields
}
func (DownloadCRIBinariesSpec_builder) Build ¶
func (b0 DownloadCRIBinariesSpec_builder) Build() *DownloadCRIBinariesSpec
type DownloadCRIBinariesStatus ¶
type DownloadCRIBinariesStatus struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*DownloadCRIBinariesStatus) ClearContainerdDownloadUrl ¶
func (x *DownloadCRIBinariesStatus) ClearContainerdDownloadUrl()
func (*DownloadCRIBinariesStatus) ClearContainerdPath ¶
func (x *DownloadCRIBinariesStatus) ClearContainerdPath()
func (*DownloadCRIBinariesStatus) ClearRuncDownloadUrl ¶
func (x *DownloadCRIBinariesStatus) ClearRuncDownloadUrl()
func (*DownloadCRIBinariesStatus) ClearRuncPath ¶
func (x *DownloadCRIBinariesStatus) ClearRuncPath()
func (*DownloadCRIBinariesStatus) GetContainerdDownloadUrl ¶
func (x *DownloadCRIBinariesStatus) GetContainerdDownloadUrl() string
func (*DownloadCRIBinariesStatus) GetContainerdPath ¶
func (x *DownloadCRIBinariesStatus) GetContainerdPath() string
func (*DownloadCRIBinariesStatus) GetRuncDownloadUrl ¶
func (x *DownloadCRIBinariesStatus) GetRuncDownloadUrl() string
func (*DownloadCRIBinariesStatus) GetRuncPath ¶
func (x *DownloadCRIBinariesStatus) GetRuncPath() string
func (*DownloadCRIBinariesStatus) HasContainerdDownloadUrl ¶
func (x *DownloadCRIBinariesStatus) HasContainerdDownloadUrl() bool
func (*DownloadCRIBinariesStatus) HasContainerdPath ¶
func (x *DownloadCRIBinariesStatus) HasContainerdPath() bool
func (*DownloadCRIBinariesStatus) HasRuncDownloadUrl ¶
func (x *DownloadCRIBinariesStatus) HasRuncDownloadUrl() bool
func (*DownloadCRIBinariesStatus) HasRuncPath ¶
func (x *DownloadCRIBinariesStatus) HasRuncPath() bool
func (*DownloadCRIBinariesStatus) ProtoMessage ¶
func (*DownloadCRIBinariesStatus) ProtoMessage()
func (*DownloadCRIBinariesStatus) ProtoReflect ¶
func (x *DownloadCRIBinariesStatus) ProtoReflect() protoreflect.Message
func (*DownloadCRIBinariesStatus) Reset ¶
func (x *DownloadCRIBinariesStatus) Reset()
func (*DownloadCRIBinariesStatus) SetContainerdDownloadUrl ¶
func (x *DownloadCRIBinariesStatus) SetContainerdDownloadUrl(v string)
func (*DownloadCRIBinariesStatus) SetContainerdPath ¶
func (x *DownloadCRIBinariesStatus) SetContainerdPath(v string)
func (*DownloadCRIBinariesStatus) SetRuncDownloadUrl ¶
func (x *DownloadCRIBinariesStatus) SetRuncDownloadUrl(v string)
func (*DownloadCRIBinariesStatus) SetRuncPath ¶
func (x *DownloadCRIBinariesStatus) SetRuncPath(v string)
func (*DownloadCRIBinariesStatus) String ¶
func (x *DownloadCRIBinariesStatus) String() string
type DownloadCRIBinariesStatus_builder ¶
type DownloadCRIBinariesStatus_builder struct {
ContainerdDownloadUrl *string
ContainerdPath *string
RuncDownloadUrl *string
RuncPath *string
// contains filtered or unexported fields
}
func (DownloadCRIBinariesStatus_builder) Build ¶
func (b0 DownloadCRIBinariesStatus_builder) Build() *DownloadCRIBinariesStatus
type DownloadCRIBinaries_builder ¶
type DownloadCRIBinaries_builder struct {
Metadata *api.Metadata
Spec *DownloadCRIBinariesSpec
Status *DownloadCRIBinariesStatus
// contains filtered or unexported fields
}
func (DownloadCRIBinaries_builder) Build ¶
func (b0 DownloadCRIBinaries_builder) Build() *DownloadCRIBinaries
type GPUConfig ¶
type GPUConfig struct {
// contains filtered or unexported fields
}
func (*GPUConfig) ClearGpuConfig ¶
func (x *GPUConfig) ClearGpuConfig()
func (*GPUConfig) ClearNvidiaRuntime ¶
func (x *GPUConfig) ClearNvidiaRuntime()
func (*GPUConfig) GetNvidiaRuntime ¶
func (x *GPUConfig) GetNvidiaRuntime() *NvidiaRuntime
func (*GPUConfig) HasGpuConfig ¶
func (*GPUConfig) HasNvidiaRuntime ¶
func (*GPUConfig) ProtoMessage ¶
func (*GPUConfig) ProtoMessage()
func (*GPUConfig) ProtoReflect ¶
func (x *GPUConfig) ProtoReflect() protoreflect.Message
func (*GPUConfig) SetNvidiaRuntime ¶
func (x *GPUConfig) SetNvidiaRuntime(v *NvidiaRuntime)
func (*GPUConfig) WhichGpuConfig ¶
func (x *GPUConfig) WhichGpuConfig() case_GPUConfig_GpuConfig
type GPUConfig_builder ¶
type GPUConfig_builder struct {
// Fields of oneof xxx_hidden_GpuConfig:
// enable GPU support via Nvidia Container Runtime
NvidiaRuntime *NvidiaRuntime
// contains filtered or unexported fields
}
func (GPUConfig_builder) Build ¶
func (b0 GPUConfig_builder) Build() *GPUConfig
type NvidiaRuntime ¶
type NvidiaRuntime struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*NvidiaRuntime) ClearDisableSetAsDefaultRuntime ¶
func (x *NvidiaRuntime) ClearDisableSetAsDefaultRuntime()
func (*NvidiaRuntime) ClearRuntimeClassName ¶
func (x *NvidiaRuntime) ClearRuntimeClassName()
func (*NvidiaRuntime) ClearRuntimePath ¶
func (x *NvidiaRuntime) ClearRuntimePath()
func (*NvidiaRuntime) Defaulting ¶
func (x *NvidiaRuntime) Defaulting()
func (*NvidiaRuntime) GetDisableSetAsDefaultRuntime ¶
func (x *NvidiaRuntime) GetDisableSetAsDefaultRuntime() bool
func (*NvidiaRuntime) GetRuntimeClassName ¶
func (x *NvidiaRuntime) GetRuntimeClassName() string
func (*NvidiaRuntime) GetRuntimePath ¶
func (x *NvidiaRuntime) GetRuntimePath() string
func (*NvidiaRuntime) HasDisableSetAsDefaultRuntime ¶
func (x *NvidiaRuntime) HasDisableSetAsDefaultRuntime() bool
func (*NvidiaRuntime) HasRuntimeClassName ¶
func (x *NvidiaRuntime) HasRuntimeClassName() bool
func (*NvidiaRuntime) HasRuntimePath ¶
func (x *NvidiaRuntime) HasRuntimePath() bool
func (*NvidiaRuntime) ProtoMessage ¶
func (*NvidiaRuntime) ProtoMessage()
func (*NvidiaRuntime) ProtoReflect ¶
func (x *NvidiaRuntime) ProtoReflect() protoreflect.Message
func (*NvidiaRuntime) Reset ¶
func (x *NvidiaRuntime) Reset()
func (*NvidiaRuntime) SetDisableSetAsDefaultRuntime ¶
func (x *NvidiaRuntime) SetDisableSetAsDefaultRuntime(v bool)
func (*NvidiaRuntime) SetRuntimeClassName ¶
func (x *NvidiaRuntime) SetRuntimeClassName(v string)
func (*NvidiaRuntime) SetRuntimePath ¶
func (x *NvidiaRuntime) SetRuntimePath(v string)
func (*NvidiaRuntime) String ¶
func (x *NvidiaRuntime) String() string
func (*NvidiaRuntime) Validate ¶
func (x *NvidiaRuntime) Validate() error
type NvidiaRuntime_builder ¶
type NvidiaRuntime_builder struct {
// Absolute path to the nvidia-container-runtime binary.
// Defaults to "/usr/bin/nvidia-container-runtime".
RuntimePath *string
// The runtime class name to use for GPU workloads.
// Defaults to "nvidia".
// NOTE: if disable_set_as_default_runtime is false, user is responsible
// for ensuring the runtime class name object is being created in the cluster,
// and the workload spec is configured to use the runtime class name,
// otherwise GPU workload will fail to run.
RuntimeClassName *string
// Disable the behavior of settings nvidia-container-runtime as the
// default runtime in containerd config.
DisableSetAsDefaultRuntime *bool
// contains filtered or unexported fields
}
func (NvidiaRuntime_builder) Build ¶
func (b0 NvidiaRuntime_builder) Build() *NvidiaRuntime
type StartContainerdService ¶
type StartContainerdService struct {
// contains filtered or unexported fields
}
func (*StartContainerdService) ClearMetadata ¶
func (x *StartContainerdService) ClearMetadata()
func (*StartContainerdService) ClearSpec ¶
func (x *StartContainerdService) ClearSpec()
func (*StartContainerdService) ClearStatus ¶
func (x *StartContainerdService) ClearStatus()
func (*StartContainerdService) GetMetadata ¶
func (x *StartContainerdService) GetMetadata() *api.Metadata
func (*StartContainerdService) GetSpec ¶
func (x *StartContainerdService) GetSpec() *StartContainerdServiceSpec
func (*StartContainerdService) GetStatus ¶
func (x *StartContainerdService) GetStatus() *StartContainerdServiceStatus
func (*StartContainerdService) HasMetadata ¶
func (x *StartContainerdService) HasMetadata() bool
func (*StartContainerdService) HasSpec ¶
func (x *StartContainerdService) HasSpec() bool
func (*StartContainerdService) HasStatus ¶
func (x *StartContainerdService) HasStatus() bool
func (*StartContainerdService) ProtoMessage ¶
func (*StartContainerdService) ProtoMessage()
func (*StartContainerdService) ProtoReflect ¶
func (x *StartContainerdService) ProtoReflect() protoreflect.Message
func (*StartContainerdService) Redact ¶
func (x *StartContainerdService) Redact()
func (*StartContainerdService) Reset ¶
func (x *StartContainerdService) Reset()
func (*StartContainerdService) SetMetadata ¶
func (x *StartContainerdService) SetMetadata(v *api.Metadata)
func (*StartContainerdService) SetSpec ¶
func (x *StartContainerdService) SetSpec(v *StartContainerdServiceSpec)
func (*StartContainerdService) SetStatus ¶
func (x *StartContainerdService) SetStatus(v *StartContainerdServiceStatus)
func (*StartContainerdService) String ¶
func (x *StartContainerdService) String() string
type StartContainerdServiceSpec ¶
type StartContainerdServiceSpec struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*StartContainerdServiceSpec) ClearCniConfig ¶
func (x *StartContainerdServiceSpec) ClearCniConfig()
func (*StartContainerdServiceSpec) ClearGpuConfig ¶
func (x *StartContainerdServiceSpec) ClearGpuConfig()
func (*StartContainerdServiceSpec) ClearMetricsAddress ¶
func (x *StartContainerdServiceSpec) ClearMetricsAddress()
func (*StartContainerdServiceSpec) ClearSandboxImage ¶
func (x *StartContainerdServiceSpec) ClearSandboxImage()
func (*StartContainerdServiceSpec) Defaulting ¶
func (x *StartContainerdServiceSpec) Defaulting()
func (*StartContainerdServiceSpec) GetCniConfig ¶
func (x *StartContainerdServiceSpec) GetCniConfig() *CNIConfig
func (*StartContainerdServiceSpec) GetGpuConfig ¶
func (x *StartContainerdServiceSpec) GetGpuConfig() *GPUConfig
func (*StartContainerdServiceSpec) GetMetricsAddress ¶
func (x *StartContainerdServiceSpec) GetMetricsAddress() string
func (*StartContainerdServiceSpec) GetSandboxImage ¶
func (x *StartContainerdServiceSpec) GetSandboxImage() string
func (*StartContainerdServiceSpec) HasCniConfig ¶
func (x *StartContainerdServiceSpec) HasCniConfig() bool
func (*StartContainerdServiceSpec) HasGpuConfig ¶
func (x *StartContainerdServiceSpec) HasGpuConfig() bool
func (*StartContainerdServiceSpec) HasMetricsAddress ¶
func (x *StartContainerdServiceSpec) HasMetricsAddress() bool
func (*StartContainerdServiceSpec) HasSandboxImage ¶
func (x *StartContainerdServiceSpec) HasSandboxImage() bool
func (*StartContainerdServiceSpec) ProtoMessage ¶
func (*StartContainerdServiceSpec) ProtoMessage()
func (*StartContainerdServiceSpec) ProtoReflect ¶
func (x *StartContainerdServiceSpec) ProtoReflect() protoreflect.Message
func (*StartContainerdServiceSpec) Reset ¶
func (x *StartContainerdServiceSpec) Reset()
func (*StartContainerdServiceSpec) SetCniConfig ¶
func (x *StartContainerdServiceSpec) SetCniConfig(v *CNIConfig)
func (*StartContainerdServiceSpec) SetGpuConfig ¶
func (x *StartContainerdServiceSpec) SetGpuConfig(v *GPUConfig)
func (*StartContainerdServiceSpec) SetMetricsAddress ¶
func (x *StartContainerdServiceSpec) SetMetricsAddress(v string)
func (*StartContainerdServiceSpec) SetSandboxImage ¶
func (x *StartContainerdServiceSpec) SetSandboxImage(v string)
func (*StartContainerdServiceSpec) String ¶
func (x *StartContainerdServiceSpec) String() string
func (*StartContainerdServiceSpec) Validate ¶
func (x *StartContainerdServiceSpec) Validate() error
type StartContainerdServiceSpec_builder ¶
type StartContainerdServiceSpec_builder struct {
// Address for containerd metrics server to listen on, e.g. 0.0.0.0:10257"
// Defaults to "0.0.0.0:10257". // FIXME: confirm why 0.0.0.0 is used instead of 127.0.0.1
MetricsAddress *string
// Image used for sandbox container.
// Defaults to "mcr.microsoft.com/oss/containerd/pause:3.6".
SandboxImage *string
CniConfig *CNIConfig
GpuConfig *GPUConfig
// contains filtered or unexported fields
}
func (StartContainerdServiceSpec_builder) Build ¶
func (b0 StartContainerdServiceSpec_builder) Build() *StartContainerdServiceSpec
type StartContainerdServiceStatus ¶
type StartContainerdServiceStatus struct {
// contains filtered or unexported fields
}
func (*StartContainerdServiceStatus) ProtoMessage ¶
func (*StartContainerdServiceStatus) ProtoMessage()
func (*StartContainerdServiceStatus) ProtoReflect ¶
func (x *StartContainerdServiceStatus) ProtoReflect() protoreflect.Message
func (*StartContainerdServiceStatus) Reset ¶
func (x *StartContainerdServiceStatus) Reset()
func (*StartContainerdServiceStatus) String ¶
func (x *StartContainerdServiceStatus) String() string
type StartContainerdServiceStatus_builder ¶
type StartContainerdServiceStatus_builder struct {
// contains filtered or unexported fields
}
func (StartContainerdServiceStatus_builder) Build ¶
func (b0 StartContainerdServiceStatus_builder) Build() *StartContainerdServiceStatus
type StartContainerdService_builder ¶
type StartContainerdService_builder struct {
Metadata *api.Metadata
Spec *StartContainerdServiceSpec
Status *StartContainerdServiceStatus
// contains filtered or unexported fields
}
func (StartContainerdService_builder) Build ¶
func (b0 StartContainerdService_builder) Build() *StartContainerdService
Click to show internal directories.
Click to hide internal directories.