github.com/DaAlbrecht/cf-cli@v0.0.0-20231128151943-1fe19bb400b9/util/configv3/k8s.go (about)

     1  package configv3
     2  
     3  type CFOnK8s struct {
     4  	Enabled  bool   `json:"Enabled"`
     5  	AuthInfo string `json:"AuthInfo"`
     6  }
     7  
     8  func (config *Config) IsCFOnK8s() bool {
     9  	return config.ConfigFile.CFOnK8s.Enabled
    10  }