package
1.2.6
Repository: https://github.com/redhat-developer/ocdev.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ConvertConfigURL converts ConfigURL to URL.
ConvertEnvinfoURL converts EnvinfoURL to URL.
ConvertIngressURLToIngress converts IngressURL to Ingress.
Create creates a URL and returns url string and error if any portNumber is the target port number for the route and is -1 in case no port number is specified in which case it is automatically detected for components which expose only one service port).
Delete deletes a URL.
Exists checks if the url exists in the component or not urlName is the name of the url for checking componentName is the name of the component to which the url's existence is checked applicationName is the name of the application to which the url's existence is checked.
Get returns URL definition for given URL name.
GetContainer returns Docker URL definition for given URL name.
GetIngressOrRoute returns ingress/route spec for given URL name.
GetProtocol returns the protocol string.
GetURLName returns a url name from the component name and the given port number.
GetURLString returns a string representation of given url.
GetValidExposedPortNumber checks if the given exposed port number is a valid port or not if exposed port is not provided, a random free port will be generated and returned.
GetValidPortNumber checks if the given port number is a valid component port or not if port number is not provided and the component is a single port component, the component port is returned port number is -1 if the user does not specify any port.
List returns all URLs for given component.
ListDockerURL returns all Docker URLs for given component.
ListIngressAndRoute returns all Ingress and Route for given component.
ListPushed lists the URLs in an application that are in cluster.
ListPushedIngress lists the ingress URLs on cluster for the given component.
Push creates and deletes the required URLs.

# Constants

StateTypeLocallyDeleted means that URL was deleted from the local config, but it is still present on the cluster/container.
StateTypeNotPushed means that URL is only in local config, but not on the cluster/container.
StateTypePushed means that URL is present both locally and on cluster/container.

# Structs

No description provided by the author
No description provided by the author
URL is.
URLList is a list of applications.
URLSpec is.
URLStatus is Status of url.

# Type aliases

No description provided by the author