The document summarizes a talk given by Daisuke Maki on working with OpenAPI specifications, including slicing, dicing, and linting them. It discusses tools developed for the lestrrat-go/openapi library for safely parsing, mutating, traversing, linting, and generating code from OpenAPI specs in Go and other languages. The tools aim to prevent specification errors, provide consistency across operations, and make it easier for developers to work with OpenAPI.
This document summarizes a talk about using context.Context for concurrency in Go programming. It recommends using context.Context to pass cancellation and deadline information between goroutines instead of manually synchronizing access to shared resources with mutexes. Context makes code cleaner by making cancellation explicit and avoiding ambiguous APIs. It provides examples of running multiple goroutines with a common timeout by passing them the same context.
This document provides a high-level overview of Kubernetes in under 30 minutes. It begins with basic concepts like nodes, pods, replica sets, deployments, and services. It then covers additional concepts like secrets, config maps, ingress, daemon sets, pet sets/stateful sets and services. The document aims to explain the main components of Kubernetes and how they work together at a high level to deploy and manage container-based applications.
This document provides information about the builderscon conference, including that tickets sold out quickly, it will feature talks on topics like AI, IoT, and programming languages, and aims to have diversity and break down walls. It also announces details for builderscon Tokyo 2017, with dates in August and around 1000 expected attendees.
Kubernetes in 20 minutes - HDE Monthly Technical Session 24lestrrat
This document provides a high-level overview of Kubernetes concepts including nodes, pods, replica sets, deployments, services, secrets, configmaps, ingress, daemon sets, and pet sets. It discusses how Kubernetes manages and schedules containers across a cluster and provides mechanisms for updating applications, handling traffic, and configuring containers. The presentation encourages attendees to try Kubernetes on Google Cloud Platform and Google Kubernetes Engine and invites them to join a Slack channel to learn more.
Don't Use Reflect - Go 1.7 release party 2016lestrrat
This document discusses changes and improvements to reflection in Go 1.7. It provides examples of using reflection to dynamically declare anonymous structs, check if a value implements an interface, and get struct field tags. It emphasizes that reflection should only be used when necessary, and otherwise standard interfaces and types are preferred.
See also (Sorry, mainly in Japanese)
http://go-talks.appspot.com/github.com/lestrrat/go-slides/tree/master/2014-golangstudy-HDE
http://go-talks.appspot.com/github.com/lestrrat/go-slides/2014-yapcasia-go-for-perl-mongers/main.slide#1
48. b, cancel := policy.Start(ctx)
defer cancel()
for {
a, b, c, err := f()
if err == nil {
// use or return a, b, c here
}
select {
case <-b.Done():
return
case <-b.Next():
}
}
49. b, cancel := policy.Start(ctx)
defer cancel()
for {
a, b, c, err := f()
if err == nil {
// use or return a, b, c here
}
select {
case <-b.Done():
return
case <-b.Next():
}
}