k8s

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const ApiVersion = "externaldns.k8s.io/v1alpha1"
View Source
const Kind = "DNSEndpoint"

Variables

This section is empty.

Functions

func GetConfig

func GetConfig(cfg config.K8sCfg) (*rest.Config, error)

Types

type ATypeEndPoints

type ATypeEndPoints struct {
	Name   string
	ATypes []string
}

type DNSEndpointApi

type DNSEndpointApi struct {
	// contains filtered or unexported fields
}

func MakeDNSEndpointApi

func MakeDNSEndpointApi(cfg config.K8sCfg, k8sConfig *rest.Config) (*DNSEndpointApi, error)

func (*DNSEndpointApi) DeleteEndpoint

func (dn *DNSEndpointApi) DeleteEndpoint(name string) (runtime.Object, error)

func (*DNSEndpointApi) GetEndpoint

func (dn *DNSEndpointApi) GetEndpoint(name string) (*endpoint.DNSEndpoint, error)

func (*DNSEndpointApi) List

func (dn *DNSEndpointApi) List(opts *metav1.ListOptions) (result *endpoint.DNSEndpointList, err error)

func (*DNSEndpointApi) PatchEndpoint

func (dn *DNSEndpointApi) PatchEndpoint(atyp ATypeEndPoints) (runtime.Object, error)

func (*DNSEndpointApi) PostEndpoint

func (dn *DNSEndpointApi) PostEndpoint(atyp ATypeEndPoints) (runtime.Object, error)

func (*DNSEndpointApi) ReadEndPoints

func (dn *DNSEndpointApi) ReadEndPoints() (*endpoint.DNSEndpointList, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL