_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c167900
validation
// isAWSLoadBalancer determines if a given hostname belongs to an AWS load balancer.
{ "resource": "" }
c167901
validation
// isAWSAlias determines if a given hostname belongs to an AWS Alias record by doing an reverse lookup.
{ "resource": "" }
c167902
validation
// canonicalHostedZone returns the matching canonical zone for a given hostname.
{ "resource": "" }
c167903
validation
// NewTXTRegistry returns new TXTRegistry object
{ "resource": "" }
c167904
validation
// Records returns the current records from the registry excluding TXT Records // If TXT records was created previously to indicate ownership its corresponding value // will be added to the endpoints Labels map
{ "resource": "" }
c167905
validation
// NewDomainFilter returns a new DomainFilter given a comma separated list of domains
{ "resource": "" }
c167906
validation
// Match checks whether a domain can be found in the DomainFilter.
{ "resource": "" }
c167907
validation
// IsConfigured returns true if DomainFilter is configured, false otherwise
{ "resource": "" }
c167908
validation
// InMemoryWithLogging injects logging when ApplyChanges is called
{ "resource": "" }
c167909
validation
// InMemoryInitZones pre-seeds the InMemoryProvider with given zones
{ "resource": "" }
c167910
validation
// NewInMemoryProvider returns InMemoryProvider DNS provider interface implementation
{ "resource": "" }
c167911
validation
// CreateZone adds new zone if not present
{ "resource": "" }
c167912
validation
// Zones returns filtered zones as specified by domain
{ "resource": "" }
c167913
validation
// validateChangeBatch validates that the changes passed to InMemory DNS provider is valid
{ "resource": "" }
c167914
validation
// NewZoneTagFilter returns a new ZoneTagFilter given a list of zone tags
{ "resource": "" }
c167915
validation
// Match checks whether a zone's set of tags matches the provided tag values
{ "resource": "" }
c167916
validation
// NewIngressSource creates a new ingressSource with the given config.
{ "resource": "" }
c167917
validation
// Endpoints returns endpoint objects for each host-target combination that should be processed. // Retrieves all ingress resources on all namespaces
{ "resource": "" }
c167918
validation
// filterByAnnotations filters a list of ingresses by a given annotation selector.
{ "resource": "" }
c167919
validation
// endpointsFromIngress extracts the endpoints from ingress object
{ "resource": "" }
c167920
validation
// NewLabelsFromString constructs endpoints labels from a provided format string // if heritage set to another value is found then error is returned // no heritage automatically assumes is not owned by external-dns and returns invalidHeritage error
{ "resource": "" }
c167921
validation
// Serialize transforms endpoints labels into a external-dns recognizable format string // withQuotes adds additional quotes
{ "resource": "" }
c167922
validation
// KubeClient generates a kube client if it was not created before
{ "resource": "" }
c167923
validation
// IstioClient generates an istio client if it was not created before
{ "resource": "" }
c167924
validation
// ByNames returns multiple Sources given multiple names.
{ "resource": "" }
c167925
validation
// BuildWithConfig allows to generate a Source implementation from the shared config
{ "resource": "" }
c167926
validation
// NewKubeClient returns a new Kubernetes client object. It takes a Config and // uses KubeMaster and KubeConfig attributes to connect to the cluster. If // KubeConfig isn't provided it defaults to using the recommended default.
{ "resource": "" }
c167927
validation
// NewCRDClientForAPIVersionKind return rest client for the given apiVersion and kind of the CRD
{ "resource": "" }
c167928
validation
// NewCRDSource creates a new crdSource with the given config.
{ "resource": "" }
c167929
validation
// Match checks whether a zone matches the zone type that's filtered for.
{ "resource": "" }
c167930
validation
// NewInfobloxProvider creates a new Infoblox provider.
{ "resource": "" }
c167931
validation
// ApplyChanges applies the given changes.
{ "resource": "" }
c167932
validation
// NewServiceSource creates a new serviceSource with the given config.
{ "resource": "" }
c167933
validation
// Endpoints returns endpoint objects for each service that should be processed.
{ "resource": "" }
c167934
validation
// endpointsFromService extracts the endpoints from a service object
{ "resource": "" }
c167935
validation
// filterByAnnotations filters a list of services by a given annotation selector.
{ "resource": "" }
c167936
validation
// filterByServiceType filters services according their types
{ "resource": "" }
c167937
validation
// Calculate computes the actions needed to move current state towards desired // state. It then passes those changes to the current policy for further // processing. It returns a copy of Plan with the changes populated.
{ "resource": "" }
c167938
validation
// NewExoscaleProvider returns ExoscaleProvider DNS provider interface implementation
{ "resource": "" }
c167939
validation
// ExoscaleWithLogging injects logging when ApplyChanges is called
{ "resource": "" }
c167940
validation
// NewLinodeProvider initializes a new Linode DNS based Provider.
{ "resource": "" }
c167941
validation
// NewTargets is a convenience method to create a new Targets object from a vararg of strings
{ "resource": "" }
c167942
validation
// Same compares to Targets and returns true if they are completely identical
{ "resource": "" }
c167943
validation
// IsLess should fulfill the requirement to compare two targets and chosse the 'lesser' one. // In the past target was a simple string so simple string comparison could be used. Now we define 'less' // as either being the shorter list of targets or where the first entry is less. // FIXME We really need to define under ...
{ "resource": "" }
c167944
validation
// NewEndpoint initialization method to be used to create an endpoint
{ "resource": "" }
c167945
validation
// NewEndpointWithTTL initialization method to be used to create an endpoint with a TTL struct
{ "resource": "" }
c167946
validation
// GetProviderSpecificProperty returns a ProviderSpecificProperty if the property exists.
{ "resource": "" }
c167947
validation
// Match checks whether a zone matches one of the provided zone ids
{ "resource": "" }
c167948
validation
// ValidateConfig performs validation on the Config object
{ "resource": "" }
c167949
validation
// CreateRecord wraps the Create method of the API's Record service
{ "resource": "" }
c167950
validation
// DeleteRecord wraps the Delete method of the API's Record service
{ "resource": "" }
c167951
validation
// UpdateRecord wraps the Update method of the API's Record service
{ "resource": "" }
c167952
validation
// GetZone wraps the Get method of the API's Zones service
{ "resource": "" }
c167953
validation
// ListZones wraps the List method of the API's Zones service
{ "resource": "" }
c167954
validation
// Records returns the endpoints this provider knows about
{ "resource": "" }
c167955
validation
// ns1BuildRecord returns a dns.Record for a change set
{ "resource": "" }
c167956
validation
// ns1SubmitChanges takes an array of changes and sends them to NS1
{ "resource": "" }
c167957
validation
// newNS1Changes returns a collection of Changes based on the given records and action.
{ "resource": "" }
c167958
validation
// ns1ChangesByZone separates a multi-zone change into a single change per zone.
{ "resource": "" }
c167959
validation
// allLogLevelsAsStrings returns all logrus levels as a list of strings
{ "resource": "" }
c167960
validation
// Apply applies the upsert-only policy which strips out any deletions.
{ "resource": "" }
c167961
validation
// RunOnce runs a single iteration of a reconciliation loop.
{ "resource": "" }
c167962
validation
// Run runs RunOnce in a loop with a delay until stopChan receives a value.
{ "resource": "" }
c167963
validation
// NewCloudFlareProvider initializes a new CloudFlare DNS based Provider.
{ "resource": "" }
c167964
validation
// newCloudFlareChanges returns a collection of Changes based on the given records and action.
{ "resource": "" }
c167965
validation
// Returns the account ID given dnsimple credentials
{ "resource": "" }
c167966
validation
// NewDnsimpleProvider initializes a new Dnsimple based provider
{ "resource": "" }
c167967
validation
// Returns a list of filtered Zones
{ "resource": "" }
c167968
validation
// Records retuns a list of endpoints in a given zone
{ "resource": "" }
c167969
validation
// newDnsimpleChange initializes a new change to dns records
{ "resource": "" }
c167970
validation
// newDnsimpleChanges returns a slice of changes based on given action and record
{ "resource": "" }
c167971
validation
// submitChanges takes a zone and a collection of changes and makes all changes from the collection
{ "resource": "" }
c167972
validation
// Returns the record ID for a given record name and zone
{ "resource": "" }
c167973
validation
// dnsimpleSuitableZone returns the most suitable zone for a given hostname and a set of zones.
{ "resource": "" }
c167974
validation
// CreateRecords creates records for a given slice of endpoints
{ "resource": "" }
c167975
validation
// DeleteRecords deletes records for a given slice of endpoints
{ "resource": "" }
c167976
validation
// UpdateRecords updates records for a given slice of endpoints
{ "resource": "" }
c167977
validation
// ApplyChanges applies a given set of changes
{ "resource": "" }
c167978
validation
// NewGoogleProvider initializes a new Google CloudDNS based Provider.
{ "resource": "" }
c167979
validation
// Records returns the list of records in all relevant zones.
{ "resource": "" }
c167980
validation
// newFilteredRecords returns a collection of RecordSets based on the given endpoints and domainFilter.
{ "resource": "" }
c167981
validation
// submitChange takes a zone and a Change and sends it to Google.
{ "resource": "" }
c167982
validation
// separateChange separates a multi-zone change into a single change per zone.
{ "resource": "" }
c167983
validation
// newRecord returns a RecordSet based on the given endpoint.
{ "resource": "" }
c167984
validation
// NewRcodeZeroProvider creates a new RcodeZero Anycast DNS provider. // // Returns the provider or an error if a provider could not be created.
{ "resource": "" }
c167985
validation
// Zones returns filtered zones if filter is set
{ "resource": "" }
c167986
validation
// Records returns resource records // // Decrypts TXT records if TXT-Encrypt flag is set and key is provided
{ "resource": "" }
c167987
validation
// Helper function to submit changes. // // Changes are submitted by change type.
{ "resource": "" }
c167988
validation
// NewRcodezeroChanges returns a RcodeZero specific array with rrset change objects.
{ "resource": "" }
c167989
validation
// NewRcodezeroChange returns a RcodeZero specific rrset change object.
{ "resource": "" }
c167990
validation
// NewAlibabaCloudProvider creates a new Alibaba Cloud provider. // // Returns the provider or an error if a provider could not be created.
{ "resource": "" }
c167991
validation
// recordsForDNS gets the current records. // // Returns the current records or an error if the operation failed.
{ "resource": "" }
c167992
validation
// recordsForPrivateZone gets the current records. // // Returns the current records or an error if the operation failed.
{ "resource": "" }
c167993
validation
// SaveService persists service data into etcd
{ "resource": "" }
c167994
validation
// DeleteService deletes service record from etcd
{ "resource": "" }
c167995
validation
// loads TLS artifacts and builds tls.Clonfig object
{ "resource": "" }
c167996
validation
// builds etcd client config depending on connection scheme and TLS parameters
{ "resource": "" }
c167997
validation
//newETCDClient is an etcd client constructor
{ "resource": "" }
c167998
validation
// NewCoreDNSProvider is a CoreDNS provider constructor
{ "resource": "" }
c167999
validation
// Records returns all DNS records found in CoreDNS etcd backend. Depending on the record fields // it may be mapped to one or two records of type A, CNAME, TXT, A+TXT, CNAME+TXT
{ "resource": "" }