Remove unused fields from client.Stack struct

This commit is contained in:
Juan Carlos Mejías Rodríguez 2019-08-09 13:06:47 -04:00
parent bf7fd60550
commit 8a7bb9e79d

View File

@ -5,14 +5,11 @@ import "fmt"
type Stack struct {
// In the API documentation this field is a String,
// but it's returned as a number
Id uint32
Name string
Type uint8 // 1 for a Swarm stack, 2 for a Compose stack
EndpointID uint
EntryPoint string
SwarmID string
ProjectPath string
Env []StackEnv
Id uint32
Name string
Type uint8 // 1 for a Swarm stack, 2 for a Compose stack
EndpointID uint
Env []StackEnv
}
func (s *Stack) GetTranslatedStackType() string {