Versions in this module Expand all Collapse all v0 v0.7.0 Jun 3, 2026 Changes in this version + var EncodingAliases = map[string]string + var ServiceEndpointJSONFields = []string + func AddCreateCommonFlags(cmd *cobra.Command) *cobra.Command + func AddUpdateCommonFlags(cmd *cobra.Command) *cobra.Command + func AuthorizationScheme(ep *serviceendpoint.ServiceEndpoint) string + func DecodeContent(raw []byte, encodingName string) ([]byte, error) + func DescribeInput(path string) string + func EnsureProjectReferenceIncluded(refs *[]serviceendpoint.ServiceEndpointProjectReference, ...) + func FormatProjectReference(refs *[]serviceendpoint.ServiceEndpointProjectReference) string + func GetServiceEndpointTypes(cmdCtx util.CmdContext, organization string) ([]serviceendpoint.ServiceEndpointType, error) + func NormalizeEncoding(value string) (string, error) + func Output(ctx util.CmdContext, endpoint *serviceendpoint.ServiceEndpoint, ...) error + func ReadServiceEndpointFromFile(stdin io.ReadCloser, path, encoding string) (*serviceendpoint.ServiceEndpoint, error) + func RedactSecrets(ep *serviceendpoint.ServiceEndpoint) + func RunTypedCreate(cmd *cobra.Command, args []string, cfg EndpointTypeConfigurer) error + func RunTypedUpdate(cmd *cobra.Command, args []string, cfg EndpointTypeConfigurer) error + func SetAllPipelinesAccessToEndpoint(cmdCtx util.CmdContext, organization string, projectID uuid.UUID, ...) error + func TestConnection(cmdCtx util.CmdContext, client serviceendpoint.Client, ...) error + func ValidateEndpointAgainstMetadata(cmdCtx util.CmdContext, organization string, ...) error + func ValidateEndpointPayload(endpoint *serviceendpoint.ServiceEndpoint, requireIdentityFields bool) error + func WaitForReady(ctx context.Context, client serviceendpoint.Client, project string, ...) (*serviceendpoint.ServiceEndpoint, error) + type EndpointTypeConfigurer interface + CommandContext func() util.CmdContext + Configure func(endpoint *serviceendpoint.ServiceEndpoint) error + TypeName func() string v0.6.0 Dec 18, 2025 Changes in this version + const EndpointResourceType + var ErrEndpointNotFound = errors.New("service endpoint not found") + func FindServiceEndpoint(ctx util.CmdContext, client serviceendpoint.Client, project, identifier string) (*serviceendpoint.ServiceEndpoint, error) + func GrantAllPipelinesAccessToEndpoint(cmdCtx util.CmdContext, organization string, projectID uuid.UUID, ...) error + func ResolveProjectReference(ctx util.CmdContext, scope *util.Scope) (*serviceendpoint.ProjectReference, error) + type CleanupFunc func() error