github.com/kubernetes-incubator/kube-aws@v0.16.4/pkg/api/motd_banner.go (about)

     1  package api
     2  
     3  type MOTDBanner struct {
     4  	Enabled          bool        `yaml:"enabled,omitempty"`
     5  	EtcdColour       ShellColour `yaml:"etcd-colour,omitempty"`
     6  	KubernetesColour ShellColour `yaml:"kubernetes-colour,omitempty"`
     7  	KubeAWSColour    ShellColour `yaml:"kube-aws-colour,omitempty"`
     8  }
     9  
    10  func NewDefaultMOTDBanner() MOTDBanner {
    11  	return MOTDBanner{
    12  		Enabled:          true,
    13  		EtcdColour:       LightGreen,
    14  		KubernetesColour: LightBlue,
    15  		KubeAWSColour:    LightBlue,
    16  	}
    17  }