adminpb

package
v0.64.8 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_iac_admin_proto_infra_admin_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AdminAuditEntry

type AdminAuditEntry struct {
	SchemaVersion int32    `protobuf:"varint,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
	TsUnix        int64    `protobuf:"varint,2,opt,name=ts_unix,json=tsUnix,proto3" json:"ts_unix,omitempty"`
	Subject       string   `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Action        string   `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
	Targets       []string `protobuf:"bytes,5,rep,name=targets,proto3" json:"targets,omitempty"`
	Result        string   `protobuf:"bytes,6,opt,name=result,proto3" json:"result,omitempty"`
	AppContext    string   `protobuf:"bytes,7,opt,name=app_context,json=appContext,proto3" json:"app_context,omitempty"`
	// contains filtered or unexported fields
}

AdminAuditEntry is the line shape for the audit log (one entry per non-noop admin action) AND the streaming response shape of the HTTP audit-tail endpoint (GET /api/infra-admin/audit). schema_version starts at 1; bumps are additive (new fields) until a breaking change forces a major.

func (*AdminAuditEntry) Descriptor deprecated

func (*AdminAuditEntry) Descriptor() ([]byte, []int)

Deprecated: Use AdminAuditEntry.ProtoReflect.Descriptor instead.

func (*AdminAuditEntry) GetAction

func (x *AdminAuditEntry) GetAction() string

func (*AdminAuditEntry) GetAppContext

func (x *AdminAuditEntry) GetAppContext() string

func (*AdminAuditEntry) GetResult

func (x *AdminAuditEntry) GetResult() string

func (*AdminAuditEntry) GetSchemaVersion

func (x *AdminAuditEntry) GetSchemaVersion() int32

func (*AdminAuditEntry) GetSubject

func (x *AdminAuditEntry) GetSubject() string

func (*AdminAuditEntry) GetTargets

func (x *AdminAuditEntry) GetTargets() []string

func (*AdminAuditEntry) GetTsUnix

func (x *AdminAuditEntry) GetTsUnix() int64

func (*AdminAuditEntry) ProtoMessage

func (*AdminAuditEntry) ProtoMessage()

func (*AdminAuditEntry) ProtoReflect

func (x *AdminAuditEntry) ProtoReflect() protoreflect.Message

func (*AdminAuditEntry) Reset

func (x *AdminAuditEntry) Reset()

func (*AdminAuditEntry) String

func (x *AdminAuditEntry) String() string

type AdminAuthzEvidence

type AdminAuthzEvidence struct {
	AuthzChecked       bool     `protobuf:"varint,1,opt,name=authz_checked,json=authzChecked,proto3" json:"authz_checked,omitempty"`
	AuthzAllowed       bool     `protobuf:"varint,2,opt,name=authz_allowed,json=authzAllowed,proto3" json:"authz_allowed,omitempty"`
	Subject            string   `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	GrantedPermissions []string `protobuf:"bytes,4,rep,name=granted_permissions,json=grantedPermissions,proto3" json:"granted_permissions,omitempty"`
	// contains filtered or unexported fields
}

AdminAuthzEvidence carries the host-side authz outcome to handler library functions. The handler MUST refuse to serve when authz_checked is false (caller bypassed admin auth middleware) or authz_allowed is false (caller was denied). Subject + granted permissions are recorded in the audit log alongside each request.

func (*AdminAuthzEvidence) Descriptor deprecated

func (*AdminAuthzEvidence) Descriptor() ([]byte, []int)

Deprecated: Use AdminAuthzEvidence.ProtoReflect.Descriptor instead.

func (*AdminAuthzEvidence) GetAuthzAllowed

func (x *AdminAuthzEvidence) GetAuthzAllowed() bool

func (*AdminAuthzEvidence) GetAuthzChecked

func (x *AdminAuthzEvidence) GetAuthzChecked() bool

func (*AdminAuthzEvidence) GetGrantedPermissions

func (x *AdminAuthzEvidence) GetGrantedPermissions() []string

func (*AdminAuthzEvidence) GetSubject

func (x *AdminAuthzEvidence) GetSubject() string

func (*AdminAuthzEvidence) ProtoMessage

func (*AdminAuthzEvidence) ProtoMessage()

func (*AdminAuthzEvidence) ProtoReflect

func (x *AdminAuthzEvidence) ProtoReflect() protoreflect.Message

