alamedaserviceparamter

package
v4.2.556+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAlamedaDatahubService added in v0.9.1

func GetAlamedaDatahubService() string

GetAlamedaDatahubService returns service asset name of alameda-dathub

func GetAlamedaInfluxdbDeployment

func GetAlamedaInfluxdbDeployment() string

GetAlamedaInfluxdbService returns service that needs to be installed for influxdb

func GetAlamedaInfluxdbService

func GetAlamedaInfluxdbService() string

GetAlamedaInfluxdbService returns service that needs to be installed for influxdb

func GetAlamedaNotifierWebhookServerCertSecret added in v0.9.1

func GetAlamedaNotifierWebhookServerCertSecret() string

GetAlamedaNotifierWebhookServerCertSecret returns secret asset name of alameda-notifier-webhook-server-cert

func GetAlamedaNotifierWebhookService added in v0.9.1

func GetAlamedaNotifierWebhookService() string

GetAlamedaNotifierWebhookService returns service asset name of alameda-notifier-webhook-service

func GetAlamedaOperatorWebhookServerCertSecret

func GetAlamedaOperatorWebhookServerCertSecret() string

GetAlamedaOperatorWebhookServerCertSecret returns secret asset name of alameda-operator-webhook-server-cert

func GetAlamedaOperatorWebhookService

func GetAlamedaOperatorWebhookService() string

GetAlamedaOperatorWebhookService returns service asset name of alameda-operator-webhook-service

func GetCustomResourceDefinitions added in v0.9.1

func GetCustomResourceDefinitions() []string

GetCustomResourceDefinitions returns crd assets' name

func GetFederatoraiRestService added in v0.9.13

func GetFederatoraiRestService() string

GetFederatoraiRestService returns service asset name of federatorai-rest

Types

type AlamedaServiceParamter

type AlamedaServiceParamter struct {
	NameSpace                           string
	SelfDriving                         bool
	Platform                            string
	EnableExecution                     bool
	EnableGUI                           bool
	EnableDispatcher                    bool
	EnablePreloader                     bool
	EnableWeavescope                    bool
	AutoPatchPrometheusRules            bool
	ImageLocation                       string
	Version                             string
	PrometheusService                   string
	Storages                            []v1alpha1.StorageSpec
	ServiceExposures                    []v1alpha1.ServiceExposureSpec
	InfluxdbSectionSet                  v1alpha1.AlamedaComponentSpec
	GrafanaSectionSet                   v1alpha1.AlamedaComponentSpec
	AlamedaAISectionSet                 v1alpha1.AlamedaComponentSpec
	AlamedaOperatorSectionSet           v1alpha1.AlamedaComponentSpec
	AlamedaDatahubSectionSet            v1alpha1.AlamedaComponentSpec
	AlamedaEvictionerSectionSet         v1alpha1.AlamedaComponentSpec
	AdmissionControllerSectionSet       v1alpha1.AlamedaComponentSpec
	AlamedaRecommenderSectionSet        v1alpha1.AlamedaComponentSpec
	AlamedaExecutorSectionSet           v1alpha1.AlamedaComponentSpec
	AlamedaDispatcherSectionSet         v1alpha1.AlamedaComponentSpec
	AlamedaFedemeterSectionSet          v1alpha1.AlamedaComponentSpec
	AlamedaFedemeterInfluxdbSectionSet  v1alpha1.AlamedaComponentSpec
	AlamedaWeavescopeSectionSet         v1alpha1.AlamedaComponentSpec
	AlamedaAnalyzerSectionSet           v1alpha1.AlamedaComponentSpec
	AlamedaNotifierSectionSet           v1alpha1.AlamedaComponentSpec
	AlamedaRabbitMQSectionSet           v1alpha1.AlamedaComponentSpec
	FederatoraiAgentSectionSet          v1alpha1.AlamedaComponentSpec
	FederatoraiAgentGPUSectionSet       v1alpha1.FederatoraiAgentGPUSpec
	FederatoraiRestSectionSet           v1alpha1.AlamedaComponentSpec
	FederatoraiAgentPreloaderSectionSet v1alpha1.AlamedaComponentSpec
	CurrentCRDVersion                   v1alpha1.AlamedaServiceStatusCRDVersion
	// contains filtered or unexported fields
}

func NewAlamedaServiceParamter

func NewAlamedaServiceParamter(instance *v1alpha1.AlamedaService) *AlamedaServiceParamter

func (*AlamedaServiceParamter) CheckCurrentCRDIsChangeVersion added in v0.2.5

func (asp *AlamedaServiceParamter) CheckCurrentCRDIsChangeVersion() bool

func (*AlamedaServiceParamter) GetInstallResource

func (asp *AlamedaServiceParamter) GetInstallResource() *Resource

GetInstallResource returns resources that the AlamedaServiceParamter needs to install

func (*AlamedaServiceParamter) GetUninstallPersistentVolumeClaimSource added in v0.2.0

func (asp *AlamedaServiceParamter) GetUninstallPersistentVolumeClaimSource() *Resource

func (*AlamedaServiceParamter) SetCurrentCRDChangeVersionToFalse added in v0.2.5

func (asp *AlamedaServiceParamter) SetCurrentCRDChangeVersionToFalse()

func (*AlamedaServiceParamter) SetCurrentCRDChangeVersionToTrue added in v0.2.5

func (asp *AlamedaServiceParamter) SetCurrentCRDChangeVersionToTrue()

type Resource

type Resource struct {
	ClusterRoleBindingList             []string
	ClusterRoleList                    []string
	ServiceAccountList                 []string
	CustomResourceDefinitionList       []string
	ConfigMapList                      []string
	ServiceList                        []string
	DeploymentList                     []string
	SecretList                         []string
	PersistentVolumeClaimList          []string
	AlamedaScalerList                  []string
	RouteList                          []string
	StatefulSetList                    []string
	IngressList                        []string
	PodSecurityPolicyList              []string
	DaemonSetList                      []string
	SecurityContextConstraintsList     []string
	RoleBindingList                    []string
	RoleList                           []string
	MutatingWebhookConfigurationList   []string
	ValidatingWebhookConfigurationList []string
	AlamedaNotificationChannelList     []string
	AlamedaNotificationTopic           []string
}

func GetAlamedaInfluxdbResource

func GetAlamedaInfluxdbResource() Resource

GetAlamedaInfluxdbResource returns service that needs to be installed for influxdb

func GetDispatcherResource added in v0.2.35

func GetDispatcherResource() *Resource

GetDispatcherResource returns resource that needs to be installed for Alameda-Dispathcer

func GetExcutionResource

func GetExcutionResource() *Resource

GetExcutionResource returns resource that needs to be installed for Execution

func GetFedemeterResource added in v0.2.30

func GetFedemeterResource() *Resource

GetFedemeterResource returns resource that needs to be installed for Federmeter

func GetGUIResource

func GetGUIResource() *Resource

GetGUIResource returns resource that needs to be installed for GUI

func GetPreloaderResource

func GetPreloaderResource() *Resource

GetPreloaderResource returns resource that needs to be installed for Federatorai-Agent-Preloader

func GetSelfDrivingRsource added in v0.2.13

func GetSelfDrivingRsource() *Resource

GetSelfDrivingRsource returns resource that needs to be installed for Alameda self driving

func GetWeavescopeResource added in v0.9.1

func GetWeavescopeResource() Resource

GetWeavescopeResource returns resource that needs to be installed for weavescope

func (*Resource) Delete

func (r *Resource) Delete(in Resource)

func (*Resource) GetAll added in v0.9.1

func (r *Resource) GetAll() []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL