lxc

package
v0.0.0-...-05965fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2021 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Copyright 2016-2019 DutchSec (https://dutchsec.com/)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2016-2019 DutchSec (https://dutchsec.com/)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerClonedEvent

func ContainerClonedEvent(name, template string) event.Event

ContainerClonedEvent returns a connection open event object giving the associated data values.

func ContainerErrorEvent

func ContainerErrorEvent(name string, e error) event.Event

ContainerErrorEvent returns a connection open event object giving the associated data values.

func ContainerStartedEvent

func ContainerStartedEvent(name string) event.Event

ContainerStartedEvent returns a connection open event object giving the associated data values.

func ContainerUnfrozenEvent

func ContainerUnfrozenEvent(name string, ip net.IP) event.Event

ContainerUnfrozenEvent returns a connection open event object giving the associated data values.

Types

type Delay

type Delay time.Duration

Delay defines a duration type.

func (*Delay) Duration

func (t *Delay) Duration() time.Duration

Duration returns the type of the giving duration from the provided pointer.

func (*Delay) UnmarshalText

func (t *Delay) UnmarshalText(text []byte) error

UnmarshalText handles unmarshalling duration values from the provided slice.

type Delays

type Delays struct {
	FreezeDelay      Delay `toml:"freeze_every"`
	StopDelay        Delay `toml:"stop_every"`
	HousekeeperDelay Delay `toml:"housekeeper_every"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL