policymanager

package
v0.6.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +fybrik:validation:schema

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetPolicyDecisionsRequest

type GetPolicyDecisionsRequest struct {
	Context  taxonomy.PolicyManagerRequestContext `json:"context,omitempty"`
	Action   RequestAction                        `json:"action"`
	Resource Resource                             `json:"resource"`
}

+fybrik:validation:object

func (*GetPolicyDecisionsRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetPolicyDecisionsRequest.

func (*GetPolicyDecisionsRequest) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GetPolicyDecisionsResponse

type GetPolicyDecisionsResponse struct {
	DecisionID string       `json:"decision_id,omitempty"`
	Result     []ResultItem `json:"result"`
}

+fybrik:validation:object

func (*GetPolicyDecisionsResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetPolicyDecisionsResponse.

func (*GetPolicyDecisionsResponse) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RequestAction

type RequestAction struct {
	ActionType         RequestActionType           `json:"actionType"`
	ProcessingLocation taxonomy.ProcessingLocation `json:"processingLocation,omitempty"`
	Destination        string                      `json:"destination,omitempty"`
}

func (*RequestAction) DeepCopy

func (in *RequestAction) DeepCopy() *RequestAction

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestAction.

func (*RequestAction) DeepCopyInto

func (in *RequestAction) DeepCopyInto(out *RequestAction)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RequestActionType

type RequestActionType string

+kubebuilder:validation:Enum=read;write;delete

const (
	READ   RequestActionType = "read"
	WRITE  RequestActionType = "write"
	DELETE RequestActionType = "delete"
)

List of operationType

type Resource

type Resource struct {
	ID       taxonomy.AssetID              `json:"id"`
	Metadata *datacatalog.ResourceMetadata `json:"metadata,omitempty"`
}

func (*Resource) DeepCopy

func (in *Resource) DeepCopy() *Resource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.

func (*Resource) DeepCopyInto

func (in *Resource) DeepCopyInto(out *Resource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResultItem

type ResultItem struct {
	// The policy on which the decision was based
	Policy string          `json:"policy"`
	Action taxonomy.Action `json:"action"`
}

func (*ResultItem) DeepCopy

func (in *ResultItem) DeepCopy() *ResultItem

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResultItem.

func (*ResultItem) DeepCopyInto

func (in *ResultItem) DeepCopyInto(out *ResultItem)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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