Documentation
¶
Index ¶
- Constants
- type ChangeableAttributes
- type ManifestV1Azure
- type ManifestsAzureResp
- type NonSecret
- type RegistryACR
- func (d *RegistryACR) DecryptExtras(aes encryption.AES) error
- func (d *RegistryACR) DecryptSecret(aes encryption.AES) error
- func (d *RegistryACR) EncryptExtras(aes encryption.AES) error
- func (d *RegistryACR) EncryptSecret(aes encryption.AES) error
- func (d *RegistryACR) FetchImagesFromRegistry(ctx context.Context) ([]model.IngestedContainerImage, error)
- func (d *RegistryACR) GetExtras() map[string]interface{}
- func (d *RegistryACR) GetNamespace() string
- func (d *RegistryACR) GetRegistryType() string
- func (d *RegistryACR) GetSecret() map[string]interface{}
- func (d *RegistryACR) GetUsername() string
- func (d *RegistryACR) IsValidCredential() bool
- func (d *RegistryACR) ValidateFields(v *validator.Validate) error
- type RepoDetails
- type RepoTagsResp
- type ReposResp
- type Secret
Constants ¶
View Source
const ( PerPageCount = 100 ParallelImageFetch = 10 ImageQueueBufferSize = 100 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeableAttributes ¶
type ManifestV1Azure ¶
type ManifestV1Azure struct { Digest string `json:"digest"` ImageSize int `json:"imageSize"` CreatedTime time.Time `json:"createdTime"` LastUpdateTime time.Time `json:"lastUpdateTime"` Architecture string `json:"architecture"` Os string `json:"os"` MediaType string `json:"mediaType"` ConfigMediaType string `json:"configMediaType"` Tags []string `json:"tags"` ChangeableAttributes ChangeableAttributes `json:"changeableAttributes"` }
type ManifestsAzureResp ¶
type ManifestsAzureResp struct { Registry string `json:"registry"` ImageName string `json:"imageName"` Manifests []ManifestV1Azure `json:"manifests"` }
type RegistryACR ¶
type RegistryACR struct { Name string `json:"name" validate:"required,min=2,max=64"` NonSecret NonSecret `json:"non_secret"` Secret Secret `json:"secret"` RegistryType string `json:"registry_type" validate:"required"` }
func New ¶
func New(data []byte) (*RegistryACR, error)
func (*RegistryACR) DecryptExtras ¶
func (d *RegistryACR) DecryptExtras(aes encryption.AES) error
func (*RegistryACR) DecryptSecret ¶
func (d *RegistryACR) DecryptSecret(aes encryption.AES) error
func (*RegistryACR) EncryptExtras ¶
func (d *RegistryACR) EncryptExtras(aes encryption.AES) error
func (*RegistryACR) EncryptSecret ¶
func (d *RegistryACR) EncryptSecret(aes encryption.AES) error
func (*RegistryACR) FetchImagesFromRegistry ¶
func (d *RegistryACR) FetchImagesFromRegistry(ctx context.Context) ([]model.IngestedContainerImage, error)
func (*RegistryACR) GetExtras ¶
func (d *RegistryACR) GetExtras() map[string]interface{}
func (*RegistryACR) GetNamespace ¶
func (d *RegistryACR) GetNamespace() string
func (*RegistryACR) GetRegistryType ¶
func (d *RegistryACR) GetRegistryType() string
func (*RegistryACR) GetUsername ¶
func (d *RegistryACR) GetUsername() string
func (*RegistryACR) IsValidCredential ¶
func (d *RegistryACR) IsValidCredential() bool
func (*RegistryACR) ValidateFields ¶
func (d *RegistryACR) ValidateFields(v *validator.Validate) error
type RepoDetails ¶
type RepoTagsResp ¶
Click to show internal directories.
Click to hide internal directories.