...

Source file src/github.com/redhat-developer/odo/pkg/api/component-abstract.go

Documentation: github.com/redhat-developer/odo/pkg/api

     1  package api
     2  
     3  // ComponentAbstract represents a component as part of a list of components
     4  type ComponentAbstract struct {
     5  	Name             string `json:"name"`
     6  	ManagedBy        string `json:"managedBy"`
     7  	ManagedByVersion string `json:"managedByVersion"`
     8  	// RunningIn are the modes the component is running in, among Dev and Deploy
     9  	RunningIn RunningModes `json:"runningIn"`
    10  	Type      string       `json:"projectType"`
    11  	// RunningOn is the platform the component is running on, either cluster or podman
    12  	//
    13  	// Deprecated: This field is deprecated and will be replaced by Platform
    14  	RunningOn string `json:"runningOn,omitempty"`
    15  	// Platform is the platform the component is running on, either cluster or podman
    16  	Platform string `json:"platform,omitempty"`
    17  }
    18  
    19  const (
    20  	// TypeUnknown means that odo cannot tell its state
    21  	TypeUnknown = "Unknown"
    22  	// TypeNone means that it has not been pushed to the cluster *at all* in either deploy or dev
    23  	TypeNone = "None"
    24  )
    25  

View as plain text