Documentation ¶
Index ¶
- func CreateOrUpdateEndpoints(eclient clientv1.EndpointsInterface, eps *v1.Endpoints) error
- func CreateOrUpdateService(sclient clientv1.ServiceInterface, svc *v1.Service) error
- func IsResourceNotFoundError(err error) bool
- func NewClusterConfig(host string, tlsInsecure bool, tlsConfig *rest.TLSClientConfig) (*rest.Config, error)
- func PodRunningAndReady(pod v1.Pod) (bool, error)
- func WaitForTPRReady(restClient rest.Interface, tprGroup, tprVersion, tprName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateEndpoints ¶
func CreateOrUpdateEndpoints(eclient clientv1.EndpointsInterface, eps *v1.Endpoints) error
func CreateOrUpdateService ¶
func CreateOrUpdateService(sclient clientv1.ServiceInterface, svc *v1.Service) error
func IsResourceNotFoundError ¶
func NewClusterConfig ¶
func PodRunningAndReady ¶
PodRunningAndReady returns whether a pod is running and each container has passed it's ready state.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.