Skip to content

chore(types): moving types to the relevent packages and deleting types.go#669

Open
rshdhere wants to merge 1 commit intogoharbor:mainfrom
rshdhere:chore/move-types-to-relevent-packages
Open

chore(types): moving types to the relevent packages and deleting types.go#669
rshdhere wants to merge 1 commit intogoharbor:mainfrom
rshdhere:chore/move-types-to-relevent-packages

Conversation

@rshdhere
Copy link

@rshdhere rshdhere commented Feb 3, 2026

solves #667

tested using dagger locally!

…s.go

Signed-off-by: raashed <mohammedraashed10@gmail.com>
@rshdhere rshdhere force-pushed the chore/move-types-to-relevent-packages branch from a3d7f36 to f7d21b2 Compare February 3, 2026 18:16
@rshdhere
Copy link
Author

rshdhere commented Feb 3, 2026

@bupd open for the review #667

@rshdhere
Copy link
Author

@NucleoFusion a humble ping for this one

@bupd bupd self-requested a review February 14, 2026 10:56
@NucleoFusion
Copy link
Contributor

Please remove the binary from the commit
and make sure it stays removed from prior / all commits

Comment on lines +16 to +23
package contextview

// ContextListView represents a context entry used in list/switch views.
type ContextListView struct {
Name string
Username string
Server string
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These can follow the existing structure and be included in the view.go itself.

Comment on lines +14 to +31
package create

// RegistryCredential holds credentials for a registry provider in the view layer.
type RegistryCredential struct {
AccessKey string `json:"access_key,omitempty"`
Type string `json:"type,omitempty"`
AccessSecret string `json:"access_secret,omitempty"`
}

// CreateView is the interactive view model to create a registry.
type CreateView struct {
Name string
Type string
Description string
URL string
Credential RegistryCredential
Insecure bool
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These can follow the existing structure and be included in the view.go itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants