config

package
v0.0.0-...-f0e17bc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//	ImageDockerfile = `FROM scratch
	//COPY . .`
	PatchfsTemplateDockerfile = `` /* 242-byte string literal not displayed */

)
View Source
const (
	//	ImageDockerfile = `FROM scratch
	//COPY . .`
	RootfsTemplateDockerfile = `FROM {{ .BaseImage }}
MAINTAINER labring
{{- if .Copys }}
{{- range .Copys }}
COPY {{.}}
{{- end }}
{{- end }}`
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Clusterfile

type Clusterfile struct {
	Cluster  *v1beta1.Cluster
	BinData  string
	Replaces map[string]string
}

func (*Clusterfile) Write

func (c *Clusterfile) Write() (string, error)

type PatchDockerfile

type PatchDockerfile struct {
	Images []string

	Copys []string
	Cmds  []string
	// contains filtered or unexported fields
}

func (*PatchDockerfile) Write

func (d *PatchDockerfile) Write() (string, error)

type RootfsDockerfile

type RootfsDockerfile struct {
	Images      []string
	KubeadmYaml string
	BaseImage   string

	Copys []string
	// contains filtered or unexported fields
}

func (*RootfsDockerfile) Write

func (d *RootfsDockerfile) Write() (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL