Documentation
¶
Overview ¶
Copyright © 2022 Hypergiant, LLC
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 ¶
- type DockerClient
- func (dockerClient *DockerClient) BuildImage(dockerfilePath string, tags []string)
- func (dockerClient *DockerClient) CreateContainer(image, name string, contConfig *container.Config, ...) (string, error)
- func (dockerClient *DockerClient) CreateDockerFile(studyPath string, savePath string, requirements bool, ...)
- func (dockerClient *DockerClient) ExecuteContainer(containerID string, attach bool)
- func (dockerClient *DockerClient) InspectContainer(containerId string) types.ContainerJSON
- func (dockerClient *DockerClient) ListAllRunningContainers() ([]types.Container, error)
- func (dockerClient *DockerClient) ListContainers(containerName string) ([]types.Container, error)
- func (dockerClient *DockerClient) ListImages() ([]types.ImageSummary, error)
- func (dockerClient *DockerClient) RemoveContainer(containerId string) error
- type HyperPackageDockerfileParameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerClient ¶
func NewDockerClient ¶
func NewDockerClient() *DockerClient
func (*DockerClient) BuildImage ¶
func (dockerClient *DockerClient) BuildImage(dockerfilePath string, tags []string)
func (*DockerClient) CreateContainer ¶
func (dockerClient *DockerClient) CreateContainer( image, name string, contConfig *container.Config, hostConfig *container.HostConfig, pullImage bool, ) (string, error)
func (*DockerClient) CreateDockerFile ¶
func (dockerClient *DockerClient) CreateDockerFile(studyPath string, savePath string, requirements bool, syncOptions HyperTypes.WorkspaceSyncOptions)
func (*DockerClient) ExecuteContainer ¶
func (dockerClient *DockerClient) ExecuteContainer(containerID string, attach bool)
func (*DockerClient) InspectContainer ¶
func (dockerClient *DockerClient) InspectContainer(containerId string) types.ContainerJSON
func (*DockerClient) ListAllRunningContainers ¶
func (dockerClient *DockerClient) ListAllRunningContainers() ([]types.Container, error)
func (*DockerClient) ListContainers ¶
func (dockerClient *DockerClient) ListContainers(containerName string) ([]types.Container, error)
func (*DockerClient) ListImages ¶
func (dockerClient *DockerClient) ListImages() ([]types.ImageSummary, error)
func (*DockerClient) RemoveContainer ¶
func (dockerClient *DockerClient) RemoveContainer(containerId string) error
type HyperPackageDockerfileParameters ¶
type HyperPackageDockerfileParameters struct {
StudyPath string
}
Click to show internal directories.
Click to hide internal directories.