func (*AdminAuthzEvidence) Reset

func (x *AdminAuthzEvidence) Reset()

func (*AdminAuthzEvidence) String

func (x *AdminAuthzEvidence) String() string

type AdminFieldSpec

type AdminFieldSpec struct {
	Name           string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Label          string   `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Kind           string   `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	Required       bool     `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"`
	EnumValues     []string `protobuf:"bytes,5,rep,name=enum_values,json=enumValues,proto3" json:"enum_values,omitempty"`
	EnumSource     string   `protobuf:"bytes,6,opt,name=enum_source,json=enumSource,proto3" json:"enum_source,omitempty"`
	Description    string   `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	DefaultValue   string   `protobuf:"bytes,8,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	Sensitive      bool     `protobuf:"varint,9,opt,name=sensitive,proto3" json:"sensitive,omitempty"`
	ElementKind    string   `protobuf:"bytes,10,opt,name=element_kind,json=elementKind,proto3" json:"element_kind,omitempty"`
	MinCount       int32    `protobuf:"varint,11,opt,name=min_count,json=minCount,proto3" json:"min_count,omitempty"`
	MaxCount       int32    `protobuf:"varint,12,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"`
	DependsOnField string   `protobuf:"bytes,13,opt,name=depends_on_field,json=dependsOnField,proto3" json:"depends_on_field,omitempty"`
	// contains filtered or unexported fields
}

AdminFieldSpec describes one field of a typed infra.* Config so the new-resource form-builder can render the right input control.

  • kind: one of {enum, enum_dynamic, string, number, bool, array_string, array_object, object} — see catalog/fields.go.
  • enum_source (only for kind == enum_dynamic): "providers" | "regions" | "sizes" | "engines" — the form fetches dynamic options at render time.
  • depends_on_field: when set, this field's options are filtered by the value the user picked for depends_on_field (e.g. region options depend on provider).
  • element_kind: only meaningful for array_* kinds.
  • sensitive: when true, the form renders a masked input AND the value is excluded from any rendered preview.

func (*AdminFieldSpec) Descriptor deprecated

func (*AdminFieldSpec) Descriptor() ([]byte, []int)

Deprecated: Use AdminFieldSpec.ProtoReflect.Descriptor instead.

func (*AdminFieldSpec) GetDefaultValue

func (x *AdminFieldSpec) GetDefaultValue() string

func (*AdminFieldSpec) GetDependsOnField

func (x *AdminFieldSpec) GetDependsOnField() string

func (*AdminFieldSpec) GetDescription

func (x *AdminFieldSpec) GetDescription() string

func (*AdminFieldSpec) GetElementKind

func (x *AdminFieldSpec) GetElementKind() string

func (*AdminFieldSpec) GetEnumSource

func (x *AdminFieldSpec) GetEnumSource() string

func (*AdminFieldSpec) GetEnumValues

func (x *AdminFieldSpec) GetEnumValues() []string

func (*AdminFieldSpec) GetKind

func (x *AdminFieldSpec) GetKind() string

func (*AdminFieldSpec) GetLabel

func (x *AdminFieldSpec) GetLabel() string

func (*AdminFieldSpec) GetMaxCount

func (x *AdminFieldSpec) GetMaxCount() int32

func (*AdminFieldSpec) GetMinCount

func (x *AdminFieldSpec) GetMinCount() int32

func (*AdminFieldSpec) GetName

func (x *AdminFieldSpec) GetName() string

func (*AdminFieldSpec) GetRequired

func (x *AdminFieldSpec) GetRequired() bool

func (*AdminFieldSpec) GetSensitive

func (x *AdminFieldSpec) GetSensitive() bool

func (*AdminFieldSpec) ProtoMessage

func (*AdminFieldSpec) ProtoMessage()

func (*AdminFieldSpec) ProtoReflect

func (x *AdminFieldSpec) ProtoReflect() protoreflect.Message

func (*AdminFieldSpec) Reset

func (x *AdminFieldSpec) Reset()

func (*AdminFieldSpec) String

func (x *AdminFieldSpec) String() string

type AdminGenerateConfigInput

