k8s

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultKubeConfigFolderPath = "~/.kube"
)

DefaultKubeConfigFolderPath is the default folder path for kubeconfig files.

Variables

View Source
var SIAK8SServiceConfig = services.ArkServiceConfig{
	ServiceName:                "sia-k8s",
	RequiredAuthenticatorNames: []string{"isp"},
	OptionalAuthenticatorNames: []string{},
}

SIAK8SServiceConfig is the configuration for the ArkSIAK8SService.

Functions

This section is empty.

Types

type ArkSIAK8SService

type ArkSIAK8SService struct {
	services.ArkService
	*services.ArkBaseService
	// contains filtered or unexported fields
}

ArkSIAK8SService is a struct that implements the ArkService interface and provides functionality for K8S service of SIA.

func NewArkSIAK8SService

func NewArkSIAK8SService(authenticators ...auth.ArkAuth) (*ArkSIAK8SService, error)

NewArkSIAK8SService creates a new instance of ArkSIAK8SService with the provided authenticators.

func (*ArkSIAK8SService) GenerateKubeconfig

func (s *ArkSIAK8SService) GenerateKubeconfig(generateKubeConfig *k8sModels.ArkSIAK8SGenerateKubeconfig) (string, error)

GenerateKubeconfig generates a kubeconfig file for the SIA K8S service and saves it to the specified folder.

func (*ArkSIAK8SService) ServiceConfig

func (s *ArkSIAK8SService) ServiceConfig() services.ArkServiceConfig

ServiceConfig returns the service configuration for the ArkSIAK8SService.

Jump to

Keyboard shortcuts

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