Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResourceProfiles ¶
func ResourceProfiles() []string
func ResourceProfilesJoined ¶
func ResourceProfilesJoined() string
Types ¶
type ClusterType ¶
type ClusterType int
ClusterType represents different types of Kubernetes clusters
const ( // ClusterTypeUnknown represents an unidentified cluster type ClusterTypeUnknown ClusterType = iota // ClusterTypeInfraGKE represents a GKE cluster created via Infra. ClusterTypeInfraGKE // ClusterTypeInfraOpenShift4 represents an OpenShift 4 cluster ClusterTypeInfraOpenShift4 // Generic OpenShift4 cluster (e.g. for prow CI) ClusterTypeOpenShift4 // ClusterTypeKind represents a Kind (Kubernetes in Docker) cluster ClusterTypeKind // ClusterTypeMinikube represents a Minikube cluster ClusterTypeMinikube // ClusterTypeK3s represents a K3s cluster ClusterTypeK3s // ClusterTypeCRC represents a CRC (CodeReady Containers) cluster ClusterTypeCRC )
func AllClusterTypes ¶
func AllClusterTypes() []ClusterType
func (ClusterType) IsOpenShift ¶
func (ct ClusterType) IsOpenShift() bool
func (ClusterType) String ¶
func (ct ClusterType) String() string
String returns the string representation of a ClusterType
type Exposure ¶
type Exposure int
func (Exposure) MarshalYAML ¶
func (*Exposure) ToUnstructuredConfig ¶
ToUnstructuredConfig returns the exposure configuration.
func (*Exposure) UnmarshalYAML ¶
type ResourceProfile ¶
type ResourceProfile int
const ( ResourceProfileAcsDefaults ResourceProfile = iota ResourceProfileAuto ResourceProfileSmall ResourceProfileMedium ResourceProfileCI )
func (ResourceProfile) MarshalYAML ¶
func (r ResourceProfile) MarshalYAML() (interface{}, error)
func (ResourceProfile) String ¶
func (r ResourceProfile) String() string
func (*ResourceProfile) UnmarshalYAML ¶
func (r *ResourceProfile) UnmarshalYAML(unmarshal func(interface{}) error) error
Click to show internal directories.
Click to hide internal directories.