Documentation ¶
Index ¶
- Constants
- type Application
- type Audit
- type Auth
- type Basic
- type Business
- type Cert
- type Chart
- type ClusterProgress
- type ClusterProgressStatus
- type Config
- type CreateClusterPara
- type ESMonitor
- type ElasticSearch
- type ExpansionApp
- type ExternalInfluxDBMonitor
- type Gateway
- type HA
- type Handler
- type InfluxDBMonitor
- type Keepalived
- type LocalInfluxDBMonitor
- type Logagent
- type Mesh
- type Monitor
- type OIDCAuth
- type PlatformApp
- type Registry
- type SelfSignedCert
- type TKEAuth
- type TKEHA
- type TKERegistry
- type TKERegistryFilesystemStorage
- type TKERegistryS3Storage
- type TKERegistryStorage
- type ThanosBucketConfig
- type ThanosMonitor
- type ThirdPartyCert
- type ThirdPartyHA
- type ThirdPartyRegistry
- type UserInputRegistry
Constants ¶
View Source
const ( StatusUnknown = "Unknown" StatusDoing = "Doing" StatusSuccess = "Success" StatusFailed = "Failed" StatusRetrying = "Retrying" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶ added in v1.4.0
type Audit ¶ added in v1.3.1
type Audit struct {
ElasticSearch *ElasticSearch `json:"elasticSearch,omitempty"`
}
type Cert ¶
type Cert struct { SelfSignedCert *SelfSignedCert `json:"selfSigned,omitempty"` ThirdPartyCert *ThirdPartyCert `json:"thirdParty,omitempty"` }
type ClusterProgress ¶
type ClusterProgress struct { Status ClusterProgressStatus `json:"status"` Data string `json:"data"` URL string `json:"url,omitempty"` Username string `json:"username,omitempty"` Password []byte `json:"password,omitempty"` CACert []byte `json:"caCert,omitempty"` Hosts []string `json:"hosts,omitempty"` Servers []string `json:"servers,omitempty"` Kubeconfig []byte `json:"kubeconfig,omitempty"` }
type ClusterProgressStatus ¶
type ClusterProgressStatus string
type Config ¶
type Config struct { Basic *Basic `json:"basic"` Auth Auth `json:"auth"` Registry Registry `json:"registry"` Business *Business `json:"business,omitempty"` Monitor *Monitor `json:"monitor,omitempty"` Logagent *Logagent `json:"logagent,omitempty"` HA *HA `json:"ha,omitempty"` Gateway *Gateway `json:"gateway,omitempty"` Audit *Audit `json:"audit,omitempty"` Application *Application `json:"application,omitempty"` Mesh *Mesh `json:"mesh,omitempty"` SkipSteps []string `json:"skipSteps,omitempty"` ExpansionApps []*ExpansionApp `json:"expansionApps,omitempty"` PlatformApps []*PlatformApp `json:"platformApps,omitempty"` }
Config is the installer config
type CreateClusterPara ¶
func (*CreateClusterPara) RegistryIP ¶ added in v1.8.0
func (c *CreateClusterPara) RegistryIP() string
type ElasticSearch ¶ added in v1.3.1
type ExpansionApp ¶ added in v1.9.1
type ExternalInfluxDBMonitor ¶
type HA ¶
type HA struct { TKEHA *TKEHA `json:"tke,omitempty"` ThirdPartyHA *ThirdPartyHA `json:"thirdParty,omitempty"` }
type InfluxDBMonitor ¶
type InfluxDBMonitor struct { LocalInfluxDBMonitor *LocalInfluxDBMonitor `json:"local,omitempty"` ExternalInfluxDBMonitor *ExternalInfluxDBMonitor `json:"external,omitempty"` }
type Keepalived ¶
type Keepalived struct {
VIP string `json:"vip,omitempty"`
}
type LocalInfluxDBMonitor ¶
type LocalInfluxDBMonitor struct { }
type Monitor ¶
type Monitor struct { ThanosMonitor *ThanosMonitor `json:"thanos,omitempty"` ESMonitor *ESMonitor `json:"es,omitempty"` InfluxDBMonitor *InfluxDBMonitor `json:"influxDB,omitempty"` RetentionDays *int `json:"retentionDays,omitempty"` }
type PlatformApp ¶ added in v1.9.1
type PlatformApp struct { HelmInstallOptions *helmaction.InstallOptions LocalChartPath string ConditionFunc wait.ConditionFunc `json:"-"` Enable bool Installed bool // rawValues: json format or yaml format RawValues string RawValuesType applicationv1.RawValuesType // values: can specify multiple or separate values: key1=val1,key2=val2 Values []string }
type Registry ¶
type Registry struct { TKERegistry *TKERegistry `json:"tke,omitempty"` ThirdPartyRegistry *ThirdPartyRegistry `json:"thirdParty,omitempty"` UserInputRegistry UserInputRegistry `json:"userInputRegistry,omitempty"` }
Registry for remote registry
func (*Registry) IsOfficial ¶ added in v1.3.1
type SelfSignedCert ¶
type SelfSignedCert struct { }
type TKERegistry ¶
type TKERegistry struct { Domain string `json:"domain" validate:"hostname_rfc1123"` HarborEnabled bool `json:"harborEnabled"` HarborCAFile string `json:"harborCAFile"` Namespace string `json:"namespace"` Username string `json:"username"` Password []byte `json:"password"` Storage *TKERegistryStorage `json:"storage"` }
type TKERegistryFilesystemStorage ¶ added in v1.8.0
type TKERegistryFilesystemStorage struct { }
type TKERegistryS3Storage ¶ added in v1.8.0
type TKERegistryS3Storage struct { Bucket string `json:"bucket"` Region string `json:"region"` // +optional AccessKey *string `json:"accessKey,omitempty"` // +optional SecretKey *string `json:"secretKey,omitempty"` // +optional RegionEndpoint *string `json:"regionEndpoint,omitempty"` // +optional Encrypt *bool `json:"encrypt,omitempty"` // +optional KeyID *string `json:"keyID,omitempty"` // +optional Secure *bool `json:"secure,omitempty"` // +optional SkipVerify *bool `json:"skipVerify,omitempty"` // +optional V4Auth *bool `json:"v4Auth,omitempty"` // +optional ChunkSize *int64 `json:"chunkSize,omitempty"` // +optional MultipartCopyChunkSize *int64 `json:"multipartCopyChunkSize,omitempty"` // +optional MultipartCopyMaxConcurrency *int64 `json:"multipartCopyMaxConcurrency,omitempty"` // +optional MultipartCopyThresholdSize *int64 `json:"multipartCopyThresholdSize,omitempty"` // +optional RootDirectory *string `json:"rootDirectory,omitempty"` // +optional StorageClass *string `json:"storageClass,omitempty"` // +optional UserAgent *string `json:"userAgent,omitempty"` // +optional ObjectACL *string `json:"objectACL,omitempty"` }
type TKERegistryStorage ¶ added in v1.8.0
type TKERegistryStorage struct { Filesystem *TKERegistryFilesystemStorage `json:"filesystem"` S3 *TKERegistryS3Storage `json:"s3"` }
type ThanosBucketConfig ¶ added in v1.6.0
type ThanosBucketConfig struct { Type string `json:"type"` Config interface{} `json:"config"` }
type ThanosMonitor ¶ added in v1.6.0
type ThanosMonitor struct {
BucketConfig *ThanosBucketConfig `json:"bucketConfig"`
}
type ThirdPartyCert ¶
type ThirdPartyHA ¶
type ThirdPartyRegistry ¶
Click to show internal directories.
Click to hide internal directories.