kubernetesk8s.io/kubernetes/pkg/util/atomic Index | Files

package atomic

import "k8s.io/kubernetes/pkg/util/atomic"

Index

Types

type Value

type Value struct {
	// contains filtered or unexported fields
}

TODO(ArtfulCoder) sync/atomic/Value was added in golang 1.4 Once support is dropped for go 1.3, this type must be deprecated in favor of sync/atomic/Value. The functions are named Load/Store to match sync/atomic/Value function names.

func (*Value) Load

func (at *Value) Load() interface{}

func (*Value) Store

func (at *Value) Store(val interface{})

Source Files

value.go

Version
v1.2.0-alpha.5
Published
Dec 15, 2015
Platform
js/wasm
Imports
1 packages
Last checked
22 seconds ago

Tools for package owners.