containerruntime

package
v9.1.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

© Copyright IBM Corporation 2019

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 IBM Corporation 2017, 2019

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 GetBaseImage

func GetBaseImage() (string, error)

func GetCapabilities

func GetCapabilities() (map[string][]string, error)

GetCapabilities gets the Linux capabilities (e.g. setuid, setgid). See https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities

func GetContainerRuntime

func GetContainerRuntime() (string, error)

func GetFilesystem

func GetFilesystem(path string) (string, error)

GetFilesystem returns the filesystem type for the specified path

func GetKernelVersion

func GetKernelVersion() (string, error)

func GetMaxFileHandles

func GetMaxFileHandles() (string, error)

func GetMounts

func GetMounts() (map[string]string, error)

func GetSeccomp

func GetSeccomp() (string, error)

GetSeccomp gets the seccomp enforcing mode, which affects which kernel calls can be made

func GetSecurityAttributes

func GetSecurityAttributes() string

GetSecurityAttributes gets the security attributes of the current process. The security attributes indicate whether AppArmor or SELinux are being used, and what the level of confinement is.

func SupportedFilesystem

func SupportedFilesystem(fsType string) bool

SupportedFilesystem returns true if the supplied filesystem type is supported for MQ data

func ValidMultiInstanceFilesystem

func ValidMultiInstanceFilesystem(fsType string) bool

ValidMultiInstanceFilesystem returns true if the supplied filesystem type is valid for a multi-instance queue manager

Types

This section is empty.

Jump to

Keyboard shortcuts

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