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 ¶
- func GetBaseImage() (string, error)
- func GetCapabilities() (map[string][]string, error)
- func GetContainerRuntime() (string, error)
- func GetFilesystem(path string) (string, error)
- func GetKernelVersion() (string, error)
- func GetMaxFileHandles() (string, error)
- func GetMounts() (map[string]string, error)
- func GetSeccomp() (string, error)
- func GetSecurityAttributes() string
- func SupportedFilesystem(fsType string) bool
- func ValidMultiInstanceFilesystem(fsType string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBaseImage ¶
func GetCapabilities ¶
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 GetFilesystem ¶
GetFilesystem returns the filesystem type for the specified path
func GetKernelVersion ¶
func GetMaxFileHandles ¶
func GetSeccomp ¶
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 ¶
SupportedFilesystem returns true if the supplied filesystem type is supported for MQ data
func ValidMultiInstanceFilesystem ¶
ValidMultiInstanceFilesystem returns true if the supplied filesystem type is valid for a multi-instance queue manager
Types ¶
This section is empty.