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 { 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 {