Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeDockerAuthHeader ¶
Types ¶
type Image ¶
type Image struct {
Name string
Dockerfile string
Args map[string]string
Context string
Version string
RepositoryUrlWithImage bool
ProviderOptions []sdk.ResourceOption
RepositoryUrl sdk.StringOutput
Registry docker.RegistryArgs
Platform *string
}
type ImageOut ¶
type ImageOut struct {
Image *docker.Image
AddOpts []sdk.ResourceOption
}
func BuildAndPushImage ¶
type MsgCallback ¶
type MsgCallback func(message *ResponseMessage, err error) error
MsgCallback callback to be called for each message from Docker daemon
type MsgReader ¶
type MsgReader interface {
// Next synchronously reads next message from Docker daemon
Next() (*ResponseMessage, error)
// Listen allows to process messages streamed from Docker daemon
Listen(output bool, callback MsgCallback) error
}
MsgReader interface allowing to read streamed output from Docker daemon
type Pull ¶
type Pull struct {
sdk.ResourceState
Digest sdk.StringOutput `pulumi:"digest"`
}
func NewDockerPull ¶
type PullArgs ¶
type PullArgs struct {
RemoteImage sdk.StringInput `pulumi:"remoteImage"`
AuthHeader sdk.StringInput `pulumi:"authHeader"`
Platform sdk.StringInput `pulumi:"platform"`
Log logger.Logger
}
type ResponseAux ¶
type ResponseMessage ¶
type ResponseMessage struct {
Id string `json:"id"`
Status string `json:"status"`
Stream string `json:"stream"`
Aux ResponseAux `json:"aux"`
ErrorDetail struct {
Code int `json:"code"`
Message string `json:"message"`
}
ProgressDetail struct {
Current int `json:"current"`
Total int `json:"total"`
}
Progress string `json:"progress"`
Error string `json:"error"`
// contains filtered or unexported fields
}
ResponseMessage reflects typical response message from Docker daemon of V1
type ResponseMessageV2 ¶
type ResponseMessageV2 struct {
Id string `json:"id"`
Aux string `json:"aux"` // contains base64-encoded PB object
}
ResponseMessageV2 reflects typical response message from Docker daemon of V2
Click to show internal directories.
Click to hide internal directories.