Documentation ¶
Index ¶
Constants ¶
View Source
const ( AgentUsage = "agent [ARG...]" AgentShortDesc = "Start the coral agent" AgentLongDesc = `Starts the coral agent which ensures the image state of the node is in sync with the configured images.` AgentConnectionTimeout time.Duration = 30 * time.Second AgentMaxCallRecvMsgSize int = 1024 * 1024 * 32 )
View Source
const ( ControllerUsage = "controller [ARG...]" ControllerShortDesc = "Start the build controller" ControllerLongDesc = `Starts the build controller providing management of the kubernetes resources and services.` )
View Source
const ( DefaultCertDir string = "/etc/webhook/tls" DefaultEnableLeaderElection bool = false DefaultSkipInsecureVerify bool = false DefaultLogLevel int8 = 0 DefaultPollInterval time.Duration = 10 * time.Second DefaultContainerdAddr string = "unix:///kubelet/containerd/containerd.sock" DefaultNamespace string = "" DefaultScope string = "" DefaultLabels string = "app=coral,component=mirror" DefaultParallel int = 1 ConnectionTimeout time.Duration = 30 * time.Second MaxCallRecvMsgSize int = 1024 * 1024 * 32 )
View Source
const ( MirrorUsage = "mirror [ARG...]" MirrorShortDesc = "Start the coral mirror utility" MirrorLongDesc = `` /* 129-byte string literal not displayed */ MirrorConnectionTimeout time.Duration = 30 * time.Second MirrorMaxCallRecvMsgSize int = 1024 * 1024 * 32 )
View Source
const ( RootUsage = "coral [COMMAND] [ARG...]" RootShortDesc = "Build controller and image sync tool for kubernetes" RootLongDesc = `` /* 347-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController() *Controller
func (*Controller) Command ¶
func (c *Controller) Command() *cobra.Command
Click to show internal directories.
Click to hide internal directories.