Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewService), fx.Provide(NewHandler), )
Functions ¶
This section is empty.
Types ¶
type CheckImageUpdatesRequest ¶
type CheckImageUpdatesRequest struct {
RegistryCredentials []RegistryCredential `json:"registry_credentials,omitempty"`
DisabledRegistries []string `json:"disabled_registries,omitempty"`
}
type CheckImageUpdatesResponse ¶
type CheckImageUpdatesResponse struct {
Results []ContainerImageCheckResult `json:"results"`
}
type ContainerImageCheckResult ¶
type ContainerImageCheckResult struct {
StackName string `json:"stack_name"`
ContainerName string `json:"container_name"`
ImageName string `json:"image_name"`
CurrentRepoDigest string `json:"current_repo_digest"`
LatestRepoDigest string `json:"latest_repo_digest"`
Error string `json:"error,omitempty"`
}
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
}
type RegistryCredential ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) CheckImageUpdates ¶
func (s *Service) CheckImageUpdates(ctx context.Context, credentials []RegistryCredential, disabledRegistries []string) ([]ContainerImageCheckResult, error)
Click to show internal directories.
Click to hide internal directories.