Documentation ¶
Index ¶
- func NewController(r *Interface) *controller
- type ClusterStatus
- type DNSRecord
- type Interface
- func (i *Interface) GetDNSRecords(namespace, name, clusterID, hostname string) (records []DNSRecord, isHeadless bool, found bool)
- func (i *Interface) PutEndpointSlice(endpointSlice *discovery.EndpointSlice) bool
- func (i *Interface) PutServiceImport(serviceImport *mcsv1a1.ServiceImport)
- func (i *Interface) RemoveEndpointSlice(endpointSlice *discovery.EndpointSlice)
- func (i *Interface) RemoveServiceImport(serviceImport *mcsv1a1.ServiceImport)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(r *Interface) *controller
Types ¶
type ClusterStatus ¶
type DNSRecord ¶
type DNSRecord struct { IP string Ports []mcsv1a1.ServicePort HostName string ClusterName string }
type Interface ¶
type Interface struct {
// contains filtered or unexported fields
}
func (*Interface) GetDNSRecords ¶
func (*Interface) PutEndpointSlice ¶
func (i *Interface) PutEndpointSlice(endpointSlice *discovery.EndpointSlice) bool
func (*Interface) PutServiceImport ¶
func (i *Interface) PutServiceImport(serviceImport *mcsv1a1.ServiceImport)
func (*Interface) RemoveEndpointSlice ¶
func (i *Interface) RemoveEndpointSlice(endpointSlice *discovery.EndpointSlice)
func (*Interface) RemoveServiceImport ¶
func (i *Interface) RemoveServiceImport(serviceImport *mcsv1a1.ServiceImport)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.