Class ProjectOperationsImpl
- java.lang.Object
-
- io.fabric8.kubernetes.client.dsl.base.OperationSupport
-
- io.fabric8.kubernetes.client.dsl.base.BaseOperation<T,L,R>
-
- io.fabric8.kubernetes.client.dsl.base.HasMetadataOperation<T,L,R>
-
- io.fabric8.openshift.client.dsl.internal.OpenShiftOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,Resource<io.fabric8.openshift.api.model.Project>>
-
- io.fabric8.openshift.client.dsl.internal.ProjectOperationsImpl
-
- All Implemented Interfaces:
AnyNamespaceable<FilterWatchListMultiDeletable<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList>>,Cascading<EditReplacePatchDeletable<io.fabric8.openshift.api.model.Project>>,CascadingEditReplacePatchDeletable<io.fabric8.openshift.api.model.Project>,Createable<io.fabric8.openshift.api.model.Project>,CreateFromServerGettable<io.fabric8.openshift.api.model.Project>,CreateOrReplaceable<io.fabric8.openshift.api.model.Project>,Deletable,DryRunable<WritableOperation<io.fabric8.openshift.api.model.Project>>,Editable<io.fabric8.openshift.api.model.Project>,EditReplacePatchable<io.fabric8.openshift.api.model.Project>,EditReplacePatchDeletable<io.fabric8.openshift.api.model.Project>,Filterable<FilterWatchListDeletable<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList>>,FilterWatchListDeletable<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList>,FilterWatchListMultiDeletable<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList>,FromServerable<Gettable<io.fabric8.openshift.api.model.Project>>,Gettable<io.fabric8.openshift.api.model.Project>,Listable<io.fabric8.openshift.api.model.ProjectList>,Loadable<Resource<io.fabric8.openshift.api.model.Project>>,Lockable<Replaceable<io.fabric8.openshift.api.model.Project>>,MixedOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,Resource<io.fabric8.openshift.api.model.Project>>,MultiDeleteable<io.fabric8.openshift.api.model.Project>,Nameable<Resource<io.fabric8.openshift.api.model.Project>>,Namespaceable<NonNamespaceOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,Resource<io.fabric8.openshift.api.model.Project>>>,NonNamespaceOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,Resource<io.fabric8.openshift.api.model.Project>>,Operation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,Resource<io.fabric8.openshift.api.model.Project>>,Patchable<io.fabric8.openshift.api.model.Project>,Readiable,Replaceable<io.fabric8.openshift.api.model.Project>,Requirable<io.fabric8.openshift.api.model.Project>,Resource<io.fabric8.openshift.api.model.Project>,StatusUpdatable<io.fabric8.openshift.api.model.Project>,Versionable<WatchAndWaitable<io.fabric8.openshift.api.model.Project>>,VersionWatchAndWaitable<io.fabric8.openshift.api.model.Project>,Waitable<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.Project>,Watchable<Watcher<io.fabric8.openshift.api.model.Project>>,WatchAndWaitable<io.fabric8.openshift.api.model.Project>,WatchListDeletable<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList>,WritableOperation<io.fabric8.openshift.api.model.Project>,FromServerGettable<io.fabric8.openshift.api.model.Project>,GracePeriodConfigurable<Deletable>,OperationInfo,PropagationPolicyConfigurable<EditReplacePatchDeletable<io.fabric8.openshift.api.model.Project>>,ProjectOperation
public class ProjectOperationsImpl extends OpenShiftOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,Resource<io.fabric8.openshift.api.model.Project>> implements ProjectOperation
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLUSTER_ROLEstatic StringOPENSHIFT_IO_DESCRIPTION_ANNOTATIONstatic StringOPENSHIFT_IO_DISPLAY_NAME_ANNOTATIONstatic StringOPENSHIFT_IO_REQUESTER_ANNOTATIONstatic StringRBAC_AUTHORIZATION_APIGROUP-
Fields inherited from class io.fabric8.openshift.client.dsl.internal.OpenShiftOperation
OPENSHIFT_APIGROUP_SUFFIX
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.base.HasMetadataOperation
DEFAULT_GRACE_PERIOD_IN_SECONDS, DEFAULT_PROPAGATION_POLICY
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.base.BaseOperation
apiVersion, listType, type
-
Fields inherited from class io.fabric8.kubernetes.client.dsl.base.OperationSupport
apiGroupName, apiGroupVersion, client, config, context, dryRun, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, YAML_MAPPER
-
Fields inherited from interface io.fabric8.kubernetes.client.dsl.Waitable
DEFAULT_BACKOFF_MULTIPLIER, DEFAULT_INITIAL_BACKOFF_MILLIS
-
-
Constructor Summary
Constructors Constructor Description ProjectOperationsImpl(OperationContext context)ProjectOperationsImpl(okhttp3.OkHttpClient client, OpenShiftConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<io.fabric8.kubernetes.api.model.HasMetadata>createProjectAndRoleBindings(String name, String description, String displayName, String adminUser, String requestingUser)Creating Bootstrap Project Templateio.fabric8.openshift.api.model.Projectedit(io.fabric8.kubernetes.api.builder.Visitor... visitors)booleanisResourceNamespaced()ProjectOperationsImplnewInstance(OperationContext context)-
Methods inherited from class io.fabric8.openshift.client.dsl.internal.OpenShiftOperation
getConfig, getConfigType, getReadiness, getRootUrl
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.base.HasMetadataOperation
accept, edit, patch, replace
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.base.BaseOperation
cascading, create, create, createOrReplace, delete, delete, delete, dryRun, edit, fetchListUrl, forOperationType, fromServer, get, getApiVersion, getFieldQueryParam, getFields, getFieldsNot, getGracePeriodSeconds, getItem, getKind, getLabelQueryParam, getLabels, getLabelsIn, getLabelsNot, getLabelsNotIn, getListType, getMandatory, getOperationType, getPropagationPolicy, getResourceT, getResourceVersion, getRootPaths, getType, handleCreate, handleDeploymentRollback, handleGet, handlePatch, handlePatch, handleReplace, handleResponse, handleScale, inAnyNamespace, inNamespace, isApiGroup, isCascading, isReady, isReloadingFromServer, list, list, list, load, load, load, load, lockResourceVersion, require, sendPatchedObject, setListType, setNamespace, setType, updateApiVersion, updateApiVersion, updateStatus, waitUntilCondition, waitUntilReady, watch, watch, watch, withField, withFields, withGracePeriod, withInvolvedObject, withItem, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withName, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersion, withWaitRetryBackoff
-
Methods inherited from class io.fabric8.kubernetes.client.dsl.base.OperationSupport
assertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getObjectValueAsMap, getResourceUrl, getResourceUrl, getResourceURLForWriteOperation, handleCreate, handleDelete, handleDelete, handleDeploymentRollback, handleGet, handleGet, handleMetric, handlePatch, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, handleScale, handleStatusUpdate, requestException, requestFailure, unmarshal, unmarshal, unmarshal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Createable
create, create
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.CreateOrReplaceable
createOrReplace
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.DryRunable
dryRun, dryRun
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Filterable
withField, withFields, withInvolvedObject, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabels
-
Methods inherited from interface io.fabric8.kubernetes.client.GracePeriodConfigurable
withGracePeriod
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.MultiDeleteable
delete, delete
-
Methods inherited from interface io.fabric8.kubernetes.client.OperationInfo
getName, getNamespace
-
Methods inherited from interface io.fabric8.kubernetes.client.PropagationPolicyConfigurable
withPropagationPolicy
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Replaceable
replace
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.StatusUpdatable
updateStatus
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Versionable
withResourceVersion
-
Methods inherited from interface io.fabric8.kubernetes.client.dsl.Waitable
waitUntilCondition, waitUntilReady, withWaitRetryBackoff
-
-
-
-
Field Detail
-
OPENSHIFT_IO_DESCRIPTION_ANNOTATION
public static final String OPENSHIFT_IO_DESCRIPTION_ANNOTATION
- See Also:
- Constant Field Values
-
OPENSHIFT_IO_DISPLAY_NAME_ANNOTATION
public static final String OPENSHIFT_IO_DISPLAY_NAME_ANNOTATION
- See Also:
- Constant Field Values
-
OPENSHIFT_IO_REQUESTER_ANNOTATION
public static final String OPENSHIFT_IO_REQUESTER_ANNOTATION
- See Also:
- Constant Field Values
-
RBAC_AUTHORIZATION_APIGROUP
public static final String RBAC_AUTHORIZATION_APIGROUP
- See Also:
- Constant Field Values
-
CLUSTER_ROLE
public static final String CLUSTER_ROLE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProjectOperationsImpl
public ProjectOperationsImpl(okhttp3.OkHttpClient client, OpenShiftConfig config)
-
ProjectOperationsImpl
public ProjectOperationsImpl(OperationContext context)
-
-
Method Detail
-
newInstance
public ProjectOperationsImpl newInstance(OperationContext context)
- Overrides:
newInstancein classBaseOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,Resource<io.fabric8.openshift.api.model.Project>>
-
isResourceNamespaced
public boolean isResourceNamespaced()
- Overrides:
isResourceNamespacedin classBaseOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,Resource<io.fabric8.openshift.api.model.Project>>
-
createProjectAndRoleBindings
public List<io.fabric8.kubernetes.api.model.HasMetadata> createProjectAndRoleBindings(String name, String description, String displayName, String adminUser, String requestingUser)
Description copied from interface:ProjectOperationCreating Bootstrap Project Template- Specified by:
createProjectAndRoleBindingsin interfaceProjectOperation- Parameters:
name- project namedescription- project descriptiondisplayName- project display nameadminUser- project admin userrequestingUser- project requesting user- Returns:
- list of items created
-
edit
public io.fabric8.openshift.api.model.Project edit(io.fabric8.kubernetes.api.builder.Visitor... visitors)
- Specified by:
editin interfaceEditable<io.fabric8.openshift.api.model.Project>- Overrides:
editin classBaseOperation<io.fabric8.openshift.api.model.Project,io.fabric8.openshift.api.model.ProjectList,Resource<io.fabric8.openshift.api.model.Project>>
-
-