Versions in this module Expand all Collapse all v1 v1.2.6 Aug 31, 2020 Changes in this version + const StateTypeLocallyDeleted + const StateTypeNotPushed + const StateTypePushed + func ConvertIngressURLToIngress(ingressURL URL, serviceName string) iextensionsv1.Ingress + func GetProtocol(route routev1.Route, ingress iextensionsv1.Ingress) string + func GetURLName(componentName string, componentPort int) string + func GetURLString(protocol, URL string, ingressDomain string, isExperimentalMode bool) string + func GetValidExposedPortNumber(exposedPort int) (int, error) + func GetValidPortNumber(componentName string, portNumber int, portList []string) (int, error) + func Push(client *occlient.Client, kClient *kclient.Client, parameters PushParameters) error + type CreateParameters struct + type PushParameters struct + ApplicationName string + ComponentName string + ConfigURLs []config.ConfigURL + EndpointMap map[int32]parsercommon.Endpoint + EnvURLS []envinfo.EnvInfoURL + IsExperimentalModeEnabled bool + IsRouteSupported bool + type StateType string type URL + Spec URLSpec + Status URLStatus + func ConvertConfigURL(configURL config.ConfigURL) URL + func ConvertEnvinfoURL(envinfoURL envinfo.EnvInfoURL, serviceName string) URL + func Get(client *occlient.Client, localConfig *config.LocalConfigInfo, urlName string, ...) (URL, error) + func GetContainerURL(client *lclient.Client, envSpecificInfo *envinfo.EnvSpecificInfo, ...) (URL, error) + func GetIngressOrRoute(client *occlient.Client, kClient *kclient.Client, ...) (URL, error) + type URLList struct + Items []URL + func ListDockerURL(client *lclient.Client, componentName string, ...) (URLList, error) + func ListIngressAndRoute(oclient *occlient.Client, client *kclient.Client, ...) (URLList, error) + func ListPushed(client *occlient.Client, componentName string, applicationName string) (URLList, error) + func ListPushedIngress(client *kclient.Client, componentName string) (URLList, error) + func (urls URLList) Get(urlName string) URL + type URLSpec struct + ExternalPort int + Host string + Kind envinfo.URLKind + Path string + Port int + Protocol string + Secure bool + TLSSecret string + type URLStatus struct + State StateType v0 v0.0.11 Sep 17, 2018 Changes in this version + func Delete(client *occlient.Client, urlName string, applicationName string) error + func Exists(client *occlient.Client, urlName string, componentName string, ...) (bool, error) + func GetComponentServicePortNumbers(client *occlient.Client, componentName string, applicationName string) ([]int, error) + func GetUrlString(url URL) string + type URL struct + Name string + Port int + Protocol string + URL string + func Create(client *occlient.Client, urlName string, portNumber int, ...) (*URL, error) + func List(client *occlient.Client, componentName string, applicationName string) ([]URL, error)