type AdminGenerateConfigInput struct {
	ResourceType   string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	ResourceName   string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	ProviderModule string `protobuf:"bytes,3,opt,name=provider_module,json=providerModule,proto3" json:"provider_module,omitempty"`
	// field_values carries the form-builder submission keyed by
	// AdminFieldSpec.name. Single-valued fields (string/enum/bool/
	// number) are encoded as their literal string. Array-shaped
	// fields (kind ∈ {array_string, array_object, array_number,
	// array_enum_dynamic}) are JSON-encoded — e.g.
	//
	//	field_values["ingress"] = "[\"rule a\", \"rule b, c\"]"
	//
	// — so values containing commas, quotes, or other delimiters
	// survive the wire losslessly. The server decodes via
	// json.Unmarshal in iac/admin/handler/generate_config.go.
	//
	// Cross-task contract locked 2026-05-27 between T6 (server) +
	// T10-T12 (form-builder JS). Defensive fallback in the handler
	// wraps a non-JSON literal into a one-element array so a
	// malformed UI submission doesn't crash the server.
	FieldValues map[string]string   `` /* 168-byte string literal not displayed */
	Evidence    *AdminAuthzEvidence `protobuf:"bytes,5,opt,name=evidence,proto3" json:"evidence,omitempty"`
	// contains filtered or unexported fields
}

