Skip to content

Commit

Permalink
Move container reg option type struct
Browse files Browse the repository at this point in the history
  • Loading branch information
optik-aper committed Nov 8, 2023
1 parent 1d079c9 commit 46808d4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions container_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ type ContainerRegistryRepoReqUpdate struct {
Description string `json:"description"`
}

// DockerCredentialsOpt contains the options used to create Docker credentials
type DockerCredentialsOpt struct {
ExpirySeconds *int
WriteAccess *bool
}

// ContainerRegistryDockerCredentials represents the byte array of character
// data returned after creating a Docker credential
type ContainerRegistryDockerCredentials []byte
Expand All @@ -128,12 +134,6 @@ func (c *ContainerRegistryDockerCredentials) String() string {
return string(*c)
}

// DockerCredentialsOpt contains the options used to create Docker credentials
type DockerCredentialsOpt struct {
ExpirySeconds *int
WriteAccess *bool
}

// ContainerRegistryRegion represents the region data
type ContainerRegistryRegion struct {
ID int `json:"id"`
Expand Down

0 comments on commit 46808d4

Please sign in to comment.