_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c168000 | validation | // NewRfc2136Provider is a factory function for OpenStack rfc2136 providers | {
"resource": ""
} | ||
c168001 | validation | // Function for debug printing | {
"resource": ""
} | ||
c168002 | validation | // NewPDNSProvider initializes a new PowerDNS based Provider. | {
"resource": ""
} | ||
c168003 | validation | // mutateRecords takes a list of endpoints and creates, replaces or deletes them based on the changetype | {
"resource": ""
} | ||
c168004 | validation | // NewAWSSDProvider initializes a new AWS Route53 Auto Naming based Provider. | {
"resource": ""
} | ||
c168005 | validation | // newSdNamespaceFilter initialized AWS SD Namespace Filter based on given string config | {
"resource": ""
} | ||
c168006 | validation | // Records returns list of all endpoints. | {
"resource": ""
} | ||
c168007 | validation | // ApplyChanges applies Kubernetes changes in endpoints to AWS API | {
"resource": ""
} | ||
c168008 | validation | // ListNamespaces returns all namespaces matching defined namespace filter | {
"resource": ""
} | ||
c168009 | validation | // GetServiceDetail returns detail of given service | {
"resource": ""
} | ||
c168010 | validation | // ListInstancesByServiceID returns list of instances registered in given service. | {
"resource": ""
} | ||
c168011 | validation | // CreateService creates a new service in AWS API. Returns the created service. | {
"resource": ""
} | ||
c168012 | validation | // UpdateService updates the specified service with information from provided endpoint. | {
"resource": ""
} | ||
c168013 | validation | // RegisterInstance creates a new instance in given service. | {
"resource": ""
} | ||
c168014 | validation | // DeregisterInstance removes an instance from given service. | {
"resource": ""
} | ||
c168015 | validation | // Instance ID length is limited by AWS API to 64 characters. For longer strings SHA-256 hash will be used instead of
// the verbatim target to limit the length. | {
"resource": ""
} | ||
c168016 | validation | // returns list of all namespaces matching given hostname | {
"resource": ""
} | ||
c168017 | validation | // determine service routing policy based on endpoint type | {
"resource": ""
} | ||
c168018 | validation | // determine if a given hostname belongs to an AWS load balancer | {
"resource": ""
} | ||
c168019 | validation | // ResolveUpdate is invoked when dns name is already owned by "current" endpoint
// ResolveUpdate uses "current" record as base and updates it accordingly with new version of same resource
// if it doesn't exist then pick min | {
"resource": ""
} | ||
c168020 | validation | // less returns true if endpoint x is less than y | {
"resource": ""
} | ||
c168021 | validation | // NewDigitalOceanProvider initializes a new DigitalOcean DNS based Provider. | {
"resource": ""
} | ||
c168022 | validation | // newDigitalOceanChanges returns a collection of Changes based on the given records and action. | {
"resource": ""
} | ||
c168023 | validation | // getRecordID returns the ID from a record.
// the ID is mandatory to update and delete records | {
"resource": ""
} | ||
c168024 | validation | // digitalOceanchangesByZone separates a multi-zone change into a single change per zone. | {
"resource": ""
} | ||
c168025 | validation | // legacyEndpointsFromService tries to retrieve Endpoints from Services
// annotated with legacy annotations. | {
"resource": ""
} | ||
c168026 | validation | // legacyEndpointsFromMateService tries to retrieve Endpoints from Services
// annotated with Mate's annotation semantics. | {
"resource": ""
} | ||
c168027 | validation | // legacyEndpointsFromMoleculeService tries to retrieve Endpoints from Services
// annotated with Molecule Software's annotation semantics. | {
"resource": ""
} | ||
c168028 | validation | // getTargetsFromTargetAnnotation gets endpoints from optional "target" annotation.
// Returns empty endpoints array if none are found. | {
"resource": ""
} | ||
c168029 | validation | // suitableType returns the DNS resource record type suitable for the target.
// In this case type A for IPs and type CNAME for everything else. | {
"resource": ""
} | ||
c168030 | validation | // endpointsForHostname returns the endpoint objects for each host-target combination. | {
"resource": ""
} | ||
c168031 | validation | // NewDynProvider initializes a new Dyn Provider. | {
"resource": ""
} | ||
c168032 | validation | // endpointToRecord puts the Target of an Endpoint in the correct field of DataBlock.
// See DataBlock comments for more info | {
"resource": ""
} | ||
c168033 | validation | //Use SOAP to fetch all records with a single call | {
"resource": ""
} | ||
c168034 | validation | // the zones we are allowed to touch. Currently only exact matches are considered, not all
// zones with the given suffix | {
"resource": ""
} | ||
c168035 | validation | // replaceRecord replaces all existing records pf the given type for the Endpoint.DNSName with 1 API call | {
"resource": ""
} | ||
c168036 | validation | // commit commits all pending changes. It will always attempt to commit, if there are no | {
"resource": ""
} | ||
c168037 | validation | // Endpoints collects endpoints of all nested Sources and returns them in a single slice. | {
"resource": ""
} | ||
c168038 | validation | // factory function for the designateClientInterface | {
"resource": ""
} | ||
c168039 | validation | // copies environment variables to new names without overwriting existing values | {
"resource": ""
} | ||
c168040 | validation | // authenticate in OpenStack and obtain Designate service endpoint | {
"resource": ""
} | ||
c168041 | validation | // ForEachZone calls handler for each zone managed by the Designate | {
"resource": ""
} | ||
c168042 | validation | // ForEachRecordSet calls handler for each recordset in the given DNS zone | {
"resource": ""
} | ||
c168043 | validation | // CreateRecordSet creates recordset in the given DNS zone | {
"resource": ""
} | ||
c168044 | validation | // UpdateRecordSet updates recordset in the given DNS zone | {
"resource": ""
} | ||
c168045 | validation | // DeleteRecordSet deletes recordset in the given DNS zone | {
"resource": ""
} | ||
c168046 | validation | // NewDesignateProvider is a factory function for OpenStack designate providers | {
"resource": ""
} | ||
c168047 | validation | // converts domain names to FQDN | {
"resource": ""
} | ||
c168048 | validation | // converts domain name to FQDN | {
"resource": ""
} | ||
c168049 | validation | // returns ZoneID -> ZoneName mapping for zones that are managed by the Designate and match domain filter | {
"resource": ""
} | ||
c168050 | validation | // finds best suitable DNS zone for the hostname | {
"resource": ""
} | ||
c168051 | validation | // adds endpoint into recordset aggregation, loading original values from endpoint labels first | {
"resource": ""
} | ||
c168052 | validation | // NewIstioGatewaySource creates a new gatewaySource with the given config. | {
"resource": ""
} | ||
c168053 | validation | // filterByAnnotations filters a list of configs by a given annotation selector. | {
"resource": ""
} | ||
c168054 | validation | // endpointsFromGatewayConfig extracts the endpoints from an Istio Gateway Config object | {
"resource": ""
} | ||
c168055 | validation | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSEndpoint. | {
"resource": ""
} | ||
c168056 | validation | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSEndpointList. | {
"resource": ""
} | ||
c168057 | validation | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSEndpointSpec. | {
"resource": ""
} | ||
c168058 | validation | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSEndpointStatus. | {
"resource": ""
} | ||
c168059 | validation | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint. | {
"resource": ""
} | ||
c168060 | validation | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Labels. | {
"resource": ""
} | ||
c168061 | validation | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderSpecific. | {
"resource": ""
} | ||
c168062 | validation | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Targets. | {
"resource": ""
} | ||
c168063 | validation | // ensureTrailingDot ensures that the hostname receives a trailing dot if it hasn't already. | {
"resource": ""
} | ||
c168064 | validation | // NewNoopRegistry returns new NoopRegistry object | {
"resource": ""
} | ||
c168065 | validation | // ApplyChanges propagates changes to the dns provider | {
"resource": ""
} | ||
c168066 | validation | // Endpoints collects endpoints from its wrapped source and returns them without duplicates. | {
"resource": ""
} | ||
c168067 | validation | // NewFakeSource creates a new fakeSource with the given config. | {
"resource": ""
} | ||
c168068 | validation | // CreateTLSConfig creates tls.Config instance from TLS parameters passed in environment variables with the given prefix | {
"resource": ""
} | ||
c168069 | validation | // NewAWSSDRegistry returns implementation of registry for AWS SD | {
"resource": ""
} | ||
c168070 | validation | // ApplyChanges filters out records not owned the External-DNS, additionally it adds the required label
// inserted in the AWS SD instance as a CreateID field | {
"resource": ""
} | ||
c168071 | validation | // LoadOCIConfig reads and parses the OCI ExternalDNS config file at the given
// path. | {
"resource": ""
} | ||
c168072 | validation | // NewOCIProvider initialises a new OCI DNS based Provider. | {
"resource": ""
} | ||
c168073 | validation | // ApplyChanges applies a given set of changes to a given zone. | {
"resource": ""
} | ||
c168074 | validation | // newRecordOperation returns a RecordOperation based on a given endpoint. | {
"resource": ""
} | ||
c168075 | validation | // operationsByZone segments a slice of RecordOperations by their zone. | {
"resource": ""
} | ||
c168076 | validation | // NewAzureProvider creates a new Azure provider.
//
// Returns the provider or an error if a provider could not be created. | {
"resource": ""
} | ||
c168077 | validation | // getAccessToken retrieves Azure API access token. | {
"resource": ""
} | ||
c168078 | validation | // Make a boot2docker VM disk image. | {
"resource": ""
} | ||
c168079 | validation | // createDiskImage makes a disk image at dest with the given size in MB. If r is
// not nil, it will be read as a raw disk image to convert from. | {
"resource": ""
} | ||
c168080 | validation | // Save changes the configuration of the host-only network. | {
"resource": ""
} | ||
c168081 | validation | // SaveIPv4 changes the ipv4 configuration of the host-only network. | {
"resource": ""
} | ||
c168082 | validation | // createHostonlyAdapter creates a new host-only network. | {
"resource": ""
} | ||
c168083 | validation | // listHostOnlyAdapters gets all host-only adapters in a map keyed by NetworkName. | {
"resource": ""
} | ||
c168084 | validation | // removeOrphanDHCPServers removed the DHCP servers linked to no host-only adapter | {
"resource": ""
} | ||
c168085 | validation | // addHostOnlyDHCPServer adds a DHCP server to a host-only network. | {
"resource": ""
} | ||
c168086 | validation | // listDHCPServers lists all DHCP server settings in a map keyed by DHCP.NetworkName. | {
"resource": ""
} | ||
c168087 | validation | // checkIPNetCollision returns true if any host interfaces conflict with the host-only network mask passed as a parameter.
// This works with IPv4 or IPv6 ip addresses. | {
"resource": ""
} | ||
c168088 | validation | // NewDriverNotSupported creates a placeholder Driver that replaces
// a driver that is not supported on a given platform. eg fusion on linux. | {
"resource": ""
} | ||
c168089 | validation | // DriverName returns the name of the driver | {
"resource": ""
} | ||
c168090 | validation | // MustBeRunning will return an error if the machine is not in a running state. | {
"resource": ""
} | ||
c168091 | validation | // NewDriver creates and returns a new instance of the driver | {
"resource": ""
} | ||
c168092 | validation | // Support migrating single string Driver fields to slices. | {
"resource": ""
} | ||
c168093 | validation | // DockerClient creates a docker client for a given host. | {
"resource": ""
} | ||
c168094 | validation | // CreateContainer creates a docker container. | {
"resource": ""
} | ||
c168095 | validation | // cleanupResourceIfExists checks if the resource exists, if it does and it
// does not have any attached resources, then deletes the resource. If the
// resource does not exist or is not eligible for cleanup, returns nil. If an
// error is encountered, returns the error. | {
"resource": ""
} | ||
c168096 | validation | // NewDriver creates a Driver with the specified machineName and storePath. | {
"resource": ""
} | ||
c168097 | validation | // GetSSHUsername returns the username to use with SSH | {
"resource": ""
} | ||
c168098 | validation | // Start starts the existing VM instance. | {
"resource": ""
} | ||
c168099 | validation | // Stop stops the existing VM instance. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.