AdminGenerateConfigInput carries the form-builder submission. field_values is keyed by AdminFieldSpec.name; values are always string-encoded (the catalog's kind metadata is the authority for coercion to proto types). resource_name is the host YAML `name:` the user picked; provider_module references one of the AdminProviderSummary.module_name values returned by ListProviders.

func (*AdminGenerateConfigInput) Descriptor deprecated

func (*AdminGenerateConfigInput) Descriptor() ([]byte, []int)

Deprecated: Use AdminGenerateConfigInput.ProtoReflect.Descriptor instead.

func (*AdminGenerateConfigInput) GetEvidence

func (x *AdminGenerateConfigInput) GetEvidence() *AdminAuthzEvidence

func (*AdminGenerateConfigInput) GetFieldValues

func (x *AdminGenerateConfigInput) GetFieldValues() map[string]string

func (*AdminGenerateConfigInput) GetProviderModule

func (x *AdminGenerateConfigInput) GetProviderModule() string

func (*AdminGenerateConfigInput) GetResourceName

func (x *AdminGenerateConfigInput) GetResourceName() string

func (*AdminGenerateConfigInput) GetResourceType

func (x *AdminGenerateConfigInput) GetResourceType() string

func (*AdminGenerateConfigInput) ProtoMessage

func (*AdminGenerateConfigInput) ProtoMessage()

func (*AdminGenerateConfigInput) ProtoReflect

func (x *AdminGenerateConfigInput) ProtoReflect() protoreflect.Message

func (*AdminGenerateConfigInput) Reset

func (x *AdminGenerateConfigInput) Reset()

func (*AdminGenerateConfigInput) String

func (x *AdminGenerateConfigInput) String() string

type AdminGenerateConfigOutput

type AdminGenerateConfigOutput struct {
	YamlSnippet      string   `protobuf:"bytes,1,opt,name=yaml_snippet,json=yamlSnippet,proto3" json:"yaml_snippet,omitempty"`
	ValidationErrors []string `protobuf:"bytes,2,rep,name=validation_errors,json=validationErrors,proto3" json:"validation_errors,omitempty"`
	Error            string   `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

AdminGenerateConfigOutput is the response shape for the GenerateConfig RPC. yaml_snippet is the typed-coerced YAML the form produced; validation_errors carries any per-field validation failures the catalog reported (form remains submittable on validation_errors — `error` is reserved for handler-level failures like authz denial).

func (*AdminGenerateConfigOutput) Descriptor deprecated

func (*AdminGenerateConfigOutput) Descriptor() ([]byte, []int)

Deprecated: Use AdminGenerateConfigOutput.ProtoReflect.Descriptor instead.

func (*AdminGenerateConfigOutput) GetError

func (x *AdminGenerateConfigOutput) GetError() string

func (*AdminGenerateConfigOutput) GetValidationErrors

func (x *AdminGenerateConfigOutput) GetValidationErrors() []string

func (*AdminGenerateConfigOutput) GetYamlSnippet

func (x *AdminGenerateConfigOutput) GetYamlSnippet() string

func (*AdminGenerateConfigOutput) ProtoMessage

func (*AdminGenerateConfigOutput) ProtoMessage()

func (*AdminGenerateConfigOutput) ProtoReflect

func (*AdminGenerateConfigOutput) Reset

func (x *AdminGenerateConfigOutput) Reset()

func (*AdminGenerateConfigOutput) String

func (x *AdminGenerateConfigOutput) String() string

type AdminGetResourceInput

type AdminGetResourceInput struct {
	Name     string              `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	EnvName  string              `protobuf:"bytes,2,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"`
	Evidence *AdminAuthzEvidence `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence,omitempty"`
	// contains filtered or unexported fields
}

AdminGetResourceInput is the request shape for the GetResource RPC. name is the resource's host-side identity (the YAML `name:`); the returned detail includes the full applied config + outputs.

func (*AdminGetResourceInput) Descriptor deprecated

func (*AdminGetResourceInput) Descriptor() ([]byte, []int)

Deprecated: Use AdminGetResourceInput.ProtoReflect.Descriptor instead.

func (*AdminGetResourceInput) GetEnvName

func (x *AdminGetResourceInput) GetEnvName() string

func (*AdminGetResourceInput) GetEvidence

func (x *AdminGetResourceInput) GetEvidence() *AdminAuthzEvidence

func (*AdminGetResourceInput) GetName

func (x *AdminGetResourceInput) GetName() string

func (*AdminGetResourceInput) ProtoMessage

func (*AdminGetResourceInput) ProtoMessage()

func (*AdminGetResourceInput) ProtoReflect

func (x *AdminGetResourceInput) ProtoReflect() protoreflect.Message

func (*AdminGetResourceInput) Reset

func (x *AdminGetResourceInput) Reset()

func (*AdminGetResourceInput) String

func (x *AdminGetResourceInput) String() string

type AdminGetResourceOutput

type AdminGetResourceOutput struct {
	Resource *AdminResourceDetail `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Error    string               `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

AdminGetResourceOutput is the response shape for the GetResource RPC. Carries AdminResourceDetail when found; error when the resource is missing or authz denied.

func (*AdminGetResourceOutput) Descriptor deprecated

func (*AdminGetResourceOutput) Descriptor() ([]byte, []int)

Deprecated: Use AdminGetResourceOutput.ProtoReflect.Descriptor instead.

func (*AdminGetResourceOutput) GetError

func (x *AdminGetResourceOutput) GetError() string

func (*AdminGetResourceOutput) GetResource

func (x *AdminGetResourceOutput) GetResource() *AdminResourceDetail

func (*AdminGetResourceOutput) ProtoMessage

func (*AdminGetResourceOutput) ProtoMessage()

func (*AdminGetResourceOutput) ProtoReflect

func (x *AdminGetResourceOutput) ProtoReflect() protoreflect.Message

func (*AdminGetResourceOutput) Reset

func (x *AdminGetResourceOutput) Reset()

func (*AdminGetResourceOutput) String

func (x *AdminGetResourceOutput) String() string

type AdminListProvidersInput

type AdminListProvidersInput struct {
	EnvName  string              `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"`
	Evidence *AdminAuthzEvidence `protobuf:"bytes,2,opt,name=evidence,proto3" json:"evidence,omitempty"`
	// contains filtered or unexported fields
}

AdminListProvidersInput is the request shape for the ListProviders RPC. env_name selects the per-environment overlay.

func (*AdminListProvidersInput) Descriptor deprecated

func (*AdminListProvidersInput) Descriptor() ([]byte, []int)

Deprecated: Use AdminListProvidersInput.ProtoReflect.Descriptor instead.

func (*AdminListProvidersInput) GetEnvName

func (x *AdminListProvidersInput) GetEnvName() string

func (*AdminListProvidersInput) GetEvidence

func (x *AdminListProvidersInput) GetEvidence() *AdminAuthzEvidence

func (*AdminListProvidersInput) ProtoMessage

func (*AdminListProvidersInput) ProtoMessage()

func (*AdminListProvidersInput) ProtoReflect

func (x *AdminListProvidersInput) ProtoReflect() protoreflect.Message

func (*AdminListProvidersInput) Reset

func (x *AdminListProvidersInput) Reset()

func (*AdminListProvidersInput) String

func (x *AdminListProvidersInput) String() string

type AdminListProvidersOutput

type AdminListProvidersOutput struct {
	Providers []*AdminProviderSummary `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
	Error     string                  `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

AdminListProvidersOutput is the response shape for the ListProviders RPC. One AdminProviderSummary per iac.provider module declared in the host's WorkflowConfig.

func (*AdminListProvidersOutput) Descriptor deprecated

func (*AdminListProvidersOutput) Descriptor() ([]byte, []int)

Deprecated: Use AdminListProvidersOutput.ProtoReflect.Descriptor instead.

func (*AdminListProvidersOutput) GetError

func (x *AdminListProvidersOutput) GetError() string

func (*AdminListProvidersOutput) GetProviders

func (x *AdminListProvidersOutput) GetProviders() []*AdminProviderSummary

func (*AdminListProvidersOutput) ProtoMessage

func (*AdminListProvidersOutput) ProtoMessage()

func (*AdminListProvidersOutput) ProtoReflect

func (x *AdminListProvidersOutput) ProtoReflect() protoreflect.Message

func (*AdminListProvidersOutput) Reset

func (x *AdminListProvidersOutput) Reset()

func (*AdminListProvidersOutput) String

func (x *AdminListProvidersOutput) String() string

type AdminListResourceTypesInput

type AdminListResourceTypesInput struct {
	ProviderFilter string              `protobuf:"bytes,1,opt,name=provider_filter,json=providerFilter,proto3" json:"provider_filter,omitempty"`
	Evidence       *AdminAuthzEvidence `protobuf:"bytes,2,opt,name=evidence,proto3" json:"evidence,omitempty"`
	// contains filtered or unexported fields
}

AdminListResourceTypesInput is the request shape for the ListResourceTypes RPC. provider_filter narrows the returned types to those a given provider supports.

func (*AdminListResourceTypesInput) Descriptor deprecated

func (*AdminListResourceTypesInput) Descriptor() ([]byte, []int)

Deprecated: Use AdminListResourceTypesInput.ProtoReflect.Descriptor instead.

func (*AdminListResourceTypesInput) GetEvidence

func (*AdminListResourceTypesInput) GetProviderFilter

func (x *AdminListResourceTypesInput) GetProviderFilter() string

func (*AdminListResourceTypesInput) ProtoMessage

func (*AdminListResourceTypesInput) ProtoMessage()

func (*AdminListResourceTypesInput) ProtoReflect

func (*AdminListResourceTypesInput) Reset

func (x *AdminListResourceTypesInput) Reset()

func (*AdminListResourceTypesInput) String

func (x *AdminListResourceTypesInput) String() string

type AdminListResourceTypesOutput

type AdminListResourceTypesOutput struct {
	Types []*AdminResourceTypeMetadata `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"`
	Error string                       `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

AdminListResourceTypesOutput is the response shape for the ListResourceTypes RPC. types is the form-builder's view of every registered infra.* Config (one entry per FieldSpecCatalog type).

func (*AdminListResourceTypesOutput) Descriptor deprecated

func (*AdminListResourceTypesOutput) Descriptor() ([]byte, []int)

Deprecated: Use AdminListResourceTypesOutput.ProtoReflect.Descriptor instead.

func (*AdminListResourceTypesOutput) GetError

func (x *AdminListResourceTypesOutput) GetError() string

func (*AdminListResourceTypesOutput) GetTypes

func (*AdminListResourceTypesOutput) ProtoMessage

func (*AdminListResourceTypesOutput) ProtoMessage()

func (*AdminListResourceTypesOutput) ProtoReflect

func (*AdminListResourceTypesOutput) Reset

func (x *AdminListResourceTypesOutput) Reset()

func (*AdminListResourceTypesOutput) String

type AdminListResourcesInput

type AdminListResourcesInput struct {
	TypeFilter       string              `protobuf:"bytes,1,opt,name=type_filter,json=typeFilter,proto3" json:"type_filter,omitempty"`
	ProviderFilter   string              `protobuf:"bytes,2,opt,name=provider_filter,json=providerFilter,proto3" json:"provider_filter,omitempty"`
	AppContextFilter string              `protobuf:"bytes,3,opt,name=app_context_filter,json=appContextFilter,proto3" json:"app_context_filter,omitempty"`
	EnvName          string              `protobuf:"bytes,4,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"`
	Evidence         *AdminAuthzEvidence `protobuf:"bytes,5,opt,name=evidence,proto3" json:"evidence,omitempty"`
	// contains filtered or unexported fields
}

AdminListResourcesInput is the request shape for the ListResources RPC. Filters narrow the returned set; evidence carries the host-side authz outcome (default-deny semantics).

func (*AdminListResourcesInput) Descriptor deprecated

func (*AdminListResourcesInput) Descriptor() ([]byte, []int)

Deprecated: Use AdminListResourcesInput.ProtoReflect.Descriptor instead.

func (*AdminListResourcesInput) GetAppContextFilter

func (x *AdminListResourcesInput) GetAppContextFilter() string

func (*AdminListResourcesInput) GetEnvName

func (x *AdminListResourcesInput) GetEnvName() string

func (*AdminListResourcesInput) GetEvidence

func (x *AdminListResourcesInput) GetEvidence() *AdminAuthzEvidence

func (*AdminListResourcesInput) GetProviderFilter

func (x *AdminListResourcesInput) GetProviderFilter() string

func (*AdminListResourcesInput) GetTypeFilter

func (x *AdminListResourcesInput) GetTypeFilter() string

func (*AdminListResourcesInput) ProtoMessage

func (*AdminListResourcesInput) ProtoMessage()

func (*AdminListResourcesInput) ProtoReflect

func (x *AdminListResourcesInput) ProtoReflect() protoreflect.Message

func (*AdminListResourcesInput) Reset

func (x *AdminListResourcesInput) Reset()

func (*AdminListResourcesInput) String

func (x *AdminListResourcesInput) String() string

type AdminListResourcesOutput

type AdminListResourcesOutput struct {
	Resources []*AdminResourceSummary `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	Error     string                  `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

AdminListResourcesOutput is the response shape for the ListResources RPC. error is set when the handler refused (e.g. authz denied); when non-empty, consumers MUST ignore the typed payload.

func (*AdminListResourcesOutput) Descriptor deprecated

func (*AdminListResourcesOutput) Descriptor() ([]byte, []int)

Deprecated: Use AdminListResourcesOutput.ProtoReflect.Descriptor instead.

func (*AdminListResourcesOutput) GetError

func (x *AdminListResourcesOutput) GetError() string

func (*AdminListResourcesOutput) GetResources

func (x *AdminListResourcesOutput) GetResources() []*AdminResourceSummary

func (*AdminListResourcesOutput) ProtoMessage

func (*AdminListResourcesOutput) ProtoMessage()

func (*AdminListResourcesOutput) ProtoReflect

func (x *AdminListResourcesOutput) ProtoReflect() protoreflect.Message

func (*AdminListResourcesOutput) Reset

func (x *AdminListResourcesOutput) Reset()

func (*AdminListResourcesOutput) String

func (x *AdminListResourcesOutput) String() string

type AdminProviderSummary

type AdminProviderSummary struct {
	ModuleName       string   `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
	ProviderType     string   `protobuf:"bytes,2,opt,name=provider_type,json=providerType,proto3" json:"provider_type,omitempty"`
	Capabilities     []string `protobuf:"bytes,3,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	SupportedRegions []string `protobuf:"bytes,4,rep,name=supported_regions,json=supportedRegions,proto3" json:"supported_regions,omitempty"`
	SupportedTypes   []string `protobuf:"bytes,5,rep,name=supported_types,json=supportedTypes,proto3" json:"supported_types,omitempty"`
	SupportedEngines []string `protobuf:"bytes,6,rep,name=supported_engines,json=supportedEngines,proto3" json:"supported_engines,omitempty"`
	RegionsSource    string   `protobuf:"bytes,7,opt,name=regions_source,json=regionsSource,proto3" json:"regions_source,omitempty"` // "local-catalog" for v1
	// contains filtered or unexported fields
}

AdminProviderSummary is the ListProviders response row. v1 populates supported_regions / supported_types / supported_engines from the host-side catalog (regions.go + engines.go + fields.go); regions_source is the literal string "local-catalog" so consumers can distinguish v1's local lookup from a future v1.1 IaCProviderRegionLister gRPC service.

func (*AdminProviderSummary) Descriptor deprecated

func (*AdminProviderSummary) Descriptor() ([]byte, []int)

Deprecated: Use AdminProviderSummary.ProtoReflect.Descriptor instead.

func (*AdminProviderSummary) GetCapabilities

func (x *AdminProviderSummary) GetCapabilities() []string

func (*AdminProviderSummary) GetModuleName

func (x *AdminProviderSummary) GetModuleName() string

func (*AdminProviderSummary) GetProviderType

func (x *AdminProviderSummary) GetProviderType() string

func (*AdminProviderSummary) GetRegionsSource

func (x *AdminProviderSummary) GetRegionsSource() string

func (*AdminProviderSummary) GetSupportedEngines

func (x *AdminProviderSummary) GetSupportedEngines() []string

func (*AdminProviderSummary) GetSupportedRegions

func (x *AdminProviderSummary) GetSupportedRegions() []string

func (*AdminProviderSummary) GetSupportedTypes

func (x *AdminProviderSummary) GetSupportedTypes() []string

func (*AdminProviderSummary) ProtoMessage

func (*AdminProviderSummary) ProtoMessage()

func (*AdminProviderSummary) ProtoReflect

func (x *AdminProviderSummary) ProtoReflect() protoreflect.Message

func (*AdminProviderSummary) Reset

func (x *AdminProviderSummary) Reset()

func (*AdminProviderSummary) String

func (x *AdminProviderSummary) String() string

type AdminResourceDetail

type AdminResourceDetail struct {
	Summary                  *AdminResourceSummary `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"`
	AppliedConfigJson        []byte                `protobuf:"bytes,2,opt,name=applied_config_json,json=appliedConfigJson,proto3" json:"applied_config_json,omitempty"`
	OutputsJson              []byte                `protobuf:"bytes,3,opt,name=outputs_json,json=outputsJson,proto3" json:"outputs_json,omitempty"`
	ConfigHash               string                `protobuf:"bytes,4,opt,name=config_hash,json=configHash,proto3" json:"config_hash,omitempty"`
	LastDriftCheckUnix       int64                 `protobuf:"varint,5,opt,name=last_drift_check_unix,json=lastDriftCheckUnix,proto3" json:"last_drift_check_unix,omitempty"`
	SensitiveOutputsRedacted []string              `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

AdminResourceDetail extends the summary with the full per-resource state payload. applied_config_json + outputs_json are JSON-encoded by the handler; sensitive_outputs_redacted lists output keys whose values were stripped from outputs_json before serialization (the raw key names are safe to surface; the values are not).

func (*AdminResourceDetail) Descriptor deprecated

func (*AdminResourceDetail) Descriptor() ([]byte, []int)

Deprecated: Use AdminResourceDetail.ProtoReflect.Descriptor instead.

func (*AdminResourceDetail) GetAppliedConfigJson

func (x *AdminResourceDetail) GetAppliedConfigJson() []byte

func (*AdminResourceDetail) GetConfigHash

func (x *AdminResourceDetail) GetConfigHash() string

func (*AdminResourceDetail) GetLastDriftCheckUnix

func (x *AdminResourceDetail) GetLastDriftCheckUnix() int64

func (*AdminResourceDetail) GetOutputsJson

func (x *AdminResourceDetail) GetOutputsJson() []byte

func (*AdminResourceDetail) GetSensitiveOutputsRedacted

func (x *AdminResourceDetail) GetSensitiveOutputsRedacted() []string

func (*AdminResourceDetail) GetSummary

func (x *AdminResourceDetail) GetSummary() *AdminResourceSummary

func (*AdminResourceDetail) ProtoMessage

func (*AdminResourceDetail) ProtoMessage()

func (*AdminResourceDetail) ProtoReflect

func (x *AdminResourceDetail) ProtoReflect() protoreflect.Message

func (*AdminResourceDetail) Reset

func (x *AdminResourceDetail) Reset()

func (*AdminResourceDetail) String

func (x *AdminResourceDetail) String() string

type AdminResourceSummary

type AdminResourceSummary struct {
	Name           string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type           string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`                                           // "infra.vpc"
	ProviderModule string   `protobuf:"bytes,3,opt,name=provider_module,json=providerModule,proto3" json:"provider_module,omitempty"` // host module name (the YAML `name:`)
	ProviderType   string   `protobuf:"bytes,4,opt,name=provider_type,json=providerType,proto3" json:"provider_type,omitempty"`       // from the iac.provider module's config `provider:` field
	ProviderId     string   `protobuf:"bytes,5,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
	Status         string   `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	UpdatedAtUnix  int64    `protobuf:"varint,7,opt,name=updated_at_unix,json=updatedAtUnix,proto3" json:"updated_at_unix,omitempty"`
	Dependencies   []string `protobuf:"bytes,8,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	AppContext     string   `protobuf:"bytes,9,opt,name=app_context,json=appContext,proto3" json:"app_context,omitempty"`
	// contains filtered or unexported fields
}

AdminResourceSummary is the table-row shape for the resources list page. provider_module is the host YAML `name:` of the iac.provider module that owns this resource; provider_type is the underlying cloud provider string (aws/digitalocean/etc) read from that module's config.provider field at module Init time.

func (*AdminResourceSummary) Descriptor deprecated

func (*AdminResourceSummary) Descriptor() ([]byte, []int)

Deprecated: Use AdminResourceSummary.ProtoReflect.Descriptor instead.

func (*AdminResourceSummary) GetAppContext

func (x *AdminResourceSummary) GetAppContext() string

func (*AdminResourceSummary) GetDependencies

func (x *AdminResourceSummary) GetDependencies() []string

func (*AdminResourceSummary) GetName

func (x *AdminResourceSummary) GetName() string

func (*AdminResourceSummary) GetProviderId

func (x *AdminResourceSummary) GetProviderId() string

func (*AdminResourceSummary) GetProviderModule

func (x *AdminResourceSummary) GetProviderModule() string

func (*AdminResourceSummary) GetProviderType

func (x *AdminResourceSummary) GetProviderType() string

func (*AdminResourceSummary) GetStatus

func (x *AdminResourceSummary) GetStatus() string

func (*AdminResourceSummary) GetType

func (x *AdminResourceSummary) GetType() string

func (*AdminResourceSummary) GetUpdatedAtUnix

func (x *AdminResourceSummary) GetUpdatedAtUnix() int64

func (*AdminResourceSummary) ProtoMessage

func (*AdminResourceSummary) ProtoMessage()

func (*AdminResourceSummary) ProtoReflect

func (x *AdminResourceSummary) ProtoReflect() protoreflect.Message

func (*AdminResourceSummary) Reset

func (x *AdminResourceSummary) Reset()

func (*AdminResourceSummary) String

func (x *AdminResourceSummary) String() string

type AdminResourceTypeMetadata

type AdminResourceTypeMetadata struct {
	Type               string            `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	ConfigMessageFqn   string            `protobuf:"bytes,2,opt,name=config_message_fqn,json=configMessageFqn,proto3" json:"config_message_fqn,omitempty"`
	Fields             []*AdminFieldSpec `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`
	SupportedProviders []string          `protobuf:"bytes,4,rep,name=supported_providers,json=supportedProviders,proto3" json:"supported_providers,omitempty"`
	Description        string            `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

AdminResourceTypeMetadata is the form-builder's view of one infra.* Config message. config_message_fqn is the fully-qualified proto message name in workflow-plugin-infra/internal/contracts/ infra.proto (e.g. "workflow.plugins.infra.v1.VPCConfig" — note the plural "plugins" matching the vendored proto's package declaration; earlier doc-example used "plugin" singular which didn't match the wire, see spec-reviewer T6 F2 on commit 1ea231fdd) so callers can correlate against the vendored proto descriptor.

func (*AdminResourceTypeMetadata) Descriptor deprecated

func (*AdminResourceTypeMetadata) Descriptor() ([]byte, []int)

Deprecated: Use AdminResourceTypeMetadata.ProtoReflect.Descriptor instead.

func (*AdminResourceTypeMetadata) GetConfigMessageFqn

func (x *AdminResourceTypeMetadata) GetConfigMessageFqn() string

func (*AdminResourceTypeMetadata) GetDescription

func (x *AdminResourceTypeMetadata) GetDescription() string

func (*AdminResourceTypeMetadata) GetFields

func (x *AdminResourceTypeMetadata) GetFields() []*AdminFieldSpec

func (*AdminResourceTypeMetadata) GetSupportedProviders

func (x *AdminResourceTypeMetadata) GetSupportedProviders() []string

func (*AdminResourceTypeMetadata) GetType

func (x *AdminResourceTypeMetadata) GetType() string

func (*AdminResourceTypeMetadata) ProtoMessage

func (*AdminResourceTypeMetadata) ProtoMessage()

func (*AdminResourceTypeMetadata) ProtoReflect

func (*AdminResourceTypeMetadata) Reset

func (x *AdminResourceTypeMetadata) Reset()

func (*AdminResourceTypeMetadata) String

func (x *AdminResourceTypeMetadata) String() string

Jump to

Keyboard shortcuts

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