Documentation ¶
Index ¶
- type ConfigState
- func (s *ConfigState) AddConfig(name string, config *types.ConfigManifest)
- func (s *ConfigState) DelConfig(name string)
- func (s *ConfigState) GetConfig(name string) *types.ConfigManifest
- func (s *ConfigState) GetConfigs() map[string]*types.ConfigManifest
- func (s *ConfigState) SetConfig(name string, config *types.ConfigManifest)
- func (s *ConfigState) SetConfigs(configs map[string]*types.ConfigManifest)
- type EndpointState
- func (es *EndpointState) AddEndpoint(key string, endpoint *types.EndpointState)
- func (es *EndpointState) DelEndpoint(key string)
- func (es *EndpointState) GetEndpoint(key string) *types.EndpointState
- func (es *EndpointState) GetEndpoints() map[string]*types.EndpointState
- func (es *EndpointState) GetHash() string
- func (es *EndpointState) SetEndpoint(key string, endpoint *types.EndpointState)
- func (es *EndpointState) SetEndpoints(endpoints map[string]*types.EndpointState)
- func (es *EndpointState) SetHash(hash string)
- type ImageState
- func (s *ImageState) AddImage(tag string, image *types.Image)
- func (s *ImageState) DelImage(link string)
- func (s *ImageState) GetImage(tag string) *types.Image
- func (s *ImageState) GetImages() map[string]*types.Image
- func (s *ImageState) SetImage(tag string, image *types.Image)
- func (s *ImageState) SetImages(images map[string]*types.Image)
- type NetworkState
- func (n *NetworkState) AddSubnet(cidr string, sn *types.NetworkState)
- func (n *NetworkState) DelSubnet(cidr string)
- func (n *NetworkState) GetSubnet(cidr string) *types.NetworkState
- func (n *NetworkState) GetSubnets() map[string]types.NetworkState
- func (n *NetworkState) SetSubnet(cidr string, sn *types.NetworkState)
- type NodeState
- type PodState
- func (s *PodState) AddContainer(c *types.PodContainer)
- func (s *PodState) AddPod(key string, pod *types.PodStatus)
- func (s *PodState) DelContainer(c *types.PodContainer)
- func (s *PodState) DelPod(key string)
- func (s *PodState) GetContainer(id string) *types.PodContainer
- func (s *PodState) GetContainersCount() int
- func (s *PodState) GetPod(key string) *types.PodStatus
- func (s *PodState) GetPods() map[string]*types.PodStatus
- func (s *PodState) GetPodsCount() int
- func (s *PodState) IsLocal(key string) bool
- func (s *PodState) SetContainer(c *types.PodContainer)
- func (s *PodState) SetLocal(key string)
- func (s *PodState) SetPod(key string, pod *types.PodStatus)
- func (s *PodState) SetPods(pods map[string]*types.PodStatus)
- func (s *PodState) Watch(watcher chan string, done chan bool)
- type PodStateStats
- type SecretsState
- func (s *SecretsState) AddSecret(name string, secret *types.Secret)
- func (s *SecretsState) DelSecret(name string)
- func (s *SecretsState) GetSecret(name string) *types.Secret
- func (s *SecretsState) GetSecrets() map[string]types.Secret
- func (s *SecretsState) SetSecret(name string, secret *types.Secret)
- func (s *SecretsState) SetSecrets(secrets map[string]*types.Secret)
- type State
- func (s *State) Configs() *ConfigState
- func (s *State) Endpoints() *EndpointState
- func (s *State) Images() *ImageState
- func (s *State) Networks() *NetworkState
- func (s *State) Node() *NodeState
- func (s *State) Pods() *PodState
- func (s *State) Secrets() *SecretsState
- func (s *State) Tasks() *TaskState
- func (s *State) Volumes() *VolumesState
- type TaskState
- type VolumesState
- func (s *VolumesState) AddClaim(key string, vc *types.VolumeClaim)
- func (s *VolumesState) AddVolume(key string, v *types.VolumeStatus)
- func (s *VolumesState) DelClaim(key string)
- func (s *VolumesState) DelLocal(key string)
- func (s *VolumesState) DelVolume(key string)
- func (s *VolumesState) GetClaim(key string) *types.VolumeClaim
- func (s *VolumesState) GetVolume(key string) *types.VolumeStatus
- func (s *VolumesState) GetVolumes() map[string]types.VolumeStatus
- func (s *VolumesState) IsLocal(key string) bool
- func (s *VolumesState) SetClaim(key string, vc *types.VolumeClaim)
- func (s *VolumesState) SetLocal(key string)
- func (s *VolumesState) SetVolume(key string, v *types.VolumeStatus)
- func (s *VolumesState) SetVolumes(key string, volumes []*types.VolumeStatus)
- func (s *VolumesState) Watch(watcher chan string, done chan bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigState ¶
type ConfigState struct {
// contains filtered or unexported fields
}
func (*ConfigState) AddConfig ¶
func (s *ConfigState) AddConfig(name string, config *types.ConfigManifest)
func (*ConfigState) DelConfig ¶
func (s *ConfigState) DelConfig(name string)
func (*ConfigState) GetConfig ¶
func (s *ConfigState) GetConfig(name string) *types.ConfigManifest
func (*ConfigState) GetConfigs ¶
func (s *ConfigState) GetConfigs() map[string]*types.ConfigManifest
func (*ConfigState) SetConfig ¶
func (s *ConfigState) SetConfig(name string, config *types.ConfigManifest)
func (*ConfigState) SetConfigs ¶
func (s *ConfigState) SetConfigs(configs map[string]*types.ConfigManifest)
type EndpointState ¶
type EndpointState struct {
// contains filtered or unexported fields
}
func (*EndpointState) AddEndpoint ¶
func (es *EndpointState) AddEndpoint(key string, endpoint *types.EndpointState)
func (*EndpointState) DelEndpoint ¶
func (es *EndpointState) DelEndpoint(key string)
func (*EndpointState) GetEndpoint ¶
func (es *EndpointState) GetEndpoint(key string) *types.EndpointState
func (*EndpointState) GetEndpoints ¶
func (es *EndpointState) GetEndpoints() map[string]*types.EndpointState
func (*EndpointState) GetHash ¶
func (es *EndpointState) GetHash() string
func (*EndpointState) SetEndpoint ¶
func (es *EndpointState) SetEndpoint(key string, endpoint *types.EndpointState)
func (*EndpointState) SetEndpoints ¶
func (es *EndpointState) SetEndpoints(endpoints map[string]*types.EndpointState)
func (*EndpointState) SetHash ¶
func (es *EndpointState) SetHash(hash string)
type ImageState ¶
type ImageState struct {
// contains filtered or unexported fields
}
func (*ImageState) DelImage ¶
func (s *ImageState) DelImage(link string)
type NetworkState ¶
type NetworkState struct {
// contains filtered or unexported fields
}
func (*NetworkState) AddSubnet ¶
func (n *NetworkState) AddSubnet(cidr string, sn *types.NetworkState)
func (*NetworkState) DelSubnet ¶
func (n *NetworkState) DelSubnet(cidr string)
func (*NetworkState) GetSubnet ¶
func (n *NetworkState) GetSubnet(cidr string) *types.NetworkState
func (*NetworkState) GetSubnets ¶
func (n *NetworkState) GetSubnets() map[string]types.NetworkState
func (*NetworkState) SetSubnet ¶
func (n *NetworkState) SetSubnet(cidr string, sn *types.NetworkState)
type PodState ¶
type PodState struct {
// contains filtered or unexported fields
}
func (*PodState) AddContainer ¶
func (s *PodState) AddContainer(c *types.PodContainer)
func (*PodState) DelContainer ¶
func (s *PodState) DelContainer(c *types.PodContainer)
func (*PodState) GetContainer ¶
func (s *PodState) GetContainer(id string) *types.PodContainer
func (*PodState) GetContainersCount ¶
func (*PodState) GetPodsCount ¶
func (*PodState) SetContainer ¶
func (s *PodState) SetContainer(c *types.PodContainer)
type PodStateStats ¶
type PodStateStats struct {
// contains filtered or unexported fields
}
type SecretsState ¶
type SecretsState struct {
// contains filtered or unexported fields
}
func (*SecretsState) AddSecret ¶
func (s *SecretsState) AddSecret(name string, secret *types.Secret)
func (*SecretsState) DelSecret ¶
func (s *SecretsState) DelSecret(name string)
func (*SecretsState) GetSecrets ¶
func (s *SecretsState) GetSecrets() map[string]types.Secret
func (*SecretsState) SetSecret ¶
func (s *SecretsState) SetSecret(name string, secret *types.Secret)
func (*SecretsState) SetSecrets ¶
func (s *SecretsState) SetSecrets(secrets map[string]*types.Secret)
type State ¶
type State struct {
// contains filtered or unexported fields
}
func (*State) Configs ¶
func (s *State) Configs() *ConfigState
func (*State) Endpoints ¶
func (s *State) Endpoints() *EndpointState
func (*State) Images ¶
func (s *State) Images() *ImageState
func (*State) Networks ¶
func (s *State) Networks() *NetworkState
func (*State) Secrets ¶
func (s *State) Secrets() *SecretsState
func (*State) Volumes ¶
func (s *State) Volumes() *VolumesState
type VolumesState ¶
type VolumesState struct {
// contains filtered or unexported fields
}
func (*VolumesState) AddClaim ¶
func (s *VolumesState) AddClaim(key string, vc *types.VolumeClaim)
func (*VolumesState) AddVolume ¶
func (s *VolumesState) AddVolume(key string, v *types.VolumeStatus)
func (*VolumesState) DelClaim ¶
func (s *VolumesState) DelClaim(key string)
func (*VolumesState) DelLocal ¶
func (s *VolumesState) DelLocal(key string)
func (*VolumesState) DelVolume ¶
func (s *VolumesState) DelVolume(key string)
func (*VolumesState) GetClaim ¶
func (s *VolumesState) GetClaim(key string) *types.VolumeClaim
func (*VolumesState) GetVolume ¶
func (s *VolumesState) GetVolume(key string) *types.VolumeStatus
func (*VolumesState) GetVolumes ¶
func (s *VolumesState) GetVolumes() map[string]types.VolumeStatus
func (*VolumesState) IsLocal ¶
func (s *VolumesState) IsLocal(key string) bool
func (*VolumesState) SetClaim ¶
func (s *VolumesState) SetClaim(key string, vc *types.VolumeClaim)
func (*VolumesState) SetLocal ¶
func (s *VolumesState) SetLocal(key string)
func (*VolumesState) SetVolume ¶
func (s *VolumesState) SetVolume(key string, v *types.VolumeStatus)
func (*VolumesState) SetVolumes ¶
func (s *VolumesState) SetVolumes(key string, volumes []*types.VolumeStatus)
func (*VolumesState) Watch ¶
func (s *VolumesState) Watch(watcher chan string, done chan bool)
Click to show internal directories.
Click to hide internal directories.