v1beta1

package
v0.0.0-...-32d2474 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToSecurityPolicy

func ConvertToSecurityPolicy(obj runtime.Object) (*api.SecurityPolicy, error)

func FromPodSecurityPolicy

func FromPodSecurityPolicy(in *policy.PodSecurityPolicy) *api.SecurityPolicy

func FromSecurityContextConstraints

func FromSecurityContextConstraints(in *scc.SecurityContextConstraints) *api.SecurityPolicy

func ToPodSecurityPolicy

func ToPodSecurityPolicy(in *api.SecurityPolicy) *policy.PodSecurityPolicy

func ToSecurityContextConstraints

func ToSecurityContextConstraints(in *api.SecurityPolicy) *scc.SecurityContextConstraints

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is used to interact with features provided by the storage.k8s.io group.

func New

New creates a new Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*Client, error)

NewForConfig creates a new Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *Client

NewForConfigOrDie creates a new Client for the given config and panics if there is an error in the config.

func (*Client) SecurityPolicies

func (c *Client) SecurityPolicies() SecurityPolicyInterface

type Interface

type Interface interface {
	SecurityPoliciesGetter
}

type SecurityPoliciesGetter

type SecurityPoliciesGetter interface {
	SecurityPolicies() SecurityPolicyInterface
}

SecurityPoliciesGetter has a method to return a SecurityPolicyInterface. A group's client should implement this interface.

type SecurityPolicyInterface

SecurityPolicyInterface has methods to work with SecurityPolicy resources.

type SecurityPolicyTransformerFunc

type SecurityPolicyTransformerFunc func(*api.SecurityPolicy) *api.SecurityPolicy

Jump to

Keyboard shortcuts

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