Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetadataServer ¶
type MetadataServer struct {
// contains filtered or unexported fields
}
MetadataServer implements http.Handler, it can be passed to a real, or fake HTTP server for testing
func NewMetaDataServer ¶
func NewMetaDataServer(ctx context.Context, backingMetadataServer, iamArn, titusTaskInstanceID, ipv4Address, region string, optimistic bool) *MetadataServer
NewMetaDataServer which can be used as an HTTP server's handler
func (*MetadataServer) ServeHTTP ¶
func (ms *MetadataServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.