mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Remove unused fields from client.Stack struct
This commit is contained in:
parent
bf7fd60550
commit
8a7bb9e79d
@ -5,14 +5,11 @@ import "fmt"
|
|||||||
type Stack struct {
|
type Stack struct {
|
||||||
// In the API documentation this field is a String,
|
// In the API documentation this field is a String,
|
||||||
// but it's returned as a number
|
// but it's returned as a number
|
||||||
Id uint32
|
Id uint32
|
||||||
Name string
|
Name string
|
||||||
Type uint8 // 1 for a Swarm stack, 2 for a Compose stack
|
Type uint8 // 1 for a Swarm stack, 2 for a Compose stack
|
||||||
EndpointID uint
|
EndpointID uint
|
||||||
EntryPoint string
|
Env []StackEnv
|
||||||
SwarmID string
|
|
||||||
ProjectPath string
|
|
||||||
Env []StackEnv
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Stack) GetTranslatedStackType() string {
|
func (s *Stack) GetTranslatedStackType() string {
|
||||||
|
Loading…
Reference in New Issue
Block a user