Documentation ¶
Index ¶
- func GetEndpointFromKubeObjects(c client.Client, obj types.NamespacedName) (endpoint.Endpoint, error)
- func NewEndpoint(namespacedName types.NamespacedName, labels map[string]string, ...) endpoint.Endpoint
- type IngressEndpoint
- func (i *IngressEndpoint) Create(c client.Client) error
- func (i *IngressEndpoint) ExposedPort() int32
- func (i *IngressEndpoint) Hostname() string
- func (i *IngressEndpoint) IsHealthy(c client.Client) (bool, error)
- func (i *IngressEndpoint) Labels() map[string]string
- func (i *IngressEndpoint) NamespacedName() types.NamespacedName
- func (i *IngressEndpoint) Port() int32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEndpointFromKubeObjects ¶
func GetEndpointFromKubeObjects(c client.Client, obj types.NamespacedName) (endpoint.Endpoint, error)
GetEndpointFromKubeObjects check if the required Ingress is created and healthy. It populates the fields for the Endpoint needed for transfer and transport objects.
func NewEndpoint ¶
Types ¶
type IngressEndpoint ¶
type IngressEndpoint struct {
// contains filtered or unexported fields
}
func (*IngressEndpoint) ExposedPort ¶
func (i *IngressEndpoint) ExposedPort() int32
func (*IngressEndpoint) Hostname ¶
func (i *IngressEndpoint) Hostname() string
func (*IngressEndpoint) IsHealthy ¶
func (i *IngressEndpoint) IsHealthy(c client.Client) (bool, error)
func (*IngressEndpoint) Labels ¶
func (i *IngressEndpoint) Labels() map[string]string
func (*IngressEndpoint) NamespacedName ¶
func (i *IngressEndpoint) NamespacedName() types.NamespacedName
func (*IngressEndpoint) Port ¶
func (i *IngressEndpoint) Port() int32
Click to show internal directories.
Click to hide internal directories.