Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomSyncer ¶
type CustomSyncer struct { upgradev1.ContainerSpec // contains filtered or unexported fields }
func (*CustomSyncer) GetMountPath ¶ added in v1.4.0
func (c *CustomSyncer) GetMountPath() string
func (*CustomSyncer) GetOutputFile ¶ added in v1.4.0
func (c *CustomSyncer) GetOutputFile() string
func (*CustomSyncer) ToContainers ¶ added in v1.4.0
func (c *CustomSyncer) ToContainers() []corev1.Container
type DefaultProvider ¶
type DefaultProvider struct{}
func (DefaultProvider) NewOSVersionsSyncer ¶
func (sp DefaultProvider) NewOSVersionsSyncer(spec elementalv1.ManagedOSVersionChannelSpec, operatorImage string) (Syncer, error)
func (DefaultProvider) ReadPodLogs ¶ added in v1.4.0
func (sp DefaultProvider) ReadPodLogs(ctx context.Context, kcl *kubernetes.Clientset, pod *corev1.Pod, container string) ([]byte, error)
type JSONSyncer ¶
type JSONSyncer struct { URI string `json:"uri"` Timeout string `json:"timeout"` // contains filtered or unexported fields }
func (*JSONSyncer) GetMountPath ¶ added in v1.4.0
func (j *JSONSyncer) GetMountPath() string
func (*JSONSyncer) GetOutputFile ¶ added in v1.4.0
func (j *JSONSyncer) GetOutputFile() string
func (*JSONSyncer) ToContainers ¶ added in v1.4.0
func (j *JSONSyncer) ToContainers() []corev1.Container
Click to show internal directories.
Click to hide internal directories.