Skip to content

Commit

Permalink
pass: ci
Browse files Browse the repository at this point in the history
Signed-off-by: 逆流而上 <[email protected]>
  • Loading branch information
DokiDoki1103 committed Feb 27, 2024
1 parent 68c2118 commit ed7a0c4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions api/api/api_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,32 +291,32 @@ type RegistryInterface interface {
CheckRegistry(w http.ResponseWriter, r *http.Request)
}

// APIGatewayInterface api gateway interface
type APIGatewayInterface interface {
APIGatewayRouteInterface
APIGatewayServiceInterface
APIGatewayCertInterface
// GatewayInterface api gateway interface
type GatewayInterface interface {
GatewayRouteInterface
GatewayServiceInterface
GatewayCertInterface
}

// APIGatewayRouteInterface api gateway route interface
type APIGatewayRouteInterface interface {
// GatewayRouteInterface api gateway route interface
type GatewayRouteInterface interface {
GetAPIRoute(w http.ResponseWriter, r *http.Request)
CreateAPIRoute(w http.ResponseWriter, r *http.Request)
UpdateAPIRoute(w http.ResponseWriter, r *http.Request)
DeleteAPIRoute(w http.ResponseWriter, r *http.Request)
}

// APIGatewayServiceInterface api gateway service interface
type APIGatewayServiceInterface interface {
// GatewayServiceInterface api gateway service interface
type GatewayServiceInterface interface {
GetRBDService(w http.ResponseWriter, r *http.Request)
GetAPIService(w http.ResponseWriter, r *http.Request)
CreateAPIService(w http.ResponseWriter, r *http.Request)
UpdateAPIService(w http.ResponseWriter, r *http.Request)
DeleteAPIService(w http.ResponseWriter, r *http.Request)
}

// APIGatewayCertInterface api gateway cert interface
type APIGatewayCertInterface interface {
// GatewayCertInterface api gateway cert interface
type GatewayCertInterface interface {
GetCert(w http.ResponseWriter, r *http.Request)
CreateCert(w http.ResponseWriter, r *http.Request)
UpdateCert(w http.ResponseWriter, r *http.Request)
Expand Down
2 changes: 1 addition & 1 deletion api/controller/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type V2Manager interface {
api.RegistryAuthSecretInterface
api.HelmInterface
api.RegistryInterface
api.APIGatewayInterface
api.GatewayInterface
}

var defaultV2Manager V2Manager
Expand Down

0 comments on commit ed7a0c4

Please sign in to comment.