SYMBOL INDEX (1320 symbols across 129 files) FILE: docs/how-to/examples/charge-service/server.py class Controller (line 9) | class Controller(BaseHTTPRequestHandler): method sync (line 10) | def sync(self, parent, children): method do_POST (line 75) | def do_POST(self): class ChargeService (line 86) | class ChargeService(object): method __init__ (line 94) | def __init__(self): method start_charging (line 97) | def start_charging(self): method get_progress (line 102) | def get_progress(self, request_id): FILE: docs/how-to/examples/greeter-service/client/client.cc class GreeterClient (line 35) | class GreeterClient { method GreeterClient (line 37) | GreeterClient(std::shared_ptr channel) method SayHello (line 42) | std::string SayHello(const std::string& user) { function main (line 71) | int main(int argc, char** argv) { FILE: docs/how-to/examples/greeter-service/server/server.cc class GreeterServiceImpl (line 43) | class GreeterServiceImpl final : public Greeter::Service { method Status (line 44) | Status SayHello(ServerContext* context, const HelloRequest* request, function RunServer (line 54) | void RunServer() { function main (line 78) | int main(int argc, char** argv) { FILE: docs/how-to/examples/hello-service/server/server.py class MyRequestHandler (line 6) | class MyRequestHandler(server.BaseHTTPRequestHandler): method do_GET (line 7) | def do_GET(self): function main (line 15) | def main(): FILE: src/go/cmd/app-rollout-controller/main.go function main (line 53) | func main() { function runController (line 78) | func runController(ctx context.Context, cfg *rest.Config, params map[str... FILE: src/go/cmd/chart-assignment-controller/main.go function main (line 56) | func main() { function runController (line 104) | func runController(ctx context.Context, cfg *rest.Config, cluster string... FILE: src/go/cmd/cr-syncer-auth-webhook/main.go constant verifyJWTEndpoint (line 53) | verifyJWTEndpoint = "/apis/core.token-vendor/v1/jwt.verify" constant legacyTokenPrefix (line 55) | legacyTokenPrefix = "ya29." type handlers (line 58) | type handlers struct method health (line 68) | func (h *handlers) health(w http.ResponseWriter, r *http.Request) { method verifyJWT (line 74) | func (h *handlers) verifyJWT(encodedJWT string) error { method resourceIsFiltered (line 103) | func (h *handlers) resourceIsFiltered(groupKind string) bool { method validateRequest (line 111) | func (h *handlers) validateRequest(r *http.Request, robotName string) ... method auth (line 146) | func (h *handlers) auth(w http.ResponseWriter, r *http.Request) { function newHandlers (line 62) | func newHandlers() handlers { function main (line 186) | func main() { FILE: src/go/cmd/cr-syncer-auth-webhook/request.go constant robotNameSelectorPrefix (line 21) | robotNameSelectorPrefix = "cloudrobotics.com/robot-name=" type incomingRequest (line 24) | type incomingRequest struct function parseURL (line 37) | func parseURL(urlString string) (*incomingRequest, error) { FILE: src/go/cmd/cr-syncer-auth-webhook/request_test.go function TestParseURL (line 9) | func TestParseURL(t *testing.T) { function TestParseURLErrors (line 76) | func TestParseURLErrors(t *testing.T) { FILE: src/go/cmd/cr-syncer/health.go type handler (line 27) | type handler struct method ServeHTTP (line 36) | func (h *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { function newHealthHandler (line 32) | func newHealthHandler(ctx context.Context, client dynamic.Interface) htt... FILE: src/go/cmd/cr-syncer/health_test.go function TestHealthy (line 16) | func TestHealthy(t *testing.T) { function TestHealthyForBadRequest (line 35) | func TestHealthyForBadRequest(t *testing.T) { function TestUnhealthy (line 58) | func TestUnhealthy(t *testing.T) { FILE: src/go/cmd/cr-syncer/main.go constant resyncPeriod (line 82) | resyncPeriod = 5 * time.Minute function init (line 101) | func init() { type PrefixingRoundtripper (line 140) | type PrefixingRoundtripper struct method RoundTrip (line 145) | func (pr *PrefixingRoundtripper) RoundTrip(r *http.Request) (*http.Res... type ctxRoundTripper (line 157) | type ctxRoundTripper struct method RoundTrip (line 162) | func (r *ctxRoundTripper) RoundTrip(req *http.Request) (*http.Response... function restConfigForRemote (line 167) | func restConfigForRemote(ctx context.Context) (*rest.Config, error) { type CrdChange (line 207) | type CrdChange struct function streamCrds (line 212) | func streamCrds(done <-chan struct{}, clientset crdclientset.Interface, ... function main (line 238) | func main() { function mustNewTagKey (line 336) | func mustNewTagKey(s string) tag.Key { FILE: src/go/cmd/cr-syncer/main_test.go function TestStreamCrdsSeesPreexistingObject (line 31) | func TestStreamCrdsSeesPreexistingObject(t *testing.T) { function TestStreamCrdsSeesAdditionAndDeletion (line 64) | func TestStreamCrdsSeesAdditionAndDeletion(t *testing.T) { function TestStreamCrdsSeesUpdate (line 102) | func TestStreamCrdsSeesUpdate(t *testing.T) { FILE: src/go/cmd/cr-syncer/syncer.go constant annotationStatusSubtree (line 45) | annotationStatusSubtree = "cr-syncer.cloudrobotics.com/status-subtree" constant annotationFilterByRobotName (line 46) | annotationFilterByRobotName = "cr-syncer.cloudrobotics.com/filter-by-rob... constant annotationSpecSource (line 47) | annotationSpecSource = "cr-syncer.cloudrobotics.com/spec-source" constant labelRobotName (line 50) | labelRobotName = "cloudrobotics.com/robot-name" constant annotationResourceVersion (line 56) | annotationResourceVersion = "cr-syncer.cloudrobotics.com/remote-resource... constant cloudClusterName (line 58) | cloudClusterName = "cloud" function init (line 80) | func init() { function removeFinalizer (line 104) | func removeFinalizer(ctx context.Context, client dynamic.ResourceInterfa... type crSyncer (line 131) | type crSyncer struct method newInformer (line 237) | func (s *crSyncer) newInformer(client dynamic.ResourceInterface) cache... method startInformers (line 257) | func (s *crSyncer) startInformers() error { method stopInformers (line 278) | func (s *crSyncer) stopInformers() { method restartInformers (line 285) | func (s *crSyncer) restartInformers() error { method setupInformerHandlers (line 292) | func (s *crSyncer) setupInformerHandlers( method processNextWorkItem (line 322) | func (s *crSyncer) processNextWorkItem( method run (line 373) | func (s *crSyncer) run() { method stop (line 405) | func (s *crSyncer) stop() { method syncDownstream (line 413) | func (s *crSyncer) syncDownstream(key string) error { method syncUpstream (line 521) | func (s *crSyncer) syncUpstream(key string) error { function getStorageVersionIndex (line 156) | func getStorageVersionIndex(crd crdtypes.CustomResourceDefinition) (int,... function newCRSyncer (line 165) | func newCRSyncer( function isNotFoundError (line 617) | func isNotFoundError(err error) bool { type apiError (line 622) | type apiError struct method Error (line 627) | func (e apiError) Error() string { function newAPIErrorf (line 631) | func newAPIErrorf(o *unstructured.Unstructured, format string, args ...i... function keyFunc (line 637) | func keyFunc(obj interface{}) (string, bool) { function setAnnotation (line 646) | func setAnnotation(o *unstructured.Unstructured, key, value string) { function deleteAnnotation (line 655) | func deleteAnnotation(o *unstructured.Unstructured, key string) { function copyStatus (line 668) | func copyStatus(dst, src *unstructured.Unstructured) { FILE: src/go/cmd/cr-syncer/syncer_test.go function filterReadActions (line 38) | func filterReadActions(actions []k8stest.Action) (ret []k8stest.Action) { type fixture (line 48) | type fixture struct method newCRSyncer (line 66) | func (f *fixture) newCRSyncer(crd crdtypes.CustomResourceDefinition, r... method addLocalObjects (line 107) | func (f *fixture) addLocalObjects(objs ...runtime.Object) { method addRemoteObjects (line 111) | func (f *fixture) addRemoteObjects(objs ...runtime.Object) { method expectLocalActions (line 115) | func (f *fixture) expectLocalActions(as ...k8stest.Action) { method expectRemoteActions (line 119) | func (f *fixture) expectRemoteActions(as ...k8stest.Action) { method verifyWriteActions (line 123) | func (f *fixture) verifyWriteActions() { function newFixture (line 62) | func newFixture(t *testing.T) *fixture { function testCRD (line 139) | func testCRD(scope crdtypes.ResourceScope) crdtypes.CustomResourceDefini... function newTestCR (line 166) | func newTestCR(name string, spec, status interface{}) *unstructured.Unst... function newClusterScopedTestCR (line 181) | func newClusterScopedTestCR(name string, spec, status interface{}) *unst... function TestSyncUpstream_createSpec (line 194) | func TestSyncUpstream_createSpec(t *testing.T) { function TestSyncClusterScopedCRUpstream_createSpec (line 218) | func TestSyncClusterScopedCRUpstream_createSpec(t *testing.T) { function TestSyncUpstream_updateSpec (line 242) | func TestSyncUpstream_updateSpec(t *testing.T) { function TestSyncUpstream_propagateDelete (line 269) | func TestSyncUpstream_propagateDelete(t *testing.T) { function TestSyncDownstream_deleteOrphan (line 297) | func TestSyncDownstream_deleteOrphan(t *testing.T) { function TestSyncDownstream_statusFull (line 321) | func TestSyncDownstream_statusFull(t *testing.T) { function TestSyncDownstream_statusWithObservedGeneration (line 351) | func TestSyncDownstream_statusWithObservedGeneration(t *testing.T) { function TestSyncDownstream_statusSubtree (line 390) | func TestSyncDownstream_statusSubtree(t *testing.T) { function TestSyncDownstream_downstreamNotFound (line 430) | func TestSyncDownstream_downstreamNotFound(t *testing.T) { function TestCRSyncer_populateWorkqueue (line 476) | func TestCRSyncer_populateWorkqueue(t *testing.T) { function TestCRSyncer_populateWorkqueueWithFilter (line 517) | func TestCRSyncer_populateWorkqueueWithFilter(t *testing.T) { function channelFromQueue (line 555) | func channelFromQueue(t *testing.T, queue workqueue.Interface, inf cache... FILE: src/go/cmd/gcr-credential-refresher/main.go constant updateInterval (line 34) | updateInterval = 10 * time.Minute function updateCredentials (line 37) | func updateCredentials(ctx context.Context) error { function main (line 64) | func main() { FILE: src/go/cmd/http-relay-client/client/client.go type ClientConfig (line 66) | type ClientConfig struct type RelayServerError (line 97) | type RelayServerError struct method Error (line 105) | func (e *RelayServerError) Error() string { function NewRelayServerError (line 101) | func NewRelayServerError(msg string) error { function DefaultClientConfig (line 109) | func DefaultClientConfig() ClientConfig { type Client (line 148) | type Client struct method Start (line 158) | func (c *Client) Start() { method getRequest (line 268) | func (c *Client) getRequest(remote *http.Client, relayURL string) (*pb... method createBackendRequest (line 317) | func (c *Client) createBackendRequest(breq *pb.HttpRequest) (*http.Req... method postResponse (line 402) | func (c *Client) postResponse(remote *http.Client, br *pb.HttpResponse... method streamBytes (line 437) | func (c *Client) streamBytes(id string, in io.ReadCloser, out chan<- [... method buildResponses (line 470) | func (c *Client) buildResponses(in <-chan []byte, resp *pb.HttpRespons... method postErrorResponse (line 517) | func (c *Client) postErrorResponse(remote *http.Client, id string, mes... method streamToBackend (line 539) | func (c *Client) streamToBackend(remote *http.Client, id string, backe... method handleRequest (line 594) | func (c *Client) handleRequest(remote *http.Client, local *http.Client... method localProxy (line 720) | func (c *Client) localProxy(remote, local *http.Client) error { method localProxyWorker (line 763) | func (c *Client) localProxyWorker(remote, local *http.Client) { method buildRelayURL (line 774) | func (c *Client) buildRelayURL() string { function NewClient (line 152) | func NewClient(config ClientConfig) *Client { function addServiceName (line 263) | func addServiceName(span *trace.Span) { function marshalHeader (line 301) | func marshalHeader(h *http.Header) []*pb.HttpHeader { function extractRequestHeader (line 311) | func extractRequestHeader(breq *pb.HttpRequest, header *http.Header) { function makeBackendRequest (line 362) | func makeBackendRequest(ctx context.Context, local *http.Client, req *ht... FILE: src/go/cmd/http-relay-client/client/client_test.go function assertMocksDoneWithin (line 30) | func assertMocksDoneWithin(t *testing.T, d time.Duration) { function TestAssertMocksDoneWithin_SucceedsWhenMocksAreDone (line 42) | func TestAssertMocksDoneWithin_SucceedsWhenMocksAreDone(t *testing.T) { function TestAssertMocksDoneWithin_FailsWhenMocksNotDone (line 46) | func TestAssertMocksDoneWithin_FailsWhenMocksNotDone(t *testing.T) { function TestLocalProxy (line 56) | func TestLocalProxy(t *testing.T) { function TestBackendError (line 114) | func TestBackendError(t *testing.T) { function TestServerTimeout (line 183) | func TestServerTimeout(t *testing.T) { function TestBuildResponsesTimesOut (line 214) | func TestBuildResponsesTimesOut(t *testing.T) { FILE: src/go/cmd/http-relay-client/main.go function init (line 45) | func init() { function main (line 97) | func main() { FILE: src/go/cmd/http-relay-server/main.go function main (line 48) | func main() { FILE: src/go/cmd/http-relay-server/server/broker.go function init (line 69) | func init() { type pendingResponse (line 77) | type pendingResponse struct type RelayClientUnavailableError (line 100) | type RelayClientUnavailableError struct method Error (line 104) | func (e *RelayClientUnavailableError) Error() string { type broker (line 114) | type broker struct method Healthy (line 129) | func (r *broker) Healthy() error { method RelayRequest (line 137) | func (r *broker) RelayRequest(server string, request *pb.HttpRequest) ... method StopRelayRequest (line 182) | func (r *broker) StopRelayRequest(requestId string) { method GetRequest (line 190) | func (r *broker) GetRequest(ctx context.Context, server, path string) ... method GetRequestStream (line 217) | func (r *broker) GetRequestStream(id string) ([]byte, bool) { method PutRequestStream (line 237) | func (r *broker) PutRequestStream(id string, data []byte) bool { method SendResponse (line 260) | func (r *broker) SendResponse(resp *pb.HttpResponse) error { method ReapInactiveRequests (line 317) | func (r *broker) ReapInactiveRequests(threshold time.Time) { function newBroker (line 120) | func newBroker() *broker { FILE: src/go/cmd/http-relay-server/server/broker_test.go constant idOne (line 32) | idOne = "idOne" constant idTwo (line 33) | idTwo = "idTwo" constant idThree (line 34) | idThree = "idThree" constant unknownID (line 35) | unknownID = "unknownID" type brokerConn (line 43) | type brokerConn struct method runSender (line 53) | func (bt *brokerConn) runSender(t *testing.T, b *broker, s string, m s... method bakeRequest (line 70) | func (bt *brokerConn) bakeRequest(b *broker, s string) { method runReceiver (line 80) | func (bt *brokerConn) runReceiver(t *testing.T, b *broker, s string, w... method runSenderStream (line 94) | func (bt *brokerConn) runSenderStream(t *testing.T, b *broker, s strin... method runReceiverStream (line 117) | func (bt *brokerConn) runReceiverStream(t *testing.T, b *broker, s str... function newBrokerConn (line 47) | func newBrokerConn() brokerConn { function TestNormalCase (line 137) | func TestNormalCase(t *testing.T) { function TestResponseStream (line 155) | func TestResponseStream(t *testing.T) { function TestMissingId (line 167) | func TestMissingId(t *testing.T) { function TestDuplicateId (line 175) | func TestDuplicateId(t *testing.T) { function TestRequestStream (line 190) | func TestRequestStream(t *testing.T) { function TestRequestStreamUnknownID (line 220) | func TestRequestStreamUnknownID(t *testing.T) { function TestTimeout (line 230) | func TestTimeout(t *testing.T) { function TestReapWhileSendingResponse (line 259) | func TestReapWhileSendingResponse(t *testing.T) { function TestReapWhileSendingRequest (line 307) | func TestReapWhileSendingRequest(t *testing.T) { FILE: src/go/cmd/http-relay-server/server/server.go constant clientPrefix (line 48) | clientPrefix = "/client/" constant cleanShutdownTimeout (line 52) | cleanShutdownTimeout = 20 * time.Second constant debugLogs (line 54) | debugLogs = false constant DefaultPort (line 57) | DefaultPort = 80 constant DefaultBlockSize (line 59) | DefaultBlockSize = 10 * 1024 constant DefaultInactiveRequestTimeout (line 61) | DefaultInactiveRequestTimeout = 60 * time.Second type Config (line 64) | type Config struct type Server (line 73) | type Server struct method responseFilter (line 164) | func (s *Server) responseFilter(backendCtx backendContext, in <-chan *... method health (line 223) | func (s *Server) health(w http.ResponseWriter, r *http.Request) { method bidirectionalStream (line 241) | func (s *Server) bidirectionalStream(backendCtx backendContext, w http... method readRequestBody (line 299) | func (s *Server) readRequestBody(ctx context.Context, r *http.Request)... method createBackendRequest (line 306) | func (s *Server) createBackendRequest(backendCtx backendContext, r *ht... method relayRequest (line 327) | func (s *Server) relayRequest(ctx context.Context, backendCtx backendC... method waitForFirstResponseAndHandleSwitching (line 339) | func (s *Server) waitForFirstResponseAndHandleSwitching(ctx context.Co... method userClientRequest (line 366) | func (s *Server) userClientRequest(w http.ResponseWriter, r *http.Requ... method serverRequest (line 463) | func (s *Server) serverRequest(w http.ResponseWriter, r *http.Request) { method serverRequestStream (line 492) | func (s *Server) serverRequestStream(w http.ResponseWriter, r *http.Re... method serverResponse (line 515) | func (s *Server) serverResponse(w http.ResponseWriter, r *http.Request) { method Start (line 542) | func (s *Server) Start() { function NewServer (line 78) | func NewServer(conf Config) *Server { function createId (line 100) | func createId() string { function marshalHeader (line 107) | func marshalHeader(h *http.Header) []*pb.HttpHeader { function unmarshalHeader (line 117) | func unmarshalHeader(w http.ResponseWriter, protoHeader []*pb.HttpHeader) { function addServiceName (line 123) | func addServiceName(span *trace.Span) { function extractBackendNameAndPath (line 128) | func extractBackendNameAndPath(r *http.Request) (backendName string, pat... type responseChunk (line 155) | type responseChunk struct type backendContext (line 205) | type backendContext struct function newBackendContext (line 211) | func newBackendContext(r *http.Request) (*backendContext, error) { FILE: src/go/cmd/http-relay-server/server/server_test.go function checkResponse (line 34) | func checkResponse(t *testing.T, resp *http.Response, wantStatus int, wa... function TestClientHandler (line 48) | func TestClientHandler(t *testing.T) { function TestClientHandlerWithChunkedResponse (line 116) | func TestClientHandlerWithChunkedResponse(t *testing.T) { function TestClientBadRequest (line 189) | func TestClientBadRequest(t *testing.T) { function nonRepeatingByteArray (line 236) | func nonRepeatingByteArray(n int) []byte { function TestRequestStreamHandler (line 246) | func TestRequestStreamHandler(t *testing.T) { function TestServerRequestResponseHandler (line 304) | func TestServerRequestResponseHandler(t *testing.T) { function TestServerResponseHandlerWithInvalidRequestID (line 376) | func TestServerResponseHandlerWithInvalidRequestID(t *testing.T) { function TestRequestToUnknownBackendResponse503 (line 404) | func TestRequestToUnknownBackendResponse503(t *testing.T) { FILE: src/go/cmd/hw-exporter/main.go type pciCollector (line 30) | type pciCollector struct method Describe (line 46) | func (c *pciCollector) Describe(ch chan<- *prometheus.Desc) { method Collect (line 60) | func (c *pciCollector) Collect(ch chan<- prometheus.Metric) { function newPciCollector (line 34) | func newPciCollector() *pciCollector { function getNameOrID (line 51) | func getNameOrID(name, id string) string { function main (line 81) | func main() { FILE: src/go/cmd/hw-exporter/main_test.go function TestPciCollector_Collect (line 42) | func TestPciCollector_Collect(t *testing.T) { FILE: src/go/cmd/metadata-server/coredns.go constant configMapName (line 29) | configMapName = "coredns" constant configMapNamespace (line 30) | configMapNamespace = "kube-system" constant corefileName (line 31) | corefileName = "Corefile" constant zoneStart (line 32) | zoneStart = ".:53 {\n" constant zoneStartPatched (line 33) | zoneStartPatched = `.:53 { constant hostsStart (line 39) | hostsStart = "hosts {\n" constant hostsStartPatched (line 40) | hostsStartPatched = `hosts hosts metadata.google.internal host.minikube.... function getCorefile (line 50) | func getCorefile(ctx context.Context, k8s kubernetes.Interface) (*v1.Con... function writeCorefile (line 64) | func writeCorefile(ctx context.Context, k8s kubernetes.Interface, cm *v1... function PatchCorefile (line 71) | func PatchCorefile(ctx context.Context, k8s kubernetes.Interface) error { function RevertCorefile (line 93) | func RevertCorefile(ctx context.Context, k8s kubernetes.Interface) error { FILE: src/go/cmd/metadata-server/coredns_test.go constant defaultCorefileBeforeMinikube121 (line 30) | defaultCorefileBeforeMinikube121 = `.:53 { constant modifiedCorefileBeforeMinikube121 (line 34) | modifiedCorefileBeforeMinikube121 = `.:53 { constant defaultCorefileAfterMinikube121 (line 42) | defaultCorefileAfterMinikube121 = `.:53 { constant modifiedCorefileAfterMinikube121 (line 50) | modifiedCorefileAfterMinikube121 = `.:53 { constant defaultCorefileUnexpected (line 59) | defaultCorefileUnexpected = `.:53 { constant differentIp (line 67) | differentIp = "1.2.3.456" function createCorefile (line 70) | func createCorefile(t *testing.T, k8s kubernetes.Interface, corefileData... function readCorefile (line 86) | func readCorefile(t *testing.T, k8s kubernetes.Interface) string { function TestPatchCorefile (line 100) | func TestPatchCorefile(t *testing.T) { function TestPatchCorefileUnexpected (line 163) | func TestPatchCorefileUnexpected(t *testing.T) { FILE: src/go/cmd/metadata-server/main.go function detectChangesToFile (line 54) | func detectChangesToFile(filename string) <-chan struct{} { function main (line 88) | func main() { FILE: src/go/cmd/metadata-server/main_test.go constant writeTimeout (line 24) | writeTimeout = 100 * time.Millisecond function TestDetectsDeletionOfFile (line 27) | func TestDetectsDeletionOfFile(t *testing.T) { function TestNoChangeDetectedWhenFileUnchanged (line 47) | func TestNoChangeDetectedWhenFileUnchanged(t *testing.T) { FILE: src/go/cmd/metadata-server/metadata.go constant getPodByIPRetries (line 43) | getPodByIPRetries = 10 constant getPodByIPWait (line 45) | getPodByIPWait = 500 * time.Millisecond type rateLimitTokenSource (line 51) | type rateLimitTokenSource struct method Token (line 70) | func (s *rateLimitTokenSource) Token() (*oauth2.Token, error) { method resetBackoff (line 85) | func (s *rateLimitTokenSource) resetBackoff() { method updateBackoff (line 90) | func (s *rateLimitTokenSource) updateBackoff(err error) { function newRateLimitTokenSource (line 60) | func newRateLimitTokenSource(ts oauth2.TokenSource) *rateLimitTokenSource { type ConstHandler (line 99) | type ConstHandler struct method ServeHTTP (line 103) | func (ch ConstHandler) ServeHTTP(w http.ResponseWriter, r *http.Reques... type jwtSource (line 110) | type jwtSource interface type IdentityHandler (line 115) | type IdentityHandler struct method ServeHTTP (line 153) | func (h *IdentityHandler) ServeHTTP(w http.ResponseWriter, r *http.Req... function NewIdentityHandler (line 120) | func NewIdentityHandler(ctx context.Context) (*IdentityHandler, error) { function fromAcceptedIP (line 137) | func fromAcceptedIP(w http.ResponseWriter, r *http.Request, allowedSourc... type TokenHandler (line 175) | type TokenHandler struct method updateRobotAuth (line 227) | func (th *TokenHandler) updateRobotAuth() error { method updateRobotTokenSource (line 236) | func (th *TokenHandler) updateRobotTokenSource(ctx context.Context) { method NewMetadataHandler (line 247) | func (th *TokenHandler) NewMetadataHandler(ctx context.Context) *Metad... method ServeHTTP (line 281) | func (th *TokenHandler) ServeHTTP(w http.ResponseWriter, r *http.Reque... method getPodNameByIP (line 332) | func (th *TokenHandler) getPodNameByIP(ctx context.Context, ip string)... type auth (line 184) | type auth interface type rAuth (line 190) | type rAuth struct method projectID (line 194) | func (a rAuth) projectID() string { method robotName (line 198) | func (a rAuth) robotName() string { type TokenResponse (line 202) | type TokenResponse struct function NewTokenHandler (line 208) | func NewTokenHandler(ctx context.Context, k8s *kubernetes.Clientset, saN... type ServiceAccountHandler (line 403) | type ServiceAccountHandler struct method ServeHTTP (line 412) | func (sh ServiceAccountHandler) ServeHTTP(w http.ResponseWriter, r *ht... type ServiceAccountResponse (line 406) | type ServiceAccountResponse struct type MetadataHandler (line 434) | type MetadataHandler struct method ServeHTTP (line 443) | func (mh MetadataHandler) ServeHTTP(w http.ResponseWriter, r *http.Req... function getProjectNumber (line 479) | func getProjectNumber(client *http.Client, projectId string) (int64, err... FILE: src/go/cmd/metadata-server/metadata_test.go function bodyOrDie (line 33) | func bodyOrDie(r *http.Response) string { function TestConstHandler (line 42) | func TestConstHandler(t *testing.T) { type fakeJWTSource (line 56) | type fakeJWTSource struct method CreateJWT (line 61) | func (s *fakeJWTSource) CreateJWT(_ context.Context, d time.Duration) ... function TestIdentityHandlerServeHTTP (line 66) | func TestIdentityHandlerServeHTTP(t *testing.T) { function TestTokenHandlerServesToken (line 100) | func TestTokenHandlerServesToken(t *testing.T) { type fakeRobotAuth (line 123) | type fakeRobotAuth struct method CreateRobotTokenSource (line 129) | func (a *fakeRobotAuth) CreateRobotTokenSource(context.Context, ...str... method projectID (line 133) | func (a *fakeRobotAuth) projectID() string { method robotName (line 137) | func (a *fakeRobotAuth) robotName() string { function TestTokenHandlerServesLastingToken (line 141) | func TestTokenHandlerServesLastingToken(t *testing.T) { function TestTokenHandlerDeniesWrongAddress (line 167) | func TestTokenHandlerDeniesWrongAddress(t *testing.T) { function TestServiceAccountHandlerReturnsMinimalJSON (line 182) | func TestServiceAccountHandlerReturnsMinimalJSON(t *testing.T) { function TestMetadataHandlerReturnsZone (line 197) | func TestMetadataHandlerReturnsZone(t *testing.T) { type fakeTokenSource (line 221) | type fakeTokenSource struct method Token (line 226) | func (s *fakeTokenSource) Token() (*oauth2.Token, error) { function TestRateLimitTokenSource (line 234) | func TestRateLimitTokenSource(t *testing.T) { FILE: src/go/cmd/metadata-server/nftables.go function addNATRule (line 30) | func addNATRule(listenIP string, listenPort int) error { function removeNATRule (line 145) | func removeNATRule() { FILE: src/go/cmd/setup-dev/main.go constant robotPrefix (line 46) | robotPrefix = "dev-" function parseFlags (line 53) | func parseFlags() { function main (line 62) | func main() { function createKubeRelayEntry (line 117) | func createKubeRelayEntry(projectID string, domain string, robotName str... function setupDevCredentials (line 151) | func setupDevCredentials(client *http.Client, domain string, robotName s... function makeIdentifier (line 177) | func makeIdentifier(base string) string { function containerExists (line 182) | func containerExists(container string) (bool, error) { function stopContainerIfNeeded (line 195) | func stopContainerIfNeeded(container string) error { FILE: src/go/cmd/setup-robot/main.go constant filesDir (line 75) | filesDir = "/setup-robot-files" constant helmPath (line 76) | helmPath = filesDir + "/helm" constant synkPath (line 77) | synkPath = filesDir + "/synk" constant numDNSRetries (line 78) | numDNSRetries = 6 constant numServiceRetries (line 79) | numServiceRetries = 6 constant commaSentinel (line 81) | commaSentinel = "_COMMA_SENTINEL_" constant baseNamespace (line 82) | baseNamespace = "default" function parseFlags (line 85) | func parseFlags() { function parseKeyValues (line 127) | func parseKeyValues(s string) (map[string]string, error) { function checkRobotName (line 151) | func checkRobotName(ctx context.Context, client dynamic.Interface) error { function main (line 172) | func main() { function helmValuesStringFromMap (line 322) | func helmValuesStringFromMap(varMap map[string]string) string { function installChartOrDie (line 331) | func installChartOrDie(ctx context.Context, cs *kubernetes.Clientset, do... function createOrUpdateRobot (line 398) | func createOrUpdateRobot(ctx context.Context, k8sDynamicClient dynamic.I... FILE: src/go/cmd/setup-robot/main_test.go function TestParseKeyValues_ReturnsEmptyMapOnEmptyInput (line 34) | func TestParseKeyValues_ReturnsEmptyMapOnEmptyInput(t *testing.T) { function TestParseKeyValues_HandlesSingleEntry (line 41) | func TestParseKeyValues_HandlesSingleEntry(t *testing.T) { function TestParseKeyValues_HandlesMultipleEntries (line 55) | func TestParseKeyValues_HandlesMultipleEntries(t *testing.T) { function TestParseKeyValues_HandlesEscapedCommas (line 76) | func TestParseKeyValues_HandlesEscapedCommas(t *testing.T) { function TestParseKeyValues_HandlesSpaces (line 97) | func TestParseKeyValues_HandlesSpaces(t *testing.T) { function TestCheckRobotName_SucceedsWhenCRDNotFound (line 111) | func TestCheckRobotName_SucceedsWhenCRDNotFound(t *testing.T) { function TestCheckRobotName (line 137) | func TestCheckRobotName(t *testing.T) { function TestCreateOrUpdateRobot_Succeeds (line 200) | func TestCreateOrUpdateRobot_Succeeds(t *testing.T) { FILE: src/go/cmd/synk/synk.go constant retryBackoff (line 39) | retryBackoff = 5 * time.Second function main (line 70) | func main() { function newSynk (line 90) | func newSynk() (*synk.Synk, error) { function runInit (line 114) | func runInit(cmd *cobra.Command, args []string) { function runDelete (line 127) | func runDelete(cmd *cobra.Command, args []string) { function runApply (line 144) | func runApply(cmd *cobra.Command, args []string) { function apply (line 155) | func apply(name string) error { function logAction (line 210) | func logAction(r *unstructured.Unstructured, action apps.ResourceAction,... FILE: src/go/cmd/token-vendor/api/api.go constant httpTimeoutRead (line 27) | httpTimeoutRead = 10 * time.Second constant httpTimeoutWrite (line 28) | httpTimeoutWrite = 10 * time.Second constant httpTimeoutHandler (line 29) | httpTimeoutHandler = 10 * time.Second type constHandler (line 32) | type constHandler method ServeHTTP (line 34) | func (ch constHandler) ServeHTTP(w http.ResponseWriter, r *http.Reques... function Register (line 42) | func Register() error { function SetupAndServe (line 49) | func SetupAndServe(addr string) error { function LoggingMiddleware (line 61) | func LoggingMiddleware(handler http.Handler) http.Handler { function ErrResponse (line 75) | func ErrResponse(ctx context.Context, w http.ResponseWriter, statusCode ... FILE: src/go/cmd/token-vendor/api/v1/v1.go constant paramDeviceID (line 39) | paramDeviceID = "device-id" constant contentType (line 40) | contentType = "content-type" constant pemFile (line 41) | pemFile = "application/x-pem-file" type HandlerContext (line 44) | type HandlerContext struct method publicKeyConfigureHandler (line 75) | func (h *HandlerContext) publicKeyConfigureHandler(w http.ResponseWrit... method publicKeyReadHandler (line 119) | func (h *HandlerContext) publicKeyReadHandler(w http.ResponseWriter, r... method publicKeyPublishHandler (line 157) | func (h *HandlerContext) publicKeyPublishHandler(w http.ResponseWriter... method tokenOAuth2Handler (line 262) | func (h *HandlerContext) tokenOAuth2Handler(w http.ResponseWriter, r *... method verifyJWTHandler (line 320) | func (h *HandlerContext) verifyJWTHandler(w http.ResponseWriter, r *ht... method verifyTokenHandler (line 364) | func (h *HandlerContext) verifyTokenHandler(w http.ResponseWriter, r *... function NewHandlerContext (line 48) | func NewHandlerContext(tv *app.TokenVendor) *HandlerContext { function getQueryParam (line 55) | func getQueryParam(u *url.URL, param string) (string, error) { function isValidPublicKey (line 194) | func isValidPublicKey(pk []byte) (bool, error) { function testForRobotACL (line 385) | func testForRobotACL(u *url.URL) bool { function tokenFromRequest (line 400) | func tokenFromRequest(u *url.URL, h *http.Header) (string, error) { constant tokenRegex (line 433) | tokenRegex = `^ya29\.[a-zA-Z0-9\.\-_]+$` function isValidToken (line 440) | func isValidToken(token string) (bool, error) { constant jwtRegex (line 454) | jwtRegex = `^[a-zA-Z0-9\.\-_]+\.[a-zA-Z0-9\.\-_]+\.[a-zA-Z0-9\.\-_]+$` function isValidJWT (line 461) | func isValidJWT(jwt string) (bool, error) { function Register (line 474) | func Register(tv *app.TokenVendor, prefix string) error { FILE: src/go/cmd/token-vendor/api/v1/v1_test.go constant testPubKey (line 28) | testPubKey = "testdata/rsa_cert.pem" constant jwtBodyPrefix (line 29) | jwtBodyPrefix = "grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer&... constant saName (line 30) | saName = "robot-service@testproject.iam.gserviceaccount.com" constant jwtCorrect (line 32) | jwtCorrect = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJ0ZXN0YXVk... constant jwtWrongSig (line 33) | jwtWrongSig = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJ0ZXN0YXVk... constant jwtWrongAud (line 34) | jwtWrongAud = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJhYmMiLCJp... constant jwtExpired (line 35) | jwtExpired = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJ0ZXN0YXVk... type RoundTripFunc (line 38) | type RoundTripFunc method RoundTrip (line 40) | func (f RoundTripFunc) RoundTrip(req *http.Request) (*http.Response, e... function NewTestHTTPClient (line 44) | func NewTestHTTPClient(fn RoundTripFunc) *http.Client { type publicKeyConfigureHandlerK8sTest (line 48) | type publicKeyConfigureHandlerK8sTest struct function TestPublicKeyConfigureHandlerWithK8s (line 57) | func TestPublicKeyConfigureHandlerWithK8s(t *testing.T) { function runPublicKeyConfigureHandlerWithK8sCase (line 106) | func runPublicKeyConfigureHandlerWithK8sCase(t *testing.T, test *publicK... type publicKeyReadHandlerK8sTest (line 138) | type publicKeyReadHandlerK8sTest struct function TestPublicKeyReadHandlerWithK8s (line 146) | func TestPublicKeyReadHandlerWithK8s(t *testing.T) { function populateK8sEnv (line 203) | func populateK8sEnv(env kubernetes.Interface, ns string, maps []*corev1.... function runPublicKeyReadHandlerWithK8sCase (line 212) | func runPublicKeyReadHandlerWithK8sCase(t *testing.T, test *publicKeyRea... function mustRespBodyFromFile (line 252) | func mustRespBodyFromFile(t *testing.T, file string) io.ReadCloser { function mustNewRequest (line 260) | func mustNewRequest(t *testing.T, method, url string, body io.Reader) *h... function mustFileOpen (line 268) | func mustFileOpen(t *testing.T, name string) io.Reader { function mustFileToString (line 276) | func mustFileToString(t *testing.T, name string) string { type publicKeyPublishHandlerK8sTest (line 285) | type publicKeyPublishHandlerK8sTest struct function TestPublicKeyPublishHandlerWithK8s (line 296) | func TestPublicKeyPublishHandlerWithK8s(t *testing.T) { function runPublicKeyPublishHandlerWithK8sCase (line 335) | func runPublicKeyPublishHandlerWithK8sCase(t *testing.T, test *publicKey... type isValidPublicKeyTest (line 406) | type isValidPublicKeyTest struct function TestIsValidPublicKey (line 412) | func TestIsValidPublicKey(t *testing.T) { type isValidTokenTest (line 430) | type isValidTokenTest struct function TestIsValidToken (line 436) | func TestIsValidToken(t *testing.T) { type isValidJWTTest (line 462) | type isValidJWTTest struct function TestIsValidJWT (line 468) | func TestIsValidJWT(t *testing.T) { type tokenFromRequestTest (line 494) | type tokenFromRequestTest struct function TestTokenFromRequest (line 502) | func TestTokenFromRequest(t *testing.T) { type VerifyTokenHandlerTest (line 567) | type VerifyTokenHandlerTest struct function TestVerifyTokenHandler (line 580) | func TestVerifyTokenHandler(t *testing.T) { function runVerifyTokenHandlerTest (line 600) | func runVerifyTokenHandlerTest(t *testing.T, test *VerifyTokenHandlerTes... type TokenOAuth2HandlerTest (line 661) | type TokenOAuth2HandlerTest struct function TestTokenOAuth2HandlerHapyPath (line 688) | func TestTokenOAuth2HandlerHapyPath(t *testing.T) { function TestTokenOAuth2HandlerDifferentPrivateKey (line 694) | func TestTokenOAuth2HandlerDifferentPrivateKey(t *testing.T) { function TestTokenOAuth2HandlerWrongAud (line 706) | func TestTokenOAuth2HandlerWrongAud(t *testing.T) { function TestTokenOAuth2HandlerExpired (line 717) | func TestTokenOAuth2HandlerExpired(t *testing.T) { function runTokenOAuth2HandlerTestWithK8s (line 729) | func runTokenOAuth2HandlerTestWithK8s(t *testing.T, test TokenOAuth2Hand... function Test_verifyJWTHandler (line 813) | func Test_verifyJWTHandler(t *testing.T) { FILE: src/go/cmd/token-vendor/app/tokenvendor.go type TokenVendor (line 37) | type TokenVendor struct method PublishPublicKey (line 52) | func (tv *TokenVendor) PublishPublicKey(ctx context.Context, deviceID,... method ReadPublicKey (line 57) | func (tv *TokenVendor) ReadPublicKey(ctx context.Context, deviceID str... method ConfigurePublicKey (line 66) | func (tv *TokenVendor) ConfigurePublicKey(ctx context.Context, deviceI... method GetOAuth2Token (line 112) | func (tv *TokenVendor) GetOAuth2Token(ctx context.Context, jwtk string... method ValidateJWT (line 141) | func (tv *TokenVendor) ValidateJWT(ctx context.Context, jwtk string) (... method getOAuth2Token (line 184) | func (tv *TokenVendor) getOAuth2Token(ctx context.Context, jwtk string... method VerifyToken (line 273) | func (tv *TokenVendor) VerifyToken(ctx context.Context, token oauth.To... function NewTokenVendor (line 45) | func NewTokenVendor(ctx context.Context, repo repository.PubKeyRepositor... function validateKeyOptions (line 75) | func validateKeyOptions(opts repository.KeyOptions) error { function validateEmail (line 90) | func validateEmail(e string) error { type DeviceAuth (line 128) | type DeviceAuth struct function acceptedAudience (line 224) | func acceptedAudience(aud, accAud string) error { function contains (line 233) | func contains(s []string, str string) bool { function init (line 259) | func init() { function IsValidDeviceID (line 304) | func IsValidDeviceID(ID string) bool { FILE: src/go/cmd/token-vendor/app/tokenvendor_test.go type isValidDeviceIDTest (line 19) | type isValidDeviceIDTest struct function TestValidateDeviceId (line 24) | func TestValidateDeviceId(t *testing.T) { type acceptedAudienceTest (line 44) | type acceptedAudienceTest struct function TestAcceptedAudience (line 51) | func TestAcceptedAudience(t *testing.T) { type serviceAccountNameTest (line 73) | type serviceAccountNameTest struct type keyOptionsTest (line 81) | type keyOptionsTest struct function TestKeyOptions (line 87) | func TestKeyOptions(t *testing.T) { function TestTokenVendor_ValidateJWT (line 127) | func TestTokenVendor_ValidateJWT(t *testing.T) { function getInMemoryRepo (line 263) | func getInMemoryRepo(deviceId, key string) repository.PubKeyRepository { function createFakeJWTWithSubject (line 270) | func createFakeJWTWithSubject(t *testing.T, deviceId, subject string) st... function createSAFromName (line 291) | func createSAFromName(name string) string { FILE: src/go/cmd/token-vendor/main.go type scopeFlags (line 42) | type scopeFlags method String (line 44) | func (i *scopeFlags) String() string { method Set (line 48) | func (i *scopeFlags) Set(value string) error { type KeyStoreOpt (line 53) | type KeyStoreOpt constant Kubernetes (line 56) | Kubernetes = "KUBERNETES" constant Memory (line 57) | Memory = "IN_MEMORY" function main (line 95) | func main() { FILE: src/go/cmd/token-vendor/oauth/cache.go type entry (line 10) | type entry struct type tokenCache (line 19) | type tokenCache struct method add (line 50) | func (c *tokenCache) add(token Token, sa string, actAs bool) { method evictExpired (line 76) | func (c *tokenCache) evictExpired() { method evictOldest (line 88) | func (c *tokenCache) evictOldest() { method actAs (line 102) | func (c *tokenCache) actAs(token Token, sa string) (bool, bool) { function newTokenCache (line 36) | func newTokenCache(size int, expire time.Duration) (*tokenCache, error) { FILE: src/go/cmd/token-vendor/oauth/cache_test.go type tokenProp (line 11) | type tokenProp struct function randToken (line 22) | func randToken() *tokenProp { function TestTokenCacheOneTokenMultipleAcl (line 31) | func TestTokenCacheOneTokenMultipleAcl(t *testing.T) { function TestTokenCacheExpire (line 48) | func TestTokenCacheExpire(t *testing.T) { function TestEvictExpired (line 62) | func TestEvictExpired(t *testing.T) { function TestEvictOldest (line 78) | func TestEvictOldest(t *testing.T) { function TestEvictionGeneral (line 98) | func TestEvictionGeneral(t *testing.T) { function TestParallelAccessNoEviction (line 116) | func TestParallelAccessNoEviction(t *testing.T) { function accessWorker (line 144) | func accessWorker(tc *tokenCache, adds int, failIfNotFound bool) error { FILE: src/go/cmd/token-vendor/oauth/jwt/jwt.go type payload (line 12) | type payload struct function PayloadUnsafe (line 25) | func PayloadUnsafe(jwtk string) (*payload, error) { function VerifySignature (line 43) | func VerifySignature(jwtk string, pubKey string) error { FILE: src/go/cmd/token-vendor/oauth/jwt/jwt_test.go constant testJWT (line 39) | testJWT = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJ0ZXN0YXVkIiwi... constant testPubKey (line 41) | testPubKey = ` function TestVerifySignature (line 85) | func TestVerifySignature(t *testing.T) { function TestPayloadUnsafe (line 92) | func TestPayloadUnsafe(t *testing.T) { function TestPayloadUnsafeInvalidPayload (line 102) | func TestPayloadUnsafeInvalidPayload(t *testing.T) { function TestVerifySignatureInvalidSig (line 111) | func TestVerifySignatureInvalidSig(t *testing.T) { constant testJWTInvalidSigAlg (line 125) | testJWTInvalidSigAlg = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJ... function TestVerifySignatureInvalidSigAlg (line 127) | func TestVerifySignatureInvalidSigAlg(t *testing.T) { FILE: src/go/cmd/token-vendor/oauth/verifier.go type TokenVerifier (line 14) | type TokenVerifier struct method Verify (line 42) | func (v *TokenVerifier) Verify(ctx context.Context, token Token, sa st... type Token (line 21) | type Token constant cacheSize (line 24) | cacheSize = 1000 constant cacheExpire (line 25) | cacheExpire = 5 * time.Minute function NewTokenVerifier (line 29) | func NewTokenVerifier(ctx context.Context, c *http.Client, project strin... constant timeout (line 71) | timeout = time.Second * 5 constant retryInterval (line 72) | retryInterval = time.Second * 1 constant retries (line 73) | retries = 2 function doTestIamPermissions (line 76) | func doTestIamPermissions(ctx context.Context, s *iam.Service, token, re... function contains (line 107) | func contains(s []string, str string) bool { FILE: src/go/cmd/token-vendor/repository/k8s/k8s.go constant resyncPeriod (line 40) | resyncPeriod = 1 * time.Hour type K8sRepository (line 43) | type K8sRepository struct method ListAllDeviceIDs (line 88) | func (k *K8sRepository) ListAllDeviceIDs(ctx context.Context) ([]strin... method LookupKey (line 104) | func (k *K8sRepository) LookupKey(ctx context.Context, deviceID string... method PublishKey (line 131) | func (k *K8sRepository) PublishKey(ctx context.Context, deviceID, publ... method ConfigureKey (line 161) | func (k *K8sRepository) ConfigureKey(ctx context.Context, deviceID str... function NewK8sRepository (line 55) | func NewK8sRepository(ctx context.Context, kcl kubernetes.Interface, ns ... constant pubKey (line 80) | pubKey = "pubKey" constant serviceAccountAnnotation (line 82) | serviceAccountAnnotation = "cloudrobotics.com/gcp-service-account" constant serviceAccountDelegateAnnotation (line 84) | serviceAccountDelegateAnnotation = "cloudrobotics.com/gcp-service-accoun... function createPubKeyDeviceConfig (line 188) | func createPubKeyDeviceConfig(name, namespace, pk string) (*corev1.Confi... function mapSetOrDelete (line 205) | func mapSetOrDelete(m map[string]string, k, v string) { FILE: src/go/cmd/token-vendor/repository/k8s/k8s_test.go function TestPublishListLookup (line 28) | func TestPublishListLookup(t *testing.T) { function TestPublishKeyUpdate (line 53) | func TestPublishKeyUpdate(t *testing.T) { function TestLookupDoesNotExist (line 77) | func TestLookupDoesNotExist(t *testing.T) { function TestConfigure (line 93) | func TestConfigure(t *testing.T) { function TestReConfigure (line 118) | func TestReConfigure(t *testing.T) { FILE: src/go/cmd/token-vendor/repository/memory/memory.go type MemoryRepository (line 26) | type MemoryRepository struct method PublishKey (line 38) | func (m *MemoryRepository) PublishKey(ctx context.Context, deviceID, p... method LookupKey (line 44) | func (m *MemoryRepository) LookupKey(ctx context.Context, deviceID str... method ConfigureKey (line 58) | func (m *MemoryRepository) ConfigureKey(ctx context.Context, deviceID ... function NewMemoryRepository (line 31) | func NewMemoryRepository(ctx context.Context) (*MemoryRepository, error) { FILE: src/go/cmd/token-vendor/repository/memory/memory_test.go function TestPublishAndLookup (line 26) | func TestPublishAndLookup(t *testing.T) { function TestLookupNotFound (line 54) | func TestLookupNotFound(t *testing.T) { function TestConfigure (line 69) | func TestConfigure(t *testing.T) { FILE: src/go/cmd/token-vendor/repository/repository.go type Key (line 29) | type Key struct type KeyOptions (line 39) | type KeyOptions struct type PubKeyRepository (line 45) | type PubKeyRepository interface FILE: src/go/cmd/token-vendor/tokensource/gcp.go type GCPTokenSource (line 19) | type GCPTokenSource struct method Token (line 53) | func (g *GCPTokenSource) Token(ctx context.Context, saName, saDelegate... type TokenResponse (line 24) | type TokenResponse struct constant saPrefix (line 32) | saPrefix = "projects/-/serviceAccounts/" function NewGCPTokenSource (line 42) | func NewGCPTokenSource(ctx context.Context, client *http.Client, scopes ... function tokenResponse (line 87) | func tokenResponse(r *iam.GenerateAccessTokenResponse, scopes []string, ... function getWorkloadServiceAccount (line 107) | func getWorkloadServiceAccount(ctx context.Context) (string, error) { FILE: src/go/cmd/token-vendor/tokensource/gcp_test.go type TokenResponseTest (line 11) | type TokenResponseTest struct function TestTokenResponse (line 20) | func TestTokenResponse(t *testing.T) { FILE: src/go/pkg/apis/apps/v1alpha1/register.go function init (line 33) | func init() { function Resource (line 41) | func Resource(resource string) schema.GroupResource { function addKnownTypes (line 46) | func addKnownTypes(scheme *runtime.Scheme) error { FILE: src/go/pkg/apis/apps/v1alpha1/types.go type ResourceSet (line 27) | type ResourceSet struct type ResourceSetList (line 37) | type ResourceSetList struct type ResourceSetSpec (line 44) | type ResourceSetSpec struct type ResourceSetStatus (line 48) | type ResourceSetStatus struct type ResourceSetSpecGroup (line 56) | type ResourceSetSpecGroup struct type ResourceSetStatusGroup (line 63) | type ResourceSetStatusGroup struct type ResourceRef (line 70) | type ResourceRef struct type ResourceStatus (line 75) | type ResourceStatus struct type ResourceSetPhase (line 84) | type ResourceSetPhase constant ResourceSetPhasePending (line 87) | ResourceSetPhasePending ResourceSetPhase = "Pending" constant ResourceSetPhaseFailed (line 88) | ResourceSetPhaseFailed ResourceSetPhase = "Failed" constant ResourceSetPhaseSettled (line 89) | ResourceSetPhaseSettled ResourceSetPhase = "Settled" type ResourceAction (line 92) | type ResourceAction constant ResourceActionNone (line 95) | ResourceActionNone ResourceAction = "None" constant ResourceActionCreate (line 96) | ResourceActionCreate ResourceAction = "Create" constant ResourceActionUpdate (line 97) | ResourceActionUpdate ResourceAction = "Update" constant ResourceActionReplace (line 98) | ResourceActionReplace ResourceAction = "Replace" type App (line 105) | type App struct type AppList (line 114) | type AppList struct type AppSpec (line 121) | type AppSpec struct type AppComponents (line 127) | type AppComponents struct type AppComponent (line 132) | type AppComponent struct type AppRollout (line 141) | type AppRollout struct type AppRolloutList (line 151) | type AppRolloutList struct type AppRolloutSpec (line 158) | type AppRolloutSpec struct type AppRolloutSpecCloud (line 164) | type AppRolloutSpecCloud struct type AppRolloutSpecRobot (line 168) | type AppRolloutSpecRobot struct type RobotSelector (line 175) | type RobotSelector struct type AppRolloutStatus (line 181) | type AppRolloutStatus struct type AppRolloutCondition (line 190) | type AppRolloutCondition struct type AppRolloutConditionType (line 198) | type AppRolloutConditionType constant AppRolloutConditionSettled (line 201) | AppRolloutConditionSettled AppRolloutConditionType = "Settled" constant AppRolloutConditionReady (line 202) | AppRolloutConditionReady AppRolloutConditionType = "Ready" type ChartAssignment (line 209) | type ChartAssignment struct type ChartAssignmentList (line 219) | type ChartAssignmentList struct type ChartAssignmentSpec (line 226) | type ChartAssignmentSpec struct type AssignedChart (line 232) | type AssignedChart struct type ConfigValues (line 240) | type ConfigValues method DeepCopy (line 244) | func (in ConfigValues) DeepCopy() ConfigValues { type ChartAssignmentStatus (line 248) | type ChartAssignmentStatus struct type ChartAssignmentPhase (line 254) | type ChartAssignmentPhase constant ChartAssignmentPhaseAccepted (line 259) | ChartAssignmentPhaseAccepted ChartAssignmentPhase = "Accepted" constant ChartAssignmentPhaseLoadingChart (line 261) | ChartAssignmentPhaseLoadingChart ChartAssignmentPhase = "LoadingChart" constant ChartAssignmentPhaseInstalling (line 263) | ChartAssignmentPhaseInstalling ChartAssignmentPhase = "Installing" constant ChartAssignmentPhaseUpdating (line 265) | ChartAssignmentPhaseUpdating ChartAssignmentPhase = "Updating" constant ChartAssignmentPhaseDeleting (line 268) | ChartAssignmentPhaseDeleting ChartAssignmentPhase = "Deleting" constant ChartAssignmentPhaseSettled (line 270) | ChartAssignmentPhaseSettled ChartAssignmentPhase = "Settled" constant ChartAssignmentPhaseDeleted (line 272) | ChartAssignmentPhaseDeleted ChartAssignmentPhase = "Deleted" constant ChartAssignmentPhaseFailed (line 276) | ChartAssignmentPhaseFailed ChartAssignmentPhase = "Failed" constant ChartAssignmentPhaseReady (line 279) | ChartAssignmentPhaseReady ChartAssignmentPhase = "Ready" type ChartAssignmentCondition (line 282) | type ChartAssignmentCondition struct type ChartAssignmentConditionType (line 290) | type ChartAssignmentConditionType constant ChartAssignmentConditionSettled (line 293) | ChartAssignmentConditionSettled ChartAssignmentConditionType = "Settled" constant ChartAssignmentConditionReady (line 294) | ChartAssignmentConditionReady ChartAssignmentConditionType = "Ready" FILE: src/go/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go method DeepCopyInto (line 28) | func (in *App) DeepCopyInto(out *App) { method DeepCopy (line 37) | func (in *App) DeepCopy() *App { method DeepCopyObject (line 47) | func (in *App) DeepCopyObject() runtime.Object { method DeepCopyInto (line 55) | func (in *AppComponent) DeepCopyInto(out *AppComponent) { method DeepCopy (line 61) | func (in *AppComponent) DeepCopy() *AppComponent { method DeepCopyInto (line 71) | func (in *AppComponents) DeepCopyInto(out *AppComponents) { method DeepCopy (line 79) | func (in *AppComponents) DeepCopy() *AppComponents { method DeepCopyInto (line 89) | func (in *AppList) DeepCopyInto(out *AppList) { method DeepCopy (line 104) | func (in *AppList) DeepCopy() *AppList { method DeepCopyObject (line 114) | func (in *AppList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 122) | func (in *AppRollout) DeepCopyInto(out *AppRollout) { method DeepCopy (line 132) | func (in *AppRollout) DeepCopy() *AppRollout { method DeepCopyObject (line 142) | func (in *AppRollout) DeepCopyObject() runtime.Object { method DeepCopyInto (line 150) | func (in *AppRolloutCondition) DeepCopyInto(out *AppRolloutCondition) { method DeepCopy (line 158) | func (in *AppRolloutCondition) DeepCopy() *AppRolloutCondition { method DeepCopyInto (line 168) | func (in *AppRolloutList) DeepCopyInto(out *AppRolloutList) { method DeepCopy (line 183) | func (in *AppRolloutList) DeepCopy() *AppRolloutList { method DeepCopyObject (line 193) | func (in *AppRolloutList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 201) | func (in *AppRolloutSpec) DeepCopyInto(out *AppRolloutSpec) { method DeepCopy (line 215) | func (in *AppRolloutSpec) DeepCopy() *AppRolloutSpec { method DeepCopyInto (line 225) | func (in *AppRolloutSpecCloud) DeepCopyInto(out *AppRolloutSpecCloud) { method DeepCopy (line 232) | func (in *AppRolloutSpecCloud) DeepCopy() *AppRolloutSpecCloud { method DeepCopyInto (line 242) | func (in *AppRolloutSpecRobot) DeepCopyInto(out *AppRolloutSpecRobot) { method DeepCopy (line 254) | func (in *AppRolloutSpecRobot) DeepCopy() *AppRolloutSpecRobot { method DeepCopyInto (line 264) | func (in *AppRolloutStatus) DeepCopyInto(out *AppRolloutStatus) { method DeepCopy (line 277) | func (in *AppRolloutStatus) DeepCopy() *AppRolloutStatus { method DeepCopyInto (line 287) | func (in *AppSpec) DeepCopyInto(out *AppSpec) { method DeepCopy (line 294) | func (in *AppSpec) DeepCopy() *AppSpec { method DeepCopyInto (line 304) | func (in *AssignedChart) DeepCopyInto(out *AssignedChart) { method DeepCopy (line 311) | func (in *AssignedChart) DeepCopy() *AssignedChart { method DeepCopyInto (line 321) | func (in *ChartAssignment) DeepCopyInto(out *ChartAssignment) { method DeepCopy (line 331) | func (in *ChartAssignment) DeepCopy() *ChartAssignment { method DeepCopyObject (line 341) | func (in *ChartAssignment) DeepCopyObject() runtime.Object { method DeepCopyInto (line 349) | func (in *ChartAssignmentCondition) DeepCopyInto(out *ChartAssignmentCon... method DeepCopy (line 357) | func (in *ChartAssignmentCondition) DeepCopy() *ChartAssignmentCondition { method DeepCopyInto (line 367) | func (in *ChartAssignmentList) DeepCopyInto(out *ChartAssignmentList) { method DeepCopy (line 382) | func (in *ChartAssignmentList) DeepCopy() *ChartAssignmentList { method DeepCopyObject (line 392) | func (in *ChartAssignmentList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 400) | func (in *ChartAssignmentSpec) DeepCopyInto(out *ChartAssignmentSpec) { method DeepCopy (line 407) | func (in *ChartAssignmentSpec) DeepCopy() *ChartAssignmentSpec { method DeepCopyInto (line 417) | func (in *ChartAssignmentStatus) DeepCopyInto(out *ChartAssignmentStatus) { method DeepCopy (line 430) | func (in *ChartAssignmentStatus) DeepCopy() *ChartAssignmentStatus { method DeepCopyInto (line 440) | func (in ConfigValues) DeepCopyInto(out *ConfigValues) { method DeepCopyInto (line 449) | func (in *ResourceRef) DeepCopyInto(out *ResourceRef) { method DeepCopy (line 455) | func (in *ResourceRef) DeepCopy() *ResourceRef { method DeepCopyInto (line 465) | func (in *ResourceSet) DeepCopyInto(out *ResourceSet) { method DeepCopy (line 475) | func (in *ResourceSet) DeepCopy() *ResourceSet { method DeepCopyObject (line 485) | func (in *ResourceSet) DeepCopyObject() runtime.Object { method DeepCopyInto (line 493) | func (in *ResourceSetList) DeepCopyInto(out *ResourceSetList) { method DeepCopy (line 508) | func (in *ResourceSetList) DeepCopy() *ResourceSetList { method DeepCopyObject (line 518) | func (in *ResourceSetList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 526) | func (in *ResourceSetSpec) DeepCopyInto(out *ResourceSetSpec) { method DeepCopy (line 539) | func (in *ResourceSetSpec) DeepCopy() *ResourceSetSpec { method DeepCopyInto (line 549) | func (in *ResourceSetSpecGroup) DeepCopyInto(out *ResourceSetSpecGroup) { method DeepCopy (line 560) | func (in *ResourceSetSpecGroup) DeepCopy() *ResourceSetSpecGroup { method DeepCopyInto (line 570) | func (in *ResourceSetStatus) DeepCopyInto(out *ResourceSetStatus) { method DeepCopy (line 592) | func (in *ResourceSetStatus) DeepCopy() *ResourceSetStatus { method DeepCopyInto (line 602) | func (in *ResourceSetStatusGroup) DeepCopyInto(out *ResourceSetStatusGro... method DeepCopy (line 613) | func (in *ResourceSetStatusGroup) DeepCopy() *ResourceSetStatusGroup { method DeepCopyInto (line 623) | func (in *ResourceStatus) DeepCopyInto(out *ResourceStatus) { method DeepCopy (line 629) | func (in *ResourceStatus) DeepCopy() *ResourceStatus { method DeepCopyInto (line 639) | func (in *RobotSelector) DeepCopyInto(out *RobotSelector) { method DeepCopy (line 655) | func (in *RobotSelector) DeepCopy() *RobotSelector { FILE: src/go/pkg/apis/registry/v1alpha1/register.go function init (line 31) | func init() { function Resource (line 36) | func Resource(resource string) schema.GroupResource { function addKnownTypes (line 41) | func addKnownTypes(scheme *runtime.Scheme) error { FILE: src/go/pkg/apis/registry/v1alpha1/types.go type Robot (line 24) | type Robot struct type RobotList (line 34) | type RobotList struct type RobotSpec (line 41) | type RobotSpec struct type RobotStatus (line 46) | type RobotStatus struct type RobotStatusCloud (line 52) | type RobotStatusCloud struct type RobotStatusRobot (line 55) | type RobotStatusRobot struct type RobotConfiguration (line 65) | type RobotConfiguration struct type RobotState (line 69) | type RobotState constant RobotStateUndefined (line 72) | RobotStateUndefined RobotState = "UNDEFINED" constant RobotStateUnavailable (line 73) | RobotStateUnavailable RobotState = "UNAVAILABLE" constant RobotStateAvailable (line 74) | RobotStateAvailable RobotState = "AVAILABLE" constant RobotStateEmergencyStop (line 75) | RobotStateEmergencyStop RobotState = "EMERGENCY_STOP" constant RobotStateError (line 76) | RobotStateError RobotState = "ERROR" FILE: src/go/pkg/apis/registry/v1alpha1/zz_generated.deepcopy.go method DeepCopyInto (line 27) | func (in *Robot) DeepCopyInto(out *Robot) { method DeepCopy (line 37) | func (in *Robot) DeepCopy() *Robot { method DeepCopyObject (line 47) | func (in *Robot) DeepCopyObject() runtime.Object { method DeepCopyInto (line 55) | func (in *RobotConfiguration) DeepCopyInto(out *RobotConfiguration) { method DeepCopy (line 61) | func (in *RobotConfiguration) DeepCopy() *RobotConfiguration { method DeepCopyInto (line 71) | func (in *RobotList) DeepCopyInto(out *RobotList) { method DeepCopy (line 86) | func (in *RobotList) DeepCopy() *RobotList { method DeepCopyObject (line 96) | func (in *RobotList) DeepCopyObject() runtime.Object { method DeepCopyInto (line 104) | func (in *RobotSpec) DeepCopyInto(out *RobotSpec) { method DeepCopy (line 110) | func (in *RobotSpec) DeepCopy() *RobotSpec { method DeepCopyInto (line 120) | func (in *RobotStatus) DeepCopyInto(out *RobotStatus) { method DeepCopy (line 129) | func (in *RobotStatus) DeepCopy() *RobotStatus { method DeepCopyInto (line 139) | func (in *RobotStatusCloud) DeepCopyInto(out *RobotStatusCloud) { method DeepCopy (line 145) | func (in *RobotStatusCloud) DeepCopy() *RobotStatusCloud { method DeepCopyInto (line 155) | func (in *RobotStatusRobot) DeepCopyInto(out *RobotStatusRobot) { method DeepCopy (line 170) | func (in *RobotStatusRobot) DeepCopy() *RobotStatusRobot { FILE: src/go/pkg/client/informers/apps/interface.go type Interface (line 25) | type Interface interface type group (line 30) | type group struct method V1alpha1 (line 42) | func (g *group) V1alpha1() v1alpha1.Interface { function New (line 37) | func New(f internalinterfaces.SharedInformerFactory, namespace string, t... FILE: src/go/pkg/client/informers/apps/v1alpha1/app.go type AppInformer (line 35) | type AppInformer interface type appInformer (line 40) | type appInformer struct method defaultInformer (line 77) | func (f *appInformer) defaultInformer(client versioned.Interface, resy... method Informer (line 81) | func (f *appInformer) Informer() cache.SharedIndexInformer { method Lister (line 85) | func (f *appInformer) Lister() v1alpha1.AppLister { function NewAppInformer (line 48) | func NewAppInformer(client versioned.Interface, resyncPeriod time.Durati... function NewFilteredAppInformer (line 55) | func NewFilteredAppInformer(client versioned.Interface, resyncPeriod tim... FILE: src/go/pkg/client/informers/apps/v1alpha1/approllout.go type AppRolloutInformer (line 35) | type AppRolloutInformer interface type appRolloutInformer (line 40) | type appRolloutInformer struct method defaultInformer (line 77) | func (f *appRolloutInformer) defaultInformer(client versioned.Interfac... method Informer (line 81) | func (f *appRolloutInformer) Informer() cache.SharedIndexInformer { method Lister (line 85) | func (f *appRolloutInformer) Lister() v1alpha1.AppRolloutLister { function NewAppRolloutInformer (line 48) | func NewAppRolloutInformer(client versioned.Interface, resyncPeriod time... function NewFilteredAppRolloutInformer (line 55) | func NewFilteredAppRolloutInformer(client versioned.Interface, resyncPer... FILE: src/go/pkg/client/informers/apps/v1alpha1/chartassignment.go type ChartAssignmentInformer (line 35) | type ChartAssignmentInformer interface type chartAssignmentInformer (line 40) | type chartAssignmentInformer struct method defaultInformer (line 77) | func (f *chartAssignmentInformer) defaultInformer(client versioned.Int... method Informer (line 81) | func (f *chartAssignmentInformer) Informer() cache.SharedIndexInformer { method Lister (line 85) | func (f *chartAssignmentInformer) Lister() v1alpha1.ChartAssignmentLis... function NewChartAssignmentInformer (line 48) | func NewChartAssignmentInformer(client versioned.Interface, resyncPeriod... function NewFilteredChartAssignmentInformer (line 55) | func NewFilteredChartAssignmentInformer(client versioned.Interface, resy... FILE: src/go/pkg/client/informers/apps/v1alpha1/interface.go type Interface (line 24) | type Interface interface type version (line 35) | type version struct method Apps (line 47) | func (v *version) Apps() AppInformer { method AppRollouts (line 52) | func (v *version) AppRollouts() AppRolloutInformer { method ChartAssignments (line 57) | func (v *version) ChartAssignments() ChartAssignmentInformer { method ResourceSets (line 62) | func (v *version) ResourceSets() ResourceSetInformer { function New (line 42) | func New(f internalinterfaces.SharedInformerFactory, namespace string, t... FILE: src/go/pkg/client/informers/apps/v1alpha1/resourceset.go type ResourceSetInformer (line 35) | type ResourceSetInformer interface type resourceSetInformer (line 40) | type resourceSetInformer struct method defaultInformer (line 77) | func (f *resourceSetInformer) defaultInformer(client versioned.Interfa... method Informer (line 81) | func (f *resourceSetInformer) Informer() cache.SharedIndexInformer { method Lister (line 85) | func (f *resourceSetInformer) Lister() v1alpha1.ResourceSetLister { function NewResourceSetInformer (line 48) | func NewResourceSetInformer(client versioned.Interface, resyncPeriod tim... function NewFilteredResourceSetInformer (line 55) | func NewFilteredResourceSetInformer(client versioned.Interface, resyncPe... FILE: src/go/pkg/client/informers/factory.go type SharedInformerOption (line 35) | type SharedInformerOption type sharedInformerFactory (line 37) | type sharedInformerFactory struct method Start (line 110) | func (f *sharedInformerFactory) Start(stopCh <-chan struct{}) { method WaitForCacheSync (line 123) | func (f *sharedInformerFactory) WaitForCacheSync(stopCh <-chan struct{... method InformerFor (line 146) | func (f *sharedInformerFactory) InformerFor(obj runtime.Object, newFun... method Apps (line 178) | func (f *sharedInformerFactory) Apps() apps.Interface { method Registry (line 182) | func (f *sharedInformerFactory) Registry() registry.Interface { function WithCustomResyncConfig (line 52) | func WithCustomResyncConfig(resyncConfig map[v1.Object]time.Duration) Sh... function WithTweakListOptions (line 62) | func WithTweakListOptions(tweakListOptions internalinterfaces.TweakListO... function WithNamespace (line 70) | func WithNamespace(namespace string) SharedInformerOption { function NewSharedInformerFactory (line 78) | func NewSharedInformerFactory(client versioned.Interface, defaultResync ... function NewFilteredSharedInformerFactory (line 86) | func NewFilteredSharedInformerFactory(client versioned.Interface, defaul... function NewSharedInformerFactoryWithOptions (line 91) | func NewSharedInformerFactoryWithOptions(client versioned.Interface, def... type SharedInformerFactory (line 169) | type SharedInformerFactory interface FILE: src/go/pkg/client/informers/generic.go type GenericInformer (line 30) | type GenericInformer interface type genericInformer (line 35) | type genericInformer struct method Informer (line 41) | func (f *genericInformer) Informer() cache.SharedIndexInformer { method Lister (line 46) | func (f *genericInformer) Lister() cache.GenericLister { method ForResource (line 52) | func (f *sharedInformerFactory) ForResource(resource schema.GroupVersion... FILE: src/go/pkg/client/informers/internalinterfaces/factory_interfaces.go type NewInformerFunc (line 29) | type NewInformerFunc type SharedInformerFactory (line 32) | type SharedInformerFactory interface type TweakListOptionsFunc (line 38) | type TweakListOptionsFunc FILE: src/go/pkg/client/informers/registry/interface.go type Interface (line 25) | type Interface interface type group (line 30) | type group struct method V1alpha1 (line 42) | func (g *group) V1alpha1() v1alpha1.Interface { function New (line 37) | func New(f internalinterfaces.SharedInformerFactory, namespace string, t... FILE: src/go/pkg/client/informers/registry/v1alpha1/interface.go type Interface (line 24) | type Interface interface type version (line 29) | type version struct method Robots (line 41) | func (v *version) Robots() RobotInformer { function New (line 36) | func New(f internalinterfaces.SharedInformerFactory, namespace string, t... FILE: src/go/pkg/client/informers/registry/v1alpha1/robot.go type RobotInformer (line 35) | type RobotInformer interface type robotInformer (line 40) | type robotInformer struct method defaultInformer (line 78) | func (f *robotInformer) defaultInformer(client versioned.Interface, re... method Informer (line 82) | func (f *robotInformer) Informer() cache.SharedIndexInformer { method Lister (line 86) | func (f *robotInformer) Lister() v1alpha1.RobotLister { function NewRobotInformer (line 49) | func NewRobotInformer(client versioned.Interface, namespace string, resy... function NewFilteredRobotInformer (line 56) | func NewFilteredRobotInformer(client versioned.Interface, namespace stri... FILE: src/go/pkg/client/listers/apps/v1alpha1/app.go type AppLister (line 28) | type AppLister interface type appLister (line 39) | type appLister struct method List (line 49) | func (s *appLister) List(selector labels.Selector) (ret []*v1alpha1.Ap... method Get (line 57) | func (s *appLister) Get(name string) (*v1alpha1.App, error) { function NewAppLister (line 44) | func NewAppLister(indexer cache.Indexer) AppLister { FILE: src/go/pkg/client/listers/apps/v1alpha1/approllout.go type AppRolloutLister (line 28) | type AppRolloutLister interface type appRolloutLister (line 39) | type appRolloutLister struct method List (line 49) | func (s *appRolloutLister) List(selector labels.Selector) (ret []*v1al... method Get (line 57) | func (s *appRolloutLister) Get(name string) (*v1alpha1.AppRollout, err... function NewAppRolloutLister (line 44) | func NewAppRolloutLister(indexer cache.Indexer) AppRolloutLister { FILE: src/go/pkg/client/listers/apps/v1alpha1/chartassignment.go type ChartAssignmentLister (line 28) | type ChartAssignmentLister interface type chartAssignmentLister (line 39) | type chartAssignmentLister struct method List (line 49) | func (s *chartAssignmentLister) List(selector labels.Selector) (ret []... method Get (line 57) | func (s *chartAssignmentLister) Get(name string) (*v1alpha1.ChartAssig... function NewChartAssignmentLister (line 44) | func NewChartAssignmentLister(indexer cache.Indexer) ChartAssignmentList... FILE: src/go/pkg/client/listers/apps/v1alpha1/expansion_generated.go type AppListerExpansion (line 21) | type AppListerExpansion interface type AppRolloutListerExpansion (line 25) | type AppRolloutListerExpansion interface type ChartAssignmentListerExpansion (line 29) | type ChartAssignmentListerExpansion interface type ResourceSetListerExpansion (line 33) | type ResourceSetListerExpansion interface FILE: src/go/pkg/client/listers/apps/v1alpha1/resourceset.go type ResourceSetLister (line 28) | type ResourceSetLister interface type resourceSetLister (line 39) | type resourceSetLister struct method List (line 49) | func (s *resourceSetLister) List(selector labels.Selector) (ret []*v1a... method Get (line 57) | func (s *resourceSetLister) Get(name string) (*v1alpha1.ResourceSet, e... function NewResourceSetLister (line 44) | func NewResourceSetLister(indexer cache.Indexer) ResourceSetLister { FILE: src/go/pkg/client/listers/registry/v1alpha1/expansion_generated.go type RobotListerExpansion (line 21) | type RobotListerExpansion interface type RobotNamespaceListerExpansion (line 25) | type RobotNamespaceListerExpansion interface FILE: src/go/pkg/client/listers/registry/v1alpha1/robot.go type RobotLister (line 28) | type RobotLister interface type robotLister (line 38) | type robotLister struct method List (line 48) | func (s *robotLister) List(selector labels.Selector) (ret []*v1alpha1.... method Robots (line 56) | func (s *robotLister) Robots(namespace string) RobotNamespaceLister { function NewRobotLister (line 43) | func NewRobotLister(indexer cache.Indexer) RobotLister { type RobotNamespaceLister (line 62) | type RobotNamespaceLister interface type robotNamespaceLister (line 74) | type robotNamespaceLister struct method List (line 80) | func (s robotNamespaceLister) List(selector labels.Selector) (ret []*v... method Get (line 88) | func (s robotNamespaceLister) Get(name string) (*v1alpha1.Robot, error) { FILE: src/go/pkg/client/versioned/clientset.go type Interface (line 29) | type Interface interface type Clientset (line 37) | type Clientset struct method AppsV1alpha1 (line 44) | func (c *Clientset) AppsV1alpha1() appsv1alpha1.AppsV1alpha1Interface { method RegistryV1alpha1 (line 49) | func (c *Clientset) RegistryV1alpha1() registryv1alpha1.RegistryV1alph... method Discovery (line 54) | func (c *Clientset) Discovery() discovery.DiscoveryInterface { function NewForConfig (line 64) | func NewForConfig(c *rest.Config) (*Clientset, error) { function NewForConfigOrDie (line 92) | func NewForConfigOrDie(c *rest.Config) *Clientset { function New (line 102) | func New(c rest.Interface) *Clientset { FILE: src/go/pkg/client/versioned/fake/clientset_generated.go function NewSimpleClientset (line 36) | func NewSimpleClientset(objects ...runtime.Object) *Clientset { type Clientset (line 63) | type Clientset struct method Discovery (line 69) | func (c *Clientset) Discovery() discovery.DiscoveryInterface { method Tracker (line 73) | func (c *Clientset) Tracker() testing.ObjectTracker { method AppsV1alpha1 (line 83) | func (c *Clientset) AppsV1alpha1() appsv1alpha1.AppsV1alpha1Interface { method RegistryV1alpha1 (line 88) | func (c *Clientset) RegistryV1alpha1() registryv1alpha1.RegistryV1alph... FILE: src/go/pkg/client/versioned/fake/register.go function init (line 53) | func init() { FILE: src/go/pkg/client/versioned/scheme/register.go function init (line 53) | func init() { FILE: src/go/pkg/client/versioned/typed/apps/v1alpha1/app.go type AppsGetter (line 33) | type AppsGetter interface type AppInterface (line 38) | type AppInterface interface type apps (line 51) | type apps struct method Get (line 63) | func (c *apps) Get(ctx context.Context, name string, options v1.GetOpt... method List (line 75) | func (c *apps) List(ctx context.Context, opts v1.ListOptions) (result ... method Watch (line 91) | func (c *apps) Watch(ctx context.Context, opts v1.ListOptions) (watch.... method Create (line 105) | func (c *apps) Create(ctx context.Context, app *v1alpha1.App, opts v1.... method Update (line 117) | func (c *apps) Update(ctx context.Context, app *v1alpha1.App, opts v1.... method Delete (line 130) | func (c *apps) Delete(ctx context.Context, name string, opts v1.Delete... method DeleteCollection (line 140) | func (c *apps) DeleteCollection(ctx context.Context, opts v1.DeleteOpt... method Patch (line 155) | func (c *apps) Patch(ctx context.Context, name string, pt types.PatchT... function newApps (line 56) | func newApps(c *AppsV1alpha1Client) *apps { FILE: src/go/pkg/client/versioned/typed/apps/v1alpha1/approllout.go type AppRolloutsGetter (line 33) | type AppRolloutsGetter interface type AppRolloutInterface (line 38) | type AppRolloutInterface interface type appRollouts (line 52) | type appRollouts struct method Get (line 64) | func (c *appRollouts) Get(ctx context.Context, name string, options v1... method List (line 76) | func (c *appRollouts) List(ctx context.Context, opts v1.ListOptions) (... method Watch (line 92) | func (c *appRollouts) Watch(ctx context.Context, opts v1.ListOptions) ... method Create (line 106) | func (c *appRollouts) Create(ctx context.Context, appRollout *v1alpha1... method Update (line 118) | func (c *appRollouts) Update(ctx context.Context, appRollout *v1alpha1... method UpdateStatus (line 132) | func (c *appRollouts) UpdateStatus(ctx context.Context, appRollout *v1... method Delete (line 146) | func (c *appRollouts) Delete(ctx context.Context, name string, opts v1... method DeleteCollection (line 156) | func (c *appRollouts) DeleteCollection(ctx context.Context, opts v1.De... method Patch (line 171) | func (c *appRollouts) Patch(ctx context.Context, name string, pt types... function newAppRollouts (line 57) | func newAppRollouts(c *AppsV1alpha1Client) *appRollouts { FILE: src/go/pkg/client/versioned/typed/apps/v1alpha1/apps_client.go type AppsV1alpha1Interface (line 25) | type AppsV1alpha1Interface interface type AppsV1alpha1Client (line 34) | type AppsV1alpha1Client struct method Apps (line 38) | func (c *AppsV1alpha1Client) Apps() AppInterface { method AppRollouts (line 42) | func (c *AppsV1alpha1Client) AppRollouts() AppRolloutInterface { method ChartAssignments (line 46) | func (c *AppsV1alpha1Client) ChartAssignments() ChartAssignmentInterfa... method ResourceSets (line 50) | func (c *AppsV1alpha1Client) ResourceSets() ResourceSetInterface { method RESTClient (line 97) | func (c *AppsV1alpha1Client) RESTClient() rest.Interface { function NewForConfig (line 55) | func NewForConfig(c *rest.Config) (*AppsV1alpha1Client, error) { function NewForConfigOrDie (line 69) | func NewForConfigOrDie(c *rest.Config) *AppsV1alpha1Client { function New (line 78) | func New(c rest.Interface) *AppsV1alpha1Client { function setConfigDefaults (line 82) | func setConfigDefaults(config *rest.Config) error { FILE: src/go/pkg/client/versioned/typed/apps/v1alpha1/chartassignment.go type ChartAssignmentsGetter (line 33) | type ChartAssignmentsGetter interface type ChartAssignmentInterface (line 38) | type ChartAssignmentInterface interface type chartAssignments (line 52) | type chartAssignments struct method Get (line 64) | func (c *chartAssignments) Get(ctx context.Context, name string, optio... method List (line 76) | func (c *chartAssignments) List(ctx context.Context, opts v1.ListOptio... method Watch (line 92) | func (c *chartAssignments) Watch(ctx context.Context, opts v1.ListOpti... method Create (line 106) | func (c *chartAssignments) Create(ctx context.Context, chartAssignment... method Update (line 118) | func (c *chartAssignments) Update(ctx context.Context, chartAssignment... method UpdateStatus (line 132) | func (c *chartAssignments) UpdateStatus(ctx context.Context, chartAssi... method Delete (line 146) | func (c *chartAssignments) Delete(ctx context.Context, name string, op... method DeleteCollection (line 156) | func (c *chartAssignments) DeleteCollection(ctx context.Context, opts ... method Patch (line 171) | func (c *chartAssignments) Patch(ctx context.Context, name string, pt ... function newChartAssignments (line 57) | func newChartAssignments(c *AppsV1alpha1Client) *chartAssignments { FILE: src/go/pkg/client/versioned/typed/apps/v1alpha1/fake/fake_app.go type FakeApps (line 32) | type FakeApps struct method Get (line 41) | func (c *FakeApps) Get(ctx context.Context, name string, options v1.Ge... method List (line 51) | func (c *FakeApps) List(ctx context.Context, opts v1.ListOptions) (res... method Watch (line 72) | func (c *FakeApps) Watch(ctx context.Context, opts v1.ListOptions) (wa... method Create (line 78) | func (c *FakeApps) Create(ctx context.Context, app *v1alpha1.App, opts... method Update (line 88) | func (c *FakeApps) Update(ctx context.Context, app *v1alpha1.App, opts... method Delete (line 98) | func (c *FakeApps) Delete(ctx context.Context, name string, opts v1.De... method DeleteCollection (line 105) | func (c *FakeApps) DeleteCollection(ctx context.Context, opts v1.Delet... method Patch (line 113) | func (c *FakeApps) Patch(ctx context.Context, name string, pt types.Pa... FILE: src/go/pkg/client/versioned/typed/apps/v1alpha1/fake/fake_approllout.go type FakeAppRollouts (line 32) | type FakeAppRollouts struct method Get (line 41) | func (c *FakeAppRollouts) Get(ctx context.Context, name string, option... method List (line 51) | func (c *FakeAppRollouts) List(ctx context.Context, opts v1.ListOption... method Watch (line 72) | func (c *FakeAppRollouts) Watch(ctx context.Context, opts v1.ListOptio... method Create (line 78) | func (c *FakeAppRollouts) Create(ctx context.Context, appRollout *v1al... method Update (line 88) | func (c *FakeAppRollouts) Update(ctx context.Context, appRollout *v1al... method UpdateStatus (line 99) | func (c *FakeAppRollouts) UpdateStatus(ctx context.Context, appRollout... method Delete (line 109) | func (c *FakeAppRollouts) Delete(ctx context.Context, name string, opt... method DeleteCollection (line 116) | func (c *FakeAppRollouts) DeleteCollection(ctx context.Context, opts v... method Patch (line 124) | func (c *FakeAppRollouts) Patch(ctx context.Context, name string, pt t... FILE: src/go/pkg/client/versioned/typed/apps/v1alpha1/fake/fake_apps_client.go type FakeAppsV1alpha1 (line 25) | type FakeAppsV1alpha1 struct method Apps (line 29) | func (c *FakeAppsV1alpha1) Apps() v1alpha1.AppInterface { method AppRollouts (line 33) | func (c *FakeAppsV1alpha1) AppRollouts() v1alpha1.AppRolloutInterface { method ChartAssignments (line 37) | func (c *FakeAppsV1alpha1) ChartAssignments() v1alpha1.ChartAssignment... method ResourceSets (line 41) | func (c *FakeAppsV1alpha1) ResourceSets() v1alpha1.ResourceSetInterface { method RESTClient (line 47) | func (c *FakeAppsV1alpha1) RESTClient() rest.Interface { FILE: src/go/pkg/client/versioned/typed/apps/v1alpha1/fake/fake_chartassignment.go type FakeChartAssignments (line 32) | type FakeChartAssignments struct method Get (line 41) | func (c *FakeChartAssignments) Get(ctx context.Context, name string, o... method List (line 51) | func (c *FakeChartAssignments) List(ctx context.Context, opts v1.ListO... method Watch (line 72) | func (c *FakeChartAssignments) Watch(ctx context.Context, opts v1.List... method Create (line 78) | func (c *FakeChartAssignments) Create(ctx context.Context, chartAssign... method Update (line 88) | func (c *FakeChartAssignments) Update(ctx context.Context, chartAssign... method UpdateStatus (line 99) | func (c *FakeChartAssignments) UpdateStatus(ctx context.Context, chart... method Delete (line 109) | func (c *FakeChartAssignments) Delete(ctx context.Context, name string... method DeleteCollection (line 116) | func (c *FakeChartAssignments) DeleteCollection(ctx context.Context, o... method Patch (line 124) | func (c *FakeChartAssignments) Patch(ctx context.Context, name string,... FILE: src/go/pkg/client/versioned/typed/apps/v1alpha1/fake/fake_resourceset.go type FakeResourceSets (line 32) | type FakeResourceSets struct method Get (line 41) | func (c *FakeResourceSets) Get(ctx context.Context, name string, optio... method List (line 51) | func (c *FakeResourceSets) List(ctx context.Context, opts v1.ListOptio... method Watch (line 72) | func (c *FakeResourceSets) Watch(ctx context.Context, opts v1.ListOpti... method Create (line 78) | func (c *FakeResourceSets) Create(ctx context.Context, resourceSet *v1... method Update (line 88) | func (c *FakeResourceSets) Update(ctx context.Context, resourceSet *v1... method UpdateStatus (line 99) | func (c *FakeResourceSets) UpdateStatus(ctx context.Context, resourceS... method Delete (line 109) | func (c *FakeResourceSets) Delete(ctx context.Context, name string, op... method DeleteCollection (line 116) | func (c *FakeResourceSets) DeleteCollection(ctx context.Context, opts ... method Patch (line 124) | func (c *FakeResourceSets) Patch(ctx context.Context, name string, pt ... FILE: src/go/pkg/client/versioned/typed/apps/v1alpha1/generated_expansion.go type AppExpansion (line 19) | type AppExpansion interface type AppRolloutExpansion (line 21) | type AppRolloutExpansion interface type ChartAssignmentExpansion (line 23) | type ChartAssignmentExpansion interface type ResourceSetExpansion (line 25) | type ResourceSetExpansion interface FILE: src/go/pkg/client/versioned/typed/apps/v1alpha1/resourceset.go type ResourceSetsGetter (line 33) | type ResourceSetsGetter interface type ResourceSetInterface (line 38) | type ResourceSetInterface interface type resourceSets (line 52) | type resourceSets struct method Get (line 64) | func (c *resourceSets) Get(ctx context.Context, name string, options v... method List (line 76) | func (c *resourceSets) List(ctx context.Context, opts v1.ListOptions) ... method Watch (line 92) | func (c *resourceSets) Watch(ctx context.Context, opts v1.ListOptions)... method Create (line 106) | func (c *resourceSets) Create(ctx context.Context, resourceSet *v1alph... method Update (line 118) | func (c *resourceSets) Update(ctx context.Context, resourceSet *v1alph... method UpdateStatus (line 132) | func (c *resourceSets) UpdateStatus(ctx context.Context, resourceSet *... method Delete (line 146) | func (c *resourceSets) Delete(ctx context.Context, name string, opts v... method DeleteCollection (line 156) | func (c *resourceSets) DeleteCollection(ctx context.Context, opts v1.D... method Patch (line 171) | func (c *resourceSets) Patch(ctx context.Context, name string, pt type... function newResourceSets (line 57) | func newResourceSets(c *AppsV1alpha1Client) *resourceSets { FILE: src/go/pkg/client/versioned/typed/registry/v1alpha1/fake/fake_registry_client.go type FakeRegistryV1alpha1 (line 25) | type FakeRegistryV1alpha1 struct method Robots (line 29) | func (c *FakeRegistryV1alpha1) Robots(namespace string) v1alpha1.Robot... method RESTClient (line 35) | func (c *FakeRegistryV1alpha1) RESTClient() rest.Interface { FILE: src/go/pkg/client/versioned/typed/registry/v1alpha1/fake/fake_robot.go type FakeRobots (line 32) | type FakeRobots struct method Get (line 42) | func (c *FakeRobots) Get(ctx context.Context, name string, options v1.... method List (line 53) | func (c *FakeRobots) List(ctx context.Context, opts v1.ListOptions) (r... method Watch (line 75) | func (c *FakeRobots) Watch(ctx context.Context, opts v1.ListOptions) (... method Create (line 82) | func (c *FakeRobots) Create(ctx context.Context, robot *v1alpha1.Robot... method Update (line 93) | func (c *FakeRobots) Update(ctx context.Context, robot *v1alpha1.Robot... method UpdateStatus (line 105) | func (c *FakeRobots) UpdateStatus(ctx context.Context, robot *v1alpha1... method Delete (line 116) | func (c *FakeRobots) Delete(ctx context.Context, name string, opts v1.... method DeleteCollection (line 124) | func (c *FakeRobots) DeleteCollection(ctx context.Context, opts v1.Del... method Patch (line 132) | func (c *FakeRobots) Patch(ctx context.Context, name string, pt types.... FILE: src/go/pkg/client/versioned/typed/registry/v1alpha1/generated_expansion.go type RobotExpansion (line 19) | type RobotExpansion interface FILE: src/go/pkg/client/versioned/typed/registry/v1alpha1/registry_client.go type RegistryV1alpha1Interface (line 25) | type RegistryV1alpha1Interface interface type RegistryV1alpha1Client (line 31) | type RegistryV1alpha1Client struct method Robots (line 35) | func (c *RegistryV1alpha1Client) Robots(namespace string) RobotInterfa... method RESTClient (line 82) | func (c *RegistryV1alpha1Client) RESTClient() rest.Interface { function NewForConfig (line 40) | func NewForConfig(c *rest.Config) (*RegistryV1alpha1Client, error) { function NewForConfigOrDie (line 54) | func NewForConfigOrDie(c *rest.Config) *RegistryV1alpha1Client { function New (line 63) | func New(c rest.Interface) *RegistryV1alpha1Client { function setConfigDefaults (line 67) | func setConfigDefaults(config *rest.Config) error { FILE: src/go/pkg/client/versioned/typed/registry/v1alpha1/robot.go type RobotsGetter (line 33) | type RobotsGetter interface type RobotInterface (line 38) | type RobotInterface interface type robots (line 52) | type robots struct method Get (line 66) | func (c *robots) Get(ctx context.Context, name string, options v1.GetO... method List (line 79) | func (c *robots) List(ctx context.Context, opts v1.ListOptions) (resul... method Watch (line 96) | func (c *robots) Watch(ctx context.Context, opts v1.ListOptions) (watc... method Create (line 111) | func (c *robots) Create(ctx context.Context, robot *v1alpha1.Robot, op... method Update (line 124) | func (c *robots) Update(ctx context.Context, robot *v1alpha1.Robot, op... method UpdateStatus (line 139) | func (c *robots) UpdateStatus(ctx context.Context, robot *v1alpha1.Rob... method Delete (line 154) | func (c *robots) Delete(ctx context.Context, name string, opts v1.Dele... method DeleteCollection (line 165) | func (c *robots) DeleteCollection(ctx context.Context, opts v1.DeleteO... method Patch (line 181) | func (c *robots) Patch(ctx context.Context, name string, pt types.Patc... function newRobots (line 58) | func newRobots(c *RegistryV1alpha1Client, namespace string) *robots { FILE: src/go/pkg/configutil/config_reader.go function bashUnescape (line 36) | func bashUnescape(s string) string { function getConfigFromReader (line 53) | func getConfigFromReader(reader io.Reader) (map[string]string, error) { function setDefaultVars (line 70) | func setDefaultVars(vars map[string]string) { function ReadConfig (line 82) | func ReadConfig(project string, opts ...option.ClientOption) (map[string... function GetBoolean (line 106) | func GetBoolean(vars map[string]string, key string, def bool) bool { FILE: src/go/pkg/configutil/config_reader_test.go function TestBashUnescape (line 23) | func TestBashUnescape(t *testing.T) { function TestGetConfigFromReader (line 53) | func TestGetConfigFromReader(t *testing.T) { function TestSetDefaultVars (line 77) | func TestSetDefaultVars(t *testing.T) { function TestGetBoolean (line 111) | func TestGetBoolean(t *testing.T) { FILE: src/go/pkg/controller/approllout/controller.go constant fieldIndexOwners (line 54) | fieldIndexOwners = "metadata.ownerReferences.uid" constant fieldIndexAppName (line 55) | fieldIndexAppName = "spec.appName" constant labelRobotName (line 56) | labelRobotName = "cloudrobotics.com/robot-name" function Add (line 61) | func Add(ctx context.Context, mgr manager.Manager, baseValues chartutil.... type Reconciler (line 209) | type Reconciler struct method enqueueForApp (line 166) | func (r *Reconciler) enqueueForApp(ctx context.Context, m metav1.Objec... method enqueueForOwner (line 182) | func (r *Reconciler) enqueueForOwner(m metav1.Object, q workqueue.Rate... method enqueueAll (line 193) | func (r *Reconciler) enqueueAll(ctx context.Context, q workqueue.RateL... method Reconcile (line 214) | func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Requ... method reconcile (line 227) | func (r *Reconciler) reconcile(ctx context.Context, ar *apps.AppRollou... method updateErrorStatus (line 357) | func (r *Reconciler) updateErrorStatus(ctx context.Context, ar *apps.A... function setStatus (line 365) | func setStatus(ar *apps.AppRollout, numWantCAs int, curCAs []apps.ChartA... function setCondition (line 395) | func setCondition(ar *apps.AppRollout, t apps.AppRolloutConditionType, s... function chartAssignmentChanged (line 425) | func chartAssignmentChanged(prev, cur *apps.ChartAssignment) (bool, erro... type errRobotSelectorOverlap (line 443) | type errRobotSelectorOverlap method Error (line 445) | func (r errRobotSelectorOverlap) Error() string { function generateChartAssignments (line 451) | func generateChartAssignments( function newCloudChartAssignment (line 542) | func newCloudChartAssignment( function newRobotChartAssignment (line 572) | func newRobotChartAssignment( function newBaseChartAssignment (line 601) | func newBaseChartAssignment(app *apps.App, rollout *apps.AppRollout, com... function matchingRobots (line 630) | func matchingRobots(robots []registry.Robot, sel *apps.RobotSelector) ([... function appNamespaceName (line 650) | func appNamespaceName(rollout string) string { type componentType (line 654) | type componentType constant compTypeRobot (line 657) | compTypeRobot componentType = "robot" constant compTypeCloud (line 658) | compTypeCloud = "cloud" function chartAssignmentName (line 661) | func chartAssignmentName(rollout string, typ componentType, robot string... type robotValues (line 670) | type robotValues struct function setLabel (line 674) | func setLabel(o *metav1.ObjectMeta, k, v string) { function setAnnotation (line 681) | func setAnnotation(o *metav1.ObjectMeta, k, v string) { function setOwnerReference (line 690) | func setOwnerReference(om *metav1.ObjectMeta, ref metav1.OwnerReference) { function indexOwnerReferences (line 701) | func indexOwnerReferences(o kclient.Object) (vs []string) { function indexAppName (line 709) | func indexAppName(o kclient.Object) []string { constant labelAppName (line 716) | labelAppName = "cloudrobotics.com/app-name" constant labelAppVersion (line 719) | labelAppVersion = "cloudrobotics.com/app-version" function NewAppValidationWebhook (line 736) | func NewAppValidationWebhook(mgr manager.Manager) *admission.Webhook { type appValidator (line 741) | type appValidator struct method Handle (line 751) | func (v *appValidator) Handle(_ context.Context, req admission.Request... function newAppValidator (line 745) | func newAppValidator(sc *runtime.Scheme) *appValidator { function appValidate (line 762) | func appValidate(cur *apps.App) error { function NewAppRolloutValidationWebhook (line 785) | func NewAppRolloutValidationWebhook(mgr manager.Manager) *admission.Webh... type appRolloutValidator (line 790) | type appRolloutValidator struct method Handle (line 800) | func (v *appRolloutValidator) Handle(_ context.Context, req admission.... function newAppRolloutValidator (line 794) | func newAppRolloutValidator(sc *runtime.Scheme) *appRolloutValidator { function appRolloutValidate (line 812) | func appRolloutValidate(cur *apps.AppRollout) error { FILE: src/go/pkg/controller/approllout/controller_test.go function marshalYAML (line 29) | func marshalYAML(t *testing.T, v interface{}) string { function unmarshalYAML (line 38) | func unmarshalYAML(t *testing.T, v interface{}, s string) { function verifyChartAssignment (line 45) | func verifyChartAssignment(t *testing.T, want, got *apps.ChartAssignment) { function TestNewRobotChartAssignment (line 57) | func TestNewRobotChartAssignment(t *testing.T) { function TestNewCloudChartAssignment (line 128) | func TestNewCloudChartAssignment(t *testing.T) { function TestGenerateChartAssignments (line 201) | func TestGenerateChartAssignments(t *testing.T) { function generateApp (line 325) | func generateApp(name, version, robotPayload, cloudPayload string) apps.... function generateRobot (line 350) | func generateRobot(name string, labels map[string]string) registry.Robot { function generateRollout (line 360) | func generateRollout(name, appName string) apps.AppRollout { function addRobotToRollout (line 372) | func addRobotToRollout(ar *apps.AppRollout, matchLabel, matchValue, vers... function TestGenerateChartAssignments_vApps (line 388) | func TestGenerateChartAssignments_vApps(t *testing.T) { function TestGenerateChartAssignments_vAppMissing (line 422) | func TestGenerateChartAssignments_vAppMissing(t *testing.T) { function TestGenerateChartAssignments_vAppCloud (line 447) | func TestGenerateChartAssignments_vAppCloud(t *testing.T) { function TestGenerateChartAssignments_vAppCloudMissing (line 483) | func TestGenerateChartAssignments_vAppCloudMissing(t *testing.T) { function TestGenerateChartAssignments_cloudPerRobot (line 508) | func TestGenerateChartAssignments_cloudPerRobot(t *testing.T) { function TestGenerateChartAssignments_selectorOverlap (line 575) | func TestGenerateChartAssignments_selectorOverlap(t *testing.T) { function TestSetStatus (line 619) | func TestSetStatus(t *testing.T) { function TestValidateAppRollout (line 665) | func TestValidateAppRollout(t *testing.T) { function TestValidateApp (line 780) | func TestValidateApp(t *testing.T) { FILE: src/go/pkg/controller/chartassignment/controller.go constant defaultServiceAccountDeadline (line 45) | defaultServiceAccountDeadline = time.Minute constant fieldIndexNamespace (line 46) | fieldIndexNamespace = "spec.namespaceName" constant statusCheckingOptOutLabel (line 47) | statusCheckingOptOutLabel = "cloudrobotics.com/opt-out-error-checking" function Add (line 53) | func Add(ctx context.Context, mgr manager.Manager, cloud bool) error { type Reconciler (line 122) | type Reconciler struct method enqueueForPod (line 106) | func (r *Reconciler) enqueueForPod(ctx context.Context, m meta.Object,... method Reconcile (line 133) | func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Requ... method ensureNamespace (line 187) | func (r *Reconciler) ensureNamespace(ctx context.Context, as *apps.Cha... method ensureSecrets (line 225) | func (r *Reconciler) ensureSecrets(ctx context.Context, as *apps.Chart... method ensureServiceAccount (line 253) | func (r *Reconciler) ensureServiceAccount(ctx context.Context, ns *cor... method reconcile (line 294) | func (r *Reconciler) reconcile(ctx context.Context, as *apps.ChartAssi... method setStatus (line 366) | func (r *Reconciler) setStatus(ctx context.Context, as *apps.ChartAssi... method ensureDeleted (line 433) | func (r *Reconciler) ensureDeleted(ctx context.Context, as *apps.Chart... constant finalizer (line 160) | finalizer = "helm.apps.cloudrobotics.com" constant requeueFast (line 162) | requeueFast = 3 * time.Second constant requeueSlow (line 164) | requeueSlow = 3 * time.Minute type namespaceDeletionError (line 172) | type namespaceDeletionError struct method Error (line 176) | func (e *namespaceDeletionError) Error() string { return e.msg } type missingServiceAccountError (line 181) | type missingServiceAccountError struct method Error (line 185) | func (e *missingServiceAccountError) Error() string { return e.msg } function condition (line 359) | func condition(b bool) core.ConditionStatus { function stringsContain (line 454) | func stringsContain(list []string, s string) bool { function stringsDelete (line 463) | func stringsDelete(list []string, s string) (res []string) { function setOwnerReference (line 474) | func setOwnerReference(om *meta.ObjectMeta, ref meta.OwnerReference) bool { function inCondition (line 487) | func inCondition(as *apps.ChartAssignment, c apps.ChartAssignmentConditi... function setCondition (line 498) | func setCondition(as *apps.ChartAssignment, t apps.ChartAssignmentCondit... FILE: src/go/pkg/controller/chartassignment/release.go type releases (line 50) | type releases struct method status (line 90) | func (rs *releases) status(name string) (releaseStatus, bool) { method add (line 103) | func (rs *releases) add(name string) *release { method ensureUpdated (line 127) | func (rs *releases) ensureUpdated(as *apps.ChartAssignment) bool { method ensureDeleted (line 152) | func (rs *releases) ensureDeleted(as *apps.ChartAssignment) bool { function newReleases (line 58) | func newReleases(cfg *rest.Config, rec record.EventRecorder) (*releases,... type release (line 71) | type release struct method run (line 159) | func (r *release) run() { method start (line 167) | func (r *release) start(f func()) bool { method setPhase (line 176) | func (r *release) setPhase(p apps.ChartAssignmentPhase) { method generation (line 184) | func (r *release) generation() int64 { method setGeneration (line 190) | func (r *release) setGeneration(generation int64) { method setFailed (line 196) | func (r *release) setFailed(err error, retry bool) { method delete (line 213) | func (r *release) delete(as *apps.ChartAssignment) { method update (line 235) | func (r *release) update(as *apps.ChartAssignment) { type releaseStatus (line 82) | type releaseStatus struct function loadAndExpandChart (line 281) | func loadAndExpandChart(as *apps.ChartAssignment) ([]*unstructured.Unstr... function loadChart (line 307) | func loadChart(cspec *apps.AssignedChart) (*chart.Chart, string, error) { function fetchChartTar (line 350) | func fetchChartTar(repoURL, name, version string) (io.Reader, error) { function newHTTPGetter (line 391) | func newHTTPGetter(url, certFile, keyFile, caFile string) (getter.Getter... function decodeManifests (line 395) | func decodeManifests(manifests map[string]string) ([]*unstructured.Unstr... FILE: src/go/pkg/controller/chartassignment/release_test.go constant ChartName (line 14) | ChartName = "testchart" function verifyValues (line 17) | func verifyValues(t *testing.T, have string, wantValues chartutil.Values) { function Test_loadChart_mergesValues (line 25) | func Test_loadChart_mergesValues(t *testing.T) { function Test_loadChartWithoutTemplates_returnsZeroManifests (line 54) | func Test_loadChartWithoutTemplates_returnsZeroManifests(t *testing.T) { function Test_updateSynk_callsApply (line 74) | func Test_updateSynk_callsApply(t *testing.T) { function Test_deleteSynk_callsDelete (line 101) | func Test_deleteSynk_callsDelete(t *testing.T) { FILE: src/go/pkg/controller/chartassignment/validator.go function NewValidationWebhook (line 33) | func NewValidationWebhook(mgr manager.Manager) *admission.Webhook { type chartAssignmentValidator (line 38) | type chartAssignmentValidator struct method Handle (line 48) | func (v *chartAssignmentValidator) Handle(_ context.Context, req admis... method validate (line 68) | func (v *chartAssignmentValidator) validate(cur, old *apps.ChartAssign... function newChartAssignmentValidator (line 42) | func newChartAssignmentValidator(sc *runtime.Scheme) *chartAssignmentVal... FILE: src/go/pkg/controller/chartassignment/validator_test.go function unmarshalYAML (line 25) | func unmarshalYAML(t *testing.T, v interface{}, s string) { function TestValidate (line 32) | func TestValidate(t *testing.T) { FILE: src/go/pkg/gcr/update_gcr_credential_test.go function TestDockercfgJSON (line 23) | func TestDockercfgJSON(t *testing.T) { FILE: src/go/pkg/gcr/update_gcr_credentials.go constant SecretName (line 40) | SecretName = "gcr-json-key" function DockerCfgJSON (line 44) | func DockerCfgJSON(token string) []byte { function patchServiceAccount (line 69) | func patchServiceAccount(ctx context.Context, k8s *kubernetes.Clientset,... function UpdateGcrCredentials (line 91) | func UpdateGcrCredentials(ctx context.Context, k8s *kubernetes.Clientset... FILE: src/go/pkg/kubetest/kubetest.go type Environment (line 59) | type Environment struct method Ctx (line 138) | func (e *Environment) Ctx() context.Context { method InstallChartArchive (line 152) | func (e *Environment) InstallChartArchive(cluster, name, namespace, pa... method Client (line 186) | func (e *Environment) Client(cluster string) client.Client { method Teardown (line 201) | func (e *Environment) Teardown() { method Run (line 225) | func (e *Environment) Run(tests ...TestFunc) { method Uniq (line 243) | func (e *Environment) Uniq(s string) string { method New (line 257) | func (env *Environment) New(testFn TestFunc) *Fixture { type Config (line 69) | type Config struct type ClusterConfig (line 77) | type ClusterConfig struct type cluster (line 81) | type cluster struct function New (line 90) | func New(t *testing.T, cfg Config) *Environment { function helmValues (line 142) | func helmValues(vars map[string]string) string { type TestFunc (line 222) | type TestFunc type Fixture (line 249) | type Fixture struct method Ctx (line 265) | func (f *Fixture) Ctx() context.Context { method ObjectKey (line 270) | func (f *Fixture) ObjectKey(o client.Object) client.ObjectKey { method Uniq (line 277) | func (f *Fixture) Uniq(s string) string { method FromYAML (line 284) | func (f *Fixture) FromYAML(tmpl string, vals, dst interface{}) { method Client (line 336) | func (f *Fixture) Client(cluster string) client.Client { method ChartAssignmentHasStatus (line 507) | func (f *Fixture) ChartAssignmentHasStatus(ca *crcapps.ChartAssignment... function BuildInlineChart (line 302) | func BuildInlineChart(t *testing.T, name, tmpl, values string) string { function addFileToTar (line 322) | func addFileToTar(tw *tar.Writer, path, content string) error { function setupCluster (line 342) | func setupCluster(synkPath string, cluster *cluster) error { function DeploymentReady (line 488) | func DeploymentReady(ctx context.Context, c client.Client, namespace, na... FILE: src/go/pkg/kubeutils/kubeutils.go constant LocalContext (line 38) | LocalContext = "kubernetes-admin@kubernetes" constant localConfig (line 40) | localConfig = "~/.kube/config" constant deletionTimeoutSeconds (line 41) | deletionTimeoutSeconds = 60 function ExpandUser (line 45) | func ExpandUser(path string) string { function CloudKubernetesContextName (line 55) | func CloudKubernetesContextName(projectID, region string) string { function GetCloudKubernetesContext (line 60) | func GetCloudKubernetesContext() (string, error) { function GetRobotKubernetesContext (line 75) | func GetRobotKubernetesContext() (string, error) { function LoadOutOfClusterConfigLocal (line 85) | func LoadOutOfClusterConfigLocal() (*rest.Config, error) { function LoadOutOfClusterConfig (line 89) | func LoadOutOfClusterConfig(context string) (*rest.Config, error) { type PrefixingRoundtripper (line 102) | type PrefixingRoundtripper struct method RoundTrip (line 107) | func (pr *PrefixingRoundtripper) RoundTrip(r *http.Request) (*http.Res... function BuildCloudKubernetesConfig (line 119) | func BuildCloudKubernetesConfig(ts oauth2.TokenSource, remoteServer stri... function UpdateSecret (line 134) | func UpdateSecret(ctx context.Context, k8s kubernetes.Interface, input *... FILE: src/go/pkg/robotauth/robotauth.go constant credentialsFile (line 49) | credentialsFile = "~/.config/cloud-robotics/robot-id.json" type RobotAuth (line 53) | type RobotAuth struct method StoreInFile (line 103) | func (r *RobotAuth) StoreInFile() error { method StoreInK8sSecret (line 123) | func (r *RobotAuth) StoreInK8sSecret(ctx context.Context, clientset ku... method CreatePrivateKey (line 143) | func (r *RobotAuth) CreatePrivateKey() error { method getTokenEndpoint (line 159) | func (r *RobotAuth) getTokenEndpoint() string { method CreateRobotTokenSource (line 166) | func (r *RobotAuth) CreateRobotTokenSource(ctx context.Context, gcpSaC... method CreateJWT (line 186) | func (r *RobotAuth) CreateJWT(ctx context.Context, lifetime time.Durat... method ServiceAccountEmail (line 232) | func (r *RobotAuth) ServiceAccountEmail(saName string) (string, error) { function filename (line 61) | func filename() string { function LoadFromFile (line 67) | func LoadFromFile(keyfile string) (*RobotAuth, error) { function LoadFromK8sSecret (line 85) | func LoadFromK8sSecret(ctx context.Context, clientset kubernetes.Interfa... type robotJWTSource (line 249) | type robotJWTSource struct method Token (line 256) | func (ts *robotJWTSource) Token() (*oauth2.Token, error) { constant jwtMinLifetime (line 293) | jwtMinLifetime = time.Minute function CreateJWTSource (line 298) | func CreateJWTSource() oauth2.TokenSource { FILE: src/go/pkg/robotauth/robotauth_test.go constant testPubKey (line 20) | testPubKey = ` constant testPrivKey (line 31) | testPrivKey = ` function TestK8sSecretLoadStoreRoundtrip (line 63) | func TestK8sSecretLoadStoreRoundtrip(t *testing.T) { function TestCreateJWT (line 86) | func TestCreateJWT(t *testing.T) { type mockRoundTripper (line 114) | type mockRoundTripper struct method RoundTrip (line 118) | func (rt *mockRoundTripper) RoundTrip(req *http.Request) (*http.Respon... function makeTokenResponse (line 122) | func makeTokenResponse(token string) *http.Response { constant testToken (line 133) | testToken = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJyb2JvdC1yb2... constant textTokenExpiryUnix (line 135) | textTokenExpiryUnix = 1741615721 function TestCreateJWTSource (line 138) | func TestCreateJWTSource(t *testing.T) { FILE: src/go/pkg/setup/setupcommon.go function GetRobotName (line 45) | func GetRobotName(ctx context.Context, f util.Factory, client dynamic.Re... function exitIfNotRunningInTerminal (line 72) | func exitIfNotRunningInTerminal(message ...interface{}) { function selectRobot (line 81) | func selectRobot(f util.Factory, robots []unstructured.Unstructured) (st... function newExponentialBackoff (line 105) | func newExponentialBackoff(initialInterval time.Duration, multiplier flo... function WaitForDNS (line 118) | func WaitForDNS(domain string, retries uint64) error { function WaitForService (line 152) | func WaitForService(client *http.Client, url string, retries uint64) err... function PublishCredentialsToCloud (line 173) | func PublishCredentialsToCloud(client *http.Client, auth *robotauth.Robo... function isKeyRegistryAvailable (line 186) | func isKeyRegistryAvailable(auth *robotauth.RobotAuth, client *http.Clie... function publishPublicKeyToCloudRegistry (line 195) | func publishPublicKeyToCloudRegistry(auth *robotauth.RobotAuth, client *... function getPublicKey (line 226) | func getPublicKey(privateKey []byte) ([]byte, error) { function mergeMaps (line 259) | func mergeMaps(base, additions map[string]string) map[string]string { function CreateOrUpdateRobot (line 271) | func CreateOrUpdateRobot(ctx context.Context, client dynamic.ResourceInt... FILE: src/go/pkg/setup/setupcommon_test.go function TestSelectRobot (line 26) | func TestSelectRobot(t *testing.T) { function TestWaitForService_OkIfServiceResponds (line 59) | func TestWaitForService_OkIfServiceResponds(t *testing.T) { FILE: src/go/pkg/setup/util/factory.go type Factory (line 24) | type Factory interface type DefaultFactory (line 29) | type DefaultFactory struct method ScanInt (line 36) | func (f *DefaultFactory) ScanInt() (int, error) { method GetNetworkInterfaceIP (line 52) | func (f *DefaultFactory) GetNetworkInterfaceIP(namePrefix string) (str... function NewFactory (line 31) | func NewFactory() *DefaultFactory { FILE: src/go/pkg/setup/util/fake.go type TestFactory (line 17) | type TestFactory struct method ScanInt (line 25) | func (f *TestFactory) ScanInt() (int, error) { function NewTestFactory (line 21) | func NewTestFactory() *TestFactory { FILE: src/go/pkg/synk/interface.go type Interface (line 10) | type Interface interface FILE: src/go/pkg/synk/sort.go type gvknn (line 25) | type gvknn struct function newGvknn (line 34) | func newGvknn(group, version, kind, namespace, name string) *gvknn { function less (line 51) | func less(l, r *gvknn) bool { function gvknnUnstructured (line 57) | func gvknnUnstructured(u *unstructured.Unstructured) *gvknn { function gvknnRSpecG (line 62) | func gvknnRSpecG(r *apps.ResourceSetSpecGroup) *gvknn { function gvknnRStatusG (line 66) | func gvknnRStatusG(r *apps.ResourceSetStatusGroup) *gvknn { function lessUnstructured (line 70) | func lessUnstructured(l, r *unstructured.Unstructured) bool { function lessResourceSetSpecGroup (line 74) | func lessResourceSetSpecGroup(l, r *apps.ResourceSetSpecGroup) bool { function lessResourceSetStatusGroup (line 78) | func lessResourceSetStatusGroup(l, r *apps.ResourceSetStatusGroup) bool { FILE: src/go/pkg/synk/sort_test.go function TestLessResourceSetStatusGroup (line 23) | func TestLessResourceSetStatusGroup(t *testing.T) { function TestLessResourceSetSpecGroup (line 42) | func TestLessResourceSetSpecGroup(t *testing.T) { function TestLessUnstructured (line 61) | func TestLessUnstructured(t *testing.T) { function TestLess (line 72) | func TestLess(t *testing.T) { FILE: src/go/pkg/synk/synk.go constant totalAnnotationSizeLimitB (line 57) | totalAnnotationSizeLimitB int = 256 * (1 << 10) type Synk (line 60) | type Synk struct method Init (line 134) | func (s *Synk) Init() error { method Delete (line 215) | func (s *Synk) Delete(ctx context.Context, name string) error { method Apply (line 224) | func (s *Synk) Apply( method applyAll (line 309) | func (s *Synk) applyAll( method initialize (line 415) | func (s *Synk) initialize( method populateNamespaces (line 484) | func (s *Synk) populateNamespaces( method applyOne (line 670) | func (s *Synk) applyOne(ctx context.Context, resource *unstructured.Un... method crdAvailable (line 826) | func (s *Synk) crdAvailable(ucrd *unstructured.Unstructured) (bool, er... method createResourceSet (line 871) | func (s *Synk) createResourceSet(ctx context.Context, rs *apps.Resourc... method updateResourceSetStatus (line 923) | func (s *Synk) updateResourceSetStatus(ctx context.Context, rs *apps.R... method deleteFailedResourceSets (line 982) | func (s *Synk) deleteFailedResourceSets(ctx context.Context, name stri... method deleteResourceSets (line 1016) | func (s *Synk) deleteResourceSets(ctx context.Context, name string, ve... method next (line 1042) | func (s *Synk) next(ctx context.Context, name string) (version int32, ... function New (line 68) | func New(client dynamic.Interface, discovery discovery.CachedDiscoveryIn... function NewForConfig (line 81) | func NewForConfig(cfg *rest.Config) (*Synk, error) { type ApplyOptions (line 99) | type ApplyOptions struct method logf (line 119) | func (o *ApplyOptions) logf(r *unstructured.Unstructured, action apps.... method errorf (line 125) | func (o *ApplyOptions) errorf(r *unstructured.Unstructured, action app... constant StatusSuccess (line 115) | StatusSuccess = "success" constant StatusFailure (line 116) | StatusFailure = "failure" type transientErr (line 267) | type transientErr struct function IsTransientErr (line 272) | func IsTransientErr(err error) bool { function deleteAppliedAnnotation (line 544) | func deleteAppliedAnnotation(u *unstructured.Unstructured) { function setAppliedAnnotation (line 554) | func setAppliedAnnotation(u *unstructured.Unstructured) error { function getAppliedAnnotation (line 571) | func getAppliedAnnotation(u *unstructured.Unstructured) []byte { function validateOwnerRefs (line 577) | func validateOwnerRefs(r *unstructured.Unstructured, set *apps.ResourceS... function setOwnerRef (line 606) | func setOwnerRef(r *unstructured.Unstructured, set *apps.ResourceSet) { function canReplace (line 628) | func canReplace(resource *unstructured.Unstructured, patchErr error) bool { function replace (line 652) | func replace(ctx context.Context, client dynamic.ResourceInterface, reso... type applyResult (line 886) | type applyResult struct method String (line 892) | func (r *applyResult) String() string { type applyResults (line 896) | type applyResults method set (line 898) | func (r applyResults) set(res *unstructured.Unstructured, action apps.... method failed (line 906) | func (r applyResults) failed(res *unstructured.Unstructured) bool { method list (line 913) | func (r applyResults) list() (l []*applyResult) { function isTestResource (line 1062) | func isTestResource(r *unstructured.Unstructured) bool { function isCustomResourceDefinition (line 1067) | func isCustomResourceDefinition(r *unstructured.Unstructured) bool { function separateCRDsFromResources (line 1071) | func separateCRDsFromResources(resources []*unstructured.Unstructured) (... function filter (line 1082) | func filter(in []*unstructured.Unstructured, f func(*unstructured.Unstru... function resourceSetName (line 1091) | func resourceSetName(s string, v int32) string { function decodeResourceSetName (line 1097) | func decodeResourceSetName(s string) (string, int32, bool) { function sortResources (line 1109) | func sortResources(res []*unstructured.Unstructured) { function resourceKey (line 1115) | func resourceKey(r *unstructured.Unstructured) string { function gvkKey (line 1123) | func gvkKey(group, version, kind string) string { function convert (line 1128) | func convert(from, to runtime.Object) error { FILE: src/go/pkg/synk/synk_test.go type fakeCachedDiscoveryClient (line 44) | type fakeCachedDiscoveryClient struct method Invalidate (line 48) | func (d *fakeCachedDiscoveryClient) Invalidate() {} method ServerGroupsAndResources (line 50) | func (d *fakeCachedDiscoveryClient) ServerGroupsAndResources() ([]*met... type fixture (line 62) | type fixture struct method newSynk (line 76) | func (f *fixture) newSynk() *Synk { method addObjects (line 90) | func (f *fixture) addObjects(objs ...runtime.Object) { method expectActions (line 94) | func (f *fixture) expectActions(as ...k8stest.Action) { method verifyWriteActions (line 98) | func (f *fixture) verifyWriteActions() { function newFixture (line 72) | func newFixture(t *testing.T) *fixture { function TestSynk_IsTransientErr (line 114) | func TestSynk_IsTransientErr(t *testing.T) { function TestSynk_initialize (line 158) | func TestSynk_initialize(t *testing.T) { function TestSynk_updateResourceSetStatus (line 213) | func TestSynk_updateResourceSetStatus(t *testing.T) { function TestSynk_applyAllIsUpdatingResources (line 306) | func TestSynk_applyAllIsUpdatingResources(t *testing.T) { function TestSynk_applyAllIsCreatingResources (line 370) | func TestSynk_applyAllIsCreatingResources(t *testing.T) { function TestSynk_applyAllRetriesResourceExpired (line 416) | func TestSynk_applyAllRetriesResourceExpired(t *testing.T) { function TestSynk_skipsTestResources (line 491) | func TestSynk_skipsTestResources(t *testing.T) { function TestSynk_deleteResourceSets (line 532) | func TestSynk_deleteResourceSets(t *testing.T) { function TestSynk_deleteFailedResourceSets (line 561) | func TestSynk_deleteFailedResourceSets(t *testing.T) { function TestSynk_populateNamespaces (line 592) | func TestSynk_populateNamespaces(t *testing.T) { function TestSynk_skipLastAppliedAnnotationForLargeResource (line 641) | func TestSynk_skipLastAppliedAnnotationForLargeResource(t *testing.T) { function newUnstructured (line 662) | func newUnstructured(apiVersion, kind, namespace, name string) *unstruct... function unmarshalYAML (line 671) | func unmarshalYAML(t *testing.T, v interface{}, s string) { function toUnstructured (line 678) | func toUnstructured(t *testing.T, o runtime.Object) *unstructured.Unstru... function filterReadActions (line 688) | func filterReadActions(actions []k8stest.Action) (ret []k8stest.Action) { function sprintAction (line 698) | func sprintAction(a k8stest.Action) string { FILE: src/go/tests/apps/apps_test.go constant robotClusterName (line 33) | robotClusterName = "robot" constant inlineChartTemplate (line 35) | inlineChartTemplate = ` constant goodDeployment (line 46) | goodDeployment = ` constant deploymentWithBadLabels (line 65) | deploymentWithBadLabels = ` constant badJob (line 84) | badJob = ` constant goodJob (line 100) | goodJob = ` function TestAll (line 118) | func TestAll(t *testing.T) { function testCreateChartAssignment_WithChartReference_Works (line 157) | func testCreateChartAssignment_WithChartReference_Works(t *testing.T, f ... function testCreateChartAssignment_WithInlineChart_BecomesReady (line 214) | func testCreateChartAssignment_WithInlineChart_BecomesReady(t *testing.T... function testCreateChartAssignment_WithBadDeployment_BecomesFailed (line 238) | func testCreateChartAssignment_WithBadDeployment_BecomesFailed(t *testin... function testUpdateChartAssignment_WithFixedDeployment_BecomesReady (line 262) | func testUpdateChartAssignment_WithFixedDeployment_BecomesReady(t *testi... function testUpdateChartAssignment_WithFixedJob_BecomesReady (line 313) | func testUpdateChartAssignment_WithFixedJob_BecomesReady(t *testing.T, f... function testCreateChartAssignment_CopiesLabelledSecret (line 364) | func testCreateChartAssignment_CopiesLabelledSecret(t *testing.T, f *kub... FILE: src/go/tests/k8s_integration_test.go constant appInitializationTimeout (line 39) | appInitializationTimeout = 7 * time.Minute constant podInitializationTimeout (line 40) | podInitializationTimeout = 5 * time.Minute function checkHealthOfKubernetesCluster (line 43) | func checkHealthOfKubernetesCluster(ctx context.Context, kubernetesConte... function convert (line 137) | func convert(from, to runtime.Object) error { function TestCloudClusterAppStatus (line 145) | func TestCloudClusterAppStatus(t *testing.T) { function TestKubernetesCloudClusterStatus (line 210) | func TestKubernetesCloudClusterStatus(t *testing.T) { function TestKubernetesRobotClusterStatus (line 222) | func TestKubernetesRobotClusterStatus(t *testing.T) { FILE: src/go/tests/k8s_integration_test_auth_helper.go function init (line 47) | func init() { type gcpAuthProvider (line 118) | type gcpAuthProvider struct method WrapTransport (line 190) | func (g *gcpAuthProvider) WrapTransport(rt http.RoundTripper) http.Rou... method Login (line 200) | func (g *gcpAuthProvider) Login() error { return nil } function newGCPAuthProvider (line 125) | func newGCPAuthProvider(_ string, gcpConfig map[string]string, persister... function isCmdTokenSource (line 142) | func isCmdTokenSource(gcpConfig map[string]string) bool { function tokenSource (line 147) | func tokenSource(isCmd bool, gcpConfig map[string]string) (oauth2.TokenS... function parseScopes (line 179) | func parseScopes(gcpConfig map[string]string) []string { type cachedTokenSource (line 202) | type cachedTokenSource struct method Token (line 228) | func (t *cachedTokenSource) Token() (*oauth2.Token, error) { method cachedToken (line 246) | func (t *cachedTokenSource) cachedToken() *oauth2.Token { method update (line 256) | func (t *cachedTokenSource) update(tok *oauth2.Token) map[string]string { method baseCache (line 271) | func (t *cachedTokenSource) baseCache() map[string]string { function newCachedTokenSource (line 211) | func newCachedTokenSource(accessToken, expiry string, persister restclie... type commandTokenSource (line 283) | type commandTokenSource struct method Token (line 310) | func (c *commandTokenSource) Token() (*oauth2.Token, error) { method parseTokenCmdOutput (line 326) | func (c *commandTokenSource) parseTokenCmdOutput(output []byte) (*oaut... function newCmdTokenSource (line 291) | func newCmdTokenSource(cmd string, args []string, tokenKey, expiryKey, t... function parseJSONPath (line 358) | func parseJSONPath(input interface{}, name, template string) (string, er... type conditionalTransport (line 370) | type conditionalTransport struct method RoundTrip (line 378) | func (t *conditionalTransport) RoundTrip(req *http.Request) (*http.Res... method WrappedRoundTripper (line 397) | func (t *conditionalTransport) WrappedRoundTripper() http.RoundTripper... FILE: src/go/tests/relay/in_process_relay_test.go function pickUnusedPortOrDie (line 27) | func pickUnusedPortOrDie() int { function initRelay (line 41) | func initRelay() { function serveFunction (line 91) | func serveFunction( function serveFunctionWithTimeout (line 96) | func serveFunctionWithTimeout( function TestHttpResponse (line 115) | func TestHttpResponse(t *testing.T) { function TestHttpTimeout (line 139) | func TestHttpTimeout(t *testing.T) { function TestHttpErrorPropagation (line 161) | func TestHttpErrorPropagation(t *testing.T) { FILE: src/go/tests/relay/nok8s_relay_test.go constant RelayClientPath (line 45) | RelayClientPath = "src/go/cmd/http-relay-client/http-relay-client-app_/h... constant RelayServerPath (line 46) | RelayServerPath = "src/go/cmd/http-relay-server/http-relay-server-app_/h... type relay (line 62) | type relay struct method start (line 68) | func (r *relay) start(backendAddress string, extraClientArgs ...string... method stop (line 123) | func (r *relay) stop() error { function TestHttpRelay (line 136) | func TestHttpRelay(t *testing.T) { function TestDroppedUserClientFreesRelayChannel (line 209) | func TestDroppedUserClientFreesRelayChannel(t *testing.T) { function TestDroppedBidiStreamFreesRelayChannel (line 266) | func TestDroppedBidiStreamFreesRelayChannel(t *testing.T) { type testServer (line 329) | type testServer struct method EmptyCall (line 334) | func (s *testServer) EmptyCall(ctx context.Context, in *testpb.Empty) ... method UnaryCall (line 338) | func (s *testServer) UnaryCall(ctx context.Context, in *testpb.SimpleR... type relayWithGrpcServer (line 346) | type relayWithGrpcServer struct method mustStop (line 354) | func (r *relayWithGrpcServer) mustStop(t *testing.T) { function mustStartRelayWithGrpcServer (line 363) | func mustStartRelayWithGrpcServer(t *testing.T, service testpb.TestServi... function TestGrpcRelaySimpleCallWorks (line 398) | func TestGrpcRelaySimpleCallWorks(t *testing.T) { function TestGrpcRelayChunkingOfLargeResponseWorks (line 414) | func TestGrpcRelayChunkingOfLargeResponseWorks(t *testing.T) { function TestGrpcRelayErrorArePropagated (line 440) | func TestGrpcRelayErrorArePropagated(t *testing.T) {