Documentation ¶
Index ¶
- Constants
- Variables
- func GetDefaultAudiences() []string
- func GetDefaultAuthConfigLabels() map[string]string
- func GetDefaultAuthProvider() string
- func GetDefaultCert() string
- func GetDefaultDomain() string
- func GetStringConfigWithDefault(configName, value string) string
- func ParseTemplates() (*template.Template, error)
- func SetDefaultAudiences(audiences []string)
- func SetDefaultAuthConfigLabels(labelsStr string)
- func SetDefaultAuthProvider(provider string)
- func SetDefaultCert(cert string)
- func SetDefaultDomain(domain string, client client.Client, isOpenShift bool)
Constants ¶
View Source
const ( GrpcImage = "GRPC_IMAGE" RestImage = "REST_IMAGE" DefaultGrpcImage = "quay.io/opendatahub/mlmd-grpc-server:latest" DefaultRestImage = "quay.io/opendatahub/model-registry:v0.2.11" RouteDisabled = "disabled" RouteEnabled = "enabled" // config env variables EnableWebhooks = "ENABLE_WEBHOOKS" CreateAuthResources = "CREATE_AUTH_RESOURCES" DefaultDomain = "DEFAULT_DOMAIN" DefaultCert = "DEFAULT_CERT" DefaultAuthProvider = "DEFAULT_AUTH_PROVIDER" DefaultAuthConfigLabels = "DEFAULT_AUTH_CONFIG_LABELS" )
Variables ¶
View Source
var ( // Default ResourceRequirements MlmdRestResourceRequirements = createResourceRequirement(resource.MustParse("100m"), resource.MustParse("256Mi"), resource.MustParse("100m"), resource.MustParse("256Mi")) MlmdGRPCResourceRequirements = createResourceRequirement(resource.MustParse("100m"), resource.MustParse("256Mi"), resource.MustParse("100m"), resource.MustParse("256Mi")) )
Functions ¶
func GetDefaultAudiences ¶ added in v0.2.7
func GetDefaultAudiences() []string
func GetDefaultAuthConfigLabels ¶ added in v0.2.7
func GetDefaultAuthProvider ¶ added in v0.2.7
func GetDefaultAuthProvider() string
func GetDefaultCert ¶ added in v0.2.7
func GetDefaultCert() string
func GetDefaultDomain ¶ added in v0.2.7
func GetDefaultDomain() string
func ParseTemplates ¶
func SetDefaultAudiences ¶ added in v0.2.7
func SetDefaultAudiences(audiences []string)
func SetDefaultAuthConfigLabels ¶ added in v0.2.7
func SetDefaultAuthConfigLabels(labelsStr string)
func SetDefaultAuthProvider ¶ added in v0.2.7
func SetDefaultAuthProvider(provider string)
func SetDefaultCert ¶ added in v0.2.7
func SetDefaultCert(cert string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.